]> git.sur5r.net Git - openldap/commitdiff
Add -dn as a synonym for -dnt.
authorKurt Zeilenga <kurt@openldap.org>
Mon, 2 Aug 1999 17:19:05 +0000 (17:19 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 2 Aug 1999 17:19:05 +0000 (17:19 +0000)
libraries/libldap/tmplout.c

index 74e7d48cc7bd4d4b334292bca3628627e1e7dafc..ead67ea0751709dcab010712edc38597ae5d1724 100644 (file)
@@ -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 {