From f1d59c3a2693fe36b9abe9c1da4b703c5543f938 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 19 Jan 2005 16:44:53 +0000 Subject: [PATCH] r4848: fix build; gd please check and make sure this is ok --- source/utils/net.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/utils/net.c b/source/utils/net.c index 251e94db906..729a0c9db7f 100644 --- a/source/utils/net.c +++ b/source/utils/net.c @@ -601,8 +601,9 @@ static uint32 get_maxrid(void) GROUP_MAP *map = NULL; int num_entries = 0; int i; + uint32 acb_mask = ACB_WSTRUST | ACB_NORMAL | ACB_DOMTRUST | ACB_SVRTRUST; - if (!pdb_setsampwent(False)) { + if (!pdb_setsampwent(False, acb_mask)) { DEBUG(0, ("load_sampwd_entries: Unable to open passdb.\n")); return 0; } -- 2.47.3