Adam Tauno Williams
2004-Nov-12 14:39 UTC
[Samba] Logon fails due to "The system cannot find the file specified"
I have a couple of Windows 2000 boxes that only accept logons from users who have logged onto the system before. For new users the logon appears to succeed, proceeds to "Loading your personal settings" and then the following error appears - Windows cannot log you on because the profile cannot be loaded. Contact your network administrator. DETAIL - The system cannot find the file specified. - after which the user is thrown out. I've chased this around quite a bit, I'm not certain if it is a workstation problem, a Samba problem, etc... I have ~200 other Windows 2000/XP workstations that are working. I've cranked up the debug level and read the logs, and set auditing on the local filesystem. Nothing seems to elucidate the cause of the problem. Would be nice if it just came out and said which file couldn't be found. :)
Jim C.
2004-Nov-12 20:09 UTC
[Samba] Re: Logon fails due to "The system cannot find the file specified"
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Adam Tauno Williams wrote: | I have a couple of Windows 2000 boxes that only accept logons from users ... | Would be nice if it just came out and said which file couldn't be | found. :) Well, I know your probably a shaper guy than me when it comes to this kind of stuff but here goes... Checked for differences in underlying file system permissions between old user profiles and new user profiles? Have you tried createing a profile directory manually? Are the profiles being created at all? Can you post the testparm output for the profiles and profdata shares? Jim C. - -- - ----------------------------------------------------------------- | I can be reached on the following Instant Messenger services: | |---------------------------------------------------------------| | MSN: j_c_llings @ hotmail.com AIM: WyteLi0n ICQ: 123291844 | |---------------------------------------------------------------| | Y!: j_c_llings Jabber: jcllings @ njs.netlab.cz | - ----------------------------------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBlRhc57L0B7uXm9oRAg+yAJ0e1PdUbvZwYBsYVztfeyIrVTd3twCfSa67 X+A6vhrVCAna/Mnf5kfikNQ=zF1Y -----END PGP SIGNATURE-----
Jim C.
2004-Nov-12 20:29 UTC
[Samba] Re: Logon fails due to "The system cannot find the file specified"
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Adam Tauno Williams wrote: | I have a couple of Windows 2000 boxes that only accept logons from users ... | found. :) Logically, there has to be something different between the old users and the new ones. Because there are some users for whom the samba config works, I would tend to rule that out as a source of trouble. Here are some other ideas. Log into a Windows machine as one of the old users and open a dos prompt window. Type "set" (this is equivalent to typeing "env" on a unix box) and have a look at the user's environment variables to see if they are what you would expect. You could also compare the sambaHomePath and sambaProfilePath settings between old and new user records, as well as the "logon path" and "logon home" settings in smb.conf and see if they jive with what you had in mind. If not, then you need to check what ever script setup you are using to add users. Jim C. - -- - ----------------------------------------------------------------- | I can be reached on the following Instant Messenger services: | |---------------------------------------------------------------| | MSN: j_c_llings @ hotmail.com AIM: WyteLi0n ICQ: 123291844 | |---------------------------------------------------------------| | Y!: j_c_llings Jabber: jcllings @ njs.netlab.cz | - ----------------------------------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBlR0c57L0B7uXm9oRAu+mAJ0Y6wu/fzchCoeyUDJ2Q6FZNQOS4QCffDpN 3nFppSh9IgWSHq7WNmoNB20=mSPZ -----END PGP SIGNATURE-----