Home Forums OS X Server and Client Discussion Open Directory ldapsearch and authentication question

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #363633
    gw1500se
    Participant

    I am trying to configure an ldap application and part of what it needs is the AuthDN. I cannot seem to come up with the correct string. I am testing it using ldapsearch to make things easier for myself. I am using an OD Tiger server. Here is my ldapsearch that cannot authenticate:

    ldapsearch -x -D “uid=diradmin,cn=users,dc=mydomain,dc=com” -b “dc=mydomain,dc=com” -W uid=someuser

    Since I know the password I’m using for ‘diradmin’ is correct I have to assume there is something wrong with the string ‘uid=diradmin,cn=users,dc=mydomain,dc=com’. Can someone help me firgure this out? TIA.

    #363842
    andrina
    Participant

    If you’re just looking something up, I don’t think you actually need the authentication in there at all – i.e.:

    ldapsearch -x -b "dc=mydomain,dc=com" uid=someuser
    
    
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Comments are closed