0
@Attribute(name = "manager")
private String manager;

ldapTemplate.create(user);

The following code works when I have manager if I format the string like:

"manager": "CN=123456,OU=xxxx,OU=Users,OU=xxxx,OU=xxxx,OU=xxxx,OU=ASP,DC=xxx,DC=local"

But how do a store a user without a manager? Null or empty manager String does not work.

I am using javas spring-ldap

1 Answer 1

0

Null seems to be what is correct for empty fields in ldap

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.