No commits found
Bug Description: We need a generic way to add/replace/delete on objects, that is not ldif. Ldif is wildly inaccessible and hard to use.
Fix Description: Add a "modify" generic to cli_base, that is used by user. It supports a syntax of:
modify <selector> <add|replace|delete>:<attr>:<value>
An example is:
... user modify demo_user add:objectclass:nsMemberOf
These can have many modifications in a single transaction:
user modify demo_user add:objectclass:nsMemberOf add:description:test
https://pagure.io/389-ds-base/issue/50151
Author: William Brown william@blackhats.net.au
Review by: spichugi, mreynolds, lkrispen (Thanks!)
@mreynolds I know you said you were happy for me to push this back to 1.3.x, but I'd like you to check none-the-less to be sure I haven't messed it up :)
LGTM
Pull-Request has been merged by firstyear
389-ds-base is moving from Pagure to Github. This means that new issues and pull requests will be accepted only in 389-ds-base's github repository.
This pull request has been cloned to Github as issue and is available here: - https://github.com/389ds/389-ds-base/issues/3268
If you want to continue to work on the PR, please navigate to the github issue, download the patch from the attachments and file a new pull request.
Thank you for understanding. We apologize for all inconvenience.
Pull-Request has been closed by spichugi
Bug Description: We need a generic way to add/replace/delete on
objects, that is not ldif. Ldif is wildly inaccessible and hard
to use.
Fix Description: Add a "modify" generic to cli_base, that is
used by user. It supports a syntax of:
modify <selector> <add|replace|delete>:<attr>:<value>
An example is:
... user modify demo_user add:objectclass:nsMemberOf
These can have many modifications in a single transaction:
user modify demo_user add:objectclass:nsMemberOf add:description:test
https://pagure.io/389-ds-base/issue/50151
Author: William Brown william@blackhats.net.au
Review by: spichugi, mreynolds, lkrispen (Thanks!)