please help me

Randy Cone cone at
Fri May 28 18:33:44 GMT 1999

Hey folks,

First off, samba is one of the coolest pieces of software I've used.

What I've got is a Digital Unix Box 4.0D running samba 2.0.4b and acting
as a PDC for some win9x and NT boxes.  We've used Samba for quite a
while here, and our win9x boxes authenticate off them and use a
logon.bat script to setup drives, time, etc.

The NT4 workstation joined the domain hosted by this server without a
hitch, and they authenticate off it beautifully.  Trouble is,  I can't
seem to get them to pick up a logon.bat file no matter what I try.

Grateful for any help/suggestions!

Hopefully relevant portion of smb.conf:

# Global parameters
        workgroup = HPEL-ACADEMIC
        server string = HPEL File Server
        password level = 3
        log file = /usr/local/samba/var/log.%a.%m
        max xmit = 8192
        read size = 8192
        printcap name = /etc/printcap
        logon script = %a\logon.bat
        logon drive = h:
        domain logons = Yes
        os level = 254
        domain master = Yes
        read only = No
        hosts allow = localhost,,
        printing = bsd
#       update encrypted = yes
        encrypt passwords = yes
        username map = /usr/local/samba/lib/

        comment = Windows login directory
        path = /share/pc/netlogon
        guest ok = Yes
        exec = /usr/local/sbin/markLogon log connect %u %m %S
        postexec = /usr/local/sbin/markLogon log disconnect %u %m %S

Randy Cone
Director of Information and Electronic Services
Horn Point Laboratory
University of Maryland Center for Environmental Science
ph# 1-410-221-8487	fax# 1-410-221-8490
cone at

More information about the samba-ntdom mailing list