cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a user in the local ume database when using write access to connected ldap

Former Member
0 Kudos

Hello,

I have to create a user in the local UME database of an SAP Portal where the userstore is also connected to a ldap source with write access.

Due to write access the ume always tries to create the user in the ldap directory, but I don't want this.

Is there any way to choose the destination of a newly created user?

Many thanks

Roland

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello everyone,

I  solved the problem by a 'special' trick:

1.) Create the required user in an other portal where the default user store ist the local UME DB

2.) Export the user (a file is created with the necessary infos)

3.) Create the required user in the by portal where the ldap write access is possible but be aware and do not create a normal user. Create an 'internal service user' because it's default user store is the local UME db (see sap-xml file)

4.) Then you have to import the previously exported user into the portal with the flag 'overwrite existing settings' By this import the already existing user is changed from internal service user to 'normal' user and it's userstore stays local UME db

finished.

Hopefully anyone else with this problem can use this trick too.

Anyway thank you very much!

Roland

Former Member
0 Kudos

Roland, I have tried this and it does not alter the user form an internal service user. Can you send a example of your export file? mine has no references to the user type.

Former Member
0 Kudos

Hi Paul,

I've just tried what I wrote above again on one of our systems and unfortunately the procedure doesn't work anymore (We've made several updates on the systems). So it seems sap has "fixed" that.

Sry!

Roland

rupali_karbhari3
Active Contributor
0 Kudos

Hi,

Check if below thread helps:

http://scn.sap.com/thread/1776815

Thanks,

Rupali

SandipAgarwalla
Active Contributor
0 Kudos

Roland,

This will not be possible..

If you are using UME APIs to create users, they will always be created in the storage space the UME service points to, you will get exception if the User Store is set in Read Only Mode..

But what is the requirement, why do you need to create users in Portal DB when using LDAP????

Sandip

Former Member
0 Kudos

Hello Sandip,

the need of this comes out of monitoring purposes.

We are connecting all of our system (abap, java etc.) to our solution manager. We have many Portals with ldap user store for reading purposes and the mentioned one also with write acess to a specific destination in our MS Active Directory.

Now we've already connected our other portals to the solution manager and therefore created a monitoring user in each of the portal systems.

When we want to do this user creation also in our ldap writeable portal we have the conflict that this user (same username for all java systems) will also be visible for the other portals and therefor their logon ability with this user is gone because the sap systems aren't able to distinguish between the local monitoring user and the one in the ldap store.

And also we don't want to mix up our "normal" portal user with the monitoring purposes user in the ldap store.

Do you understand our need for this?

Thanks!

Roland