summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-01-19 16:44:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:59 -0500
commit0a2449faf5a2ffb1cc84807761fdd91b6821c4c6 (patch)
treef39b0c09ea6dc2a7c23b5cb5e41dfc459a53d7a3 /source3
parent1ed62fde09f382342a396a047975fdeeea7113bb (diff)
downloadsamba-0a2449faf5a2ffb1cc84807761fdd91b6821c4c6.tar.gz
samba-0a2449faf5a2ffb1cc84807761fdd91b6821c4c6.tar.bz2
samba-0a2449faf5a2ffb1cc84807761fdd91b6821c4c6.zip
r4848: fix build; gd please check and make sure this is ok
(This used to be commit f1d59c3a2693fe36b9abe9c1da4b703c5543f938)
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c
index 251e94db90..729a0c9db7 100644
--- a/source3/utils/net.c
+++ b/source3/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;
}