[Samba] problem with login script not running as one user

Craig White craigwhite at azapple.com
Wed Nov 23 05:25:02 GMT 2005


On Tue, 2005-11-22 at 13:19 -0800, Harondel J. Sibble wrote:
> Okay, have a small office running Samba on MDK 10.1 and XP workstations:
> 
>     samba-server-3.0.10-0.1.101mdk
>     samba-client-3.0.10-0.1.101mdk
>     samba-vscan-clamav-3.0.10-0.1.101mdk
>     samba-common-3.0.10-0.1.101mdk
> 
> Using tbdsam as our backend. I recently added a new user, however this user 
> does not run the regular login script for some reason
> 
>     net use h: \\FILESERVER\homes /YES
>     net use p: \\FILESERVER\public /YES
>     net use z: \\FILESERVER\archive /YES
> 
> The only drive being mapped is the home directory and it's being mapped as 
> Z:, none of the other drives are being mapped.
> 
> I've checked the samba logs for both the server and workstation in question, 
> also event logs on the workstation itself and don't see anything obvious 
> relating to this problem. 
> 
> We are using roaming profiles for all users and logging in as several other 
> users on this machine has the proper drive mappings from the login script.
> 
> I've checked user and group ownership on the various files and all seems as 
> expected.
> 
> It's just this one user that is problematic. Googling hasn't turned up 
> anything useful so far.
> 
> Suggestions?
-----
inasmuch as the mounts tend to be persistent, you might not be executing
the logon script by any of the users but think you are.

Why not put a break or something in the logon script so it stays on
screen waiting for input or something so you know that it runs for other
users.

As far as why it might not be running logon script for valid user
possibilities...

- tdb permits different logon script per user. have you verified with
pdbedit?

- computer is properly joined or connected to domain controller and is
providing logon from cache

- logon script created with unix line breaks instead of Windows line
breaks (bad)

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the samba mailing list