summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/cli.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ipalib/cli.py b/ipalib/cli.py
index 6bacd5027..4e04b531c 100644
--- a/ipalib/cli.py
+++ b/ipalib/cli.py
@@ -248,6 +248,9 @@ class textui(backend.Backend):
uid: 'flast'
"""
assert type(entry) is dict
+ if entry.get('dn'):
+ self.print_indented('dn: %s' % (repr(entry['dn'])), indent)
+ del entry['dn']
for key in sorted(entry):
value = entry[key]
if type(value) in (list, tuple):