I hate being stupid. Here is the answer: This won't work: [global] logon script = %U.bat # Win9x needs this 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@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@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@assuredcomp.com www.assuredcomp.com Eugene, Or. 97402
Kurt Weiss
2002-Jun-23 00:12 UTC
[Samba] Login script doesn't run - Solved (=very little samba bug??)
Bob Crandell schrieb:> > I hate being stupid. Here is the answer: > This won't work: > [global] > logon script = %U.bat # Win9x needs thisi'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@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@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@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@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 ==================================================