mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r24649: Attempt to fix bug 4917. Simo, please check!
Thanks Patrick Rynhart for reporting this.
This commit is contained in:
parent
bea8e9840f
commit
b7c0404893
@ -896,7 +896,7 @@ static NTSTATUS idmap_ldap_unixids_to_sids(struct idmap_domain *dom, struct id_m
|
||||
uidNumber = get_attr_key2string(idpool_attr_list, LDAP_ATTR_UIDNUMBER);
|
||||
gidNumber = get_attr_key2string(idpool_attr_list, LDAP_ATTR_GIDNUMBER);
|
||||
|
||||
attr_list = get_attr_list(ctx, sidmap_attr_list);
|
||||
attr_list = get_attr_list(memctx, sidmap_attr_list);
|
||||
|
||||
if ( ! ids[1]) {
|
||||
/* if we are requested just one mapping use the simple filter */
|
||||
@ -1113,7 +1113,7 @@ static NTSTATUS idmap_ldap_sids_to_unixids(struct idmap_domain *dom, struct id_m
|
||||
uidNumber = get_attr_key2string(idpool_attr_list, LDAP_ATTR_UIDNUMBER);
|
||||
gidNumber = get_attr_key2string(idpool_attr_list, LDAP_ATTR_GIDNUMBER);
|
||||
|
||||
attr_list = get_attr_list(ctx, sidmap_attr_list);
|
||||
attr_list = get_attr_list(memctx, sidmap_attr_list);
|
||||
|
||||
if ( ! ids[1]) {
|
||||
/* if we are requested just one mapping use the simple filter */
|
||||
|
Loading…
Reference in New Issue
Block a user