By: Hamdi Bahrini user 14 Aug 2020 at 6:14 p.m. CDT

1 Response
Hamdi Bahrini gravatar
Hello community, is it possible to execute ldapsearch from a remote host to get an attribute like memberOf of a user ? is it possible to do it using an API ? Update: i found how to do it with [SCIM](https://gluu.org/docs/gluu-server/3.1.6/user-management/scim2/#retrieving-information-for-a-user) API, the problem now is that i'm not getting all the user informations, for example, i can't get the attribute oxExternalUid. When i open the GUI, this attribute is not in the user's information (see first screen capture) but when i use an LDAP browser i can see it (see second screen capture) ! first screen capture: ``` https://ibb.co/gmzqTtX ``` second screen capture: ``` https://ibb.co/dLy6HWV ```

By Chris Eland staff 17 Aug 2020 at 9:22 a.m. CDT

Chris Eland gravatar
Hello Ham Di! To perform remote connection to your remote opendj you can use remote tunelling `# ssh -L 1636:localhost:1636` and while the ssh connection is alive you will be able to search your remote LDAP base as `localhost`. (this is documented in our docs https://gluu.org/docs If you need further help please let us know what you are trying to achieve. Best, Chris