on 01-14-2015 3:34 PM
Hi,
I have a lot of portal users maintained in LDAP and they belong to some existing groups. I am using the Import application within User Adminisration to update some fields:
[User]
UID=TestTest
Language=en_GB
com.sap.security.core.usermanagement:DataTimeout=1800
$usermapping$:DEVCLNT300:user=10054512
group=newgroup;
This works fine but it removes all the groups to which TestTest has already been assigned. Can someone tell me if this can be avoided?
Cheers,
Russ.
In the Import of User/Group/Role Data screen, there's a check box for 'Overwrite Existing Data' directly below the Plain Text Upload box and immediately above the Upload button... I'm assuming you have that selected. If you de-select it, the data should be merged and your existing Portal groups should be maintained.
If you've tried that and the groups are still overwritten, you could work around the issue by first exporting your Portal users and then merging this data with your existing import file to be sure that existing groups are also referenced. It's not ideal, but would work around the obvious bug you're encountering.
<KC>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Before I start, this is the export of user TestTest:
[User]
uid=testtest
last_name=test
accessibility=0
role=
group=oldgroup2;oldgroup1;
If I then Import the following without the overwrite flag checked:
[User]
uid=testtest
last_name=test
accessibility=0
role=
group=newgroup;
I get an error saying 'Exists' and no update is made.
If I mport the above with the overwrite flag checked:the result is:
[User]
uid=testtest
last_name=test
accessibility=0
role=
group=newgroup;
i.e. no more oldgroups! Rubbish!
Yeah, that's unfortunate. You'll be stuck exporting your users and merging this with your other import file to retain group memberships.
Unless... just thought of something... what if you exported your groups from Portal, instead of users. You could run the same import file you've already got and then run an import of the groups that you just exported and it should re-add those users back to the groups.
Again, not ideal... but it only adds two steps (groups export at very beginning and group import at very end).
<KC>
You need to specify the PORTAL groups to which you want this user to belong in your input file. The entry you showed in your post would only add this user to the 'newgroup' group in Portal. If the groups that user belongs to in LDAP don't exist in Portal, create them first and then make sure they're specified in the group= property for each user.
Did you extract your LDAP user information with LDIF? Your LDIF query should ask for group memberships and you can cut/paste that info for your Portal import.
<KC>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.