Feature Request - Manage LDAP entries
I think it would be really valuable to have the ability to add/update entities in LDAP (users and groups mostly)
I know there is a ldapmod module, but it would be preferable if you could add users and groups just like useradd or groupadd, but point it to an LDAP server (maybe the config for that could be in the minion file?)
Would you like to see this as the ability to do the equivalent of ldapmodify with an ldif or specifically useradd/groupadd functionalities? or both?
That would probably be fine, as long as creating the state could be similar to states like postgresql_database work, where you specify the flags for that particular function, and what user / credentials to run as.
maybe something like:
fred:
ldap_user:
- name: fred
- bindcn: ldap-admin
- bindpw: some_ldap_account_passwd_with_write_priv
- uid: 1001
- gid: 1001
- home: /home/fred
- shell: /bin/csh
Accepting a password hash would be nice too
This would be cool! Thanks for the request!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.