Add an LDAP User manually

Community Server/Control Panel version: 12.1.1194
Type of installation of Workspace (docker, deb/rpm, exe): exe
OS: Windows Server 2016
Browser version: Firefox 109.0 (64-bit)

I want to add users who can log in via LDAP settings but I don’t want to sync with LDAP server for adding just a single user, since it will sync all of the users who are in LDAP just for adding one single person.

What I am trying to achieve is to create a user manually with all the correct LDAP credentials I have and then just add those extra credentials like sid and other ldap mapping attributes and the user should be able to login by using ldap username and password.

Focus is on not syncing all of the ldap users just to add one ldap user.
Thank you.

Hello @OnlyOfficeTester
There’s no way to add new user to portlal from LDAP server without LDAP sync in the Control Panel.

Okay. Thanks.

1 Like

If someone has the same case as mine where you only want to import 1 single user… You can try to add an LDAP search filter like so:
(&(userPrincipalName=*)(sAMAccountaName=example))

And then import user normally

1 Like

(&(userPrincipalName=*)(sAMAccountaName=example ))

We didn’t test this scenario, but if it works, we’re glad that you have managed the situation. Usually we recommend to use ‘Sync’ feature in the Control Panel.

This is also the normal sync process just with a different ldap search filter

1 Like