Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I already setup Samba on Ubuntu Server. It's working fine, but I would like to have it accessed by any user using their username and password, in any windows PC that a user would choose to use. Please help me how to do that. Is that possible? Any help will be appreciated.

share|improve this question
    
Thanks @utkuerd. Your answer game me clues and made me create more questions in my mind that forces mo to look for more answers. For that I thank you. I finally got it all working thanks to this post here, I am now able to use a username with password to any PCs with Micro$#it Windows OS. –  user139848 Mar 20 '13 at 6:12

1 Answer 1

Samba has a built in user authentication mechanism. You can give users permission to access your shares and use smbpasswd to set their passwords. You can also synchronize user's login password with Samba password. Samba Server Configuration tool can help you on this, as illustrated here.

When you set up password for users, they'll be automatically required to enter it to access your shares from any computer that can access your Samba server. If your point is accessing with the same passwords they use on clients then you either need to set same passwords on clients and server, or you need a centralized authentication mechanism based on LDAP, Kerberos, etc.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.