Hi, I have set up Samba 3.0.2a on my Debian server as a PDC.
I use a Windows XP Pro laptop to log on wirelessly, and things seems to
be working fine except with the logon.bat script.
I have added "logon script = logon.bat" and the netlogon share in my
smb.conf.
The logon.bat has executed a few times (perhaps 10% of the times), but
there is obviously a problem. The logon.bat is created with DOS style
CR/LF.
Anyone know what could be wrong?
My smb.conf file:
# Setting up Samba 3.0 as a Primary Domain Controller
[global]
# Server settings
netbios name = sauroman
workgroup = ISENGARD
server string = Testing PDC
security = user
# guest account = smbguest
encrypt passwords = yes
# PDC settings
domain logons = yes
logon script = newlog.bat
# Browser and WINS settings
domain master = yes
local master = yes
preferred master = yes
os level = 255
wins support = yes
# Other services
time server = yes
# Debugging and Logging
log level = 1
log file = /tmp/samba_%m.log
max log size = 1000 #1MB
debug timestamp = yes
syslog = 1
[netlogon]
path = /var/lib/samba/netlogon
browseable = yes
writable = yes # set this to no again!
#[profiles]
# path = /var/lib/samba/profiles
# read only = no
# create mask = 0600
# directory mask = 0700
[homes]
comment = Home for %u
writeable = yes
browseable = no
; map archive = yes ;?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Frode Lillerud wrote: | Hi, I have set up Samba 3.0.2a on my Debian server as a PDC. | | I use a Windows XP Pro laptop to log on wirelessly, and things seems to | be working fine except with the logon.bat script. | | I have added "logon script = logon.bat" and the netlogon share in my | smb.conf. | | The logon.bat has executed a few times (perhaps 10% of | the times), but there is obviously a problem. The logon.bat | is created with DOS style CR/LF. general this kind of behavior would happen if you were using cached credentials to logon. You might want to disable caching of logon credentials temporaily so help track down the problem. flakey wireless maybe ? - -- cheers, jerry - ---------------------------------------------------------------------- Hewlett-Packard ------------------------- http://www.hp.com SAMBA Team ---------------------- http://www.samba.org GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc "If we're adding to the noise, turn off this song" --Switchfoot (2003) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAY1MAIR7qMdg1EfYRAsEjAKDpVT1r+N/PJda0zqVKSuX4nvZL/gCeMYgc KUz8ZENMzZoBTqTSdPrINYc=MQMG -----END PGP SIGNATURE-----