Skip to content
Snippets Groups Projects
Commit c73f17fd authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Add -dn as a synonym for -dnt.

parent a847e205
No related branches found
No related tags found
No related merge requests found
......@@ -1034,6 +1034,8 @@ searchaction( LDAP *ld, char *buf, char *base, LDAPMessage *entry, char *dn,
return( LDAP_PARAM_ERROR );
} else if ( strcasecmp( attr, "-dnt" ) == 0 ) {
value = dn;
} else if ( strcasecmp( attr, "-dn" ) == 0 ) {
value = dn;
} else if (( vals = ldap_get_values( ld, entry, attr )) != NULL ) {
value = vals[ 0 ];
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment