1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/examples
Andrew Bartlett c0f5af21ac lib/replace: Do not typedef int bool
We need a genuine boolean type, as otherwise expressions like

	bool foo = (4 & 4);
	if (foo == true) {
		exit(1);
	} else {
		exit(2);
	}

could evaluate differently on non-modern platforms, and
that would be a real pain to debug.

_Bool and bool are in C99

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15028

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Mar 23 12:31:47 UTC 2022 on sn-devel-184
2022-03-23 12:31:47 +00:00
..
ad-bench examples: Reformat shell scripts 2022-02-22 16:20:58 +00:00
auth/crackcheck auth3: Remove auth_skel.c 2021-04-19 18:18:31 +00:00
autofs
dce-dfs Remove remaining references to "password level" in the tree 2013-06-11 16:25:54 +02:00
fuse examples: Migrate smb2mount to new cmdline option parser 2021-05-28 02:55:31 +00:00
LDAP examples: Reformat shell scripts 2022-02-22 16:20:58 +00:00
libsmbclient Fix clang 9 missing-field-initializer warnings 2020-05-08 09:31:31 +00:00
logon PY3: change shebang to python3 in misc dirs 2018-12-14 18:00:40 +01:00
misc misc: fix AD trust attributes in adssearch 2019-09-20 01:14:42 +00:00
nss
pam_winbind pam_winbind: update documentation for "DIR" krb5ccname pragma. 2013-07-24 02:43:09 +02:00
pcap2nbench Fix typo for response 2018-05-12 02:09:25 +02:00
pdb lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *) 2017-04-22 01:17:00 +02:00
perfcounter lib/replace: Do not typedef int bool 2022-03-23 12:31:47 +00:00
printer-accounting
printing packaging: Move smbprint to a comman location. 2012-10-29 14:08:37 +01:00
scripts examples: Reformat shell scripts 2022-02-22 16:20:58 +00:00
systemtap examples: Update winbindd.stp and its generator script 2022-03-06 23:05:40 +00:00
tridge Remove remaining references to "password level" in the tree 2013-06-11 16:25:54 +02:00
validchars
VFS vfs: Convert get_real_filename() to NTSTATUS 2022-03-10 18:23:36 +00:00
winexe s3:rpc_client: Pass remote name and socket to cli_rpc_pipe_open_noauth_transport() 2021-12-02 13:59:31 +00:00
README docs: Point to wiki Contribute page rather than samba-technical 2020-06-12 22:11:43 +00:00
smb.conf.default examples/smb.conf.default: Fix typo in comment line: sever -> server 2016-04-09 02:35:23 +02:00

Copyright(C) Samba-Team 1993-2001

This directory contains example config files and related material for
Samba. 

At a minimum please refer to the smb.conf.default file for current
information regarding global and share parameter settings.

To contribute to Samba see: https://wiki.samba.org/index.php/Contribute