On Thu, Sep 09, 2004 at 12:02:59PM +0200, Saxa Egea wrote:
> Hi all!
> 
> I'm trying to create a dynamic search group with qmail-ldap (august patch).
> 
> My LDAP entry is like this:
> 
> dn: cn=All IT Systems,ou=IT,ou=Central,o=domain,c=ES
> cn: Todo Sistemas Inf
> mail: [EMAIL PROTECTED]
> mailAlternateAddress: [EMAIL PROTECTED]
> objectClass: top
> objectClass: PosixGroup
> objectClass: qmailGroup
> filtermember: (&(objectClass=qmailUser)([EMAIL PROTECTED]))
> gidNumber: 10000
> mailMessageStore: /ldapStore/GRP/10000/
> 
> 
> Ok, then:
> 
> First:
> 
> If I send a msg to this account the LDAP filter will return all people 
> from all the directory BASE (o=domain,c=ES) with the objectClass 
> qmailuser and mail address contains "@domain".
> 
> But how can I change de base for this search filter? With IPlanet I have:
> ldap:///ou=IT,ou=Central,o=Domain,c=ES
>  ??sub?(&(objectClass=inetOrgPerson)([EMAIL PROTECTED]))
> 
> Any idea?
> 

(&(c:dn:=es)(o:dn:=domain)(ou:dn:=central)(ou:dn:=IT)(objectClass=inetOrgPerson)([EMAIL
 PROTECTED]))

should do the trick.

> Second:
> 
> If I send a message to this mail address I get:
> 
> LDAP attribute is not given but mandatory. (#5.3.5)
> 
> But nothing in the log al "LOGLEVEL: 255"
> 
> Any idea?
> 
UID is missing.


-- 
:wq Claudio

Reply via email to