Daniel Heitepriem
2017-07-21 07:32:42 UTC
Hi everyone,
I'm trying to get Baculum to work with LDAP authentication. The basic
authentication when accessing the wizard of a fresh install is working
fine but after completing the wizard I'm stuck as I get the error "Error
6 - authorization to Baculum error." and no error in Apache error log
nor in baculum.dbg Below is my Apache Auth-config for Baculum and the
content of baculum.dbg.
Apache config:
<Directory /opt/baculum>
Order allow,deny
Allow from all
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [L]
AuthName "Baculum Auth"
AuthBasicProvider ldap
AuthType Basic
AuthLDAPURL
"ldap://IP:389/ou=staff,ou=people,dc=example,dc=com?uid"
AuthLDAPBindDN "cn=baculum,ou=LDAPauth,dc=example,dc=com"
AuthLDAPBindPassword "SecretPassword"
Require valid-user
LDAPReferrals Off
</Directory>
baculum.dbg:
Jul 21 07:31:52 [Debug] [Application] Command=setUrlParams, Output=
EXECUTE URL ==> http://10.1.10.243:9095/directors?director= <==
, File=/opt/baculum/protected/Class/API.php, Line=138 (line 89,
/opt/baculum/protected/Class/Logging.php)
Jul 21 07:31:53 [Debug] [Application] Command=preParseOutput,
Output={"output":"Problem with authorization to Baculum
WebGUI.","error":6}, File=/opt/baculum/protected/Class/API.php, Line=256
(line 89, /opt/baculum/protected/Class/Logging.php)
Jul 21 07:31:53 [Debug] [Application] Command=preParseOutput,
Output=stdClass Object
(
[output] => Problem with authorization to Baculum WebGUI.
[error] => 6
)
, File=/opt/baculum/protected/Class/API.php, Line=277 (line 89,
/opt/baculum/protected/Class/Logging.php)
Thanks in advance and regards,
Daniel
I'm trying to get Baculum to work with LDAP authentication. The basic
authentication when accessing the wizard of a fresh install is working
fine but after completing the wizard I'm stuck as I get the error "Error
6 - authorization to Baculum error." and no error in Apache error log
nor in baculum.dbg Below is my Apache Auth-config for Baculum and the
content of baculum.dbg.
Apache config:
<Directory /opt/baculum>
Order allow,deny
Allow from all
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [L]
AuthName "Baculum Auth"
AuthBasicProvider ldap
AuthType Basic
AuthLDAPURL
"ldap://IP:389/ou=staff,ou=people,dc=example,dc=com?uid"
AuthLDAPBindDN "cn=baculum,ou=LDAPauth,dc=example,dc=com"
AuthLDAPBindPassword "SecretPassword"
Require valid-user
LDAPReferrals Off
</Directory>
baculum.dbg:
Jul 21 07:31:52 [Debug] [Application] Command=setUrlParams, Output=
EXECUTE URL ==> http://10.1.10.243:9095/directors?director= <==
, File=/opt/baculum/protected/Class/API.php, Line=138 (line 89,
/opt/baculum/protected/Class/Logging.php)
Jul 21 07:31:53 [Debug] [Application] Command=preParseOutput,
Output={"output":"Problem with authorization to Baculum
WebGUI.","error":6}, File=/opt/baculum/protected/Class/API.php, Line=256
(line 89, /opt/baculum/protected/Class/Logging.php)
Jul 21 07:31:53 [Debug] [Application] Command=preParseOutput,
Output=stdClass Object
(
[output] => Problem with authorization to Baculum WebGUI.
[error] => 6
)
, File=/opt/baculum/protected/Class/API.php, Line=277 (line 89,
/opt/baculum/protected/Class/Logging.php)
Thanks in advance and regards,
Daniel