search for: ldap_auth_users_attribute

Displaying 2 results from an estimated 2 matches for "ldap_auth_users_attribute".

2003 Feb 12
2
rsync & ldap authentication
...d\n"); + } else { + if (!(entry=ldap_first_entry(ld, result))) { + rprintf(FERROR,"ldap: first_entry failed or no user found\n"); + } else { + if (!(dn=ldap_get_dn(ld, entry))) { + rprintf(FERROR,"ldap: get_dn failed\n"); + } else { + if (ldap_compare_s(ld, group, lp_ldap_auth_users_attribute(module), dn) != LDAP_COMPARE_TRUE) { + rprintf(FERROR,"ldap: compare_s failed or \"%s\" is not member of \"%s\"\n", dn, group); + } else { + if (!(vals=ldap_get_values(ld, result, attrs[0])) || !vals[0] || vals[1]) { + rprintf(FERROR,"ldap: \"%s\" h...
2003 May 03
0
Storing rsync secrets in LDAP
...rprintf(FERROR,"ldap: first_entry failed or no user found\n"); + } else { + if (!(dn=ldap_get_dn(ld, entry))) { + rprintf(FERROR,"ldap: get_dn failed\n"); + } else { + if (ldap_compare_s(ld, group, lp_ldap_auth_users_attribute(module), +dn) != LDAP_COMPARE_TRUE) { + rprintf(FERROR,"ldap: compare_s failed or \"%s\" is not member +of \"%s\"\n", dn, group); + } else { + if (!(vals=ldap_get_values(ld, result, attrs[0])) || !vals[0] || +vals[1]) { +...