Add mutt-ldap.py.
[blog.git] / posts / LDAP.mdwn
index 570cbcd1c0f6fb7bc472280c83d20fd547ee8f73..87ffb1944ffacfc413d5e37ecb367b05b627990d 100644 (file)
@@ -199,6 +199,17 @@ databases.  Command line junkies will probably like [shelldap][]:
     ~ > cd ou=people 
     ou=people,~ > ls
 
+Mutt
+----
+
+If you use the [[Mutt]] email client (or just want a simple way to
+query email addresses from the command line) there are a [number of
+scripts][mutts] available.  Pick whichever sounds most appealing to
+you.  I wrote up [[mutt-ldap.py]], which lets you configuration the
+connection details via a config file (`~/.mutt-ldap.rc`) rather than
+editing the script itself.  Usage details are available in the
+docstring.
+
 References
 ----------
 
@@ -217,4 +228,5 @@ the countryName attribute, ...
 [python-ldap]: http://www.python-ldap.org/
 [rfc4512]: http://tools.ietf.org/html/rfc4512
 [shelldap]: http://projects.martini.nu/shelldap/
+[mutts]: http://wiki.mutt.org/?QueryCommand
 [schema]: http://www.oreillynet.com/pub/a/sysadmin/2006/11/09/demystifying-ldap-data.html