Re: [webmin-l] Changing LDAP user's password
"Jamie Cameron" <[email protected]>
| Newsgroups | gmane.comp.web.webmin.general |
|---|---|
| Message-ID | <[email protected]> |
On 12/Jun/2016 21:21 Paul R. Ganci <[email protected]> wrote .. > I tried to use the Change Password module to change a LDAP user's > password and it did not work. I have two questions related to this problem. > > 1.) I limited which modules the Webmin user could access. The Change > Password module was accessible but the LDAP server module was not. > Pretty much most modules are off limits to the admin with the Webmin > access. Does limiting access to other modules prevent the Change > Password module from changing the LDAP user's password in the LDAP database? No - as long as the change password module detects that a user is stored in LDAP, it will perform the password update there as well. > 2.) Is it possible to create a custom command instead of allowing Webmin > to work directly on the system data. For example, from the Change > Password module the /*user*/ and /*newpassword*/ are provided. If it > were possible to create a custom command ala: > > ldappasswd -D cn=Manager,dc=example,dc=com -y /etc/openldap/secret -s > /*newpassword*/ uid=/*user*/,ou=People,dc=example,dc=com > > where the /*newpassword*/ and /*user*/ as found from the forms then this > custom command would do the trick I need. Can a "Command to change > password" be constructed in the box such that the form data is used or > equivalently are there variables available for /*newpassword*/ and > /*user*/ found from the forms? > > Thanks for your suggestions. Currently, no - the change password module only updates either /etc/passwd or LDAP directly. ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e - Forwarded by the Webmin mailing list at [email protected] To remove yourself from this list, go to http://lists.sourceforge.net/lists/listinfo/webadmin-list