samba: win xp client does not get prompted for username
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
Code:
#======================= Global Settings =====================================
[global]
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 ==============================
[Data]
path = /data
read only = no
guest ok = no
browseable = yes
valid users = @dsmusers
force group = dsmusers
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.
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
[global]
[Docs]
path = /app/me/Docs
valid users = me
force user = me
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.