General discussion on installation and configuration of SOGo

Text archives Help


Re: [SOGo] Button to expand LDAP groups in mail editor is not shown


Chronological Thread 
  • From: "Lars Liedtke" ( ) < >
  • To:
  • Subject: Re: [SOGo] Button to expand LDAP groups in mail editor is not shown
  • Date: Fri, 17 Jan 2020 15:36:04 +0100
  • Autocrypt: addr= ; prefer-encrypt=mutual; keydata= mQINBFqZsngBEAC2qgHHKyTYnOxr/giErojNdDHd4x+8snzW0F6cInzagVySiM6+htoBmUsX uIUCrbsdS4jkADo9fIs0DHfmNWs1Fgp5BWlgNIYV3+P6K756YMFlr/Q2p3ddsJ/YZ5rnkWE5 bNMOQgY9Hdl0kPB1leWy0gRyVjbwU0mv6JimA+Y4e43TG8qKGd4n26h6dUirDjjrc4esMUjz cPMobbcStYR79D2llJWdSVeYgg40E5MeExATTC7sNL9RJPcEOKHCYI1Kn85nvJw98iFyMYlh lcSKqUJhpJ20D7U0DOFJKzY/Ox0+nmmcUchspvSGgAeuBV+fvSJYH1yQnCzz+T2uBcO8JVPO aNKuZ25ruN4ILN5b3dhCTS/aR/A35QyGb9N2SR9Hb0o1L7FEu33JDT+kUeH+4sOSbuNFtadF GyfS+eCfpQvw4/Xua4nGwKkKe35ht3eeuQvzFaxNac1lvMIaHRcq93Sh3k9emVCYP7s4MhA1 OR0THAM5VHgfYIg17m1gvKnqFtgA0AmCDBn8PhYFEEUZWQ5dKQCcfylv8RTrv5qK5iiHBNjJ Mo83ZRb/o+OPzq3Rzt7VM0zZL0jdIGJ2Gn3mD2IybHv+TfcdGtF7RE0/TVacv1TdCn8F2L8q nVkTP22rdyqicydS2qUGxFTfoRAaO29fWGrW77HFyycROP4TbQARAQABtB9MYXJzIExpZWR0 a2UgPGxpZWR0a2VAcHVua3QuZGU+iQI9BBMBCAAnBQJambJ4AhsjBQkJZgGABQsJCAcCBhUI CQoLAgQWAgMBAh4BAheAAAoJEN1tdE7BYoBiVX8QALOtAPS1Nf9qOkn4Mox7CfM7QYcu4XTg SSpYrfr3p27k09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CFb+EeHPLGc6ItPw1sRCI6utzxLdpB3HONimjDjLfmvPS/mm5sClu76RM WVxw5uy6dmHiAJpycMUgnyOcAjLrQVlenObpAe5EVQmcazpWkpmuhnEl1bZQpaBftkzs5kKP 30s8dLlraBYyzxYytjUW+47pOWdYYvlF4yjp5cNyegXUQGnKgJH0p+UoMBAFplY3eNxP3mlA KT8oVY9w23+m8ZOsOPAlH1bhOvcsb9lkh1KOIUuUQxkk0NSOs5IpxQARAQABiQIlBBgBCAAP BQJambJ4AhsMBQkJZgGAAAoJEN1tdE7BYoBiZHQP/3q9o8ENdGo4K7daesUmiBuedP05uLDa TXxck+7K1IsX6GpTnUMyiYm7cu/IyrhlkZBe9TaLPaOo0HEN1W7jr8PLxKtbOwQ0dIHOIi60 4DrkqvFQKH1fARaq7YJJS7DRUin5n4/hcIpoSn273kEqby8BZpsL+kB8gtIbTtVpSwJfhobh dxHBi+NlMas7KYZ8aTuNOKJTS27PjQMfeEzf8u6Hb4JSsNYuQoyoSTyBkKksx3UbjXUvESKY I3uyTF7mVXJ0hvhX4QK3XOqwTfkT8NMzc/Xkdm9iaWrap74v9vfG1Vn8KhCRSQkyjbuDuocF PEtcIEJjU1WJmIdK60X03BJUYlH3CRthJOateCZWDTOSzBIZV+JV3cnV2kx9j9+nmnTQ1yQe bpnL7OtxSONH9t+gWHuGaIX5k/Bf2Ea7cSHLm8cvza25aIQRxfqmkBrR48U1lUSZTLULxzO3 OeJacjXWGewZzJl7ecobpgs4MM7yollhKzr+1sq2SMNcVL3s+8WfeZeCorm6GJLUiABHLlr/ ISWVpM730Jc0V9PyPFAsMPQRa24FsZl8goHvp/5khoM4cvNtplh64ny83ieRjCUnQgSdhkW9 fdYhqFgfJNCacLCGxZdGrEs3F5UAtUS2nplIbODUtYQcy3Qdd+rblY8A9UTPAUCxXVLi9K6i Gk7o
  • Dmarc-filter: OpenDMARC Filter v1.2.0 mail.inverse.ca F39721DE51FE
  • Openpgp: id=874309C0D7DAE723E56F50F6DD6D744EC1628062

Hello Francis,

Thank you, that worked. But some groups show a "0" the team and don't expand.

In the log I see the following:

Jan 17 15:31:46 sogod [38517]: <0x0x811ebc598[NGLdapConnection]> Using ldap_initialize for LDAP URL: ldap://127.0.0.1:389
2020-01-17 15:31:46.696 sogod[38517:100191] -[NGLdapConnection _searchAtBaseDN:qualifier:attributes:scope:]: search at base 'ou=mitarbeiter,dc=intern,dc=punkt,dc=de' filter '(cn=Team-mOps)' for attrs '*'
Jan 17 15:31:46 sogod [38517]: <0x0x80f2c9858[NGLdapConnection]> Using ldap_initialize for LDAP URL: ldap://127.0.0.1:389
2020-01-17 15:31:46.726 sogod[38517:100191] -[NGLdapConnection _searchAtBaseDN:qualifier:attributes:scope:]: search at base 'ou=mitarbeiter,dc=intern,dc=punkt,dc=de' filter '(&(|(samaccountname=Team-mOps)(mail=Team-mOps)(userPrincipalName=Team-mOps))(|(&(&(ObjectClass=user)(|(memberOf=CN=OX-Test-Users,OU=Mitarbeiter,DC=intern,DC=punkt,DC=de)(memberOf=CN=OX-Users,OU=Mitarbeiter,DC=intern,DC=punkt,DC=de)))(!(UserAccountControl:1.2.840.113556.1.4.803:=2)))(ObjectClass=group)))' for attrs '*'
Jan 17 15:31:46 sogod [38517]: |SOGo| request took 0.049511 seconds to execute                                                                                │
Jan 17 15:31:46 sogod [38517]: 172.17.28.1 "GET /SOGo/so/ry86/Contacts/punkt.de_directory/Team-mOps/members HTTP/1.1" 405 22/0 0.050 - - -

While with those groups that work there is a 200 there and then it starts querying for the team members. I can't see a notable difference inside the AD between the definitions of thos teams. Any Idea?

Lars

Am 17.01.20 um 14:44 schrieb Francis Lachapelle ( ):
Hi Lars

When the parameter SOGoLDAPGroupExpansionEnabled is set to YES in sogo.conf, a new button should appear to expand groups in the mail editor and attendees editor:




Francis

On Jan 17, 2020, at 7:54 AM, Lars Liedtke ( ) < > wrote:

Hello Christian,

did I misinterpret this "mail(js): new button to expand recipients that
are LDAP groups" in
https://github.com/inverse-inc/sogo/releases/tag/SOGo-4.2.0 then?
Best regards

Lars

Am 17.01.20 um 13:49 schrieb Christian Mack
( ):
Hello

AFAIK: Those buttons only exist for attendees and privileges, not for
emails.
Emails will be sent to the group email address, which are resolved
into recipients by the SMTP and/or IMAP server.


Kind regards,
Christian Mack

Am 17.01.20 um 11:04 schrieb Lars Liedtke ( ):
Hello all,

I saw that with SOGo 4.2.0 a button has been added to expand LDAP groups
in the mail editor.

But I seem to be unable to meet the requirements to get the button
enabled. In the calendar the groups are expanded. So There the
requirements are met. Which Fields have to set (and how) in the LDAP (AD
in my case) so that this very useful functionality can be activated?

An example of our groups (redacted with privacy things, e.g. the group
has more members than me):

version: 1

dn: CN=Team-mOps,OU=Mitarbeiter,DC=intern,DC=punkt,DC=de objectClass: group
objectClass: top
groupType: -2147483646
instanceType: 4
objectCategory:
CN=Group,CN=Schema,CN=Configuration,DC=intern,DC=punkt,DC=de cn: Team-mOps
distinguishedName: CN=Team-mOps,OU=Mitarbeiter,DC=intern,DC=punkt,DC=de dSCorePropagationData: 20101124131241.0Z
dSCorePropagationData: 16010101000001.0Z
mail:
member: CN=Lars Liedtke,OU=Mitarbeiter,DC=intern,DC=punkt,DC=de
name: Team-mOps
sAMAccountName: Technik
sAMAccountType: 268435456
uSNChanged: 11268255
uSNCreated: 8391


Best Regards

Lars

---
punkt.de GmbH
Lars Liedtke
.infrastructure

Kaiserallee 13a   
76133 Karlsruhe

Tel. +49 721 9109 500
https://infrastructure.punkt.de


AG Mannheim 108285
Geschäftsführer: Jürgen Egeling, Daniel Lienert, Fabian Stein

--

https://inverse.ca/sogo/lists
-- 
— 
punkt.de GmbH
Lars Liedtke
.infrastructure

Kaiserallee 13a	
76133 Karlsruhe

Tel. +49 721 9109 500
https://infrastructure.punkt.de

 

AG Mannheim 108285
Geschäftsführer: Jürgen Egeling, Daniel Lienert, Fabian Stein

PNG image

Attachment: 0xDD6D744EC1628062.asc
Description: application/pgp-keys




Archive powered by MHonArc 2.6.18.

Top of page