on 2015 Jan 22 2:29 PM
Hello all,
we are using SAP Netweaver Application Server Java 7.40. I have to write a java program to create new user in LDAP:
....
IUserMaint user = UMFactory.getUserFactory().newUser(username);
...
IUserAccount userAccount = UMFactory.getUserAccountFactory().newUserAccount(username, user.getUniqueID());
By debugging i found the call "user.getUniqueID()" returned a null object. Why? I think the "uniqueID" should be created after running UMFactory.getUserFactory().newUser(username). Could someone help me? By the way the SAP Note 777640 i have read and configured our server following this article. But i got always the error:
com.sap.security.core.persistence.datasource.imp.ldap.LDAPBindException: Unique attribute is configured but during creation no unique attribute is provided nor fallback
Could someone help me? thx.
best regards,
Fanglin
Hi Fanglin,
Have you checked your LDAP connection if not, please first check your LDAP connection.
Thanks,
Hamendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
71 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.