Authentication to samba server with existing unix password

Posted on 2009-12-18
Last Modified: 2013-12-02

Is there a way in which samba can use the  existing UNIX account password for authentication, instead of creating again in smbpasswd file.

Question by:Krishnamrajus
    LVL 5

    Expert Comment

    samba can't use the *nix passwd file as far as I'm aware.  If you want single password auth, you'll need to have an external authentication source such as an LDAP directory server provide authentication for both *nix and samba.

    Author Comment

    Yeah, as far as i know smbpasswd should have the password entry. But i heard that the latest versions of samba 3.4.X supports NIS authentication as well. So i upgraded the samba server to 3.4.3. Wanted to know if there are any files that have to be modified for NIS to authenticate
    LVL 5

    Accepted Solution

    I'm not familiar with that, but if that's the case, then you would still have to have a NIS server to authenticate against, and even then, *nix still can't authenticate you locally against a NIS server (NIS is mostly for NFS authentication).

    Featured Post

    Shouldn't all users have the same email signature?

    You wouldn't let your users design their own business cards, would you? So, why do you let them design their own email signatures? Think of the damage they could be doing to your brand reputation! Choose the easy way to manage set up and add email signatures for all users.

    Join & Write a Comment

    Suggested Solutions

    Preface There are many applications where some computing systems need have their system clocks running synchronized within a small margin and eventually need to be in sync with the global time. There are different solutions for this, i.e. the W3…
    Hello, As I have seen there a lot of requests regarding monitoring and reporting for exchange 2007 / 2010 / 2013 I have decided to post some thoughts together and link to articles that have helped me. Of course a lot of information you can get…
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now