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: pz...@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: pz...@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

Attachment: 0003-Add-options-in-baseldap-classes-to-display-unaltered.patch
Description: application/mbox

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to