samba domain controller with ldap backend

Posted on 2011-10-24
Last Modified: 2012-05-12
Dear Experts:

configured suse enterprise linux as samba domain controller with ldap as backend. first while installing the operating system itself configured ldap server and authentication is happening with the ldap server later
1. with the Yast Control center  installed and configured the samba server and integrated with the ldap server ,
2.created the users from yast usermanagement and in the plugins enabled the manage samba account paramaters.
also done the group mappings with the unix groups to windows by manually executing net groupmap add  commands

Now the problem is iam unable to join the windows xp to the domain  getting error message account not found,
also dns is configured correctly, my doubt is  I have done the configurations using the GUI for LDAP and SAMBA does still  require executing the below commands manually
1.smbpasswd -W
2. create samba account manually by executing the smbpasswd -a or pdbedit

please help, Thanks in advance.

Question by:D_wathi

    Author Comment

    Please help me should it require to manually enter smbpasswd -w <ldappasswd>
    and use the commands like smbpasswd -a or pdbedit -a to create the samba users please help.
    LVL 21

    Accepted Solution

    AFAIK, you should not need to if the LDAP backend is setup properly.  What are the exact errors you are seeing?

    -w is used for binding to LDAP with an admin account.

     -w password
              This parameter is only available if Samba  has  been  compiled  with
              LDAP  support.  The  -w switch is used to specify the password to be
              used with the ldap admin dn. Note that the password is stored in the
              secrets.tdb  and  is keyed off of the admin's DN. This means that if
              the value of ldap admin dn ever changes, the password will  need  to
              be manually updated as well.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
    I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension ( This reminded me of questions tha…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

    730 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

    15 Experts available now in Live!

    Get 1:1 Help Now