1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source4
Stefan Metzmacher 220ea5b6e6 r55: if you try to use a custom bind or unbind hook in
a dcesrv module and also use the autogenerated boilerplate
you can just use:

#define DCESRV_INTERFACE_<UPPERCASE_INTERFACE_NAME>_BIND <interface_name>_bind
#define DCESRV_INTERFACE_<UPPERCASE_INTERFACE_NAME>_UNBIND <interface_name>_unbind

the prototype for the functions are the same as in
struct dcesrv_interface {
...
	/* this function is called when the client binds to this interface  */
	NTSTATUS (*bind)(struct dcesrv_call_state *, const struct dcesrv_interface *);

	/* this function is called when the client disconnects the endpoint */
	void (*unbind)(struct dcesrv_connection *, const struct dcesrv_interface *);
...
};

e.g.

#define DCESRV_INTERFACE_WINREG_BIND winreg_bind
#define DCESRV_INTERFACE_WINREG_UNBIND winreg_unbind

metze
(This used to be commit ae97f5f50b)
2007-10-10 12:50:40 -05:00
..
auth - port AUTH and PASSDB subsystems to new 2004-02-03 11:10:56 +00:00
build r55: if you try to use a custom bind or unbind hook in 2007-10-10 12:50:40 -05:00
client r42: importing .cvsignore files 2007-10-10 12:50:40 -05:00
codepages r42: importing .cvsignore files 2007-10-10 12:50:40 -05:00
include r42: importing .cvsignore files 2007-10-10 12:50:40 -05:00
intl r42: importing .cvsignore files 2007-10-10 12:50:40 -05:00
lib r46: Add CreateKey function (still working on it) 2007-10-10 12:50:40 -05:00
libads r42: importing .cvsignore files 2007-10-10 12:50:40 -05:00
libcli r42: importing .cvsignore files 2007-10-10 12:50:40 -05:00
librpc r46: Add CreateKey function (still working on it) 2007-10-10 12:50:40 -05:00
locking more fixes from the IRIX compiler (thanks herb!) 2003-08-15 18:54:44 +00:00
modules first public release of samba4 code 2003-08-13 01:53:07 +00:00
msdfs File is part of the HOWTO Collection 2003-08-14 00:08:21 +00:00
nmbd r42: importing .cvsignore files 2007-10-10 12:50:40 -05:00
nsswitch r42: importing .cvsignore files 2007-10-10 12:50:40 -05:00
ntvfs add config hints for cifs backend 2004-03-10 04:07:02 +00:00
pam_smbpass more fixes from the IRIX compiler (thanks herb!) 2003-08-15 18:33:43 +00:00
param r42: importing .cvsignore files 2007-10-10 12:50:40 -05:00
passdb r42: importing .cvsignore files 2007-10-10 12:50:40 -05:00
po first public release of samba4 code 2003-08-13 01:53:07 +00:00
printing r42: importing .cvsignore files 2007-10-10 12:50:40 -05:00
rpc_server r42: importing .cvsignore files 2007-10-10 12:50:40 -05:00
script r42: importing .cvsignore files 2007-10-10 12:50:40 -05:00
smb_server copy with a null volume name in a trans2 QFSINFO call 2004-03-26 02:41:20 +00:00
smbd r42: importing .cvsignore files 2007-10-10 12:50:40 -05:00
smbwrapper r42: importing .cvsignore files 2007-10-10 12:50:40 -05:00
torture r46: Add CreateKey function (still working on it) 2007-10-10 12:50:40 -05:00
utils r42: importing .cvsignore files 2007-10-10 12:50:40 -05:00
web r42: importing .cvsignore files 2007-10-10 12:50:40 -05:00
wrepld switch from SIG_ATOMIC_T to sig_atomic_t 2004-03-28 01:57:28 +00:00
.dmallocrc first public release of samba4 code 2003-08-13 01:53:07 +00:00
aclocal.m4 r20: Add the registry library. Still needs a lot of work, 2007-10-10 12:50:33 -05:00
autogen.sh merge the version.h autogeneration stuff from 3.0 2004-01-28 12:47:52 +00:00
change-log first public release of samba4 code 2003-08-13 01:53:07 +00:00
config.guess put config.guess in the right place! 2003-08-13 02:06:45 +00:00
config.sub first public release of samba4 code 2003-08-13 01:53:07 +00:00
configure.developer first public release of samba4 code 2003-08-13 01:53:07 +00:00
configure.in r20: Add the registry library. Still needs a lot of work, 2007-10-10 12:50:33 -05:00
configure.nodebug.developer first public release of samba4 code 2003-08-13 01:53:07 +00:00
configure.tridge.opt first public release of samba4 code 2003-08-13 01:53:07 +00:00
Doxyfile first public release of samba4 code 2003-08-13 01:53:07 +00:00
dynconfig.c remove all unused stuff from Makefile.in 2004-01-19 14:22:32 +00:00
ignore.txt first public release of samba4 code 2003-08-13 01:53:07 +00:00
install-sh first public release of samba4 code 2003-08-13 01:53:07 +00:00
Makefile.in r20: Add the registry library. Still needs a lot of work, 2007-10-10 12:50:33 -05:00
smbadduser first public release of samba4 code 2003-08-13 01:53:07 +00:00
VERSION merge the version.h autogeneration stuff from 3.0 2004-01-28 12:47:52 +00:00