You can try and start your openldap in debug mode (slapd -d4), and see
what exactly qmail is looking for :)



-----Original Message-----
From: Wynand Theunissen [mailto:[EMAIL PROTECTED]] 
Sent: 27 November 2001 01:19 PM
To: [EMAIL PROTECTED]
Subject: Re: Control patch: cannot start: unable to read controls

Hi David

Tried this and a million other combinations before :)

I just tried it again now to double check ... no luck.
still says: @400000003c0375143ac7533c alert: cannot start: unable to
read
controls

Is it possible the 20011029 control patch doesnt work properly ?

Wynand

----- Original Message -----
From: "David Young" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 27, 2001 5:31 AM
Subject: RE: Control patch: cannot start: unable to read controls


> Hi Wynand,
>
> I haven't used the latest control patch, so this may be out of date,
but
> I found that no matter what I did, I HAD to have the FQDN of the
> particular mailserver in ldapcontroldn.
>
> Try setting your ldapcontroldn to:
>
> cn=hell.firestarter.net,ou=QmailLDAP,dc=firestarter,dc=net
>
> Regards,
> David
>
>
>
>
> -----Original Message-----
> From: Wynand Theunissen [mailto:[EMAIL PROTECTED]]
> Sent: 27 November 2001 02:10 AM
> To: [EMAIL PROTECTED]
> Subject: Control patch: cannot start: unable to read controls
>
> Hi there
>
> Thanks for the help so far ... everything is going well except for the
> damn
> control patch.
> I've been struggling with this thing for the last day now non stop and
I
> cant find whats wrong with it.
>
> im using the qmail-ldap-control_20011029.patch.gz  with the
> qmail-ldap-1.03-20011001a.patch.gz patch.
>
> Ive moved all my controls into the ldap server and all my control
files
> look
> ok...
> when i startup qmail I get the following in /var/log/qmail/current
>
> @400000003c02d5ef2e1c969c alert: cannot start: unable to read controls
> @400000003c02d5ef303f66fc alert: cannot start: unable to read controls
> @400000003c02d5ef3261452c alert: cannot start: unable to read controls
> @400000003c02d5ef3487038c alert: cannot start: unable to read controls
> repeated a million times :)
>
> -------
>
> -rw-r--r--    1 root     root           35 Nov 26 23:28 ldapcontroldn
> which contains:
> ou=QmailLDAP,dc=firestarter,dc=net
>
> -rw-r--r--    1 root     root           21 Nov 26 23:13 ldapserver
> which contains:
> hell.firestarter.net
>
> ----------
> my control.ldif:
>
> dn: dc=firestarter, dc=net
> objectclass: top
>
> dn: ou=accounts, dc=firestarter, dc=net
> objectclass: top
> objectclass: organizationalUnit
> ou: accounts
>
> dn: ou=QmailLDAP, dc=firestarter, dc=net
> objectclass: top
> objectclass: organizationalUnit
> ou: QmailLDAP
>
> dn: cn=hell.firestarter.net,ou=QmailLDAP,dc=firestarter,dc=net
> objectclass: top
> objectclass: qmailControl
> cn: hell.firestarter.net
> locals: firestarter.net
> locals: hell.firestarter.net
> ldapbasedn: dc=firestarter,dc=net
> ldapuid: 11184
> ldapgid: 2210
> ldapdefaultquota: 20000000S,1000C
> quotawarning: You are close to reaching your disk space quota for this
> mailbox
> dirmaker: /var/qmail/bin/dirmaker
> ldaplogin: cn=Manager, dc=firestarter, dc=net
> ldapServer: hell.firestarter.net
> ldappassword: {MD5}Xr4ilOzQ4PCOq3aQ0qbuaQ==
> concurrencyLocal: 20
> defaultDomain: firestarter.net
> defaultHost: hell.firestarter.net
> ldapMessageStore: /var/qmail/maildirs
> plusDomain: firestarter.net
>
> -------------------------
>
> I've compiled it without -DQLDAP_BAILOUT so that it has to look for
the
> controls in ldap and that way i can make sure its working.
>
> I've also commented #RFCFLAGS=-DUSE_RFC2307 -DUSE_RFC822
>
> -------------------
>
> Anybody have any idea why im getting this ?
>
> Any help would be much appreciated.
>
> Regards
>
> Wynand Theunissen
>
>


Reply via email to