Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    find by sambaSID in the ldap database

    Hi All,

    I am new with ldap. (do not touch me hard if it is stupid question. )

    I have installed openldap and samba. When I try to add winXP host to samba PDC I get error that says user was not found. I investigated logs and found samba can not find root user by sambaSID in the ldap database. I tried find the same with ldapsearch and was really confused:

    # ldapsearch -x -LLL -b dc=BASE_DC "(&(sambaSID=*-1-5-21-3799508378-1435782882-3698212055-500)(objectclass=sambaSamAccount))"

    can find root user with sambaSID: S-1-5-21-3799508378-1435782882-3698212055-500 but

    # ldapsearch -x -LLL -b dc=BASE_DC "(&(sambaSID=S-1-5-21-3799508378-1435782882-3698212055-500)(objectclass=sambaSamAccount))"
    can not find any user


  2. #2
    I have found good detail explanation of configuring samba as PDC. may be it helps somebody yet

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts