r4848: fix build; gd please check and make sure this is ok
authorGerald Carter <jerry@samba.org>
Wed, 19 Jan 2005 16:44:53 +0000 (16:44 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:53:59 +0000 (10:53 -0500)
source/utils/net.c

index 251e94db906ddf941a6f6878c100664b9ea9ab98..729a0c9db7f48b7f72351a4aa43dbed844f11b65 100644 (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;
        }