Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have been in hard time setting up my Samba 3.5.6 with ADS, any help will be appreciated.

Here is my setup

I want to provide samba share access with AD authentication, had joined linux and configured few shares. when i try to access samba share from windows machine it keeps prompting for authentication

results: wbinfo -t checking the trust secret for domain SV via RPC calls succeeded ** net ads testjoin Join is OK

Here is samba config [global]

    log file = /var/log/samba/%m
    idmap gid = 10000-15000
    winbind trusted domains only = yes
    encrypt passwords = yes
    realm = <domain name>
    winbind use default domain = true
    passdb backend = tdbsam
    template shell = /bin/bash
    netbios name = <server name>
    cups options = raw
    server string = <server name>
    printing = cups
    idmap uid = 10000-15000
    password server = <windows AD.>
    winbind enum users = no
    winbind nested groups = Yes
    workgroup = <short domain name eg PS >
    os level = 20
    printcap name = cups
    security = ads
    preferred master = no
    max log size = 50
    winbind separator = +
    log level = 3

{Sample share}

        writeable = yes
        write list = @PS+test_users
        path = /tmp
        force group = apache
        force user = root
Comment = test share
        valid users = PS+test_Users
        create mode = 644
        allow hosts = 127. 10.1. 192.

Please let me know how to solve my issue.

Thank you..

share|improve this question

Your Answer


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

Browse other questions tagged or ask your own question.