]> git.sur5r.net Git - openldap/commitdiff
Add name and uid support to dnaddr
authorKurt Zeilenga <kurt@openldap.org>
Thu, 15 Mar 2001 04:48:29 +0000 (04:48 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 15 Mar 2001 04:48:29 +0000 (04:48 +0000)
servers/slapd/aclparse.c

index 1784fbbcb42b689efb54d381345b650ad1ea4a31..e54db75c96fcafa01b09bd354974ba74876a7653 100644 (file)
@@ -393,7 +393,9 @@ parse_acl(
 
 
                                        if( !is_at_syntax( b->a_dn_at->ad_type,
-                                               SLAPD_DN_SYNTAX ) )
+                                               SLAPD_DN_SYNTAX ) &&
+                                               !is_at_syntax( b->a_dn_at->ad_type,
+                                               SLAPD_NAMEUID_SYNTAX ))
                                        {
                                                fprintf( stderr,
                                                        "%s: line %d: dnattr \"%s\": "