• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 413
  • Last Modified:

samba domain controller with ldap backend

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.

1 Solution
D_wathiAuthor Commented:
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.
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now