[Date Prev][Date Next] [Chronological] [Thread] [Top]

(?=undefined) why ??



Hi, I have this schema definition:

attributetype ( 2.16.840.1.113730.3.1.13
           NAME 'mailLocalAddress'
           DESC 'RFC 822 email address of this recipient'
           SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

attributetype ( 2.16.840.1.113730.3.1.18
           NAME 'mailHost'
           DESC 'fully-qualified hostname of the MTA that is the final SMTP
destination of messages to this recipien
t'
           SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
           SINGLE-VALUE
       )

attributetype ( 2.16.840.1.113730.3.1.47
           NAME 'mailRoutingAddress'
           DESC 'RFC 822 address to use when routing messages to SMTP
destination of messages to this recipient'
           SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
           SINGLE-VALUE
       )

objectclass ( 2.16.840.1.113730.3.2 NAME 'inetLocalMailRecipient'
        SUP top
        AUXILIARY
        MAY ( mailLocalAddress $ mailHost $ mailRoutingAddress ) )


And these two entries on my OpenLDAP (2.1.21):

dn: o=mycorp
objectClass: organization
objectClass: top
o: mycorp

dn: cn=mbox1, o=mycorp
objectClass: person
objectClass: inetLocalMailRecipient
mailLocalAddress: mbox1@mycorp.com
mailRoutingAddress: mbox1-rtd@mycorp.com
cn: mbox1
sn: mailbox 1 prueba


Why is my OpenLDAP log showing this??:

Jul  8 20:43:11 solaris slapd[21948]: [ID 784277 local4.debug] daemon:
select timeout - yielding
Jul  8 20:43:11 solaris slapd[21948]: [ID 141783 local4.debug]     filter:
(&(objectClass=inetLocalMailRecipient)(?=undefined))
Jul  8 20:43:11 solaris slapd[21948]: [ID 538834 local4.debug] daemon:
select: listen=6 active_threads=1 tvp=idle
Jul  8 20:43:11 solaris slapd[21948]: [ID 503656 local4.debug]     attrs:
Jul  8 20:43:11 solaris slapd[21948]: [ID 538834 local4.debug] daemon:
select: listen=7 active_threads=1 tvp=idle
Jul  8 20:43:11 solaris slapd[21948]: [ID 100000 local4.debug]
Jul  8 20:43:11 solaris slapd[21948]: [ID 784277 local4.debug] daemon:
select timeout - yielding
Jul  8 20:43:11 solaris slapd[21948]: [ID 902418 local4.debug] conn=1 op=1
SRCH base="o=sat" scope=2
filter="(&(objectClass=inetLocalMailRecipient)(?=undefined))"
Jul  8 20:43:11 solaris slapd[21948]: [ID 538834 local4.debug] daemon:
select: listen=6 active_threads=1 tvp=idle


When I issue a simple search like this??:

ldapsearch -D cn=Manager,o=mycorp -b o=mycorp
"(&(objectClass=inetLocalMailRecipient)(mailLocalAddress=mbox1@mycorp.com))"

Of course, the search doesn't return anything, and this is terrible!

Could you tell me, why is this "(?=undefined)" appearing??  It's messing up
my searches!

Any help will be highly appreciated.

Héctor Miranda.
+52 (55) 5322 5216