Hi Wim,
Yes my /var/qmail/control/me is set to 'hell.firestarter.net'
when i run slapd -d4 it seems to get to ldap so i have no idea why its
failing ... the debug doesnt seem to tell me much except that its searching
for the values.
example:
send_ldap_result: 10:ou=QmailLDAP, dc=firestarter, dc=net:
ber_flush: 50 bytes to sd 9
connection_get(9)
SRCH "cn=hell.firestarter.net,ou=QmailLDAP,dc=firestarter,dc=net" 2 0 0 0
0
filter: (&(cn=hell.firestarter.net)(objectClass=qmailControl))
attrs: ldapgid
entry_rdwr_rtrylock: ID: 4
entry_rdwr_runlock: ID: 4
send_ldap_result: 10:ou=QmailLDAP, dc=firestarter, dc=net:
ber_flush: 50 bytes to sd 9
connection_get(9)
SRCH "cn=hell.firestarter.net,ou=QmailLDAP,dc=firestarter,dc=net" 2 0 0 0
0
filter: (&(cn=hell.firestarter.net)(objectClass=qmailControl))
attrs: ldapmessagestore
entry_rdwr_rtrylock: ID: 4
entry_rdwr_runlock: ID: 4
send_ldap_result: 10:ou=QmailLDAP, dc=firestarter, dc=net:
ber_flush: 50 bytes to sd 9
connection_get(9)
SRCH "cn=hell.firestarter.net,ou=QmailLDAP,dc=firestarter,dc=net" 2 0 0 0
0
filter: (&(cn=hell.firestarter.net)(objectClass=qmailControl))
attrs: ldaptimeout
entry_rdwr_rtrylock: ID: 4
entry_rdwr_runlock: ID: 4
send_ldap_result: 10:ou=QmailLDAP, dc=firestarter, dc=net:
ber_flush: 50 bytes to sd 9
connection_get(9)
SRCH "cn=hell.firestarter.net,ou=QmailLDAP,dc=firestarter,dc=net" 2 0 0 0
0
filter: (&(cn=hell.firestarter.net)(objectClass=qmailControl))
attrs: ldaplocaldelivery
entry_rdwr_rtrylock: ID: 4
entry_rdwr_runlock: ID: 4
send_ldap_result: 10:ou=QmailLDAP, dc=firestarter, dc=net:
ber_flush: 50 bytes to sd 9
connection_get(9)
SRCH "cn=hell.firestarter.net,ou=QmailLDAP,dc=firestarter,dc=net" 2 0 0 0
0
filter: (&(cn=hell.firestarter.net)(objectClass=qmailControl))
attrs: dirmaker
entry_rdwr_rtrylock: ID: 4
entry_rdwr_runlock: ID: 4
send_ldap_result: 10:ou=QmailLDAP, dc=firestarter, dc=net:
ber_flush: 50 bytes to sd 9
connection_get(9)
SRCH "cn=hell.firestarter.net,ou=QmailLDAP,dc=firestarter,dc=net" 2 0 0 0
0
filter: (&(cn=hell.firestarter.net)(objectClass=qmailControl))
attrs: ldapdefaultdotmode
entry_rdwr_rtrylock: ID: 4
entry_rdwr_runlock: ID: 4
send_ldap_result: 10:ou=QmailLDAP, dc=firestarter, dc=net:
ber_flush: 50 bytes to sd 9
connection_get(9)
SRCH "cn=hell.firestarter.net,ou=QmailLDAP,dc=firestarter,dc=net" 2 0 0 0
0
filter: (&(cn=hell.firestarter.net)(objectClass=qmailControl))
attrs: ldapdefaultquota
entry_rdwr_rtrylock: ID: 4
entry_rdwr_runlock: ID: 4
send_ldap_result: 10:ou=QmailLDAP, dc=firestarter, dc=net:
ber_flush: 50 bytes to sd 9
connection_get(9)
Wynand
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "David Young" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, November 27, 2001 12:29 PM
Subject: Re: Control patch: cannot start: unable to read controls
> I may say something already said or something stupid... but:
> where is your /var/qmail/control/me ??
> and does it contain the right info?
> remember that ql/control searches in the given dn and below for cn=`cat
/var/qmail/control/me`
>
> hope this helps,
>
> grtz,
>
> Wim
>
> On Tue, Nov 27, 2001 at 01:20:57PM +0200, David Young wrote:
> > 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
> > >
> > >
> >
> >