0 votes

1) What Adaxes permissions does a user need to be able to view the log of a scheduled task? I have a user who has the builtin 'Service Log Inspector' (Read General Service Log and Read Loggin Information) permissions but they are unable to read the logs of scheduled tasks.

2) I want to run a scheduled task for users who have enrolled for Self-Service (a monthly reminder to reset their answers if they've now forgotten them) and another for those who haven't (to enroll), is there an attrinute that I can use to trigger this different behaviour (i.e. adm-PasswordSelfServiceEnrollmentInfo).

3) Is there any way to control the objects returned in searches other than by controlling a users ability to see them? The search is perfect for pure 'business' users who have restricted access to objects (real user accounts), but once they have access to service accounts etc there is no obvious way of stripping these out and the searches start returning confusing results. This is obviously quite a complex area - I was thinking maybe by removing 'List Object' permissions they may not show up in lists i.e. searches, but we could still someone let them see them via a controlled action (somehow!).

4) What permissions are required for a user to see their Password Time Remaining? The built-in Self-Service role doesn't allow the user to see this unless they also have the Domain User role - which as question 3 implies means that they then see all objects, inc service accounts etc in searches.

5) Odd thing - maybe our network/DC replication times... When changing an account password via Adaxes it's definately working, as immediately locking and unlocking the PC requires the new password, however, we can still login to the Adaxes web UI using the old password.

6) Similar to 3) A 'self-service' user can see the DL's they are in, but not those that others are. Funnily enough this may be what we want, but I want to ensure that we can allow them to view some groups (based on the OU they are located in etc). When I view 'a.n.other' users account, the 'DL membership' view is empty - I browse to a group I know they are in, and I can see it, and see the user is a member - so I must be missing read-access to an esoteric attributute of the user object (I have granted Read group membership etc).

Sorry for the growing list of questions - we're looking to go live next week so I'm starting to put together the initial UI for end-users.

Rgds

by (1.6k points)

1 Answer

0 votes
by (216k points)
  1. What Adaxes permissions does a user need to be able to view the log of a scheduled task?

The thing is that you cannot grant certain permissions to certain types of Adaxes Configuration objects (like only Scheduled Tasks, or only Business Rules etc), you can only grant permissions to all Adaxes Configuration Objects. This is because if your users are not granted the permission to view all configuration objects, they will not be able to browse inside the Configuration container and its subcontainers. So, what you can do is to assign the built in Domain User Security Role to the users you need and include Configuration Objects into the Activity scope of the Task. However, keep in mind, that in this case your users will be able to see all Adaxes configuration objects.

  1. I want to run a scheduled task for users who have enrolled for Self-Service (a monthly reminder to reset their answers if they've now forgotten them) and another for those who haven't (to enroll), is there an attrinute that I can use to trigger this different behaviour (i.e. adm-PasswordSelfServiceEnrollmentInfo).

There is no built in condition to check whether a user is enrolled with Password Self Service, but you may do this with an If PowerShell script returns True condition. The thing is that any user object in Adaxes exposes the IAdmPasswordSelfServiceOps interface that can be used to check whether an account is enrolled for Password Self-Service. For this purpose, you need to check the value of the IsEnrolled property of the interface. To check whether a user is enrolled in a Scheduled Task:

  1. Create a new Scheduled Task.

  2. On the 3rd step of the Create Scheduled Task wizard, select the User object type.

  3. On the 4th step, add an action that the task should perform when the user is enrolled for Password Self Service, for example, Send e-mail notification and click OK.

  4. Press the Add Condition button.

  5. Select the If PowerShell script returns True condition.

  6. Specify the following PowerShell script in the Script field:

     $Context.ConditionIsMet = $Context.TargetObject.IsEnrolled

  7. Enter a short description for the script and click OK.

  8. Click the Add action to a new set link.

  9. Add an action that the task should perform when the user is not enrolled for Password Self Service and press the Add Condition button.

  10. Select the If PowerShell script returns True condition.

  11. Specify the following PowerShell script in the Script field:

     $Context.ConditionIsMet = !($Context.TargetObject.IsEnrolled)
  12. Enter a short description for the script and click OK.

  1. Is there any way to control the objects returned in searches other than by controlling a users ability to see them?

Currently, there is no possibility to hide objects from users only in search result lists. If you hide AD objects from users, they will not be available to users anywhere in Adaxes environment.

  1. What permissions are required for a user to see their Password Time Remaining?

The users need to be granted the permission to read the Domain-DNS object that represents the domain they are located in. Additionally, if you use fine-grained password policies in the domain, the users need to be granted the permissions to read the container that stores fine-grained password policies for the domain. The Distinguished Name (DN) of the container is CN=Password Settings Container,CN=System,DC=domain,DC=com, where DC=domain,DC=com is the DN of your domain.

When changing an account password via Adaxes it's definately working, as immediately locking and unlocking the PC requires the new password, however, we can still login to the Adaxes web UI using the old password.

The thing is when you change a password for a user, Active Directory still allows access with the old password for a certain amount of time using the LDAP protocol. And since Adaxes uses the LDAP protocol to access Active Directory, you can still login with the old password for that amount of time.

  1. Similar to 3) A 'self-service' user can see the DL's they are in, but not those that others are. Funnily enough this may be what we want, but I want to ensure that we can allow them to view some groups (based on the OU they are located in etc). When I view 'a.n.other' users account, the 'DL membership' view is empty - I browse to a group I know they are in, and I can see it, and see the user is a member - so I must be missing read-access to an esoteric attributute of the user object (I have granted Read group membership etc).

It looks like the user, with the credentials of which you are trying to view group members, does not have successful permissions to read the MemberOfGuid and DirectMemberOfGuid properties of user objects. In this case, the Member Of section of those user objects, which the user cannot view membership for, will not function normally. This is a bug that will be fixed in our next version.

As a workaround for now, you can grant your users the permissions to read these properties. For this purpose you need to create a new Security Role that grants the necessary permissions or modify an existing Security Role and add the necessary permissions to it. To do this:

  1. Launch Adaxes Administration Console.

  2. Expand the service node that represents your service.

  3. Right-click any object under the expanded service node, point to New, and then click Security Role.
    or
    Expand Configuration / Security Roles and select the Security Role you want to modify.

  4. On the 2nd step of the Create Security Role wizard, click Add.

    or
    Click the Add button above the list of permissions.

  5. In the Add Permissions dialog that appears, select the User object type.

  6. Select the Show all properties option.

  7. Select the Read 'MemberOfGuid' Property and Read 'DirectMemberOfGuid' Property permissions in the Property-specific permissions section.

  8. Click OK.

  9. Finish creation of the Security Role.
    or
    Save the modified Security Role.

0

Many thanks for your detailed responses! I do believe your public forums are one of these best I've used!

Rgds

0

Off topic...I will say Adaxes forums and support is BY FAR the best support of any software we've ever owned. Hands down one of the greatest products we've came across to manage AD. I honestly can't say enough good about them to do them justice...just my .02

Related questions

0 votes
1 answer

Hi: With LAPS using new schema and encryption, is there a way to return that with Adaxes? Thanks!

asked May 30, 2023 by crobitaille (80 points)
0 votes
1 answer

When reviewing approval tasks in the console under the properties of an existing request, you have the ability to ADD approvers to the request. The request is then available under the ... thats supposed to happen and this is a bug, please let me know. Thanks!

asked Jun 8, 2012 by mpaul (360 points)
0 votes
1 answer

We have four OUs in Active Directory (Pending Deletion, Disabled with Mail Delegates, Disabled with HR Extensions and Disabled_Temp_Leave) that users are moved to prior to their eventual ... past 7 days have been moved to one of 4 of these OUs. Thanks!

asked Jun 3, 2021 by RayBilyk (240 points)
0 votes
1 answer

I need a way of triggering a business rule based on the user (and not the group) being added or removed from a group. The reason I would like this triggered on the user is so ... prefer not to do that. I am checking to see if there is another way to do this.

asked May 16, 2023 by mark.it.admin (2.3k points)
0 votes
1 answer

Hi, I've tried to modify a existing report to my needs, without success. The requirement ist to see the add/moved from a group. Like here: Would this be possible with Adaxes? Thanks

asked Feb 20, 2023 by boris (530 points)
3,548 questions
3,239 answers
8,232 comments
547,814 users