[horde] Administrative users and adding users

Robert Croson, Jr robert at arcm.com
Mon Jul 28 10:15:00 PDT 2003


I have seen this question, or similar ones, asked several times in the 
archives, but I have not been able to find an answer to this particular 
issue.

Specific version/configuration information is contained at the end of 
this post.

I have successfully installed Apache/mySQL/PHP, and it all seems to 
function properly. I have installed Horde, Mnemo, and Kronolith. They 
all work properly. The mySQL connection is working, as both Mnemo and 
Kronolith store information and preferences.

However, I am only able to log in with the automatic login:

$conf['auth']['driver'] = 'auto';

If I change to:

$conf['auth']['driver'] = 'sql';

then I can't log in. Regardless of the username/password I enter, I 
keep getting the log-in screen. This is to be expected, since the user 
database is empty.

The question is, how do I get a user into the database so I can add 
more users? I've tried:

$conf['auth']['admins'] = array('horde_user');

when using the auto-log-in per a Horde installation guide I found. But 
it never recognizes me as an admin and I don;t get the admin options. I 
also tried 'horde' instead of 'horde_user' with no luck. Am I correct 
in assuming that I need to log in with administrative rights to Horde 
so I can add users? If so, how do I do this? Is there a wildcard string 
I can use temporarily to give all users admin rights so I can get the 
user database loaded?

Here's the mysql authentication array configuration:

$conf['auth']['params'] = array();
$conf['auth']['params']['phptype'] = 'mysql';
$conf['auth']['params']['hostspec'] = 'localhost';
$conf['auth']['params']['username'] = 'horde';
$conf['auth']['params']['password'] = 'mypassword';
$conf['auth']['params']['database'] = 'horde';
$conf['auth']['params']['table'] = 'horde_users';



I would eventually like to switch over to IMP and authentication via 
IMAP, but I am having a problem with getting php_imap.dll to load. The 
specific error message is:

Unknown(): Unable to load dynamic link library 
'c:\php\extensions\php_imap.dll' - A device attached to the system is 
not functioning.

This is not the problem to which I have seen references where the dll 
can't be found. php is finding the dll (it locates and loads 
php_gettext.dll), but can't load php_imap.dll.

Any ideas why that dll wouldn't load?

I am using the following setup:

Win32

Apache 2.0.47
PHP Version: 4.3.2 
mysql: 4.0.14

Horde: 2.2.3 
Kronolith: 1.1 
Mnemo: 1.1 

PHP Module Capabilities
DOM XML Support: No 
FTP Support: Yes 
Gettext Support: Yes 
IMAP Support: No 
LDAP Support: No 
MCAL Support: No 
Mcrypt Support: No 
MySQL Support: Yes 
PostgreSQL Support: No 
XML Support: Yes 

Miscellaneous PHP Settings
magic_quotes_runtime disabled: Yes 
file_uploads enabled: Yes 
safe_mode disabled: Yes 
trans_sid disabled: Yes 

PEAR
PEAR - Yes 
Recent PEAR - Yes 
Mail - Yes 
Log - Yes 
DB - Yes 
Net_Socket - Yes 
Date - Yes 
HTML_Common/HTML_Select - Yes 

Thanks for any assistance,
Rob

-- 
ARCOM Inc. 440.639.9500  http://www.arcm.com
---Excellence In Technical Communications---




More information about the horde mailing list