search for: ldap_success

Displaying 8 results from an estimated 8 matches for "ldap_success".

2003 Jan 09
1
Re: samba (2.2.7a) + openldap (2.0.x)
...roc( LDAP *ld, + LDAP_CONST char *url, + ber_tag_t request, + ber_int_t msgid, + void *arg) +{ + int rc; + if ( ( rc = ldap_simple_bind_s( ld, lp_ldap_admin_dn(), ldap_secret ) ) == LDAP_SUCCESS ) + { + DEBUG( 2, ( "Rebind successful\n" ) ); + } + else { + DEBUG( 0, ( "Rebind failed: %s\n", ldap_err2string( rc ) ) ); + } + return rc; +} +#else +static int auth_rebind_proc ( LDAP * ld, + char **whop, +...
2004 Jan 27
1
Group mapping bugs + PATCH
...map->sid))) { + DEBUG(0, ("ldapsam_add_group_mapping_entry: SID already mapped in LDAP\n")); + return NT_STATUS_UNSUCCESSFUL; + } + rc = ldapsam_search_one_group_by_gid(ldap_state, map->gid, &result); if (rc != LDAP_SUCCESS) { ldap_msgfree(result); @@ -1991,6 +1997,14 @@ LDAPMessage *entry = NULL; LDAPMod **mods = NULL; + GROUP_MAP dummy; + + if (NT_STATUS_IS_OK(ldapsam_getgrgid(methods, &dummy, + map->gid))) { + DEBUG...
2003 Feb 12
2
rsync & ldap authentication
...} + 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"); + } else { + if (!(entry=ldap_first_entry(...
2003 May 03
0
Storing rsync secrets in LDAP
...} + } + + 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...
2011 Jan 13
1
Error compiling Samba 3.5.5 on HP-UX 11.11
I've run into an error when trying to compile libnet/libnet_join.c: cc: "libnet/libnet_join.c", line 111: error 1588: "LDAP_NO_MEMORY" undefined. cc: "libnet/libnet_join.c", line 111: warning 563: Argument #2 is not the correct type. The source below is what triggers it (line 111 is marked): static ADS_STATUS libnet_connect_ads(const char *dns_domain_name,
2004 Jan 22
2
RPC: Problem Deleting LDAP-Entries in pdb_ldap.c
...think the problem is, that it first deletes the attribute uid, and at the end tries to delete the whole dn (dn: uid=.......), where uid is not present any more an extract of the function in pdb_ldap.c --------------------------------------------------------------------------- if (rc != LDAP_SUCCESS) { char *ld_error = NULL; ldap_get_option(ldap_state->ldap_struct, LDAP_OPT_ERROR_STRING, &ld_error); DEBUG(0, ("could not delete attributes for %s, error: %s (%s)\n",...
2008 Jul 02
4
samba + slave OpenLdap (read-only)
Hello, I'm trying to config samba to use a openldap replica (slave) base. Every thing is working, except when I try to join a machine to a domain. Samba try to write some attributes in openldap, but this database (slave) is read-only, so this operation fails. Openldap can return a REFERRAL when a client (samba) try to do a modification on a slave database and this already is happening.
2009 Oct 22
39
[Bug 1663] New: Allow to use agent for distribution of public keys.
https://bugzilla.mindrot.org/show_bug.cgi?id=1663 Summary: Allow to use agent for distribution of public keys. Product: Portable OpenSSH Version: 5.3p1 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: sshd AssignedTo: unassigned-bugs at mindrot.org