summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-07-15 10:38:34 +0000
committerAndrew Tridgell <tridge@samba.org>2002-07-15 10:38:34 +0000
commitfc26773500cc549563bcd00b2657713adf09a840 (patch)
tree581aceb5aab0ef130a6d868bae1eba868ae73f41
parent0184f3b6d8accd84cdb74da7dfd89df01e89c8b1 (diff)
downloadsamba-fc26773500cc549563bcd00b2657713adf09a840.tar.gz
samba-fc26773500cc549563bcd00b2657713adf09a840.tar.bz2
samba-fc26773500cc549563bcd00b2657713adf09a840.zip
enum_group_mapping takes an enum not an int
(This used to be commit 67a3ca2f235e011472dbe505ce7c34b26f92c44c)
-rw-r--r--source3/smbd/lanman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c
index 217bb6a613..996a17e932 100644
--- a/source3/smbd/lanman.c
+++ b/source3/smbd/lanman.c
@@ -1778,7 +1778,7 @@ static BOOL api_RNetGroupEnum(connection_struct *conn,uint16 vuid, char *param,c
return False;
/* get list of domain groups SID_DOMAIN_GRP=2 */
- if(!enum_group_mapping(2 , &group_list, &num_entries, False, False)) {
+ if(!enum_group_mapping(SID_NAME_DOM_GRP , &group_list, &num_entries, False, False)) {
DEBUG(3,("api_RNetGroupEnum:failed to get group list"));
return False;
}