diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-09-27 13:20:59 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:59:22 -0500 |
commit | 718bb5e8ffb04ab48cb5e9c0a7df848212340a57 (patch) | |
tree | e735753dac17fb16aa25d0b2c0af38d10320ba7e /source4/ldap_server/ldap_server.h | |
parent | f64b8cf9cd31d80602aba7d77e366d91127b733d (diff) | |
download | samba-718bb5e8ffb04ab48cb5e9c0a7df848212340a57.tar.gz |
r2688: - fix case where listed attributes are asked
- use the return code of the functions
and only call ldapsrv_terminate_connection from ldapsrv_recv() or ldapsrv_send()
- the rootdse is now a normal partition
metze
(This used to be commit af1501a28d700f90cd2243fbfdce6527a0f62961)
Diffstat (limited to 'source4/ldap_server/ldap_server.h')
-rw-r--r-- | source4/ldap_server/ldap_server.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/ldap_server/ldap_server.h b/source4/ldap_server/ldap_server.h index 960ab519bcd..6ae9cb42d36 100644 --- a/source4/ldap_server/ldap_server.h +++ b/source4/ldap_server/ldap_server.h @@ -45,6 +45,8 @@ struct ldapsrv_call { struct ldapsrv_connection *conn; + const struct auth_session_info *session_info; + struct ldap_message request; struct ldapsrv_reply { @@ -60,7 +62,7 @@ struct ldapsrv_connection { struct server_connection *connection; struct gensec_security *gensec_ctx; - struct auth_session_info *session_info; + const struct auth_session_info *session_info; struct rw_buffer in_buffer; struct rw_buffer out_buffer; @@ -73,6 +75,8 @@ struct ldapsrv_connection { struct ldapsrv_partition; struct ldapsrv_partition_ops { + const char *name; + NTSTATUS (*Init)(struct ldapsrv_partition *partition, struct ldapsrv_connection *conn); NTSTATUS (*Bind)(struct ldapsrv_partition *partition, struct ldapsrv_call *call, struct ldap_BindRequest *r); NTSTATUS (*Unbind)(struct ldapsrv_partition *partition, struct ldapsrv_call *call, struct ldap_UnbindRequest *r); NTSTATUS (*Search)(struct ldapsrv_partition *partition, struct ldapsrv_call *call, struct ldap_SearchRequest *r); |