aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'MgaRepo/plugins')
-rw-r--r--MgaRepo/plugins/ldapusers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/MgaRepo/plugins/ldapusers.py b/MgaRepo/plugins/ldapusers.py
index 294c32d..dd202ed 100644
--- a/MgaRepo/plugins/ldapusers.py
+++ b/MgaRepo/plugins/ldapusers.py
@@ -43,12 +43,12 @@ options in the [global] section of mgarepo.conf:
>>> format = Template("$cn <$mail>")
>>> d = search(basedn, filter)
>>> d
- {"cn": "John Doe", "mail": "john@mandriva.org",
+ {"cn": "John Doe", "mail": "john@example.org",
"uidNumber": "1290", "loginShell": "/bin/bash",
... many other attributes ... }
>>> value = format.substitute(d)
>>> print value
- John Doe <john@mandriva.org>
+ John Doe <john@example.org>
Note that only the first value of the attributes will be
used.