1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

r4848: fix build; gd please check and make sure this is ok

This commit is contained in:
Gerald Carter 2005-01-19 16:44:53 +00:00 committed by Gerald (Jerry) Carter
parent 6394257cc7
commit f1d59c3a26

View File

@ -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;
}