This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
46
Installation and Upgrades / [SOLVED] Squid Proxy cache location
« on: November 14, 2010, 10:47:29 pm »
How do I change the default directory location for the squid cache from /var/spool/squid to an alternate directory of my choice. Obviously, if I modify the /etc/squid/squid.conf file it gets over written on reboot?
Thanks
Thanks
47
Installation and Upgrades / [SOLVED] Zentyl over writing network configuration
« on: October 23, 2010, 07:12:21 pm »
I have a custom networking configuration to allow bonding of 2 NICs but each time I reboot Zentyl over writes the /etc/network/interfaces file and the bonded interface fails.
Here is my /etc/network/interfaces configuration which works great:
And here is the same file after a reboot:
Is there any way to stop this or is it just a matter of changing the permissions so that it is read only?
Thanks
Here is my /etc/network/interfaces configuration which works great:
Code: [Select]
auto lo bond0 eth2
iface lo inet loopback
#Bonded interface
iface bond0 inet static
address 10.10.10.1
netmask 255.255.255.0
broadcast 10.10.10.255
network 10.10.10.0
up /sbin/ifenslave bond0 eth0
up /sbin/ifenslave bond0 eth1
#WAN interface
iface eth2 inet static
address 192.168.1.3
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1
And here is the same file after a reboot:
Code: [Select]
auto lo bond0 eth2
iface lo inet loopback
iface bond0 inet static
address 10.10.10.1
netmask 255.255.255.0
broadcast 10.10.10.255
iface eth2 inet static
address 192.168.1.3
netmask 255.255.255.0
broadcast 192.168.1.255
Is there any way to stop this or is it just a matter of changing the permissions so that it is read only?
Thanks
48
Installation and Upgrades / Windows printer driver for networked printer
« on: October 23, 2010, 07:00:32 pm »
I am seriously impressed with zentyl, it has solved sooooo many problems for me
Anyway, I am trying to upload windows printer drivers files to samba print$ share as per these instructions:
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/classicalprinting.html#id2627627
This is successful in that the files are in /var/libs/samba/printers
the problem is that when I install the printer on the XP client it does not automatically install the drivers from the server, instead I offered the default list of printers to choose from.
Any suggestion would be warmly welcome!
Here are the salient parts of the smb.config:
Anyway, I am trying to upload windows printer drivers files to samba print$ share as per these instructions:
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/classicalprinting.html#id2627627
This is successful in that the files are in /var/libs/samba/printers
the problem is that when I install the printer on the XP client it does not automatically install the drivers from the server, instead I offered the default list of printers to choose from.
Any suggestion would be warmly welcome!
Here are the salient parts of the smb.config:
Code: [Select]
[global]
workgroup = test.lan
netbios name = ubuntu
server string = Zentyal File Server
enable privileges = yes
interfaces = lo,bond0
bind interfaces only = Yes
passdb backend = ldapsam:ldapi://%2fvar%2frun%2fslapd%2fldapi
ldap ssl = Off
log level = 1
syslog = 0
log file = /var/log/samba/%m
max log size = 50
vfs objects = full_audit
full_audit:success = connect opendir open disconnect unlink mkdir rmdir rename
full_audit:failure = none
smb ports = 137 138 139 445
name resolve order = wins bcast hosts
time server = Yes
printcap name = CUPS
wins support = Yes
dns proxy = Yes
ldap suffix = dc=ubuntu,dc=cable,dc=virginmedia,dc=net
ldap machine suffix = ou=Computers
ldap user suffix = ou=Users
ldap group suffix = ou=Groups
ldap idmap suffix = ou=Idmap
ldap admin dn = cn=ebox,dc=ubuntu,dc=cable,dc=virginmedia,dc=net
map acl inherit = Yes
printing = cups
encrypt passwords = Yes
obey pam restrictions = No
ldap passwd sync = Yes
mangling method = hash2
logon script = logon.bat
logon drive = H:
logon home =
logon path =
domain logons = Yes
os level = 65
preferred master = Yes
domain master = Yes
add user script = /usr/sbin/smbldap-useradd -m "%u"
ldap delete dn = Yes
add machine script = /usr/sbin/smbldap-useradd -w "%u"
add group script = /usr/sbin/smbldap-groupadd -p "%g"
add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g"
set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"
[netlogon]
path = /home/samba/netlogon/
browseable = No
read only = yes
[profiles]
path = /home/samba/profiles
read only = no
create mask = 0600
directory mask = 0700
browseable = No
guest ok = Yes
profile acls = yes
csc policy = disable
valid users = %U
admin users = @"Domain Admins"
hide files = /desktop.ini/outlook*.lnk/*Briefcase*/
[homes]
comment = Home Directories
valid users = %S
read only = No
browseable = No
vfs objects = full_audit vscan-clamav recycle
vscan-clamav: config-file = /etc/samba/vscan-clamav.conf
recycle: versions = Yes
recycle: repository = RecycleBin
recycle: keeptree = Yes
recycle: excludedir = /tmp|/var/tmp
recycle: directory_mode = 0700
[Brother_HL-2030_series]
path = /var/spool/samba
read only = yes
printable = yes
valid users = "smbadmin" "testuser"
# guest ok = yes
[sambatest]
comment = sambatest
path = /home/samba/shares/sambatest
guest only = yes
guest ok = yes
read only = No
browseable = Yes
force create mode = 0660
force directory mode = 0660
vfs objects = full_audit vscan-clamav recycle
vscan-clamav: config-file = /etc/samba/vscan-clamav.conf
recycle: versions = Yes
recycle: repository = RecycleBin
recycle: keeptree = Yes
recycle: excludedir = /tmp|/var/tmp
recycle: directory_mode = 0700
[ebox-internal-backups]
path = /var/lib/ebox/conf//backups
read only = No
valid users = @"Domain Admins"
admin users = @"Domain Admins"
force group = ebox
force user = ebox
browseable = Yes
[ebox-quarantine]
path = /var//lib/ebox/quarantine
read only = No
valid users = @"Domain Admins"
admin users = @"Domain Admins"
browseable = Yes
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
write list = @"Domain Admins"
use client driver = no
valid users = "@Domain Users"
@"Domain Admins"
use client driver = no
valid users = "@Domain Users"