[Samba] Logon Script Doesn't

John H Terpstra jht at samba.org
Fri Mar 14 06:45:17 GMT 2003


On Fri, 14 Mar 2003, Bob Crandell wrote:

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

No. Win9X/Me can not execute a .cmd file.

- John T.

>
> 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
> >
> >
> >
> >
> >
>
>

-- 
John H Terpstra
Email: jht at samba.org


More information about the samba mailing list