ldap - Writing a linux bash script to add a user to a group in eDirectory -
i want write shell script bulk add users group in edirectory. trouble is, i'm not sure begin regarding ldap calls , whatnot task. can point me helpful resource or demonstrate method accomplishing task?
using straight-up ldap fine, imagine there must exist faster utilities/constructs can used in shell.
netiq's ldapconfig or ndsconfig utilities seemed promising, don't see adding user group in documentation.
turns out, don't have code solution this. instead of selecting each item , adding them group, there's tool buried deep inside imanager allows select users matching set of conditions , add them group.
Comments
Post a Comment