diff options
author | Günther Deschner <gd@samba.org> | 2005-01-19 17:08:36 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:53:59 -0500 |
commit | bc729f8fd877236a503cc9df64138b2be2e1a91d (patch) | |
tree | c01cf9f217df0b93e651448bf4d1aadb185c5b2c /source | |
parent | d25fc84bc2b14da9fcc0f3c8d7baeca83f0ea708 (diff) | |
download | samba-bc729f8fd877236a503cc9df64138b2be2e1a91d.tar.gz samba-bc729f8fd877236a503cc9df64138b2be2e1a91d.tar.xz samba-bc729f8fd877236a503cc9df64138b2be2e1a91d.zip |
r4850: Fix remaining pdb_setsampwent-calls.
To get all entries use a 0 acb_mask.
Guenther
Diffstat (limited to 'source')
-rw-r--r-- | source/utils/net.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/utils/net.c b/source/utils/net.c index 729a0c9db7f..cfbc8aca512 100644 --- a/source/utils/net.c +++ b/source/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; } |