Lines Matching refs:LDAP
114 #include "ldap.h"
803 LDAP *ld = NULL;
823 tmplen = strlen("ldap://:") + 17;
828 "unable to alloc ldap init url\n");
831 sprintf(init,"ldap://%s:%d",
835 /* initialize the ldap handle */
849 * attempt to bind to the ldap server.
877 /* build an ldap user search filter */
885 "unable to alloc ldap search filter buffer\n");
898 "unable to alloc ldap attrib list buffer\n");
921 /* check the number of ldap entries returned */
925 "no ldap results for filter \'%s\'\n",
931 "multiple (%i) ldap results for filter \'%s\'\n",
960 "ldap returned invalid modecfg address\n");
969 "ldap returned modecfg address %s\n", tmpaddr);
980 "ldap returned invalid modecfg netmask\n");
989 "ldap returned modecfg netmask %s\n", tmpmask);
997 * to the ldap server
1000 "attempting ldap bind for dn \'%s\'\n", userdn);
1011 /* free ldap resources */
1037 LDAP *ld = NULL;
1051 tmplen = strlen("ldap://:") + 17;
1056 "unable to alloc ldap init url\n");
1059 sprintf(init,"ldap://%s:%d",
1063 /* initialize the ldap handle */
1077 * attempt to bind to the ldap server.
1105 /* build an ldap group search filter */
1114 "unable to alloc ldap search filter buffer\n");
1138 /* check the number of ldap entries returned */
1142 "no ldap results for filter \'%s\'\n",
1165 "ldap membership group returned \'%s\'\n", groupdn);
1168 /* free ldap resources */