[Samba] Login script doesn't run - Solved (=very little samba bug??)

Kurt Weiss info at kwnet.at
Sun Jun 23 00:12:04 GMT 2002


Bob Crandell schrieb:
> 
> I hate being stupid.  Here is the answer:
> This won't work:
> [global]
>         logon script = %U.bat     #   Win9x needs this

i've tested this line - (i've used it too in a view systems...)

my entry:
logon script = %G.bat #this is my comment

this works:
logon script = %G.bat[space]#this is my comment

this doesn't work:
logon script = %G.bat[tabstop]#this is my comment

> 
> This will work:
> [global]
> #   Win9x needs this
>         logon script = %U.bat
> 
> The comment has to be on it's own line.
> 
> Thanks to all for trying to help.
> 
> Bob Crandell (bob at assuredcomp.com) wrote*:
> >
> >Hi,
> >The login script has worked for our win98 computers since the dawn of time (or
> >there abouts).  Then something happened or I did something and the login script
> >doesn't run anymore.  I can run it manually.  This was version 2.2.3a.
> >I started smbd with -d10 and didn't see any call for a script.  Is the login script
> >mentioned in a working system?
> >
> >In an effort to fix this, I deleted and recreated the private directory
> >and /var/lock/samba.  No joy.
> >
> >Here is part of the smb.conf:
> >[global]
> >        security = user
> >        encrypt passwords = yes
> >        preferred master = yes
> >        domain logons = yes
> >        domain master = yes
> >        local master = yes
> >        logon script = %U.bat
> >
> >[netlogon]
> >        available = yes
> >        path = /home/samba
> >        writable = no
> >        comment = Network Logon Service
> >        public = yes
> >        admin users = admin, bob
> >        write list = admin, bob
> >
> >I installed 2.2.5.  No joy.
> >
> >Thanks
> >bob at assuredcomp.com
> >www.assuredcomp.com
> >Eugene, Or. 97402
> >
> >
> >
> >
> --
> Bob Crandell
> Assured Computing
> When you need to be sure.
> Cell 541-914-3985
> FAX  240-371-7237
> bob at assuredcomp.com
> www.assuredcomp.com
> Eugene, Or. 97402
> 
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
mit freundlichen grüssen
==================================================
www.kwnet.at, one step behind future...

Ing. Kurt Weiß
Softwareentwicklung,  EDV Beratung und - Betreuung
A-6425 Haiming, Gartenweg 3
Tel.: +43 699 1 272 9926 / Fax: +43 699 4 272 9926
E-Mail: info at kwnet.at
Web:
http://www.kwnet.at     http://www.oberlandinfo.at
===================================================
verbringe nicht die zeit mit der suche nach
einem hindernis. - vielleicht ist gar keines da.

franz kafka
==================================================




More information about the samba mailing list