diff options
author | Dan Fandrich <danf@mageia.org> | 2013-06-27 21:18:51 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2013-12-14 17:31:31 +0000 |
commit | c8890561326bf8013317de998a8afbb88ec511be (patch) | |
tree | 3ac94cce3f82a69ad52d6f1b6dd4adf120010d37 /MgaRepo/plugins/ldapusers.py | |
parent | 6733ea2f012901ccffd61b110e27c82a319a4e0a (diff) | |
download | mgarepo-c8890561326bf8013317de998a8afbb88ec511be.tar mgarepo-c8890561326bf8013317de998a8afbb88ec511be.tar.gz mgarepo-c8890561326bf8013317de998a8afbb88ec511be.tar.bz2 mgarepo-c8890561326bf8013317de998a8afbb88ec511be.tar.xz mgarepo-c8890561326bf8013317de998a8afbb88ec511be.zip |
Fixed some typos and URLs in the help
Diffstat (limited to 'MgaRepo/plugins/ldapusers.py')
-rw-r--r-- | MgaRepo/plugins/ldapusers.py | 4 |
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. |