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]( 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: ``` ``` second screen capture: ``` ```

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 If you need further help please let us know what you are trying to achieve. Best, Chris