mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
r4850: Fix remaining pdb_setsampwent-calls.
To get all entries use a 0 acb_mask.
Guenther
(This used to be commit bc729f8fd8
)
This commit is contained in:
parent
b3757eadf0
commit
31dea03916
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user