LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-26-2007, 10:38 AM   #1
lgs
LQ Newbie
 
Registered: Dec 2005
Location: Costa Rica
Distribution: Debian Etch 4.0 r3
Posts: 21

Rep: Reputation: 1
Unhappy How to switch SAMBA user on WinXP client?!


I installed SAMBA on my Debian Sarge box and got it working easily. The idea is a simple file server for my son's laptop running XP Pro.

We are able to connect and get read/write access to my home directory.

My problem is that to test it on my son's laptop, I entered my own Samba user name (as registered in Linux via smbpasswd) instead of my son's. Unfortunately we clicked "save password" in the Windows sign-in dialog for the SAMBA connection.

Now I want for my son to access his own home directory files, not mine. No matter what I do Windows automatically logs in as me (lloyd) not as my son (miles).

I have tried everything I can think of, including changing my own SAMBA user password. When I do that, I get the XP machine sign in dialog, but it won't take his username and password. I have also tried restarting Windows.

This seems like the problem is on the Windows SAMBA client, not in the server, but here is my simple smb.conf file anyway:

Quote:
# Global parameters
[global]
server string = %h server (Samba %v)
obey pam restrictions = Yes
passdb backend = tdbsam, guest
syslog = 0
log file = /var/log/samba/log.%m
max log size = 100
dns proxy = No
panic action = /usr/share/samba/panic-action %d
invalid users = root
hosts allow = 127.0.0.1, 192.168.1.0/24

[homes]
comment = Home Directories
read only = No
create mask = 0700
directory mask = 0700
browseable = No
Hope someone can help! Until then I removed the [homes] entry and I set up a share (not shown here) for my son to access a directory /home/milesspecial that I chowned to my user/group. But this does not allow anyone to connect to their home directory via SAMBA.
 
Old 02-26-2007, 02:47 PM   #2
lgs
LQ Newbie
 
Registered: Dec 2005
Location: Costa Rica
Distribution: Debian Etch 4.0 r3
Posts: 21

Original Poster
Rep: Reputation: 1
Smile Solved.

I found the solution myself. For everyone else:

On the Windows XP client, go to :

Quote:
Control panel/Administrative tools/local security policy/local policies/security options/do not allow storage of credentials or .NET passports for network authentication.
Enable this setting. Reboot. Now you will be able to change the samba shares user. Then disable it again if you want automatic signin. (This is another Windows bug: you should be able to change the shares user even though auto-signin is active.)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Client ADS-Authenticated User Can't Access Samba Shares lavie Linux - Software 1 09-12-2006 07:14 AM
WinXP home client sees Linux Samba server but no access to shares IslanderTexas Linux - Software 27 02-22-2006 04:54 PM
Samba PDC XP Pro client and Outlook Express user accts alans Linux - Networking 2 11-27-2004 02:02 PM
gnome samba client user name Wordan Linux - Networking 2 11-02-2004 03:44 PM
set up DSL thru SWITCH - winXp connected to SWITCH too husz Linux - Newbie 5 04-22-2004 12:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration