Harondel J. Sibble
2005-Nov-22 21:19 UTC
[Samba] problem with login script not running as one user
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? -- Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. help@pdscc.com (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager)
Michael Barnes
2005-Nov-22 22:30 UTC
[Samba] problem with login script not running as one user
Do you have a "valid users=" entry on the shares in question? If so, is the problem user a member of that group? That one caught me recently. I forgot to add the user to the group that could see that share. Michael Harondel J. Sibble told me on 11/22/2005 15:19:> 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? > > > >
Harondel J. Sibble
2005-Nov-23 05:12 UTC
[Samba] problem with login script not running as one user
On 22 Nov 2005 at 16:30, Michael Barnes wrote:> Do you have a "valid users=" entry on the shares in question? If so, is the > problem user a member of that group? That one caught me recently. I forgot to > add the user to the group that could see that share.On the netlogon share? No, that has guest access which is required so all users can access the share, as to the other shares, the new user is a member of the "office" group which all the users are members of to get access to shared resources. Sadly that's not it. :-( -- Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. help@pdscc.com (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager)
Craig White
2005-Nov-23 05:26 UTC
[Samba] problem with login script not running as one user
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.