Lines Matching refs:passwd
40 static int simple_bind_nolock( LDAP *ld, const char *dn, const char *passwd,
42 static int simple_bindifnot_s( LDAP *ld, const char *dn, const char *passwd );
56 ldap_simple_bind( LDAP *ld, const char *dn, const char *passwd )
66 rc = simple_bind_nolock( ld, dn, passwd, 1 );
73 simple_bind_nolock( LDAP *ld, const char *dn, const char *passwd,
85 * simple [0] OCTET STRING -- passwd
97 if ( passwd == NULL )
98 passwd = "";
103 bv.bv_val = (char *)passwd;
104 bv.bv_len = strlen( passwd );
124 NSLDAPI_LDAP_VERSION( ld ), dn, LDAP_AUTH_SIMPLE, passwd ) == -1 ) {
153 ldap_simple_bind_s( LDAP *ld, const char *dn, const char *passwd )
162 return( simple_bindifnot_s( ld, dn, passwd ));
165 if ( (msgid = ldap_simple_bind( ld, dn, passwd )) == -1 )
182 simple_bindifnot_s( LDAP *ld, const char *dn, const char *passwd )
237 if ( (msgid = simple_bind_nolock( ld, dn, passwd, 0 )) == -1 ) {