[Samba] Can't get logon script option working with PDC
christoph
christoph at scheeder.de
Tue Sep 14 09:04:24 GMT 2004
Hi,
have your useres at least linux-read-permissions on all the dir's downto
/var/lib/samba/netlogon and on the directory itself?
if not AFAIK they won't be allowed to acces the files in this dir.
Christoph
Mark Murphy schrieb:
> Environment: Samba 3.0.6 on FC2 as PDC (replacing an NT 4.0 PDC)
> Windows 98/ME/2K/XP desktops on the domain
>
> I can't seem to get "logon script" to function. My [netlogon] share
> exists, the batch file is there, and if I manually run
> \\MAINSERVER\netlogon\logon.bat, it runs just fine. However, it doesn't
> run on login.
>
> I set "log level" to 3 and poked through the results. I can see where
> clients are accessing [netlogon], but I see no evidence that they're
> even requesting logon.bat.
>
> Here's the relevant snippets out of smb.conf:
>
> [global]
> log file = /var/log/samba/%m.log
> log level = 0
> load printers = yes
> idmap gid = 16777216-33554431
> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> username map = /etc/samba/smbusers
> domain master = yes
> preferred master = yes
> local master = yes
> winbind use default domain = no
> passdb backend = tdbsam
> template shell = /bin/false
> dns proxy = no
> netbios name = MAINSERVER
> printing = cups
> server string = Samba Server
> idmap uid = 16777216-33554431
> workgroup = SNICKLEFRITZ
> os level = 65
> printcap name = /etc/printcap
> security = user
> max log size = 50
> domain logons = yes
> logon script = logon.bat
> logon path =
>
> [netlogon]
> # browseable = no
> path = /var/lib/samba/netlogon
> read only = yes
> write list = foo, bar
>
> It feels like things should be working, based on the docs I've read
> (including both Samba-3 books), but I'm obviously missing something...
>
> Any suggestions? Thanks!
>
> Mark Murphy
> mmurphy at arroco.com
>
More information about the samba
mailing list