New install problems

Alan Murrell <lists-rrWFhbbfsjew5LPnMra/[email protected]> Fri, 09 Dec 2005 23:35:11 -0800
Newsgroups gmane.comp.isp.ispman.user
Message-ID <[email protected]>
Hello,

I am setting up ISPMan (Debian Sarge), and following the document
located at

  http://www.azxws.com/ispman/ispman-handbook.html

I know v1.3rc1 is available, but decided to go with the version in the
document, v1.1 .

I have got as far as the 'make ldif-install' and the installation of
apache-ssl .

When I try to login, I get "Invalid Credentials".  I then tried to add
myself as an admin using the '/opt/ispman/bin/ispman.addAdmin' CLI
program:

cp01~# /opt/ispman/bin/ispman.addAdmin -l 100 -f "Alan Murrell" -m
[email protected] -p <my_pasword> amurrell

The output is as follows:

DN passed: uid=amurrell,ou=admins,o=ispman
<pre>
Return code: 32
Error name: LDAP_NO_SUCH_OBJECT
Error text:
Error desc: No such object
MessageID: 4
Error: parent does not exist
Server Error: parent does not exist
DN:
Canonical DN:

</pre>
<br>Package: ISPMan::LDAP
<br>Filename: /opt/ispman/bin/../lib/ISPMan/LDAP.pm
<br>Line: 582

Here are my 'slapd.conf' and 'ispman.conf' files:

--- slapd.conf ---
include         /etc/openldap/schema/core.schema
include         /etc/openldap/schema/cosine.schema
include         /etc/openldap/schema/nis.schema
include         /etc/openldap/schema/misc.schema
include         /etc/openldap/schema/inetorgperson.schema
include         /etc/openldap/schema/dnszone.schema
include         /etc/openldap/schema/pureftpd.schema
include         /etc/openldap/schema/ispman.schema
include         /etc/openldap/schema/RADIUS-LDAPv3.schema

pidfile         /var/run/slapd.pid
argsfile        /var/run/slapd.args

# Load dynamic backend modules:
modulepath      /usr/lib/ldap
#moduleload     back_ldap.la
moduleload      back_ldbm.so
moduleload      back_passwd.so
moduleload      back_shell.so

#######################################################################
# ldbm database definitions
#######################################################################
# For openldap2.1 and above
# Uncomment this.
# Does not work with openldap 2.0.x
allow bind_v2


loglevel 256

database        ldbm
directory       /var/lib/ldap

suffix "o=ispman"
rootdn "cn=admin, o=ispman"
rootpw {crypt}K6oPOZnIdfPbg

# Indices to maintain
index   objectClass     eq
index   uid,sn,cn       pres,eq,sub
index   uidnumber,gidnumber     pres,eq
index   memberuid       pres,eq
index   mail,mailLocalAddress,mailAlias pres,eq

--- slapd.conf ---



--- ispman.conf ---
package ISPMan;

#
#          These are minimum questions that relate to web installation
#

$Config->{'ispmanUrlPrefix'}                      = '';

#
# These are minimum questions that we will keep in the configuration
file.
# The rest of the information will be kept in the LDAP directory and can
# be edited using the web interface.
#

$Config->{'domain'}                               = 'van.murrell.ca';
$Config->{'rootEmail'}                            = 'root';
$Config->{'ldapBaseDN'}                           = 'o=ispman';
$Config->{'ldapRootDN'}                           = 'cn=admin,
o=ispman';
$Config->{'ldapRootPass'}                         = '<ldap_password>';
$Config->{'ldapHost'}                             = 'localhost';
$Config->{'ldapInstallPath'}                      = '/etc/openldap';
$Config->{'ldapVersion'}                          = '3';
$Config->{'imapAdminUsername'}                    = 'cyrus';
$Config->{'imapAdminPass'}                        = '<cyrus_password>';
$Config->{'imapPort'}                             = '143';
$Config->{'installDir'}                           = '/opt/ispman';
$Config->{'debug'}                                = '2';
$Config->{'logmethod'}                            = 'syslog';
$Config->{'logfacility'}                          = 'local5';
$Config->{'logsock'}                              = 'unix';
$Config->{'minuid'}                               = '1000';
$Config->{'maxuid'}                               = '9999';
$Config->{'mingid'}                               = '1000';
$Config->{'maxgid'}                               = '9999';

--- ispman.conf ---


Thoughts or ideas?

-Alan




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click