Post Reply 
 
Thread Rating:
  • 1 Votes - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AD User looses profile settings after logging off
09-Jul-2012, 02:58 AM
Post: #1
AD User looses profile settings after logging off
I have successfully joined precurio to my windows Active directory and users can login using their AD credentials. I have created a default user role for all users. When even a new user logs in I place he/her in that role. The user the refreshes the precurio page and all links appear. however, once the user logs off and logs in again the user gets a guest page with 2links on the main menu ('home' and 'my page')
I need users to have the profile intact, how do i got about this?
Find all posts by this user
Quote this message in a reply
09-Jul-2012, 03:38 AM
Post: #2
RE: AD User looses profile settings after logging off
I am glad you've got most of the issues sorted out.

First an explanation.
When you integrate Precurio with your active directory, Precurio immediately relies on the active directory for user and group management.
So when you integrate with AD, users added through Precurio cannot login neither will groups added via Precurio work.

When an AD user logs in, Precurio syncs all his group membership from the AD, so any user-group membership done through Precurio will be lost. For example, if a user is added to a Precurio group called "Staff", if that user logs in the next time, the user is removed from the group, because according to AD, the user does not belong to any "staff" group. This is exactly what is happening in your case.

Solution
When you integrate Precurio with AD, you don't need to do any user & group management. You will simply rely on the AD.
Automatically, AD groups will be imported to Precurio each time a user member logs into Precurio. So pick any of the appropriate AD groups and convert them to Precurio roles (you do this by editing the group). You can then configure the access rules on those roles.

Hope you understand?
Find all posts by this user
Quote this message in a reply
09-Jul-2012, 04:35 AM
Post: #3
RE: AD User looses profile settings after logging off
(09-Jul-2012 03:38 AM)mayorbrain Wrote:  I am glad you've got most of the issues sorted out.

First an explanation.
When you integrate Precurio with your active directory, Precurio immediately relies on the active directory for user and group management.
So when you integrate with AD, users added through Precurio cannot login neither will groups added via Precurio work.

When an AD user logs in, Precurio syncs all his group membership from the AD, so any user-group membership done through Precurio will be lost. For example, if a user is added to a Precurio group called "Staff", if that user logs in the next time, the user is removed from the group, because according to AD, the user does not belong to any "staff" group. This is exactly what is happening in your case.

Solution
When you integrate Precurio with AD, you don't need to do any user & group management. You will simply rely on the AD.
Automatically, AD groups will be imported to Precurio each time a user member logs into Precurio. So pick any of the appropriate AD groups and convert them to Precurio roles (you do this by editing the group). You can then configure the access rules on those roles.

Hope you understand?
Thanks Mayorbrain
This is interesting, I checked the groups and found all groups there.
However, i locked myself out. (but I think this will work for me) thnaks a mil.
Find all posts by this user
Quote this message in a reply
09-Jul-2012, 07:43 AM
Post: #4
RE: AD User looses profile settings after logging off
I managed to unlock myself.
However, the steps provided above did not work.
This is how my config is: I have domain admins as a group, i made it a role, but after a domain admins member logged in the settings get lost. (same problem as my original post).
Find all posts by this user
Quote this message in a reply
09-Jul-2012, 07:55 AM
Post: #5
RE: AD User looses profile settings after logging off
Confirm the following

  1. The Role "Domain Admin" still exists
  2. The access rules on role "Domain Admin" still exists
  3. The user is still a member of the "Domain Admin" role


Typically, the answer to all this should be yes.
Find all posts by this user
Quote this message in a reply
09-Jul-2012, 08:17 AM
Post: #6
Thumbs Up RE: AD User looses profile settings after logging off
1. The Role "Domain Admin" still exists (Role exists)
2. The access rules on role "Domain Admin" still exists(Rules exist)
3. The user is still a member of the "Domain Admin" role (User is still a member)
Find all posts by this user
Quote this message in a reply
09-Jul-2012, 08:25 AM
Post: #7
RE: AD User looses profile settings after logging off
I have experienced a weird case with a client where users are created again each time they login.
Please confirm that this is not the case, go through the database table p2_users, do you notice any repetitions?
Find all posts by this user
Quote this message in a reply
09-Jul-2012, 08:26 AM
Post: #8
RE: AD User looses profile settings after logging off
also go through users_details.
Find all posts by this user
Quote this message in a reply
09-Jul-2012, 08:41 AM
Post: #9
RE: AD User looses profile settings after logging off
(09-Jul-2012 08:25 AM)mayorbrain Wrote:  I have experienced a weird case with a client where users are created again each time they login.
Please confirm that this is not the case, go through the database table p2_users, do you notice any repetitions?

This is strange, I found repetition of user accounts.
What is the remedy for this?
Find all posts by this user
Quote this message in a reply
09-Jul-2012, 08:49 AM
Post: #10
RE: AD User looses profile settings after logging off
It took me having a look at their AD setup to figure out the issue. But if I remember correctly, the problem had to do with the "mail" property of the AD users not being the same as their email address, which is not typical.

Please confirm that this is the same setup you have (i.e. mail property not the correct email address)
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Adding extra profile fields Kain 2 438 16-Feb-2013 09:45 AM
Last Post: gurdain
Exclamation Acitivity profile error! ivanb 1 403 31-Dec-2012 09:43 AM
Last Post: ivanb
  Update Profile Fail weiherd 4 781 21-Aug-2012 04:25 PM
Last Post: Kain
  profile home page problem Nirmit Modi 1 433 09-Jul-2012 07:29 AM
Last Post: mayorbrain
  portal settings configuration Nirmit Modi 1 432 04-Jul-2012 04:30 AM
Last Post: mayorbrain
  Mail settings dimple19gera@gmail.com 1 501 27-Jun-2012 07:42 AM
Last Post: mayorbrain
  View Profile Link Error Forlanpunisher 1 761 13-Jan-2012 11:27 AM
Last Post: mayorbrain
  User Profile error cbell@elitesurgicalaffiliates.com 1 858 25-Aug-2011 08:07 PM
Last Post: mayorbrain

Forum Jump:


User(s) browsing this thread: 1 Guest(s)