mirror of
https://github.com/samba-team/samba.git
synced 2025-01-25 06:04:04 +03:00
s3: smbd: Add lp_smb2_unix_extensions() function. Always returns false for now.
For now *always* returns false. This allows me to add code into smbd contingent on lp_smb2_unix_extensions() which I know will not be executed until all the parts are in place. Then the real parameter can be added (default to off) and testing added. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
2e72b9cd2d
commit
955f08866d
@ -4811,3 +4811,9 @@ uint32_t lp_get_async_dns_timeout(void)
|
||||
*/
|
||||
return MAX(Globals.async_dns_timeout, 1);
|
||||
}
|
||||
|
||||
/* SMB2 POSIX extensions. For now, *always* disabled. */
|
||||
bool lp_smb2_unix_extensions(void)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
@ -183,6 +183,7 @@ void widelinks_warning(int snum);
|
||||
const char *lp_ncalrpc_dir(void);
|
||||
void _lp_set_server_role(int server_role);
|
||||
uint32_t lp_get_async_dns_timeout(void);
|
||||
bool lp_smb2_unix_extensions(void);
|
||||
|
||||
/* The following definitions come from param/loadparm_ctx.c */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user