I am using 2.0.4
1)I altered the default to mail and tried to start the ldap server,It does
not give any errors but it does start either(not in pid list)
2)Also it gives this error now "No objectClass "top" defined in schema"
I did really add real data into the database(using the samples in the ldap
readme).But i ran into truble after i startted using the qmail-ldap
samples.I believe the sample file on the site are supposed to run no matter
what
I am ok with security for now.I will work it out later
I am sorry for newbie questions But i am a newbie!!
Suresh
-----Original Message-----
From: Alexander Jernejcic [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 09, 2000 8:18 PM
To: suresh
Subject: RE: qmail-ldap-help
hi,
what is your version of openldap? for this kind of config and
objectdefinition it has to be something below 2.0.
the index line tells openldap what attributes should indexes be maintained
for. try to alter the default index to mail or just
comment it out (put # in front of the line)...
in slapd.oc.conf you define the objectclasses with its attribute. imho one
should add a new objectclass to slapd.ac.conf too.
some additional hints:
turn schemacheck off.
you should add (with slapadd) a o= object:
content of file base.ldiff:
o=Internet Pipeline, c=CH
objectclass: organization
#ldapadd -D "cn=root, o=Internet Pipeline, c=CH" -W < base.ldif
try to set up your ldap server with "real" data.
e.g.: set c to your real country code, and o to your real company
(slapd.conf and ldap.conf).
your ldap-database will be created in /var/qmail/users
for some kind of security: block the ldap ports for external access
(firewalling)
sorry for the unstructured answer, was just a kind of brainstorming..
;) a
==============================================
Alexander Jernejcic
email:[EMAIL PROTECTED]
begin LOVE-LETTER-UND-NIX-DAZUGELERNT.txt.vbs
I am a Signature, not a Virus!
end
==============================================
> -----Original Message-----
> From: suresh [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 09, 2000 1:45 PM
> To: Alexander. Jernejcic@Chello. At
> Subject: RE: qmail-ldap-help
>
>
>
> Hi
> I hope yu can help me.I am using these example files,but i cant get the
> slapd started-gives error->
>
> /usr/local/etc/openldap/slapd.conf: line 32: no indexes selected
>
> I am not a unix person .I started working on Sun just a month back.I tried
> going through the readmes ,i could not get much out of them
>
>
> Suresh
>
> EXAMPLE QLDAP LDIF FILE:
>
> dn: cn=Andre Oppermann, o=Internet Pipeline, c=CH
> cn: Andre Oppermann
> sn: Oppermann
> objectClass: top
> objectClass: person
> objectClass: inetOrgPerson
> objectClass: qmailUser
> mail: [EMAIL PROTECTED]
> mailHost: opi.flirtbox.ch
> mailMessageStore: /usr/home/opi/Maildir/
> mailQuota: 1000000S,100C
> qmailUID: 1001
> qmailGID: 1001
> uid: opi
> userPassword: {MD5}b28a87511da157f147ed4766b0474a8a
>
>
> EXAMPLE SLAPD.CONF FILE:
>
> include /usr/local/etc/ldap/slapd.at.conf
> include /usr/local/etc/ldap/slapd.oc.conf
> schemacheck on
> #referral ldap://ldap.itd.umich.edu
>
> #######################################################################
> # ldbm database definitions
> #######################################################################
>
> database ldbm
> suffix "o=Internet Pipeline, c=CH"
> directory /var/qmail/users
> rootdn "cn=root, o=Internet Pipeline, c=CH"
> rootpw secret
> index mail,mailAlternateAddress,uid
> index default none
>
>
> ADD THIS SCHEMA TO SLAPD.OC.CONF
>
> objectclass qmailUser
> requires
> objectclass,
> mail,
> uid
> allows
> mailMessageStore,
> homeDirectory,
> userPassword,
> mailAlternateAddress,
> qmailUID,
> qmailGID,
> mailQuota,
> mailHost,
> mailForwardingAddress,
> deliveryProgramPath,
> qmailDotMode,
> deliveryMode,
> mailReplyText,
> accountStatus
>
>