comparison src/eldap.c @ 298:70ad99077275 r21-0b47

Import from CVS: tag r21-0b47
author cvs
date Mon, 13 Aug 2007 10:39:40 +0200
parents 6cb5e14cd98e
children c6de09ad3017
comparison
equal deleted inserted replaced
297:deca3c1083ac 298:70ad99077275
373 } 373 }
374 374
375 DEFUN ("ldap-search-internal", Fldap_search_internal, 2, 6, 0, /* 375 DEFUN ("ldap-search-internal", Fldap_search_internal, 2, 6, 0, /*
376 Perform a search on an open LDAP connection. 376 Perform a search on an open LDAP connection.
377 LDAP is an LDAP connection object created with `ldap-open'. 377 LDAP is an LDAP connection object created with `ldap-open'.
378 FILTER is a filter string for the search as described in RFC 1558 378 FILTER is a filter string for the search as described in RFC 1558.
379 BASE is the distinguished name at which to start the search 379 BASE is the distinguished name at which to start the search.
380 SCOPE is an integer or a symbol indicating the scope of the search 380 SCOPE is one of the symbols `base', `onelevel' or `subtree' indicating
381 Possible values are `ldap-scope-base', `ldap-scope-onelevel' or 381 the scope of the search.
382 `ldap-scope-subtree'
383 ATTRS is a list of strings indicating which attributes to retrieve 382 ATTRS is a list of strings indicating which attributes to retrieve
384 for each matching entry. If nil return all available attributes. 383 for each matching entry. If nil return all available attributes.
385 If ATTRSONLY is non-nil then only the attributes are retrieved, not 384 If ATTRSONLY is non-nil then only the attributes are retrieved, not
386 the associated values 385 the associated values.
387 The function returns a list of matching entries. Each entry is itself 386 The function returns a list of matching entries. Each entry is itself
388 an alist of attribute/values. 387 an alist of attribute/values.
389 */ 388 */
390 (ldap, filter, base, scope, attrs, attrsonly)) 389 (ldap, filter, base, scope, attrs, attrsonly))
391 { 390 {