Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 07-30-2006, 08:32 PM   #1
LQ Newbie
Registered: Jan 2004
Location: NJ, USA
Distribution: Arch
Posts: 27

Rep: Reputation: 15
samba: win xp client does not get prompted for username

i was setting up samba for the first time and i wanted to set up a stand-alone server that would be accessible to members of a certain group. now, when i try to connect to a share from win xp using \\<server ip>\<share name> i get prompt for username and password but username is grayed out and cannot be modified. instead there is \\<server ip>\Guest there. any ideas? here is my smb.conf and i am running FC5 with latest verions of samba that is available through yum:
#======================= Global Settings =====================================

   workgroup = DSMGROUP
   server string = Samba
   interfaces = eth0 eth1
   hosts allow = 10.10.10.
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   log file = /var/log/samba/%m.log
   max log size = 50
   security = share
   create mask = 0644
   directory mask = 0755

#============================ Share Definitions ==============================

   path = /data
   read only = no
   guest ok = no
   browseable = yes
   valid users = @dsmusers
   force group = dsmusers
Old 08-01-2006, 06:05 AM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
I think that you want to use "force group = +dsmusers". This will force the group "dsmusers" for people using the service only if they are already a member of "dsmusers".

Do you want members of dsmusers to have full access, even to delete someone elses files?

If not, consider what mode you use and set the sticky bit on the directory you are sharing.
Old 01-02-2007, 01:59 PM   #3
Registered: Jul 2003
Posts: 31

Rep: Reputation: 15
I don't think that answer is correct

I don't think changing the force group or user is the best answer.

I think I am in the same boat as the original poster: I have two users in the smbpasswd file: "nobody" and "me". When I connect to the share, the User name is greyed out and is promoting me for the password for server\Guest.

Even if I do set the force user to "me", "server\Guest" is still in the greyed-out User Name field. Even if setting "me" to the forced user worked, it is supposed to force anyone's identity to "me" if they were to succesfully log in. I don't think that's what the OP intended. although it might be a workaround.

My guess (I am not a Windows authentication expert) is that this is something the XP client and not samba is forcing upon me, and I need better rights to make the client login actually prompt me for a username, at least without tying my samba into the local AD domain.

My smb.conf:
# Global parameters

path = /app/me/Docs
valid users = me
force user = me
Old 01-04-2007, 06:16 AM   #4
Registered: Dec 2005
Location: South Africa
Distribution: CentOS,Ubuntu,Fedora
Posts: 249

Rep: Reputation: 30
I have had this problem..

do the following..

Map the network drive to the machine, when it asks you to connect and you enter the path, it has an option to connect as a different user, this is where you can change the user name, and also enter the password.

After that it should work
Old 01-09-2007, 04:51 PM   #5
Registered: Jul 2003
Posts: 31

Rep: Reputation: 15
Works, thanks

That works, thanks.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Cant write to Win XP using SAMBA client quinnk Linux - Networking 1 10-17-2004 09:40 AM
Samba Printing to Win Client brokenflea Linux - Networking 0 02-23-2004 01:38 AM
Client connection problems with Samba And Win XP Pro hewsonism Linux - Software 4 01-13-2004 06:57 AM
printing from win 98 client to samba printer on red hat linux with cups shashi_lq Linux - Networking 0 12-10-2003 01:04 AM
Linux SAMBA Server - Win 2000 Client anja Linux - Networking 6 04-07-2003 07:30 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:48 PM.

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