comparison lisp/ldap.el @ 304:c6de09ad3017 r21-0b50

Import from CVS: tag r21-0b50
author cvs
date Mon, 13 Aug 2007 10:41:12 +0200
parents 70ad99077275
children 7347b34c275b
comparison
equal deleted inserted replaced
303:d02ffe1d75ed 304:c6de09ad3017
3 ;; Copyright (C) 1997 Free Software Foundation, Inc. 3 ;; Copyright (C) 1997 Free Software Foundation, Inc.
4 4
5 ;; Author: Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch> 5 ;; Author: Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
6 ;; Maintainer: Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch> 6 ;; Maintainer: Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
7 ;; Created: Jan 1998 7 ;; Created: Jan 1998
8 ;; Version: $Revision: 1.7 $ 8 ;; Version: $Revision: 1.8 $
9 ;; Keywords: help comm 9 ;; Keywords: help comm
10 10
11 ;; This file is part of XEmacs 11 ;; This file is part of XEmacs
12 12
13 ;; XEmacs is free software; you can redistribute it and/or modify it 13 ;; XEmacs is free software; you can redistribute it and/or modify it
60 60
61 (defun ldap-search (filter &optional host attributes attrsonly) 61 (defun ldap-search (filter &optional host attributes attrsonly)
62 "Perform an LDAP search. 62 "Perform an LDAP search.
63 FILTER is the search filter in RFC1558 syntax 63 FILTER is the search filter in RFC1558 syntax
64 HOST is the LDAP host on which to perform the search 64 HOST is the LDAP host on which to perform the search
65 ATTRIBUTES is the specific attributes to retrieve, nil means 65 ATTRIBUTES is a list of the specific attributes to retrieve,
66 retrieve all 66 nil means retrieve all
67 ATTRSONLY if non nil retrieves the attributes only without 67 ATTRSONLY if non nil retrieves the attributes only without
68 the associated values. 68 the associated values.
69 Additional search parameters can be specified through 69 Additional search parameters can be specified through
70 `ldap-host-parameters-alist' which see." 70 `ldap-host-parameters-alist' which see."
71 (interactive "sFilter:") 71 (interactive "sFilter:")