From 16b007c2232cc8432fa9e93409e16367d72b149e Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 10 Mar 2011 16:19:17 +0100 Subject: Quite some callers of sid_split_rid do not care about the rid --- source3/libads/ldap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source3/libads') 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); } -- cgit