save_group => [\&html_start, \&action_save_group, \&html_end]
);
-read_config ();
+{
+ my @files = (qw(/etc/licom/licom.conf));
+ push (@files, './licom.conf') if (-r './licom.conf');
+ read_config (@files);
+}
# make sure AuthLDAPRemoteUserIsDN is enabled.
die unless ($ENV{'REMOTE_USER'});
if (!$UserCN)
{
- die ("No such user in the LDAP directory: " . $ENV{'REMOTE_USER'});
+ die ("UserCN is not set. Make sure `AuthLDAPRemoteUserIsDN' in enabled.");
}
if (!defined ($Actions{$Action}))