Re: [SOGo] - Ldap Filter don't work
Am 27.02.2013 11:20, schrieb Dario Carbone: Il 27/02/2013 11:05, Christian Mack ha scritto: Hello Dario Carbone Am 2013-02-26 16:21, schrieb Dario Carbone: Il 26/02/2013 14:59, Christian Mack ha scritto: Am 2013-02-26 10:27, schrieb Dario Carbone: Here my .GNUstepDefaults : dict keyCNFieldName/key stringcn/string keyIDFieldName/key stringuid/string keyMailFieldNames/key string(mail,)/string keySOGoLDAPQueryTimeout/key string20/string keyUIDFieldName/key stringuid/string keybaseDN/key stringdc=primeur,dc=com/string keybindFields/key array stringuid/string /array keycanAuthenticate/key stringNO/string keydisplayName/key stringPrimeur Global/string keyfilter/key string (memberOf='cn=AddressBook,ou=Groups,dc=primeur,dc=com')/string keyhostname/key string192.168.20.115/string keyid/key stringPrimeur_LDAP/string keyisAddressBook/key stringYES/string keypasswordPolicy/key stringNO/string keyport/key string389/string keyscope/key stringSUB/string keytype/key stringldap/string /dict I've created a group on OpenLDAP and addess some users, but on the slapd log i've undefined filter. see the log : ldapserver:/var/log # cat messages | grep conn=2843622 Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 fd=65 ACCEPT from IP=192.168.20.115:43613 (IP=0.0.0.0:389) Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=0 BIND dn="" method=128t Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=0 RESULT tag=97 err=0 text= Feb 26 10:23:31 atlante slapd[10022]: *conn=2843622 op=1 SRCH base="dc=primeur,dc=com" scope=2 deref=0 filter="((cn=*)(?=undefined))"* Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=1 SRCH attr=* Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text= Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=2 UNBIND Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 fd=65 closed What's wrong ? The Address Book make me crazy!!! Do you mean this bug? http://www.sogo.nu/bugs/view.php?id=2169 I don't think, because i do the auth on Active Directory and the users search on OpenLDAP to load the Address Book. But I think there is something in filter parsing, but I don't know how is the code/script to do this. Could you provide an LDIF of an user in this group and an LDIF of your group? Kind regards, Christian Mack User : dn: uid=user1,ou=Group1,ou=Users,dc=primeur,dc=com objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetOrgPerson objectClass: posixAccount objectClass: shadowAccount objectClass: sambaSamAccount uid: user1 uidNumber: 2424 gidNumber: 513 loginShell: /bin/bash gecos: System User userPassword: {SHA}wc45o+kQbuY95Gd3n9hdwdh8CAg= userPassword: {SHA}nxXj9Ve3UtHqjdD+FGH3USCzljY= sn: user1 homeDirectory: /home/user1 cn: user1 shadowFlag: 0 shadowMin: 0 shadowMax: 9 shadowWarning: 0 shadowInactive: 9 shadowLastChange: 12011 shadowExpire: 9 sambaKickoffTime: 2147483647 sambaAcctFlags: [U] sambaSID: S-1-5-21-3692295675-382424995-2796369013-5848 sambaDomainName: PRIMEUR sambaPrimaryGroupSID: S-1-5-21-3692295675-382424995-2796369013-513 sambaNTPassword: B2D9FE357CC623EF3770C3ECFE0CF7FC sambaPwdLastSet: 1361803572 This user does not have the memberOf attribute your filter is looking for. If the group can be the primary group you may have to extend your filter to look for sambaPrimaryGroupSID='S-1-5-21-3692295675-382424995-2796369013-513' as well, if there are no warinngs in your sogo logs that those sid attributes are not parsable. I get those warnings here with queries against samba4 ldap. -- Carbone Dario | Primeur Sales Marketing IT Service Department Mobile:3488960584 | Email | linkedin | skype
Re: [SOGo] - Ldap Filter don't work
Il 01/03/2013 13:39, Achim Gottinger ha scritto: keyfilter/key string (memberOf='cn=AddressBook,ou=Groups,dc=primeur,dc=com')/string I've created a group on OpenLDAP and addess some users, but on the slapd log i've undefined filter. see the log : ldapserver:/var/log # cat messages | grep conn=2843622 Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 fd=65 ACCEPT from IP=192.168.20.115:43613 (IP=0.0.0.0:389) Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=0 BIND dn="" method=128t Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=0 RESULT tag=97 err=0 text= Feb 26 10:23:31 atlante slapd[10022]: *conn=2843622 op=1 SRCH base="dc=primeur,dc=com" scope=2 deref=0 filter="((cn=*)(?=undefined))"* Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=1 SRCH attr=* Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text= Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=2 UNBIND Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 fd=65 closed Have you tried to remove the linebreak. string(memberOf='cn=AddressBook,ou=Groups,dc=primeur,dc=com')/string Or use something like string(objectClass=person)/string for testing if it's an problem with parsing the filter value or applying it? achim~ I've tried a lots of combinations, but no lucky. I think the problem is the parsing part. -- Carbone Dario | Primeur Sales Marketing IT Service Department Mobile:3488960584 | Email | linkedin | skype
Re: [SOGo] - Ldap Filter don't work
Yes, without the filter , all work, but a lots of unwanted users appers. Il 01/03/2013 20:32, Mark Madere ha scritto: have you tried it without a filter? Original Message Subject: Re: [SOGo] - Ldap Filter don't work Date: Friday, March 1, 2013 06:39 AM CST From: Achim Gottinger ac...@ag-web.biz Reply-To: users@sogo.nu To: users@sogo.nu References: 512c7fe4.5030...@primeur.com 512cbfb4.7080...@uni-konstanz.de 512cd2e8.5020...@primeur.com 512dda69.6090...@uni-konstanz.de 5120.4060...@primeur.com 513077d0.2000...@primeur.com keyfilter/key string (memberOf='cn=AddressBook,ou=Groups,dc=primeur,dc=com')/string I've created a group on OpenLDAP and addess some users, but on the slapd log i've undefined filter. see the log : ldapserver:/var/log # cat messages | grep conn=2843622 Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 fd=65 ACCEPT from IP=192.168.20.115:43613 (IP=0.0.0.0:389) Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=0 BIND dn="" method=128t Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=0 RESULT tag=97 err=0 text= Feb 26 10:23:31 atlante slapd[10022]: *conn=2843622 op=1 SRCH base="dc=primeur,dc=com" scope=2 deref=0 filter="((cn=*)(?=undefined))"* Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=1 SRCH attr=* Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text= Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=2 UNBIND Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 fd=65 closed Have you tried to remove the linebreak. string(memberOf='cn=AddressBook,ou=Groups,dc=primeur,dc=com')/string Or use something like string(objectClass=person)/string for testing if it's an problem with parsing the filter value or applying it? achim~ -- users@sogo.nu https://inverse.ca/sogo/lists -- Carbone Dario | Primeur Sales Marketing IT Service Department Mobile:3488960584 | Email | linkedin | skype
Re: [SOGo] - Ldap Filter don't work
Il 27/02/2013 11:20, Dario Carbone ha scritto: Il 27/02/2013 11:05, Christian Mack ha scritto: Hello Dario Carbone Am 2013-02-26 16:21, schrieb Dario Carbone: Il 26/02/2013 14:59, Christian Mack ha scritto: Am 2013-02-26 10:27, schrieb Dario Carbone: Here my .GNUstepDefaults : dict keyCNFieldName/key stringcn/string keyIDFieldName/key stringuid/string keyMailFieldNames/key string(mail,)/string keySOGoLDAPQueryTimeout/key string20/string keyUIDFieldName/key stringuid/string keybaseDN/key stringdc=primeur,dc=com/string keybindFields/key array stringuid/string /array keycanAuthenticate/key stringNO/string keydisplayName/key stringPrimeur Global/string keyfilter/key string (memberOf='cn=AddressBook,ou=Groups,dc=primeur,dc=com')/string keyhostname/key string192.168.20.115/string keyid/key stringPrimeur_LDAP/string keyisAddressBook/key stringYES/string keypasswordPolicy/key stringNO/string keyport/key string389/string keyscope/key stringSUB/string keytype/key stringldap/string /dict I've created a group on OpenLDAP and addess some users, but on the slapd log i've undefined filter. see the log : ldapserver:/var/log # cat messages | grep conn=2843622 Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 fd=65 ACCEPT from IP=192.168.20.115:43613 (IP=0.0.0.0:389) Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=0 BIND dn="" method=128t Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=0 RESULT tag=97 err=0 text= Feb 26 10:23:31 atlante slapd[10022]: *conn=2843622 op=1 SRCH base="dc=primeur,dc=com" scope=2 deref=0 filter="((cn=*)(?=undefined))"* Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=1 SRCH attr=* Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text= Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=2 UNBIND Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 fd=65 closed What's wrong ? The Address Book make me crazy!!! Do you mean this bug? http://www.sogo.nu/bugs/view.php?id=2169 I don't think, because i do the auth on Active Directory and the users search on OpenLDAP to load the Address Book. But I think there is something in filter parsing, but I don't know how is the code/script to do this. Could you provide an LDIF of an user in this group and an LDIF of your group? Kind regards, Christian Mack User : dn: uid=user1,ou=Group1,ou=Users,dc=primeur,dc=com objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetOrgPerson objectClass: posixAccount objectClass: shadowAccount objectClass: sambaSamAccount uid: user1 uidNumber: 2424 gidNumber: 513 loginShell: /bin/bash gecos: System User userPassword: {SHA}wc45o+kQbuY95Gd3n9hdwdh8CAg= userPassword: {SHA}nxXj9Ve3UtHqjdD+FGH3USCzljY= sn: user1 homeDirectory: /home/user1 cn: user1 shadowFlag: 0 shadowMin: 0 shadowMax: 9 shadowWarning: 0 shadowInactive: 9 shadowLastChange: 12011 shadowExpire: 9 sambaKickoffTime: 2147483647 sambaAcctFlags: [U] sambaSID: S-1-5-21-3692295675-382424995-2796369013-5848 sambaDomainName: PRIMEUR sambaPrimaryGroupSID: S-1-5-21-3692295675-382424995-2796369013-513 sambaNTPassword: B2D9FE357CC623EF3770C3ECFE0CF7FC sambaPwdLastSet: 1361803572 Group : dn: cn=AddressBook,ou=Groups,dc=primeur,dc=com objectClass: posixGroup objectClass: top cn: AddressBook memberUid: user1 memberUid: user2 memberUid: user3 memberUid: user4 memberUid: user5 gidNumber: 19779 Thanks -- Carbone Dario | Primeur Sales Marketing IT Service Department Mobile:3488960584 | Email | linkedin | skype Any ideas ? ( i'm blocked and this problem make me crazy ) --
Re: [SOGo] - Ldap Filter don't work
keyfilter/key string (memberOf='cn=AddressBook,ou=Groups,dc=primeur,dc=com')/string I've created a group on OpenLDAP and addess some users, but on the slapd log i've undefined filter. see the log : ldapserver:/var/log # cat messages | grep conn=2843622 Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 fd=65 ACCEPT from IP=192.168.20.115:43613 (IP=0.0.0.0:389) Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=0 BIND dn= method=128t Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=0 RESULT tag=97 err=0 text= Feb 26 10:23:31 atlante slapd[10022]: *conn=2843622 op=1 SRCH base=dc=primeur,dc=com scope=2 deref=0 filter=((cn=*)(?=undefined))* Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=1 SRCH attr=* Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text= Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=2 UNBIND Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 fd=65 closed Have you tried to remove the linebreak. string(memberOf='cn=AddressBook,ou=Groups,dc=primeur,dc=com')/string Or use something like string(objectClass=person)/string for testing if it's an problem with parsing the filter value or applying it? achim~ -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] - Ldap Filter don't work
have you tried it without a filter? Original Message Subject: Re: [SOGo] - Ldap Filter don't work Date: Friday, March 1, 2013 06:39 AM CST From: Achim Gottinger ac...@ag-web.biz Reply-To: users@sogo.nu To: users@sogo.nu References: 512c7fe4.5030...@primeur.com 512cbfb4.7080...@uni-konstanz.de 512cd2e8.5020...@primeur.com 512dda69.6090...@uni-konstanz.de 5120.4060...@primeur.com 513077d0.2000...@primeur.com keyfilter/key string (memberOf='cn=AddressBook,ou=Groups,dc=primeur,dc=com')/string I've created a group on OpenLDAP and addess some users, but on the slapd log i've undefined filter. see the log : ldapserver:/var/log # cat messages | grep conn=2843622 Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 fd=65 ACCEPT from IP=192.168.20.115:43613 (IP=0.0.0.0:389) Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=0 BIND dn= method=128t Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=0 RESULT tag=97 err=0 text= Feb 26 10:23:31 atlante slapd[10022]: *conn=2843622 op=1 SRCH base=dc=primeur,dc=com scope=2 deref=0 filter=((cn=*)(?=undefined))* Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=1 SRCH attr=* Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text= Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=2 UNBIND Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 fd=65 closed Have you tried to remove the linebreak. string(memberOf='cn=AddressBook,ou=Groups,dc=primeur,dc=com')/string Or use something like string(objectClass=person)/string for testing if it's an problem with parsing the filter value or applying it? achim~ -- users@sogo.nu https://inverse.ca/sogo/lists -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] - Ldap Filter don't work
Hello Dario Carbone Am 2013-02-26 16:21, schrieb Dario Carbone: Il 26/02/2013 14:59, Christian Mack ha scritto: Am 2013-02-26 10:27, schrieb Dario Carbone: Here my .GNUstepDefaults : dict keyCNFieldName/key stringcn/string keyIDFieldName/key stringuid/string keyMailFieldNames/key string(mail,)/string keySOGoLDAPQueryTimeout/key string20/string keyUIDFieldName/key stringuid/string keybaseDN/key stringdc=primeur,dc=com/string keybindFields/key array stringuid/string /array keycanAuthenticate/key stringNO/string keydisplayName/key stringPrimeur Global/string keyfilter/key string (memberOf='cn=AddressBook,ou=Groups,dc=primeur,dc=com')/string keyhostname/key string192.168.20.115/string keyid/key stringPrimeur_LDAP/string keyisAddressBook/key stringYES/string keypasswordPolicy/key stringNO/string keyport/key string389/string keyscope/key stringSUB/string keytype/key stringldap/string /dict I've created a group on OpenLDAP and addess some users, but on the slapd log i've undefined filter. see the log : ldapserver:/var/log # cat messages | grep conn=2843622 Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 fd=65 ACCEPT from IP=192.168.20.115:43613 (IP=0.0.0.0:389) Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=0 BIND dn= method=128t Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=0 RESULT tag=97 err=0 text= Feb 26 10:23:31 atlante slapd[10022]: *conn=2843622 op=1 SRCH base=dc=primeur,dc=com scope=2 deref=0 filter=((cn=*)(?=undefined))* Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=1 SRCH attr=* Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text= Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=2 UNBIND Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 fd=65 closed What's wrong ? The Address Book make me crazy!!! Do you mean this bug? http://www.sogo.nu/bugs/view.php?id=2169 I don't think, because i do the auth on Active Directory and the users search on OpenLDAP to load the Address Book. But I think there is something in filter parsing, but I don't know how is the code/script to do this. Could you provide an LDIF of an user in this group and an LDIF of your group? Kind regards, Christian Mack -- Christian Mack Gruppe Informationsdienste Rechenzentrum Universität Konstanz -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] - Ldap Filter don't work
Il 27/02/2013 11:05, Christian Mack ha scritto: Hello Dario Carbone Am 2013-02-26 16:21, schrieb Dario Carbone: Il 26/02/2013 14:59, Christian Mack ha scritto: Am 2013-02-26 10:27, schrieb Dario Carbone: Here my .GNUstepDefaults : dict keyCNFieldName/key stringcn/string keyIDFieldName/key stringuid/string keyMailFieldNames/key string(mail,)/string keySOGoLDAPQueryTimeout/key string20/string keyUIDFieldName/key stringuid/string keybaseDN/key stringdc=primeur,dc=com/string keybindFields/key array stringuid/string /array keycanAuthenticate/key stringNO/string keydisplayName/key stringPrimeur Global/string keyfilter/key string (memberOf='cn=AddressBook,ou=Groups,dc=primeur,dc=com')/string keyhostname/key string192.168.20.115/string keyid/key stringPrimeur_LDAP/string keyisAddressBook/key stringYES/string keypasswordPolicy/key stringNO/string keyport/key string389/string keyscope/key stringSUB/string keytype/key stringldap/string /dict I've created a group on OpenLDAP and addess some users, but on the slapd log i've undefined filter. see the log : ldapserver:/var/log # cat messages | grep conn=2843622 Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 fd=65 ACCEPT from IP=192.168.20.115:43613 (IP=0.0.0.0:389) Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=0 BIND dn="" method=128t Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=0 RESULT tag=97 err=0 text= Feb 26 10:23:31 atlante slapd[10022]: *conn=2843622 op=1 SRCH base="dc=primeur,dc=com" scope=2 deref=0 filter="((cn=*)(?=undefined))"* Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=1 SRCH attr=* Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text= Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=2 UNBIND Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 fd=65 closed What's wrong ? The Address Book make me crazy!!! Do you mean this bug? http://www.sogo.nu/bugs/view.php?id=2169 I don't think, because i do the auth on Active Directory and the users search on OpenLDAP to load the Address Book. But I think there is something in filter parsing, but I don't know how is the code/script to do this. Could you provide an LDIF of an user in this group and an LDIF of your group? Kind regards, Christian Mack User : dn: uid=user1,ou=Group1,ou=Users,dc=primeur,dc=com objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetOrgPerson objectClass: posixAccount objectClass: shadowAccount objectClass: sambaSamAccount uid: user1 uidNumber: 2424 gidNumber: 513 loginShell: /bin/bash gecos: System User userPassword: {SHA}wc45o+kQbuY95Gd3n9hdwdh8CAg= userPassword: {SHA}nxXj9Ve3UtHqjdD+FGH3USCzljY= sn: user1 homeDirectory: /home/user1 cn: user1 shadowFlag: 0 shadowMin: 0 shadowMax: 9 shadowWarning: 0 shadowInactive: 9 shadowLastChange: 12011 shadowExpire: 9 sambaKickoffTime: 2147483647 sambaAcctFlags: [U] sambaSID: S-1-5-21-3692295675-382424995-2796369013-5848 sambaDomainName: PRIMEUR sambaPrimaryGroupSID: S-1-5-21-3692295675-382424995-2796369013-513 sambaNTPassword: B2D9FE357CC623EF3770C3ECFE0CF7FC sambaPwdLastSet: 1361803572 Group : dn: cn=AddressBook,ou=Groups,dc=primeur,dc=com objectClass: posixGroup objectClass: top cn: AddressBook memberUid: user1 memberUid: user2 memberUid: user3 memberUid: user4 memberUid: user5 gidNumber: 19779 Thanks -- Carbone Dario | Primeur Sales Marketing IT Service Department Mobile:3488960584 | Email | linkedin | skype
Re: [SOGo] - Ldap Filter don't work
Hello Dario Carbone Am 2013-02-26 10:27, schrieb Dario Carbone: Here my .GNUstepDefaults : dict keyCNFieldName/key stringcn/string keyIDFieldName/key stringuid/string keyMailFieldNames/key string(mail,)/string keySOGoLDAPQueryTimeout/key string20/string keyUIDFieldName/key stringuid/string keybaseDN/key stringdc=primeur,dc=com/string keybindFields/key array stringuid/string /array keycanAuthenticate/key stringNO/string keydisplayName/key stringPrimeur Global/string keyfilter/key string (memberOf='cn=AddressBook,ou=Groups,dc=primeur,dc=com')/string keyhostname/key string192.168.20.115/string keyid/key stringPrimeur_LDAP/string keyisAddressBook/key stringYES/string keypasswordPolicy/key stringNO/string keyport/key string389/string keyscope/key stringSUB/string keytype/key stringldap/string /dict I've created a group on OpenLDAP and addess some users, but on the slapd log i've undefined filter. see the log : ldapserver:/var/log # cat messages | grep conn=2843622 Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 fd=65 ACCEPT from IP=192.168.20.115:43613 (IP=0.0.0.0:389) Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=0 BIND dn= method=128 Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=0 RESULT tag=97 err=0 text= Feb 26 10:23:31 atlante slapd[10022]: *conn=2843622 op=1 SRCH base=dc=primeur,dc=com scope=2 deref=0 filter=((cn=*)(?=undefined))* Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=1 SRCH attr=* Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text= Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=2 UNBIND Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 fd=65 closed What's wrong ? The Address Book make me crazy!!! Do you mean this bug? http://www.sogo.nu/bugs/view.php?id=2169 Kind regards, Christian Mack -- Christian Mack Gruppe Informationsdienste Rechenzentrum Universität Konstanz -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] - Ldap Filter don't work
Il 26/02/2013 14:59, Christian Mack ha scritto: Hello Dario Carbone Am 2013-02-26 10:27, schrieb Dario Carbone: Here my .GNUstepDefaults : dict keyCNFieldName/key stringcn/string keyIDFieldName/key stringuid/string keyMailFieldNames/key string(mail,)/string keySOGoLDAPQueryTimeout/key string20/string keyUIDFieldName/key stringuid/string keybaseDN/key stringdc=primeur,dc=com/string keybindFields/key array stringuid/string /array keycanAuthenticate/key stringNO/string keydisplayName/key stringPrimeur Global/string keyfilter/key string (memberOf='cn=AddressBook,ou=Groups,dc=primeur,dc=com')/string keyhostname/key string192.168.20.115/string keyid/key stringPrimeur_LDAP/string keyisAddressBook/key stringYES/string keypasswordPolicy/key stringNO/string keyport/key string389/string keyscope/key stringSUB/string keytype/key stringldap/string /dict I've created a group on OpenLDAP and addess some users, but on the slapd log i've undefined filter. see the log : ldapserver:/var/log # cat messages | grep conn=2843622 Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 fd=65 ACCEPT from IP=192.168.20.115:43613 (IP=0.0.0.0:389) Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=0 BIND dn="" method=128t Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=0 RESULT tag=97 err=0 text= Feb 26 10:23:31 atlante slapd[10022]: *conn=2843622 op=1 SRCH base="dc=primeur,dc=com" scope=2 deref=0 filter="((cn=*)(?=undefined))"* Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=1 SRCH attr=* Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text= Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=2 UNBIND Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 fd=65 closed What's wrong ? The Address Book make me crazy!!! Do you mean this bug? http://www.sogo.nu/bugs/view.php?id=2169 Kind regards, Christian Mack Hi Christian, I don't think, because i do the auth on Active Directory and the users search on OpenLDAP to load the Address Book. But I think there is something in filter parsing, but I don't know how is the code/script to do this. -- Carbone Dario | Primeur Sales Marketing IT Service Department Mobile:3488960584 | Email | linkedin | skype