Results 1 to 3 of 3

Thread: LDAP Help

  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:

    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:

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

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

    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

    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. LDAP
    By blankie in forum Linux - General Topics
    Replies: 11
    Last Post: 10-24-2011, 09:34 PM
  2. ldap
    By LinuX_Z in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 08-20-2007, 08:29 AM
  3. LDAP problem
    By frog3d in forum Redhat / Fedora
    Replies: 0
    Last Post: 05-03-2007, 04:21 PM
  4. LDAP help.....
    By pushpraj nimbalkar in forum Linux - General Topics
    Replies: 1
    Last Post: 07-17-2006, 11:55 AM
  5. Connecting an external LDAP browser to SUSE LDAP
    By vmarco in forum Linux - General Topics
    Replies: 1
    Last Post: 02-16-2005, 07:00 PM


Posting Permissions

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