mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
lib/param: Move GUEST_ACCOUNT define to a common header
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
This commit is contained in:
parent
0990ff6e41
commit
8fbe9269c9
@ -203,6 +203,11 @@ enum case_handling {CASE_LOWER,CASE_UPPER};
|
||||
#define PRINT_MAX_JOBID 10000
|
||||
#endif
|
||||
|
||||
/* the default guest account - allow override via CFLAGS */
|
||||
#ifndef GUEST_ACCOUNT
|
||||
#define GUEST_ACCOUNT "nobody"
|
||||
#endif
|
||||
|
||||
#define LOADPARM_EXTRA_LOCALS \
|
||||
bool valid; \
|
||||
int usershare; \
|
||||
|
@ -80,11 +80,6 @@
|
||||
NT file manager window? */
|
||||
#define FSTYPE_STRING "NTFS"
|
||||
|
||||
/* the default guest account - normally set in the Makefile or smb.conf */
|
||||
#ifndef GUEST_ACCOUNT
|
||||
#define GUEST_ACCOUNT "nobody"
|
||||
#endif
|
||||
|
||||
/* user to test password server with as invalid in security=server mode. */
|
||||
#ifndef INVALID_USER_PREFIX
|
||||
#define INVALID_USER_PREFIX "sambatest"
|
||||
|
Loading…
Reference in New Issue
Block a user