Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about delegation of control #442

Open
opoplawski opened this issue Nov 16, 2020 · 3 comments
Open

Question about delegation of control #442

opoplawski opened this issue Nov 16, 2020 · 3 comments
Milestone

Comments

@opoplawski
Copy link

opoplawski commented Nov 16, 2020

The active directory documentation states:

 Use Delegate control wizard within “User and computers”, then

    User Object
    Reset Password
    Write lockoutTime (if unlock is enabled)
    Write shadowlastchange

I don't follow this. On my 2012 AD server when I go through the wizard I get:

DOC

So I don't follow what "User Object", "Write lockoutTime", and "Write shadowlastchange" refer to exactly. Thanks for any help.

@opoplawski
Copy link
Author

Okay, I think this makes more sense if you read it as "Create a custom task to delegate" acting on "User objects".

However, that seems to still be insufficient permissions to change a user's password when "User must change password at next logon" is checked in AD.

ldap_int_select
read1msg: ld 0x56470ce56250 msgid 3 all 1
read1msg: ld 0x56470ce56250 msgid 3 message type bind
read1msg: ld 0x56470ce56250 0 new referrals
read1msg:  mark request completed, ld 0x56470ce56250 msgid 3
request done: ld 0x56470ce56250 msgid 3
res_errno: 49, res_error: <80090308: LdapErr: DSID-0C090446, comment: AcceptSecurityContext error, data 773, v2580>, res_matched: <>
ldap_free_request (origid 3, msgid 3)
ldap_int_select
read1msg: ld 0x56470ce56250 msgid 5 all 1
read1msg: ld 0x56470ce56250 msgid 5 message type modify
read1msg: ld 0x56470ce56250 0 new referrals
read1msg:  mark request completed, ld 0x56470ce56250 msgid 5
request done: ld 0x56470ce56250 msgid 5
res_errno: 50, res_error: <00000005: SecErr: DSID-031A1256, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0
>, res_matched: <>
ldap_free_request (origid 5, msgid 5)

And:

Password was refused by the LDAP directory

is displayed. Perhaps rights to change password must be given as well?

@opoplawski
Copy link
Author

No that still seems insufficient.

@coudot
Copy link
Member

coudot commented Nov 17, 2020

I do not have enough AD skills to answer you. If you think the documentation should be updated, please modify https://github.com/ltb-project/self-service-password/blob/master/docs/config_ldap.rst and propose a pull request

@coudot coudot added this to the 1.4 milestone Nov 17, 2020
@coudot coudot modified the milestones: 1.4, 2.0 Mar 29, 2021
@coudot coudot modified the milestones: 2.0, 1.6.0 May 12, 2023
@coudot coudot modified the milestones: 1.6.0, Backlog Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants