diff options
author | Steven Danneman <steven.danneman@isilon.com> | 2008-11-15 13:07:15 -0800 |
---|---|---|
committer | Steven Danneman <steven.danneman@isilon.com> | 2008-11-18 13:02:21 -0800 |
commit | 6d59be1e6d83d4faf145c9b6d574bab9f2acb36a (patch) | |
tree | d438918428c3a54df81d9dffe930be4761797f8f /source4/ntptr/ntptr_base.c | |
parent | 9a7900fb38b9690bf51ab638c0f0629f2557b870 (diff) | |
download | samba-6d59be1e6d83d4faf145c9b6d574bab9f2acb36a.tar.gz samba-6d59be1e6d83d4faf145c9b6d574bab9f2acb36a.tar.bz2 samba-6d59be1e6d83d4faf145c9b6d574bab9f2acb36a.zip |
Fix extended DN parse error when AD object does not have a SID.
Some AD objects, like Exchange Public Folders, can be members of Security
Groups but do not have a SID attribute. This patch adds more granular return
errors to ads_get_sid_from_extended_dn(). Callers can now determine if a parse
error occured because of bad input, or the DN was valid but contained no SID.
I updated all callers to ignore SIDless objects when appropriate.
Also did some cleanup to the out paths of lookup_usergroups_memberof()
Diffstat (limited to 'source4/ntptr/ntptr_base.c')
0 files changed, 0 insertions, 0 deletions