From 23341562c1cd4baf46cbc4eacaa09d6b6cb00e82 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Mon, 23 Nov 2009 10:30:44 -0500 Subject: Make backend request type a bitfield --- server/providers/ldap/ldap_id.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/providers/ldap/ldap_id.c') 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 */ -- cgit