Find the answer to your Linux question:
Results 1 to 2 of 2
Hi All, I need to write an application which needs to validate user login against LDAP. I have to do the application in C language in a Linux server ( ...
  1. #1
    Just Joined!
    Join Date
    Jun 2009
    Posts
    3

    Post LDAP authentication

    Hi All,

    I need to write an application which needs to validate user login against LDAP.

    I have to do the application in C language in a Linux server ( GNU/Linux). I am totally new to the LDAP concept, so I don't have any idea how to do this.

    The LDAP server is already there and I need to give the option to users login into the application (not in the terminal) using the LDAP user name/password .

    I found the OpenLdap and nss_ldap software can do the stuff.

    Also I see the rpms openldap-2.0.27-11 and nss_ldap-207-2 in my server.

    So anyone has any idea how to start?

    Thanks in advance.

  2. #2
    Linux Newbie
    Join Date
    Jul 2008
    Posts
    181
    Use PAM to handle authentication.

Posting Permissions

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