#50209 Ticket 50151 - lib389 support cli add/replace/delete on objects
Closed 3 years ago by spichugi. Opened 5 years ago by firstyear.
firstyear/389-ds-base 389-ds-base-1.4.0  into  389-ds-base-1.4.0

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

Pull-Request has been merged by firstyear

5 years ago

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

3 years ago
Metadata