[Samba] Logon Script Doesn't

Bob Crandell bob at assuredcomp.com
Fri Mar 14 05:11:46 GMT 2003


If I change
logon script = %U.bat
to
logon script = %U.cmd
Will the login script still work for Win 98?

Thanks

Zuber Sidiyot (zuber.sidiyot at theta.co.nz) wrote*:
>
>Bob
>
>Try Extension .cmd instead .bat
>
>
>Zuber
>
>-----Original Message-----
>From: samba-bounces+zuber.sidiyot=theta.co.nz at lists.samba.org
>[mailto:samba-bounces+zuber.sidiyot=theta.co.nz at lists.samba.org] On
>Behalf Of Bob Crandell
>Sent: Friday, March 14, 2003 12:09 PM
>To: Samba List
>Subject: [Samba] Logon Script Doesn't
>
>Hi,
>
>I've finally been dragged kicking and screaming into the wonderful world
>of XP.
>I've been able to join a domain and login with the help of the docs on
>samba.org and
>gleaning info from this list.  Google and I don't get along.
>
>My question is How do I get the logon script to run when XP logs in?
>Win 98 doesn't
>have a problem running the logon script.
>
>Here is part of the smb.conf:
>[global]
>        comment = Home based server
>        server string = Samba Server v2.2.7
>        netbios name = OciCat
>        workgroup = CRANDELL
>        security = server
>        encrypt passwords = yes
>        preferred master = yes
>        domain logons = yes
>        domain master = yes
>        local master = yes
>
>        logon script = %U.bat
>        logon drive = H:
>        logon path =
>        add user script = /usr/sbin/useradd -d /dev/null -g users -s
>/dev/false
>-M %u
>
>The batch files exist and are working with Win98.
>
>I miss DOS.
>
>Thanks
>
>
>
>
>



More information about the samba mailing list