Jump to content

Samba XP Login


dickohead
 Share

Recommended Posts

Hey guys,

 

How do i create a samba user that can login to restricted samba shares from windows XP?

 

I have public access working fine for heaps of folders... but that's my problem, everyone can see everyone elses home folders..... not a good idea!

 

So how do i restrict them so when users try to access folders, they are asked to login?

 

Here is the section of my smb.conf file:

[DYLAN_HOMEPAGE]
  path = /home/dylan/public_html
  comment = Dylan's Homepage
  writeable = yes
  valid users = @dylan
  user = dylan

i have run:

smbpasswd -a dylan
password:
retype password:

 

and that was all good, but is there a command to add the user as an smbuser? smbuseradd made sense, but isn't a command in mandrake 10......... how do i allow users login access to samba from windows xp?

 

Everytime i try and login from an XP machine, it fails and tells me that:

is not accessible. You might not have permissions, blah blah
Multiple connections to a server or shared resource by the same user, using more than one username, are not allowed. Disconnect all previous connections to the server or shared resource and try again

 

but i have no other connections to the samba folder... i am logged into ssh, but not as 'dylan '.....

 

:screwy:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...