Need help with logon scripts

Johan Hedin johanh at fusion.kth.se
Wed Apr 29 09:05:41 GMT 1998


Hi

We are using Samba PDC on Solaris 2.6 here, and it works fine. However I
can't get logon scripts to work. It did work before, but after a resent
sync to the Samba main CVS tree, it stopped working. I have updated the
code this morning. Any ideas what I'm doing wrong.

TIA

Johan Hedin
/---------------------------------------------------------------------\
| Johan Hedin                      | johanh at fusion.kth.se             |
| Ph.D. Student and System Manager | http://www.fusion.kth.se/~johanh |
\---------------------------------------------------------------------/


>From smb.conf:

   domain logons = yes
   logon drive = h:
   logon script  =  STARTUP.BAT
   unix realname = yes

...

; Logon scripts
[netlogon]
    comment = logon scripts
    browseable = yes 
    path = /usr/local/samba-nt/lib/netlogon
    public = no 
    read only = yes 


Contents of /usr/local/samba-nt/lib/netlogon (NFS readonly):

-rw-r--r--   1 root     other        118 Apr  7 12:24 STARTUP.BAT
lrwxrwxrwx   1 root     other         11 Mar 31 15:38 STARTUP.CMD ->
STARTUP.BAT
-rw-r--r--   1 root     other        114 Apr  7 12:24 startup.unix
-rw-r--r--   1 root     other         28 Mar 31 15:37 startup.unix~

STARTUP.BAT generated by unix2dos < startup.unix > STARTUP.BAT



More information about the samba-ntdom mailing list