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

Re: (ITS#5581) slapd: search.c:970: oc_filter: Assertion `f != ((void *)0)' failed.



Strange... Apparently, your message did not reach my mail server...

Anyway... When I did your proposed change, the server did the right thing:

$ ./crash-server.sh
adding new entry "cn=bugtestgroup_3301,ou=groups,dc=cefetrs,dc=tche,dc=br"
ldap_add: Constraint violation (19)
         additional info: some attributes not unique

--------------------------

Humm... Now, I know why... Your mail server does not have a 'PTR record'...

Jul  1 08:59:20 cmi postfix/smtpd[26501]: NOQUEUE: reject: RCPT from  
unknown[194.244.21.122]: 450 4.7.1 Client host rejected: cannot find  
your hostname, [194.244.21.122]; from=<ando@sys-net.it>  
to=<amg1127@cefetrs.tche.br> proto=ESMTP helo=<mail2.sys-net.it>
Jul  1 10:09:19 cmi postfix/smtpd[30576]: NOQUEUE: reject: RCPT from  
unknown[194.244.21.122]: 450 4.7.1 Client host rejected: cannot find  
your hostname, [194.244.21.122]; from=<ando@sys-net.it>  
to=<amg1127@cefetrs.tche.br> proto=ESMTP helo=<mail2.sys-net.it>
Jul  1 11:19:22 cmi postfix/smtpd[3467]: NOQUEUE: reject: RCPT from  
unknown[194.244.21.122]: 450 4.7.1 Client host rejected: cannot find  
your hostname, [194.244.21.122]; from=<ando@sys-net.it>  
to=<amg1127@cefetrs.tche.br> proto=ESMTP helo=<mail2.sys-net.it>
Jul  1 12:29:20 cmi postfix/smtpd[10287]: NOQUEUE: reject: RCPT from  
unknown[194.244.21.122]: 450 4.7.1 Client host rejected: cannot find  
your hostname, [194.244.21.122]; from=<ando@sys-net.it>  
to=<amg1127@cefetrs.tche.br> proto=ESMTP helo=<mail2.sys-net.it>


# host 194.244.21.122
Host 122.21.244.194.in-addr.arpa not found: 3(NXDOMAIN)


-- 
Anderson Medeiros Gomes
amg1127@cefetrs.tche.br

Coordenadoria de Manutenção e Redes
Centro Federal de Educação Tecnológica de Pelotas
http://www.cefetrs.tche.br/


> Your logs show something relatively odd: apparently, slapo-unique(5)  
> is trying to perform an internal search with a really malformed  
> filter:
>
> ==> unique_search ,
> str2filter "(&objectClass=posixGroup(|(gidNumber=1000)))"
> put_filter: "(&objectClass=posixGroup(|(gidNumber=1000)))"
> put_filter: AND
> put_filter_list "objectClass=posixGroup(|(gidNumber=1000))"
>
> Can you please try using "(objectClass=posixGroup)" instead of  
> "objectClass=posixGroup" as the unique_uri filter in your test  
> slapd.conf?
>
> p.
>
>
> Ing. Pierangelo Masarati
> OpenLDAP Core Team
>
> SysNet s.r.l.
> via Dossi, 8 - 27100 Pavia - ITALIA
> http://www.sys-net.it
> -----------------------------------
> Office:  +39 02 23998309
> Mobile:  +39 333 4963172
> Email:   ando@sys-net.it
> -----------------------------------