Hello Laurie,

I do think that you are missing your cn in the query:

/usr/bin/ldapsearch -x -h myhost.com -b "OU=Workgroups,DC=cern,DC=ch"
"(member:X.X.XXX.XXXXX.X.X.XXXX:=cn=lurodrig,ou=users,ou=organic
units,DC=myorganization,dc=com)" cn

Hope it helps,

Luis


2018-05-22 22:34 GMT+02:00 Laurie Miller-Cook <
laurie.miller-c...@larmerbrown.com>:

> Hi there,
>
>
>
> This is a bit of a long shot but I wanted to see if anyone could assist.
>
>
>
> I have an installation of SAP Enable Now, which is a war file placed
> within Tomcat.
>
>
>
> As part of the installation I need to query the MS LDAP server to get a
> list of the users. I know that the connection to the LDAP server is working
> as I can import a list of Groups into Enable Now, but when I try specifying
> to pull the users from a security group I get nothing.
>
>
>
> I use the below LDAP Query, which I have tested in a custom search on the
> Windows server and it does return the list of users that I am after.
>
>
>
> (&(objectClass=User)(memberOf:1.2.840.113556.1.4.1914:= 
> CN=Users,OU=Distribution
> Groups,OU=Finance,OU=London Campus,OU=United Kingdom,OU=Europe,DC=global,
> DC=<domain.,DC=com))
>
>
>
> Does anyone know why the query is not returning the expected list of users?
>
>
>
> Best regards
>
>
>
>
>
> *Laurie Miller-Cook*
>
> *dd:* +44 (0)1252 607220
>
> *e: *laurie.miller-c...@larmerbrown.com
>
>
>
> [image: cid:image008.jpg@01D1C255.36AD22A0]
>
> *t*: +44 (0)1252 607220
>
> *w*: www.larmerbrown.com
>
> 8 Murrell Green Business Park, London Road, Hook, Hampshire, RG27 9GR UK
>
> *[image: cid:image009.png@01D1C255.36AD22A0]*
> <https://plus.google.com/+Larmerbrown/posts>*[image:
> cid:image010.png@01D1C255.36AD22A0]*
> <http://www.youtube.com/c/Larmerbrown>*[image:
> cid:image011.png@01D1C255.36AD22A0]*
> <http://www.linkedin.com/company/larmer-brown-consulting>*[image:
> cid:image012.png@01D1C255.36AD22A0]* <https://twitter.com/LarmerBrown>*[image:
> cid:image013.jpg@01D1C255.36AD22A0]*
> <http://www.slideshare.net/HelenEwins>*[image:
> cid:image014.png@01D1C255.36AD22A0]* <http://www.larmerbrown.com/blog2>
>
>
>



-- 

"Ever tried. Ever failed. No matter. Try Again. Fail again. Fail better."

- Samuel Beckett

Reply via email to