Hi, How do I stop this? [2002/05/26 20:13:44, 3] lib/util.c:unix_clean_name(387) unix_clean_name [/CONFIG.POL] [2002/05/26 20:13:44, 3] smbd/dosmode.c:unix_mode(111) unix_mode(CONFIG.POL) returning 0744 [2002/05/26 20:13:44, 3] lib/util.c:unix_clean_name(387) unix_clean_name [CONFIG.POL] [2002/05/26 20:13:44, 3] smbd/open.c:open_file(159) Error opening file CONFIG.POL (No such file or directory) (local_flags=0) (flags=0) [2002/05/26 20:13:44, 3] smbd/error.c:error_packet(91) error string = No such file or directory I'm not using roaming profiles and don't want to. BTW, the login script used to work before this error. Thanks -- 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
On Mon, May 27, 2002 at 03:21:15AM +0000, Bob Crandell wrote:> Hi, > How do I stop this? > > [2002/05/26 20:13:44, 3] lib/util.c:unix_clean_name(387) > unix_clean_name [/CONFIG.POL] > [2002/05/26 20:13:44, 3] smbd/dosmode.c:unix_mode(111) > unix_mode(CONFIG.POL) returning 0744 > [2002/05/26 20:13:44, 3] lib/util.c:unix_clean_name(387) > unix_clean_name [CONFIG.POL] > [2002/05/26 20:13:44, 3] smbd/open.c:open_file(159) > Error opening file CONFIG.POL (No such file or directory) (local_flags=0) > (flags=0) > [2002/05/26 20:13:44, 3] smbd/error.c:error_packet(91) > error string = No such file or directory > > I'm not using roaming profiles and don't want to. BTW, the login script used to > work before this error.What type of client is this? I think its a win9x in which case its probably the client trying to drag a config.pol from the netlogon share. Does this file exist there? -- David W. Chapman Jr. dwcjr@inethouston.net Raintree Network Services, Inc. <www.inethouston.net> dwcjr@freebsd.org FreeBSD Committer <www.FreeBSD.org>
In Control Panel/Passwords the top choice is selected, "All users of this computer use the same preferences and desktop settings." I just realized I haven't been addressing this to the list. Sorry. I need to pay better attention. Thanks David W. Chapman Jr. (dwcjr@inethouston.net) wrote*:> >I dont' believe it will look for it unless you turn profiles on. Can you >double check the settings on the workstation to see if you set up >profiles(not necessarly roaming). > >----- Original Message ----- >From: "Bob Crandell" <bob@assuredcomp.com> >To: "David W. Chapman Jr." <dwcjr@inethouston.net> >Sent: Sunday, May 26, 2002 11:08 PM >Subject: Re: [Samba] CONFIG.POL > > >> Sorry, I forgot to mention they are Win 98 clients and Samba 2.2.3a. >> >> Config.pol has never existed. Why is Win98 looking for it now? >> >> Thanks >> >> David W. Chapman Jr. (dwcjr@inethouston.net) wrote*: >> > >> >On Mon, May 27, 2002 at 03:21:15AM +0000, Bob Crandell wrote: >> >> Hi, >> >> How do I stop this? >> >> >> >> [2002/05/26 20:13:44, 3] lib/util.c:unix_clean_name(387) >> >> unix_clean_name [/CONFIG.POL] >> >> [2002/05/26 20:13:44, 3] smbd/dosmode.c:unix_mode(111) >> >> unix_mode(CONFIG.POL) returning 0744 >> >> [2002/05/26 20:13:44, 3] lib/util.c:unix_clean_name(387) >> >> unix_clean_name [CONFIG.POL] >> >> [2002/05/26 20:13:44, 3] smbd/open.c:open_file(159) >> >> Error opening file CONFIG.POL (No such file or directory) >(local_flags=0) >> >> (flags=0) >> >> [2002/05/26 20:13:44, 3] smbd/error.c:error_packet(91) >> >> error string = No such file or directory >> >> >> >> I'm not using roaming profiles and don't want to. BTW, the login >script used to >> >> work before this error. >> > >> >What type of client is this? I think its a win9x in which case its >> >probably the client trying to drag a config.pol from the netlogon >> >share. Does this file exist there? >> > >> > >> > >> -- >> 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 >> >> > >-- 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
I built a new computer. New install of Win 98. It won't run the login script and the logs show the same "can't find config.pol" error. Are you sure Samba doesn't have anything to do with this? Thanks and I am checking some of the things mentioned so far. Bruce Ferrell (bferrell@baywinds.org) wrote*:> >It's been a long time so I could be wrong, but I THINK win9x looks for >*.pol anytime it does a domain login. *.POL file are policy files >created by poledit. > >Bob Crandell wrote: > >> In Control Panel/Passwords the top choice is selected, "All users of thiscomputer>> use the same preferences and desktop settings." >> >> I just realized I haven't been addressing this to the list. Sorry. I need topay>> better attention. >> >> Thanks >> >> David W. Chapman Jr. (dwcjr@inethouston.net) wrote*: >> >>>I dont' believe it will look for it unless you turn profiles on. Can you >>>double check the settings on the workstation to see if you set up >>>profiles(not necessarly roaming). >>> >>>----- Original Message ----- >>>From: "Bob Crandell" <bob@assuredcomp.com> >>>To: "David W. Chapman Jr." <dwcjr@inethouston.net> >>>Sent: Sunday, May 26, 2002 11:08 PM >>>Subject: Re: [Samba] CONFIG.POL >>> >>> >>> >>>>Sorry, I forgot to mention they are Win 98 clients and Samba 2.2.3a. >>>> >>>>Config.pol has never existed. Why is Win98 looking for it now? >>>> >>>>Thanks >>>> >>>>David W. Chapman Jr. (dwcjr@inethouston.net) wrote*: >>>> >>>>>On Mon, May 27, 2002 at 03:21:15AM +0000, Bob Crandell wrote: >>>>> >>>>>>Hi, >>>>>>How do I stop this? >>>>>> >>>>>>[2002/05/26 20:13:44, 3] lib/util.c:unix_clean_name(387) >>>>>> unix_clean_name [/CONFIG.POL] >>>>>>[2002/05/26 20:13:44, 3] smbd/dosmode.c:unix_mode(111) >>>>>> unix_mode(CONFIG.POL) returning 0744 >>>>>>[2002/05/26 20:13:44, 3] lib/util.c:unix_clean_name(387) >>>>>> unix_clean_name [CONFIG.POL] >>>>>>[2002/05/26 20:13:44, 3] smbd/open.c:open_file(159) >>>>>> Error opening file CONFIG.POL (No such file or directory) >>>>>> >>>(local_flags=0) >>> >>>>>>(flags=0) >>>>>>[2002/05/26 20:13:44, 3] smbd/error.c:error_packet(91) >>>>>> error string = No such file or directory >>>>>> >>>>>>I'm not using roaming profiles and don't want to. BTW, the login >>>>>> >>>script used to >>> >>>>>>work before this error. >>>>>> >>>>>What type of client is this? I think its a win9x in which case its >>>>>probably the client trying to drag a config.pol from the netlogon >>>>>share. Does this file exist there? >>>>> >>>>> >>>>> >>>>> >>>>-- >>>>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 >>>> >>>> >>>> >>> >> -- >> 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 >> >> >> >> > > >-- 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
Yes, the login script runs manually. I have it in the Startup group until this is resolved. This is true of the admin also and admin can edit the login scripts. I don't see any mention of the login script in the log files, either. David W. Chapman Jr. (dwcjr@inethouston.net) wrote*:> >On Mon, May 27, 2002 at 07:02:07PM +0000, Bob Crandell wrote: >> I built a new computer. New install of Win 98. It won't run the login scriptand>> the logs show the same "can't find config.pol" error. Are you sure Samba doesn't >> have anything to do with this? > >I don't think you mentioned that it won't run the login script >before. The can't find config.pol error isn't really something to >worry about, but the logon script is. Can the 98 machine even view >the contents of the netlogon share, how about running it manually? >What are the permissions on it? > > >-- 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
It is attached, I hope. To explain what used to happen; when a user logs in, their batch file is run, in this case sharon.bat. It, in turn, calls net-log.bat which is the actual login script. sharon.bat is never called the way it used to. Here is [global] and [netlogon]. The comments are different things I've tried: [global] comment = Linux based server server string = Samba Server netbios name = OciCat workgroup = CRANDELL security = user encrypt passwords = yes preferred master = yes domain logons = yes domain master = yes local master = yes # logon drive # logon home # logon path logon script = %U.bat # Win9x needs this # logon script = logon.cmd # WinNT needs this log file = /var/log/samba.log max log size = 50 debug level = 2 printcap name = /etc/printcap load printers = yes # use client driver = yes printing = bsd guest account = pcguest # nt status support = no os level = 64 preserve case = yes short preserve case = yes oplocks = no level2 oplocks = no kernel oplocks = no write cache size = 262144 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 [netlogon] available = yes path = /home/samba writable = no comment = Network Logon Service public = yes admin users = admin, bob write list = admin, bob Thanks David W. Chapman Jr. (dwcjr@inethouston.net) wrote*:> >On Mon, May 27, 2002 at 09:33:44PM +0000, Bob Crandell wrote: >> Yes, the login script runs manually. I have it in the Startup group until thisis>> resolved. This is true of the admin also and admin can edit the login scripts. > >You'll have to load smbd with the -d10 flag and check the logs when >someone logs on to see what the problem is. > >-- 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: samba.log Type: application/octet-stream Size: 15689 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20020529/0b2a8620/samba.obj
Hi, I just installed a new Samba server to replace an old dying Novell box for a client. It works well and they are happy. The one problem I'm having is when any user logs in, they get a message saying it can't find \\master\netlogon\config.pol. This is coming from a messed up roaming profiles configuration on the Novell box, which is off. I don't have any experience with roaming profiles and I don't want any. My question is can you either 1) tell me how to turn it off on each workstation or 2) send and empty/do nothing config.pol? This would be a great product if it wasn't for Windoze. :^/ Thanks -- Bob Crandell Assured Computing When you need to be sure. Voice 541-689-9159 FAX 240-371-7237 bob@assuredcomp.com www.assuredcomp.com Eugene, Or. 97402
Hi Fernando, I'm sorry. I forgot to mention all the workstations are Win98. Fortunatly, there are only 10. I have already changed the selection to "All users of this computer use the same preferences and desktop settings." in Passwords Properties/User Profiles. Thanks Your english is so good I didn't even hear an accent. ;^) Fernando Casas (casasfernando@hotmail.com) wrote*:> >Hi BOB. >This solution is tedius, but works. I?m sure there is a better one out >there. =) > >You must go to each workstation, logon as Administrator, or a user with >Administrator privileges. > >Righ-click on MyComputer icon. >Click on Properties. >Then go to the User Profiles tab. >Select the user that you want to change de profile type. >Then click on the CHANGE TYPE button. >Select LOCAL PROFILE. >Then click on OK. >Click on OK again. > >And thats all. Then logoff, and logon again. The user profile will be local >type instead of roaming. >If this doesn?t work for you, let me know. >Greetings. > >Fernando > >PD: excuse my terrible english. =( > >----- Original Message ----- >From: "Bob Crandell" <bob@assuredcomp.com> >To: "Samba List" <samba@lists.samba.org> >Sent: Tuesday, October 01, 2002 12:20 PM >Subject: [Samba] config.pol > > >> Hi, >> >> I just installed a new Samba server to replace an old dying Novell box for >a client. >> It works well and they are happy. The one problem I'm having is when any >user logs >> in, they get a message saying it can't find \\master\netlogon\config.pol. >This is >> coming from a messed up roaming profiles configuration on the Novell box, >which is >> off. I don't have any experience with roaming profiles and I don't want >any. >> >> My question is can you either >> 1) tell me how to turn it off on each workstation or >> 2) send and empty/do nothing config.pol? >> >> This would be a great product if it wasn't for Windoze. :^/ >> >> Thanks >> -- >> Bob Crandell >> Assured Computing >> When you need to be sure. >> Voice 541-689-9159 >> 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 >> >