summaryrefslogtreecommitdiffstats
path: root/source/utils
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-01-19 16:44:53 +0000
committerGerald Carter <jerry@samba.org>2005-01-19 16:44:53 +0000
commita90e8f24be11a61d1693dac79e7f8573a297b460 (patch)
tree8ee969f805c96f88c7418b902cc6385ef162f1c3 /source/utils
parent85cb0472dd06c5ab3c5b95bc5b494c9b05908d54 (diff)
downloadsamba-a90e8f24be11a61d1693dac79e7f8573a297b460.tar.gz
samba-a90e8f24be11a61d1693dac79e7f8573a297b460.tar.xz
samba-a90e8f24be11a61d1693dac79e7f8573a297b460.zip
r4848: fix build; gd please check and make sure this is ok
Diffstat (limited to 'source/utils')
-rw-r--r--source/utils/net.c3
1 files changed, 2 insertions, 1 deletions
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;
}