diff options
author | Volker Lendecke <vl@samba.org> | 2011-03-10 16:19:17 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-03-10 18:48:34 +0100 |
commit | 16b007c2232cc8432fa9e93409e16367d72b149e (patch) | |
tree | d153e075fecbc79bf255d1f30aa3662942c965aa /source3/libads | |
parent | 8d0e2415309ee15fbf509d44caf3e1df5b900620 (diff) | |
download | samba-16b007c2232cc8432fa9e93409e16367d72b149e.tar.gz samba-16b007c2232cc8432fa9e93409e16367d72b149e.tar.bz2 samba-16b007c2232cc8432fa9e93409e16367d72b149e.zip |
Quite some callers of sid_split_rid do not care about the rid
Diffstat (limited to 'source3/libads')
-rw-r--r-- | source3/libads/ldap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c index c1af5b575b..3ce7a7e869 100644 --- a/source3/libads/ldap.c +++ b/source3/libads/ldap.c @@ -3644,11 +3644,10 @@ ADS_STATUS ads_leave_realm(ADS_STRUCT *ads, const char *hostname) * domsid */ struct dom_sid domsid; - uint32 dummy_rid; sid_copy(&domsid, &tmp_user_sid); - if (!sid_split_rid(&domsid, &dummy_rid)) { + if (!sid_split_rid(&domsid, NULL)) { ads_msgfree(ads, res); return ADS_ERROR_LDAP(LDAP_NO_MEMORY); } |