ldap_integration
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
ldap_integration [2009/08/17 07:26] – external edit 127.0.0.1 | ldap_integration [2009/08/20 08:31] – 172.26.0.166 | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== LDAP Integration ===== | ===== LDAP Integration ===== | ||
- | ILRI uses an Active Directory server for user authentication, | + | ILRI uses an Active Directory server for user authentication, |
- | This was working once, using a // | + | <note warning> |
+ | HEX: 0×525 – user not found | ||
+ | DEC: 1317 – ERROR_NO_SUCH_USER (The specified account does not exist.) | ||
+ | NOTE: Returns when username is invalid.</ | ||
+ | |||
+ | ==== pam_cgiar_ldap.c ==== | ||
+ | |||
+ | <note warning> | ||
+ | |||
+ | This was working once, using a // | ||
* Compile the code: '' | * Compile the code: '' | ||
- | * Link the code: '' | + | * Link the code: '' |
**pam_cgiar_ldap.c**: | **pam_cgiar_ldap.c**: | ||
Line 48: | Line 57: | ||
ldap_set_option( NULL, LDAP_OPT_PROTOCOL_VERSION, | ldap_set_option( NULL, LDAP_OPT_PROTOCOL_VERSION, | ||
ldap_set_option( NULL, LDAP_OPT_NETWORK_TIMEOUT, | ldap_set_option( NULL, LDAP_OPT_NETWORK_TIMEOUT, | ||
- | ld = ldap_init(" | + | ld = ldap_init(" |
if (ld==NULL) printf(" | if (ld==NULL) printf(" | ||
int rc; | int rc; |
ldap_integration.txt · Last modified: 2012/02/06 08:43 by aorth