[Samba] Roaming profile and logon script on Windows XP
Gauer Christian
c.gauer at lutz-computer-systeme.com
Mon May 26 17:27:21 GMT 2003
Hi there!
I set up samba 2.2.8a as a Windows PDC. Everything worked fine (joining the
domain, roaming profile, passwd changing) until I wanted a logon script. Now
I got the error message, that the client can not load it's profile and it
creates a temprary profile.
Without the logon script everything is fine.
Is there a collision between the logon home drive and the logon script?? Or
what ever??
Thanks for your help ...
Christian
# My smb.conf
[global]
netbios name = lcs0000340
workgroup = cramer-henkel
time server = Yes
unix extensions = Yes
unix password sync = Yes
passwd program = /usr/bin/passwd %u
# Domain Controller
domain logons = Yes
encrypt passwords = Yes
guest account = nobody
map to guest = Bad User
os level = 99
preferred master = yes
security = user
wins support = yes
logon drive = h:
logon home = \\lcs0000340\%U
# Netlogon [netlogon]
logon script = logon.bat
# User Profiles [profile]
logon path = \\lcs0000340\profile\%U
# Creating machine accounts on the fly
add user script = /usr/sbin/useradd -d /dev/null -g 500 -s
/bin/false -M %u
# Logging
log level = 2
log file = /var/log/samba.log
syslog = 0
# Printing
printing = CUPS
printcap name = CUPS
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
veto files = /*.eml/*.nws/riched20.dll/*.{*}/
[netlogon]
path = /var/lib/samba/netlogon
[homes]
comment = Home Directories
valid users = %S
browseable = No
read only = No
create mode = 0640
directory mode = 0750
[profile]
create mode = 0600
csc policy = disable
directory mode = 0700
path = /var/lib/samba/profiles
profile acls = yes
read only = no
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
More information about the samba
mailing list