setup.c: move the location of the call to fixnss()
authorArt Cancro <ajc@citadel.org>
Tue, 4 Apr 2006 14:05:23 +0000 (14:05 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 4 Apr 2006 14:05:23 +0000 (14:05 +0000)
citadel/setup.c

index 82b35f304f5930b3b60062c8bd9ec0ae81f79712..7103dcaddd0ee9aca78057031705a0c2c948ea65 100644 (file)
@@ -1401,6 +1401,9 @@ NEW_INST:
        disable_other_mta("zimbra");
 #endif
 
+       /* Check for the 'db' nss and offer to disable it */
+       fixnss();
+
        if ((pw = getpwuid(config.c_ctdluid)) == NULL)
                gid = getgid();
        else
@@ -1428,8 +1431,6 @@ NEW_INST:
        sleep(1);
        progress("Setting file permissions", 4, 4);
 
-       fixnss();
-
 #ifdef HAVE_LDAP
        /* Contemplate the possibility of auto-configuring OpenLDAP */
        contemplate_ldap();