Displaying 1 result from an estimated 1 matches for "got_pw".
Did you mean:
got_pc
2003 Jan 09
1
Re: samba (2.2.7a) + openldap (2.0.x)
...LDAP_SUCCESS;
+}
+#endif
+
+/*******************************************************************
connect to the ldap server under system privilege.
******************************************************************/
static BOOL ldap_connect_system(LDAP * ldap_struct)
{
int rc;
static BOOL got_pw = False;
- static pstring ldap_secret;
/* get the password if we don't have it already */
if (!got_pw && !(got_pw=fetch_ldap_pw(lp_ldap_admin_dn(), ldap_secret, sizeof(pstring))))
@@ -237,6 +285,12 @@
/* removed the sasl_bind_s "EXTERNAL" stuff, as my testsuite...