salt icon indicating copy to clipboard operation
salt copied to clipboard

Feature Request - Manage LDAP entries

Open m87carlson opened this issue 12 years ago • 4 comments

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?)

m87carlson avatar Jan 30 '14 23:01 m87carlson

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?

tedski avatar Feb 01 '14 23:02 tedski

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

m87carlson avatar Feb 02 '14 23:02 m87carlson

This would be cool! Thanks for the request!

basepi avatar Feb 05 '14 22:02 basepi

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.

stale[bot] avatar Dec 10 '17 17:12 stale[bot]