Skip to main content
Question

LDAP List users

  • July 24, 2026
  • 10 replies
  • 131 views

Iain Sharp
Forum|alt.badge.img+5

I’d like to configure the system to read the LDAP list of users (Name and SamAccountName). 
I have perused the documentation on creating an LDAP path, and defining ‘entities’ to allow for data retrieval. However, I am utterly lost, as I have no knowledge whatsoever if the underlying structure to be able to make out the definition of the ‘entity’. 

This seems to be untestable in a step by step way, you have to have the server, organisation, etc all in place to do a test, and I don’t know if my selected answers for any of them are in the right ballpark so I can’t configure a baseline test. 

Has anyone got a simple ‘person’ entity for LDAP I can ‘borrow’? 
Regards, 
Iain

10 replies

Juliano Anoar Haoach Garcia
Forum|alt.badge.img+1

Juliano Anoar Haoach Garcia
Forum|alt.badge.img+1

Juliano Anoar Haoach Garcia
Forum|alt.badge.img+1

[DRIVER_SETTINGS]
LDP = U3.0
USYS$LDP_PARAMS nulldefault=N

[PATHS]
$LDP LDP:dc01.abc.co.uk+389:DC=abc,DC=co,DC=uk|CONTOSO\svc_ldap|senha

[ENTITIES]
*.ldap    = $LDP:*.*
user.ldap = user@DC=abc,DC=co,DC=uk
userfin.ldap = user@OU=Finance,DC=abc,DC=co,DC=uk


Iain Sharp
Forum|alt.badge.img+5
  • Author
  • Inspiring
  • July 24, 2026

Hi, thanks for this, I’d found most of that. The question was “What does the entity “user.ldap” look like in the model.” The model example is for “Uniquenames”. 
 

Regards, 

Iain


Juliano Anoar Haoach Garcia
Forum|alt.badge.img+1

Hi Iain Sharp,

 

Did you manage to get LDAP working?


Iain Sharp
Forum|alt.badge.img+5
  • Author
  • Inspiring
  • July 29, 2026

Not as yet. I had copilot suggest to me what I might put in the dummy entity, but now I get authentication errors regardless of what combinations of usernames etc I put in the login options. 

 


Iain Sharp
Forum|alt.badge.img+5
  • Author
  • Inspiring
  • July 29, 2026

So, I’ve defined the path as 

$LDP LDP:server+389:DC=profit,DC=local|?|?

 

If I don’t fill in a username and password I get “Operations Error”. 
If I do, then I get the login screen re-prompt and a “Credentials error”

I have tried

DOMAIN\user, password

user, password

CN=Iain Sharp,CN=Users,DC=profit,DC=local  with and without password. 

The ‘entity’ has a read trigger of 
 

trigger read
; This trigger is fired as part of the retrieve process.
; Make sure not to leave the context of this occurrence, it would disrupt the trigger flow and give unpredictable results.

read u_where objectclass="user"

end

If I completely change the server name I get an error, but it takes longer to resolve it in the DNS, so I think I am at least getting to the right server. Other than that, the errors are not terribly diagnostic for this ‘fire in the dark’ test. 


Jason Huggins
Forum|alt.badge.img

Hi Iain,

 

Please see the attached video that I hope will address your questions.

 

Cheers,

 

Jason.


Juliano Anoar Haoach Garcia
Forum|alt.badge.img+1

Hi Jason

Thank you for the explanation, it was very good.


Iain Sharp
Forum|alt.badge.img+5
  • Author
  • Inspiring
  • August 13, 2026

HI Jason, 
Its taken a while for me to get to it, but the video looks good. It spurred me to look for ldap browsers, and the one I downloaded gets the same ‘operations error’ as I think I get from the configured Uniface. 

I will continue to thrash about to try and work out which nit of vital information I am missing (which might be that our AD is explicitly blocking these attempts, although powershell can query it.) 

Regards, 

Iain