diff options
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c index 729a0c9db7..cfbc8aca51 100644 --- a/source3/utils/net.c +++ b/source3/utils/net.c @@ -601,10 +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, acb_mask)) { - DEBUG(0, ("load_sampwd_entries: Unable to open passdb.\n")); + if (!pdb_setsampwent(False, 0)) { + DEBUG(0, ("get_maxrid: Unable to open passdb.\n")); return 0; } |