Displaying 2 results from an estimated 2 matches for "lp_ldap_admin_dn".
2003 Jan 09
1
Re: samba (2.2.7a) + openldap (2.0.x)
...fine here. */
+static int auth_rebind_proc( 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,
+...
2003 Mar 17
2
Samba 2.2.8 compile failure - Solaris 8, SunCC, LDAP
My apologies if this isn't the correct posting address -- I didn't see
an obvious "report problems here" on the website. Some of the code
modifications introduced between 2.2.7 and 2.2.8 don't appear to agree
with Solaris, using Sun's CC, with the LDAP support code. Note that
I'm linking against the Solaris-bundled LDAP package (SUNWlldap).
|% env