[Freeipa-devel] [PATCH] Add option in baseldap classes to display unaltered LDAP entries.
Pavel Zuna
pzuna at redhat.com
Tue Aug 4 16:55:11 UTC 2009
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Add-options-in-baseldap-classes-to-display-unaltered.patch
Type: application/mbox
Size: 5675 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090804/d48116fc/attachment.mbox>
More information about the Freeipa-devel
mailing list