git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3757ea
)
r4850: Fix remaining pdb_setsampwent-calls.
author
Günther Deschner
<gd@samba.org>
Wed, 19 Jan 2005 17:08:36 +0000
(17:08 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 15:53:59 +0000
(10:53 -0500)
To get all entries use a 0 acb_mask.
Guenther
(This used to be commit
bc729f8fd877236a503cc9df64138b2be2e1a91d
)
source3/utils/net.c
patch
|
blob
|
history
diff --git
a/source3/utils/net.c
b/source3/utils/net.c
index 729a0c9db7f48b7f72351a4aa43dbed844f11b65..cfbc8aca512146066e99a42ed19ff097242732e6 100644
(file)
--- 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;
}