2004-01-08 02:42:22 -05:00
|
|
|
(define-interface ldap-low-interface
|
|
|
|
(export
|
|
|
|
ldap-init
|
2004-02-10 10:28:34 -05:00
|
|
|
ldap-simple-bind
|
2004-02-11 11:17:08 -05:00
|
|
|
ldap-simple-bind-as-nobody
|
2004-02-10 10:28:34 -05:00
|
|
|
ldap-sasl-bind
|
|
|
|
ldap-unbind
|
|
|
|
ldap-search
|
2004-01-08 02:42:22 -05:00
|
|
|
|
2004-02-10 10:28:34 -05:00
|
|
|
set-ldap-session-option!
|
|
|
|
ldap-session-option
|
|
|
|
|
|
|
|
ldap-first-message
|
|
|
|
ldap-next-message
|
|
|
|
ldap-count-messages
|
|
|
|
|
|
|
|
ldap-get-message-type
|
|
|
|
ldap-get-message-id
|
|
|
|
|
|
|
|
ldap-first-attribute
|
|
|
|
ldap-next-attribute
|
|
|
|
ldap-all-attributes
|
|
|
|
|
|
|
|
ldap-get-values
|
|
|
|
ldap-compare
|
|
|
|
ldap-message-dn
|
|
|
|
ldap-explode-dn
|
|
|
|
ldap-explode-rdn
|
|
|
|
ldap-make-dn-userfriendly
|
|
|
|
|
|
|
|
ldap-count-entries
|
|
|
|
ldap-first-entry
|
|
|
|
ldap-next-entry
|
|
|
|
|
|
|
|
ldap-count-references
|
|
|
|
ldap-first-reference
|
|
|
|
ldap-next-reference))
|
|
|
|
|
2004-01-08 02:42:22 -05:00
|
|
|
(define-interface ldap-conditions-interface
|
|
|
|
(export
|
2004-02-10 10:28:34 -05:00
|
|
|
raise-ldap-condition
|
|
|
|
|
2004-01-08 02:42:22 -05:00
|
|
|
&ldap-error ldap-error? ldap-error-code ldap-error-session
|
|
|
|
&ldap-security-error ldap-security-error?
|
2004-01-15 11:34:15 -05:00
|
|
|
&ldap-service-error ldap-service-error?
|
2004-01-08 02:42:22 -05:00
|
|
|
&ldap-data-error ldap-data-error?
|
|
|
|
|
|
|
|
&ldap-bindings-internal-error ldap-bindings-internal-error?
|
|
|
|
&ldap-bindings-not-implemented ldap-bindings-not-implemented?
|
|
|
|
&ldap-implicit-unbind ldap-implicit-unbind?
|
2004-02-10 10:28:34 -05:00
|
|
|
&ldap-session-option-error ldap-session-option-error?
|
2004-01-08 02:42:22 -05:00
|
|
|
&ldap-operations-error ldap-operations-error?
|
|
|
|
&ldap-protocol-error ldap-protocol-error?
|
|
|
|
&ldap-timelimit-exceeded ldap-timelimit-exceeded?
|
|
|
|
&ldap-sizelimit-exceeded ldap-sizelimit-exceeded?
|
|
|
|
&ldap-strong-auth-not-supported ldap-strong-auth-not-supported?
|
|
|
|
&ldap-strong-auth-required ldap-strong-auth-required?
|
|
|
|
&ldap-adminlimit-exceeded ldap-adminlimit-exceeded?
|
|
|
|
&ldap-critical-extension-unavailable ldap-critical-extension-unavailable?
|
|
|
|
&ldap-confidentiality-required ldap-confidentiality-required?
|
|
|
|
&ldap-sasl-bind-in-progress ldap-sasl-bind-in-progress?
|
|
|
|
&ldap-no-such-attribute ldap-no-such-attribute?
|
|
|
|
&ldap-undefined-type ldap-undefined-type?
|
|
|
|
&ldap-inappropriate-type ldap-inappropriate-type?
|
|
|
|
&ldap-insufficient-access ldap-insufficient-access?
|
|
|
|
&ldap-busy ldap-busy?
|
|
|
|
&ldap-unavailable ldap-unavailable?
|
|
|
|
&ldap-unwilling-to-perform ldap-unwilling-to-perform?
|
|
|
|
&ldap-loop-detect ldap-loop-detect?
|
2004-01-15 11:34:15 -05:00
|
|
|
&ldap-invalid-syntax ldap-invalid-syntax?
|
|
|
|
&ldap-invalid-dn-syntax ldap-invalid-dn-syntax?
|
2004-01-08 02:42:22 -05:00
|
|
|
&ldap-naming-violation ldap-naming-violation?
|
2004-01-15 11:34:15 -05:00
|
|
|
&ldap-constraint-violation ldap-constraint-violation?
|
|
|
|
&ldap-type-or-value-exists ldap-type-or-value-exists?
|
2004-01-08 02:42:22 -05:00
|
|
|
&ldap-objectclass-violation ldap-objectclass-violation?
|
|
|
|
&ldap-not-allowed-on-leaf ldap-not-allowed-on-leaf?
|
|
|
|
&ldap-not-allowed-on-rdn ldap-not-allowed-on-rdn?
|
|
|
|
&ldap-already-exists ldap-already-exists?
|
2004-01-15 11:34:15 -05:00
|
|
|
&ldap-no-such-object ldap-no-such-object?
|
|
|
|
&ldap-alias-problem ldap-alias-problem?
|
|
|
|
&ldap-alias-deref-problem ldap-alias-deref-problem?
|
|
|
|
&ldap-referral-limit-exceeded ldap-referral-limit-exceeded?
|
2004-01-08 02:42:22 -05:00
|
|
|
&ldap-no-objectclass-mods ldap-no-objectclass-mods?
|
|
|
|
&ldap-results-too-large ldap-results-too-large?
|
|
|
|
&ldap-affects-multiple-dsas ldap-affects-multiple-dsas?
|
|
|
|
&ldap-server-down ldap-server-down?
|
|
|
|
&ldap-local-error ldap-local-error?
|
|
|
|
&ldap-encoding-error ldap-encoding-error?
|
|
|
|
&ldap-decoding-error ldap-decoding-error?
|
|
|
|
&ldap-timeout-error ldap-timeout-error?
|
|
|
|
&ldap-auth-unknown ldap-auth-unknown?
|
|
|
|
&ldap-filter-error ldap-filter-error?
|
|
|
|
&ldap-param-error ldap-param-error?
|
|
|
|
&ldap-no-memory ldap-no-memory?
|
|
|
|
&ldap-connect-error ldap-connect-error?
|
|
|
|
&ldap-not-supported ldap-not-supported?
|
|
|
|
&ldap-control-not-found ldap-control-not-found?
|
|
|
|
&ldap-referral-limit-exceeded ldap-referral-limit-exceeded?))
|
2004-01-15 11:34:15 -05:00
|
|
|
|
|
|
|
(define-interface ldap-handle-types-interface
|
|
|
|
(export
|
|
|
|
ldap-session?
|
2004-02-10 10:28:34 -05:00
|
|
|
ldap-session-bound?
|
|
|
|
set-ldap-session-bound?!
|
|
|
|
ldap-session-options
|
|
|
|
ldap-session-messages
|
2004-02-12 07:45:00 -05:00
|
|
|
set-ldap-session-messages!
|
|
|
|
|
|
|
|
ldap-entry?
|
|
|
|
make-ldap-entry
|
|
|
|
ldap-entry-message
|
2004-02-10 10:28:34 -05:00
|
|
|
|
2004-01-15 11:34:15 -05:00
|
|
|
ldap-message?
|
|
|
|
ldap-modification?
|
|
|
|
|
|
|
|
ldap-api-info?
|
|
|
|
ldap-api-info-info-version
|
|
|
|
ldap-api-info-api-version
|
|
|
|
ldap-api-info-protocol-version
|
|
|
|
ldap-api-info-vendor-name
|
2004-02-10 10:28:34 -05:00
|
|
|
ldap-api-info-vendor-version
|
|
|
|
|
|
|
|
make-session-options
|
|
|
|
set-ldap-session-options!
|
|
|
|
ldap-session-implicit-unbind-ok?
|
|
|
|
ldap-session-auto-unbind?
|
|
|
|
|
|
|
|
ldap-session-messages-adjoin!))
|
2004-01-15 11:34:15 -05:00
|
|
|
|
|
|
|
(define-interface ldap-return-interface
|
|
|
|
(export
|
|
|
|
ldap-return-object?
|
|
|
|
ldap-return-elements
|
|
|
|
ldap-return-name
|
2004-02-10 10:28:34 -05:00
|
|
|
(ldap-return :syntax)
|
|
|
|
convert-ldap-return-code
|
|
|
|
ldap-success?))
|
|
|
|
|
2004-01-15 11:34:15 -05:00
|
|
|
|
|
|
|
(define-interface ldap-option-version-interface
|
|
|
|
(export
|
|
|
|
ldap-option-version-object?
|
|
|
|
ldap-option-version-elements
|
|
|
|
ldap-option-version-name
|
|
|
|
(ldap-option-version :syntax)))
|
|
|
|
|
|
|
|
(define-interface ldap-scope-arguments-interface
|
|
|
|
(export
|
|
|
|
ldap-scope-arguments-object?
|
|
|
|
ldap-scope-arguments-elements
|
|
|
|
ldap-scope-arguments-name
|
2004-02-10 10:28:34 -05:00
|
|
|
ldap-scope-arguments-id
|
2004-01-15 11:34:15 -05:00
|
|
|
(ldap-scope-arguments :syntax)))
|
|
|
|
|
|
|
|
(define-interface ldap-session-option-values-interface
|
|
|
|
(export
|
|
|
|
ldap-session-option-value-object?
|
|
|
|
ldap-session-option-value-elements
|
|
|
|
ldap-session-option-value-name
|
2004-02-10 10:28:34 -05:00
|
|
|
ldap-session-option-value-id
|
2004-01-15 11:34:15 -05:00
|
|
|
(ldap-session-option-value :syntax)))
|
|
|
|
|
|
|
|
(define-interface ldap-message-types-interface
|
|
|
|
(export
|
|
|
|
ldap-message-types-object?
|
|
|
|
ldap-message-types-elements
|
|
|
|
ldap-message-types-name
|
2004-02-10 10:28:34 -05:00
|
|
|
(ldap-message-types :syntax)
|
|
|
|
convert-ldap-message-type))
|
2004-01-15 11:34:15 -05:00
|
|
|
|
|
|
|
(define-interface ldap-attributes-special-values-interfaces
|
|
|
|
(export
|
|
|
|
ldap-attributes-no-attribute
|
|
|
|
ldap-attributes-all-user-attributes))
|
|
|
|
|
|
|
|
(define-interface ldap-types-interface
|
|
|
|
(compound-interface
|
|
|
|
ldap-return-interface
|
|
|
|
ldap-option-version-interface
|
|
|
|
ldap-scope-arguments-interface
|
|
|
|
ldap-session-option-values-interface
|
|
|
|
ldap-message-types-interface
|
|
|
|
ldap-attributes-special-values-interfaces
|
|
|
|
;;
|
|
|
|
ldap-handle-types-interface))
|