From f3e0a111e9af72c16b6391035b716bb067d418ed Mon Sep 17 00:00:00 2001 From: jim-p Date: Wed, 14 Jul 2010 09:14:33 -0400 Subject: Flip this back the other way, the group operation will fail if the user isn't set yet. --- etc/inc/auth.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'etc/inc/auth.inc') diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc index 2435ba6..4b5578b 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 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); + /* sync all local groups */ + if (is_array($config['system']['group'])) + foreach ($config['system']['group'] as $group) + local_group_set($group); + conf_mount_ro(); } -- cgit v1.1