mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
fix access unparse (ITS#3631)
This commit is contained in:
parent
a85603c10b
commit
98294f1125
@ -1853,14 +1853,12 @@ accessmask2str( slap_mask_t mask, char *buf, int debug )
|
||||
if ( ACL_PRIV_ISSET(mask, ACL_PRIV_WRITE) ) {
|
||||
none = 0;
|
||||
*ptr++ = 'w';
|
||||
}
|
||||
|
||||
if ( ACL_PRIV_ISSET(mask, ACL_PRIV_WADD) ) {
|
||||
} else if ( ACL_PRIV_ISSET(mask, ACL_PRIV_WADD) ) {
|
||||
none = 0;
|
||||
*ptr++ = 'a';
|
||||
}
|
||||
|
||||
if ( ACL_PRIV_ISSET(mask, ACL_PRIV_WDEL) ) {
|
||||
} else if ( ACL_PRIV_ISSET(mask, ACL_PRIV_WDEL) ) {
|
||||
none = 0;
|
||||
*ptr++ = 'z';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user