Hi, i'm using samba 3.0.5 and the roaming profiles take ages to save and
to load i just created a user, and it creates the proper windows files
in the profiles share
The files are very small so i should be a quick login, but it ins't
Copying files from normal shares is quick, but the login it self is very
long
What to do?
I'm using windows 2k with all windows updates
here is my smb.conf
[global]
load printers = yes
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192
SO_RCVBUF=8192
admin users = @domain_admins
logon drive = H:
domain master = Yes
encrypt passwords = yes
passwd program = /usr/bin/smbpasswd -U %u
smb passwd file = /etc/samba/private/smbpasswd
logon home = \\action\%u
printer admin = @domain_admins
wins support = yes
netbios name = ACTION
printing = cups
printcap name = cups
logon script = LOGIN.BAT
default = global
dos charset = 850
unix password sync = yes
workgroup = COGGAN
logon path = \\%N\profiles\%U
os level = 99
preferred master = yes
local master = yes
security = user
unix charset = ISO8859-1
domain logons = Yes
log level = 3
passwd chat = *password* %n\n *password* %n\n *successful*
passwd chat debug = Yes
time server = yes
server string = Samba %v as PDC
add user script = /usr/sbin/useradd -g 106 -d /dev/null -s
/bin/False %u
[netlogon]
comment = Network Logon Service
path = /home/netlogon
write list = @domain_admins
[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No
[profiles]
path = /home/profile
browsable = no
writable = yes
create mask = 0600
directory mask = 0700
[public]
path = /home/pub
read only = No
create mask = 0777
directory mask = 0777
public = yes
valid users = @users @domain_admins
write list = @users @domain_admins
[backup]
path = /backup
read only = No
create mask = 0777
directory mask = 0777
public = yes
valid users = @users @domain_admins
write list = @users @domain_admins
[printers]
comment = All Printers
path = /var/spool/samba
printer admin = root, administrator, jcoggan
valid users = @users @domain_admins
browseable = no
public = yes
guest ok = yes
printable = yes
writable = no
[quake]
path = /usr/quake
read only = No
create mask = 0777
directory mask = 0777
public = yes
valid users = @users @domain_admins
write list = @users @domain_admins
On Monday 26 July 2004 20:13, James Coggan wrote:> Hi, i'm using samba 3.0.5 and the roaming profiles take ages to save and > to load i just created a user, and it creates the proper windows files > in the profiles share > The files are very small so i should be a quick login, but it ins't > Copying files from normal shares is quick, but the login it self is very > long > What to do?Firstly, how large are the profiles that take so long to load? ie: what is the size of the profiles on your UNIX file system? Secondly, what is the output of running: testparm Thirdly, since you have configured your Samba server to be a WINS server, do all Windows clients use it? ie: Have you configured all clients so that the WINS address is the IP address of your Samba server? - John T.> I'm using windows 2k with all windows updates > here is my smb.conf > [global] > load printers = yes > socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 > SO_RCVBUF=8192 > admin users = @domain_admins > logon drive = H: > domain master = Yes > encrypt passwords = yes > passwd program = /usr/bin/smbpasswd -U %u > smb passwd file = /etc/samba/private/smbpasswd > logon home = \\action\%u > printer admin = @domain_admins > wins support = yes > netbios name = ACTION > printing = cups > printcap name = cups > logon script = LOGIN.BAT > default = global > dos charset = 850 > unix password sync = yes > workgroup = COGGAN > logon path = \\%N\profiles\%U > os level = 99 > preferred master = yes > local master = yes > security = user > unix charset = ISO8859-1 > domain logons = Yes > log level = 3 > passwd chat = *password* %n\n *password* %n\n *successful* > passwd chat debug = Yes > time server = yes > server string = Samba %v as PDC > add user script = /usr/sbin/useradd -g 106 -d /dev/null -s > /bin/False %u > [netlogon] > comment = Network Logon Service > path = /home/netlogon > write list = @domain_admins > > [homes] > comment = Home Directories > valid users = %S > read only = No > create mask = 0664 > directory mask = 0775 > browseable = No > > [profiles] > path = /home/profile > browsable = no > writable = yes > create mask = 0600 > directory mask = 0700 > > [public] > path = /home/pub > read only = No > create mask = 0777 > directory mask = 0777 > public = yes > valid users = @users @domain_admins > write list = @users @domain_admins > > [backup] > path = /backup > read only = No > create mask = 0777 > directory mask = 0777 > public = yes > valid users = @users @domain_admins > write list = @users @domain_admins > > [printers] > comment = All Printers > path = /var/spool/samba > printer admin = root, administrator, jcoggan > valid users = @users @domain_admins > browseable = no > public = yes > guest ok = yes > printable = yes > writable = no > [quake] > path = /usr/quake > read only = No > create mask = 0777 > directory mask = 0777 > public = yes > valid users = @users @domain_admins > write list = @users @domain_admins-- John H Terpstra Samba-Team Member Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 OpenLDAP by Example, ISBN: 0131488732 Other books in production.
Apparently Analagous Threads
- samba runs 1 month and then crash and never come back
- wine 20010824 and quake
- Samba4 roaming profiles & ownership of profile.V2 folders [RESOLVED]
- Samba4 roaming profiles & ownership of profile.V2 folders [RESOLVED]
- Weird permissions issues with samba shares and XFS