mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-17 14:00:30 +08:00
Fix nameuid ACL bug and remove related lint
This commit is contained in:
parent
941ceb51ac
commit
807bf1b5cf
1
CHANGES
1
CHANGES
@ -2,6 +2,7 @@ OpenLDAP 2.0 Change Log
|
||||
|
||||
OpenLDAP 2.0.X Engineering
|
||||
Fixed slapd spasswd mutex bug
|
||||
Fixed slapd ACL nameuid bug
|
||||
Updated -lldap SASL error reporting
|
||||
Updated -lldap TLS error reporting
|
||||
Build Environment
|
||||
|
@ -508,7 +508,9 @@ parse_acl(
|
||||
}
|
||||
|
||||
if( !is_at_syntax( b->a_group_at->ad_type,
|
||||
SLAPD_DN_SYNTAX ) )
|
||||
SLAPD_DN_SYNTAX ) &&
|
||||
!is_at_syntax( b->a_group_at->ad_type,
|
||||
SLAPD_NAMEUID_SYNTAX ) )
|
||||
{
|
||||
fprintf( stderr,
|
||||
"%s: line %d: group \"%s\": inappropriate syntax: %s\n",
|
||||
|
@ -257,7 +257,7 @@ get_filter(
|
||||
case LDAP_FILTER_EXT:
|
||||
/* not yet implemented */
|
||||
Debug( LDAP_DEBUG_ANY, "extensible match not yet implemented.\n",
|
||||
f->f_choice, 0, 0 );
|
||||
0, 0, 0 );
|
||||
(void) ber_skip_tag( ber, &len );
|
||||
f->f_choice = SLAPD_FILTER_COMPUTED;
|
||||
f->f_result = SLAPD_COMPARE_UNDEFINED;
|
||||
|
@ -203,7 +203,7 @@ register_matching_rule(
|
||||
ldap_memfree( mr );
|
||||
|
||||
if ( code ) {
|
||||
Debug( LDAP_DEBUG_ANY, "Error in register_syntax: %s for %s in %s\n",
|
||||
Debug( LDAP_DEBUG_ANY, "Error in register_matching_rule: %s for %s in %s\n",
|
||||
scherr2str(code), err, desc );
|
||||
return( -1 );
|
||||
}
|
||||
|
@ -103,6 +103,7 @@ LDAP_BEGIN_DECL
|
||||
|
||||
/* must match in schema_init.c */
|
||||
#define SLAPD_DN_SYNTAX "1.3.6.1.4.1.1466.115.121.1.12"
|
||||
#define SLAPD_NAMEUID_SYNTAX "1.3.6.1.4.1.1466.115.121.1.34"
|
||||
#define SLAPD_GROUP_ATTR "member"
|
||||
#define SLAPD_GROUP_CLASS "groupOfNames"
|
||||
#define SLAPD_ROLE_ATTR "roleOccupant"
|
||||
@ -527,7 +528,7 @@ typedef struct slap_filter {
|
||||
#define f_mr_rule f_un.f_un_mra->ma_rule
|
||||
#define f_mr_desc f_un.f_un_mra->ma_desc
|
||||
#define f_mr_value f_un.f_un_mra->ma_value
|
||||
#define f_mr_dnaddrs f_un.f_un_mra->ma_dnattrs
|
||||
#define f_mr_dnattrs f_un.f_un_mra->ma_dnattrs
|
||||
|
||||
/* and, or, not */
|
||||
struct slap_filter *f_un_complex;
|
||||
|
Loading…
Reference in New Issue
Block a user