From: Kurt Zeilenga Date: Mon, 2 Aug 1999 17:19:05 +0000 (+0000) Subject: Add -dn as a synonym for -dnt. X-Git-Tag: TWEB_OL_BASE~324 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c73f17fd6e39f774fcda5b11ec74ef9f9bc30604;p=openldap Add -dn as a synonym for -dnt. --- diff --git a/libraries/libldap/tmplout.c b/libraries/libldap/tmplout.c index 74e7d48cc7..ead67ea075 100644 --- a/libraries/libldap/tmplout.c +++ b/libraries/libldap/tmplout.c @@ -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 {