git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Quite some callers of sid_split_rid do not care about the rid
[samba.git]
/
source3
/
libads
/
ldap.c
diff --git
a/source3/libads/ldap.c
b/source3/libads/ldap.c
index c1af5b575b16c745d27147b8b9257d300a4da65c..3ce7a7e869a185a53bef7742b22a5af98259f9c7 100644
(file)
--- 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);
}