Hi, you were right the escape did things better, so request is now interprated but i still get a "bad filter" Error.
i finally found i was wrong on the way i do my request, i found a much easyer way to achieve what i need with ldapfetch !
i ldapsearch the users members of the group i need and then lists their group memberships, ldapfetch then go get cn and description of groups, muuuch better 🙂
| ldapsearch domain="default" search="(&(objectClass=user)(cn=*))" attrs="sAMAccountName,mail,memberOf"
| search memberOf="CN=Team_1,OU=Groupes,OU=...,OU=....,OU=Users,DC=domain,DC=com"
|mvexpand memberOf |ldapfetch dn=memberOf attrs="cn,description"
| table sAMAccountName mail cn description
| rename sAMAccountName AS user
| rename cn AS group_name
thanks for your help 🙂
... View more