[Freeipa-devel] Re: [PATCH] Add option in baseldap classes to display unaltered LDAP entries.
Rob Crittenden
rcritten at redhat.com
Wed Aug 5 13:21:18 UTC 2009
Pavel Zuna wrote:
> The option in question is '--raw'.
>
> In the future all plugins (extending classes in baseldap) will have 2
> types of output - one "human-readable" and one "raw" (as stored in LDAP).
>
> It's going to look something like this:
>
> # ./ipa user-show pzuna --all
> ----------
> user-show:
> ----------
> User: pzuna
> user id: pzuna
> full name: Pavel Zůna
> first name: Pavel
> last name: Zůna
> home directory: /home/pzuna
> login shell: /bin/sh
> uid number: 1224
> gid number: 1002
> gecos: pzuna
> kerberos principal: pzuna at PZUNA
> member of groups: ipausers, dráčci
>
> # ./ipa user-show pzuna --all --raw
> ----------
> user-show:
> ----------
> dn: uid=pzuna,cn=users,cn=accounts,dc=pzuna
> uid: pzuna
> cn: Pavel Zůna
> givenname: Pavel
> sn: Zůna
> homedirectory: /home/pzuna
> loginshell: /bin/sh
> uidnumber: 1224
> gidnumber: 1002
> gecos: pzuna
> krbprincipalname: pzuna at PZUNA
> memberof: cn=ipausers,cn=groups,cn=accounts,dc=pzuna,
> cn=dráčci,cn=groups,cn=accounts,dc=pzuna
> objectclass: top, person, organizationalPerson, inetOrgPerson,
> inetUser, posixAccount, krbPrincipalAux, radiusprofile
>
> I'm also thinking about removing the text surrounded with --------- with
> the "raw" option.
>
> Pavel
ack, pushed to master.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090805/6a483278/attachment.bin>
More information about the Freeipa-devel
mailing list