summaryrefslogtreecommitdiffstats
path: root/etc/inc/auth.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-07-12 16:54:29 -0400
committerjim-p <jimp@pfsense.org>2010-07-12 16:54:53 -0400
commit5af2baf71e3a18a8942bcb402f04b878b8f36f35 (patch)
tree584febba64ebeb0c8b0154f546bf2b8e0036840c /etc/inc/auth.inc
parent0d7715eb82e1efa1afeb998729316e917f73708b (diff)
downloadpfsense-5af2baf71e3a18a8942bcb402f04b878b8f36f35.zip
pfsense-5af2baf71e3a18a8942bcb402f04b878b8f36f35.tar.gz
Sync groups first, since users may rely on group changes.
Diffstat (limited to 'etc/inc/auth.inc')
-rw-r--r--etc/inc/auth.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc
index 7dc59ca..8736c1c 100644
--- a/etc/inc/auth.inc
+++ b/etc/inc/auth.inc
@@ -255,16 +255,16 @@ function local_sync_accounts() {
$allgrp = getGroupEntryByGID(1998);
local_group_set($allgrp, true);
- /* sync all local users */
- if (is_array($config['system']['user']))
- foreach ($config['system']['user'] as $user)
- local_user_set($user);
-
/* sync all local groups */
if (is_array($config['system']['group']))
foreach ($config['system']['group'] as $group)
local_group_set($group);
+ /* sync all local users */
+ if (is_array($config['system']['user']))
+ foreach ($config['system']['user'] as $user)
+ local_user_set($user);
+
conf_mount_ro();
}
OpenPOWER on IntegriCloud