Lines Matching defs:passwd
38 BerElement * ldap_build_simple_bind_req(LDAP *ld, char *dn, char *passwd, LDAPControl **serverctrls)
46 * simple [0] OCTET STRING -- passwd
56 if ( passwd == NULL )
57 passwd = "";
64 if ( ber_printf( ber, "{it{ists}", ++ld->ld_msgid, LDAP_REQ_BIND, ld->ld_version, dn, LDAP_AUTH_SIMPLE, passwd ) == -1 ) {
107 ldap_simple_bind( LDAP *ld, char *dn, char *passwd )
120 if ( passwd == NULL )
121 passwd = "";
124 if ( (ber = ldap_build_simple_bind_req( ld, dn, passwd, NULL )) == NULLBER ) {
157 ldap_simple_bind_s( LDAP *ld, char *dn, char *passwd )
164 if ( (msgid = ldap_simple_bind( ld, dn, passwd )) == -1 )