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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-30-2006, 08:32 PM
|
#1
|
|
LQ Newbie
Registered: Jan 2004
Location: NJ, USA
Distribution: Arch
Posts: 27
Rep:
|
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
|
|
|
|
08-01-2006, 06:05 AM
|
#2
|
|
Moderator
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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.
|
|
|
|
01-02-2007, 01:59 PM
|
#3
|
|
Member
Registered: Jul 2003
Posts: 30
Rep:
|
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
[global]
[Docs]
path = /app/me/Docs
valid users = me
force user = me
|
|
|
|
01-04-2007, 06:16 AM
|
#4
|
|
Member
Registered: Dec 2005
Location: South Africa
Distribution: CentOS,Ubuntu,Fedora
Posts: 249
Rep:
|
Hi
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
|
|
|
|
01-09-2007, 04:51 PM
|
#5
|
|
Member
Registered: Jul 2003
Posts: 30
Rep:
|
Works, thanks
That works, thanks.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:45 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|