Results 1 to 3 of 3

Thread: LDAP Help

Hybrid View

  1. #1

    LDAP Help

    I can't figure out how to get a user to authenticate in LDAP (just using the ldapsearch CLI tool). I've added a inetPersonOrg/person to the directory with a userPassword field but when I do something like:

    Code:
    ldapsearch -x -b "cn=Richard,ou=richard,ou=test,dc=mysite,dc=com" "(objectclass=inetOrgPerson)" -w testing
    I get Invalid credentials (49). Here is the Richard ldif:

    Code:
    dn: cn=Richard,ou=richard,ou=test,dc=mysite,dc=com
    cn: Richard Tompson
    sn: Tompson
    userPassword: testing
    objectClass: person
    objectClass: inetOrgPerson
    Help!

  2. #2
    Advisor Outlaw's Avatar
    Join Date
    May 2001
    Location
    Clifton Park, NY
    Posts
    630

    Re:LDAP Help

    I'm not experienced, just remembering something I read - but is there an LDAP module to pam that you need??

    Duh nevermind... ;D

  3. #3
    Senior Member
    Join Date
    Nov 2001
    Posts
    419

    Re:LDAP Help

    Hmm, I would think about modifying that LDAP tree. I don't think it's really setup right to do user authentication. My record for work goes like this:

    uid=prae,ou=CTC,ou=YEC,ou=staff,ou=users,dc=mysite ,dc=org

    Of course I've changed two things, but that's it! I assume you require username and password authentication just to search the tree…does your user have access to do this?

Similar Threads

  1. integrating postfix with ldap
    By haariseshu in forum Redhat / Fedora
    Replies: 0
    Last Post: 07-03-2008, 06:57 AM
  2. LDAP auth with apache on FC5 & FC6
    By chithu in forum Redhat / Fedora
    Replies: 0
    Last Post: 11-30-2006, 10:58 AM
  3. Connecting an external LDAP browser to SUSE LDAP
    By vmarco in forum Linux - General Topics
    Replies: 1
    Last Post: 02-16-2005, 06:00 PM
  4. Active Directory LDAP Compliance
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-04-2005, 02:34 AM
  5. LDAP: A newbie here
    By tarballed in forum Linux - General Topics
    Replies: 3
    Last Post: 03-19-2003, 06:21 PM

Bookmarks

Posting Permissions

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