[K12OSN] Samba / W2K login script issue - RESOLUTION
Bert Rolston
bert.rolston at clear.net.nz
Thu Aug 17 23:51:42 UTC 2006
Hi everyone, perhaps someone has run into this before.
Doug, your comments got me thinking along a different track.
Here's what I found, in the hope that others may find it useful.
The whole problem actually has it's root in a hardware upgrade.
The old server was flaky. It started randomly dropping SMB connections,
which increased in frequency over several days.
I used WEBMIN to save my samba and user settings from the old hardware.
I re-installed FC5 onto the new server then restored the settings from
the old server. This included the samba machine trust accounts.
I tried using another computer to see if the problem was machine
related. I tried adding a domain user as a valid user on the new
machine. This caused a machine trust relationship error to occur.
After rejoining the machine to the server, and copying user profile
information to their new profiles I was able to get the login script to
work.
So thanks again to all on the list for your help.
Regards,
Bert
On Thu, 2006-08-17 at 11:41 -0500, Doug Simpson wrote:
> If the computer is saying there is a problem with UNC paths, likely that
> has n othing to do woth the server.
>
> But, make sure your path for the netlogon directory is correct and that
> there is actually logon.bat in there and make sure your smb.conf says
> logon.bat is the logon script to be run.
>
> my example:
>
> Server location for login script for group "Users"
> /samba/netlogon/users
>
> logon script in the above listed directory:
> logon.bat
>
> in the smb.conf file under "global" make sure there is a line:
> logon script = logon.bat
>
> Make sure there is a [netlogon] directive.
>
> make sure the path in it is correct for the netlogon directory.
>
> Make sure the directory is readable by all users.
>
> Restart samba
>
> If you need further assistance, send me a copy of your smb.conf file and I
> will look at it and see if I can find anything wrong with it.
>
> Doug Simpson
> Technology Specialist
> DeQueen Public Schools
> DeQueen, AR 71832
> simpsond at leopards.k12.ar.us
> Tux for President!
>
> On Thu, 17 Aug 2006, Bert Rolston wrote:
>
> > Hey folks,
> >
> > I've run into a problem with a W2K machine and winders login scripts.
> >
> > I've tried googling Samba.org and tried a couple of the suggestions in
> > their archives, without any success.
> >
> > I've searched through the K12OSN digests without any luck.
> >
> > So, now I'm going to ask here.
> >
> > I have a W2K (SP4) computer logging in to my FC5 / Samba 3.0xxxx server.
> > Samba is set up to act a the PDC. This works fine.
> >
> > I can use network neighbourhood and see all the share. I can access all
> > the shares.
> >
> > If I try to launch the login script from \\servername\netlogon I get an
> > error message about UNC paths, then it proceeds as below.
> >
> > I can manually map Z: to the netlogon share and run the login script.
> >
> > This produces the following error message
> >
> > "net use h: /home
> > The user's home directory could not be determined
> > More help is available by typing NET HELPMSG 3915" (which tells me to
> > create the user's home directory)
> >
> > The user's home directory exists. the unix permissions are 777, samba
> > permissions are RW to all known users.
> >
> > The rest of the login script will map all the drives.
> >
> > The script DOESN'T run automagically when the user logs in to the
> > network. I've put a pause into the script to ensure it stays on screen.
> > It doesn't.
> >
> > I suspect the problem lies in the [global] section of my smb.conf, but
> > please don't let that limit any help you can give.
> >
> > Thanks,
> > Bert (long time lurking on this list)
> >
> > _______________________________________________
> > K12OSN mailing list
> > K12OSN at redhat.com
> > https://www.redhat.com/mailman/listinfo/k12osn
> > For more info see <http://www.k12os.org>
> >
More information about the K12OSN
mailing list