summaryrefslogtreecommitdiff
path: root/source3/include/fake_file.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-10-25 15:37:13 +0200
committerVolker Lendecke <vl@samba.org>2008-10-25 15:42:51 +0200
commit7bea6684c23f34319feb393023e634b1f069f20f (patch)
tree9a524b04b3a3ffff3e240cbc92da426ab3b2299c /source3/include/fake_file.h
parentf87219d6e6e049a6d233696d126ea231cbbc1672 (diff)
downloadsamba-7bea6684c23f34319feb393023e634b1f069f20f.tar.gz
samba-7bea6684c23f34319feb393023e634b1f069f20f.tar.bz2
samba-7bea6684c23f34319feb393023e634b1f069f20f.zip
Add proxied named pipe support
This is a central piece of the "merged build" thing: Forward named pipes from samba3 to samba4. This patch is not finished yet, as we will have to forward the smb-level authentication information to samba4, but I'm pushing this patch already to demonstrate the implementation without clutter. It adds an intermediate parameter np:proxy = srvsvc samr winreg wkssvc ... and so on that states which of the pipes should be forwarded to the s4 unix domain socket DEFAULT. The parameter is intermediate because once we have a proper endpoint mapper implementation, this information will be retrieved out of a database. If anybody wants to try this, do the merged build and configure s4 with server services = samba3_smb, rpc, nbt, wrepl, ldap, cldap, kdc, drepl samba3:smbd = /data/inst/sbin/smbd and s3 with auth methods = guest netlogond np:proxy = srvsvc samr winreg wkssvc netlogon ntlsa ntsvcs lsass lsarpc netdfs \ rpcecho initshutdown epmapper svcctl eventlog drsuapi Then run rpcclient against samba4. It will fork s3, which authenticates against s4, and then forwards the rpc requests to s4. Volker
Diffstat (limited to 'source3/include/fake_file.h')
-rw-r--r--source3/include/fake_file.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/fake_file.h b/source3/include/fake_file.h
index c4b271f85d..6b34005625 100644
--- a/source3/include/fake_file.h
+++ b/source3/include/fake_file.h
@@ -23,7 +23,8 @@
enum FAKE_FILE_TYPE {
FAKE_FILE_TYPE_NONE = 0,
FAKE_FILE_TYPE_QUOTA,
- FAKE_FILE_TYPE_NAMED_PIPE
+ FAKE_FILE_TYPE_NAMED_PIPE,
+ FAKE_FILE_TYPE_NAMED_PIPE_PROXY
};
/*