summaryrefslogtreecommitdiffstats
path: root/server/providers/ldap/ldap_id.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/providers/ldap/ldap_id.c')
-rw-r--r--server/providers/ldap/ldap_id.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/providers/ldap/ldap_id.c b/server/providers/ldap/ldap_id.c
index f99ea7b9e..18b387e57 100644
--- a/server/providers/ldap/ldap_id.c
+++ b/server/providers/ldap/ldap_id.c
@@ -628,7 +628,7 @@ void sdap_account_info_handler(struct be_req *breq)
ar = talloc_get_type(breq->req_data, struct be_acct_req);
- switch (ar->entry_type) {
+ switch (ar->entry_type & 0xFFF) {
case BE_REQ_USER: /* user */
/* skip enumerations on demand */