Displaying 2 results from an estimated 2 matches for "ldap_root".
Did you mean:
imap_root
2003 Feb 12
2
rsync & ldap authentication
...ter) - 1; b++) {
+ filter[l++]=*b;
+ }
+ c++;
+ } else {
+ filter[l++]=*c;
+ }
+ }
+
+ if ((ld=ldap_init(lp_ldap_server(), lp_ldap_port())) == NULL) {
+ rprintf(FERROR,"ldap: init failed (%s:%d)\n", lp_ldap_server(), lp_ldap_port());
+ } else {
+ if (ldap_simple_bind_s(ld, lp_ldap_root(), lp_ldap_root_passwd()) != LDAP_SUCCESS) {
+ rprintf(FERROR,"ldap: bind failed %s\n", lp_ldap_root());
+ } else {
+ if (ldap_search_s(ld, lp_ldap_suffix(), LDAP_SCOPE_SUBTREE, filter, attrs, 0, &result) != LDAP_SUCCESS) {
+ rprintf(FERROR,"ldap: search_s failed\n");
+...
2003 May 03
0
Storing rsync secrets in LDAP
...filter[l++]=*c;
+ }
+ }
+
+ if ((ld=ldap_init(lp_ldap_server(), lp_ldap_port())) == NULL) {
+ rprintf(FERROR,"ldap: init failed (%s:%d)\n", lp_ldap_server(),
+lp_ldap_port());
+ } else {
+ if (ldap_simple_bind_s(ld, lp_ldap_root(), lp_ldap_root_passwd()) !=
+LDAP_SUCCESS) {
+ rprintf(FERROR,"ldap: bind failed %s\n", lp_ldap_root());
+ } else {
+ if (ldap_search_s(ld, lp_ldap_suffix(), LDAP_SCOPE_SUBTREE, filter,
+attrs, 0, &result) != LDAP_SUCCESS) {
+...