[389-users] Re: can't modify userPassword with proxy user: after code debugging...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Roberto Polli wrote:
> Following http://www.mail-archive.com/fedora-directory-
> users at redhat.com/msg09799.html
>
> As of now, no solution but give to proxy user write access on entries..
> if you succeeded in another way you're welcome to post.
>
>
> I looked+gdb the code of modify.c: when I try to change userPassword another 
> flow is done.
>
> modify.c:
> ...
> if (has_password_mod):
> 	PasswordFlow
> 	return
>
> StandardFlow
> return
>
>
>
> in PasswordFlow, the function
>  op_shared_allow_pw_change() 
> change the password ignoring controls and evaluating proxy user access 
> permissions as a local user
>   
Thanks for debugging this.  So the problem is that 
slapi_acl_check_mods() at line 945 is failing?
> in StandardFlow, all the controls are evaluated and the proxy_dn is set
>
> To make a specific request using only the interesting controls, avoiding 
> evaluation of unneeded ones (), I used the following options to ldapmodify|
> passwd
> * -g  -R -J 2.16.840.1.113730.3.4.18 
>
>
> Peace,
> R.
>
>   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3258 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/389-users/attachments/20090810/5fe33c22/attachment.bin 


[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux