From 5af2baf71e3a18a8942bcb402f04b878b8f36f35 Mon Sep 17 00:00:00 2001 From: jim-p Date: Mon, 12 Jul 2010 16:54:29 -0400 Subject: Sync groups first, since users may rely on group changes. --- etc/inc/auth.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'etc') 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(); } -- cgit v1.1