From bd0f9f4dec4151b6ab062711a4fcd3c296069c31 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 10 Jan 2014 14:19:38 +1300 Subject: [PATCH] ntvfs: Remove CAP_UNIX from the ntvfs file server as it was never finished Only some of the unix extensions where implemented, but this was enough to caused the samba3.smbtorture_s3.plain(dc).LARGE_READX to fail when they are enabled (as is the default in source3/param). Signed-off-by: Andrew Bartlett Reviewed-by: Nadezhda Ivanova --- source4/smb_server/smb/negprot.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source4/smb_server/smb/negprot.c b/source4/smb_server/smb/negprot.c index 8621666f6a8..7c1d3a70767 100644 --- a/source4/smb_server/smb/negprot.c +++ b/source4/smb_server/smb/negprot.c @@ -263,10 +263,6 @@ static void reply_nt1(struct smbsrv_request *req, uint16_t choice) capabilities |= CAP_EXTENDED_SECURITY; } - if (lpcfg_unix_extensions(req->smb_conn->lp_ctx)) { - capabilities |= CAP_UNIX; - } - if (lpcfg_large_readwrite(req->smb_conn->lp_ctx)) { capabilities |= CAP_LARGE_READX | CAP_LARGE_WRITEX | CAP_W2K_SMBS; }