1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
Commit Graph

77069 Commits

Author SHA1 Message Date
Stefan Metzmacher
7de694974e s3:libsmb: make use of SMB_SIGNING_* constants
metze
2011-11-03 16:55:13 +01:00
Stefan Metzmacher
b3f126b44c s3:lib: make use of SMB_SIGNING_* constants
metze
2011-11-03 16:55:13 +01:00
Stefan Metzmacher
a7051dfcff s3:libsmb: make use of SMB_SIGNING_* constants
metze
2011-11-03 16:55:13 +01:00
Stefan Metzmacher
1b04e54b57 s3:libsmb: s/Undefined/SMB_SIGNING_DEFAULT/
metze
2011-11-03 16:55:13 +01:00
Stefan Metzmacher
59dcdfd175 s3:torture: s/Undefined/SMB_SIGNING_DEFAULT/ s/Required/SMB_SIGNING_REQUIRED/
metze
2011-11-03 16:55:13 +01:00
Stefan Metzmacher
784cf12fb1 s3:lib: s/Undefined/SMB_SIGNING_DEFAULT/
metze
2011-11-03 16:55:13 +01:00
Stefan Metzmacher
19eaaa8030 s3:lib/netapi: s/Undefined/SMB_SIGNING_DEFAULT/
metze
2011-11-03 16:55:12 +01:00
Stefan Metzmacher
07cd85fd8b s3:libnet: s/Undefined/SMB_SIGNING_DEFAULT/
metze
2011-11-03 16:55:12 +01:00
Stefan Metzmacher
6db670386b s3:winbindd: s/Undefined/SMB_SIGNING_DEFAULT/
metze
2011-11-03 16:55:12 +01:00
Stefan Metzmacher
c4fecca261 s3:web: s/Undefined/SMB_SIGNING_DEFAULT/
metze
2011-11-03 16:55:12 +01:00
Stefan Metzmacher
92a6f577ce s3:utils: s/Undefined/SMB_SIGNING_DEFAULT/
metze
2011-11-03 16:55:12 +01:00
Stefan Metzmacher
f61fb18e0a s3:nmbd: s/Undefined/SMB_SIGNING_DEFAULT/
metze
2011-11-03 16:55:12 +01:00
Stefan Metzmacher
2202c3ce02 s3:auth: s/Undefined/SMB_SIGNING_DEFAULT/
metze
2011-11-03 16:55:12 +01:00
Stefan Metzmacher
ff66e521e0 s3:client: s/Undefined/SMB_SIGNING_DEFAULT/
metze
2011-11-03 16:55:12 +01:00
Stefan Metzmacher
4d8998302c s3:param: make use of SMB_SIGNING_* constants
metze
2011-11-03 16:55:12 +01:00
Stefan Metzmacher
22344f3e03 libcli/smb: use the same values for SMB_SIGNING_* as the source3 code uses
The source3 code currently uses:
 #define Undefined (-1)
 #define False false
 #define True true
 #define Required (3)

In order to make the rewrite easier we should match the values.

metze
2011-11-03 16:55:12 +01:00
Stefan Metzmacher
812c3dc80a libcli/smb: remove unused SMB_SIGNING_SUPPORTED
metze
2011-11-03 16:55:12 +01:00
Stefan Metzmacher
beb5687e9e s4:smb_server: s/SMB_SIGNING_SUPPORTED/SMB_SIGNING_IF_REQUIRED/
metze
2011-11-03 16:55:12 +01:00
Stefan Metzmacher
f07274978a s4:libcli/smb2: s/SMB_SIGNING_SUPPORTED/SMB_SIGNING_IF_REQUIRED/
metze
2011-11-03 16:55:12 +01:00
Stefan Metzmacher
2d55bfd8de s4:libcli/raw: s/SMB_SIGNING_SUPPORTED/SMB_SIGNING_IF_REQUIRED/
metze
2011-11-03 16:55:12 +01:00
Stefan Metzmacher
4d819389f2 lib/param: use SMB_SIGNING_IF_REQUIRED instead of SMB_SIGNING_SUPPORTED
metze
2011-11-03 16:55:12 +01:00
Stefan Metzmacher
a4ac06a4be libcli/smb: add SMB_SIGNING_IF_REQUIRED as replacement for SMB_SIGNING_SUPPORTED
metze
2011-11-03 16:55:12 +01:00
Stefan Metzmacher
feace943d5 libcli/smb: SMB_SIGNING_AUTO is no longer used
metze
2011-11-03 16:55:12 +01:00
Stefan Metzmacher
01ccd59ce0 s4:libcli/smb2: remove unused SMB_SIGNING_AUTO handling
metze
2011-11-03 16:55:11 +01:00
Stefan Metzmacher
4fe0e828af s4:libcli/raw: remove unused SMB_SIGNING_AUTO handling
metze
2011-11-03 16:55:11 +01:00
Stefan Metzmacher
53c926c1eb lib/param: map "* signing = auto" to SMB_SIGNING_SUPPORTED
metze
2011-11-03 16:55:11 +01:00
Stefan Metzmacher
71959d5e1f s4:smb_server: change the default for "server signing" to "default"
metze
2011-11-03 16:55:11 +01:00
Stefan Metzmacher
908550f3c2 lib/param: change the default for "client signing" to "default"
metze
2011-11-03 16:55:11 +01:00
Stefan Metzmacher
22902ef9b8 s4:libcli/smb2: SMB_SIGNING_DEFAULT matches SMB_SIGNING_SUPPORTED on the client for now
metze
2011-11-03 16:55:11 +01:00
Stefan Metzmacher
0789fbf697 s4:libcli/raw: SMB_SIGNING_DEFAULT matches SMB_SIGNING_SUPPORTED on the client for now
metze
2011-11-03 16:55:11 +01:00
Stefan Metzmacher
18205ac7ad libcli/smb: add SMB_SIGNING_DEFAULT
metze
2011-11-03 16:55:11 +01:00
Stefan Metzmacher
ebb9d4dc54 s4:smb_server/smb2: add the same SMB_SIGNING_AUTO logic as for smb1
metze
2011-11-03 16:55:11 +01:00
Stefan Metzmacher
aa70b7e0fc selftest/Samba4: use "server signing = on" for now
Otherwise the smb2.compound test fails as it doesn't work
with signing yet.

metze
2011-11-03 16:55:11 +01:00
Stefan Metzmacher
716da10498 s4:smb_server/smb: make the SMB_SIGNING_AUTO behavior a bit easier to follow
The prepares a future change to SMB_SIGNING_DEFAULT.

metze
2011-11-03 16:55:11 +01:00
Stefan Metzmacher
44d7774a18 s3:param: the behavior of "client/server signing = auto" is the same as "true"
So remove the special case for 'Auto'.

metze
2011-11-03 16:55:11 +01:00
Stefan Metzmacher
f293438abd s4:libcli/smb2: let SMB_SIGNING_AUTO behave like SMB_SIGNING_SUPPORTED
This matches the smb1 behavior.

metze
2011-11-03 16:55:11 +01:00
Stefan Metzmacher
418908eb21 s4:libcli/raw: only use smb signing if required
This matches the source3 code, I want to have the behavior
in common before I put the config options in common.
Later we may change this consitently in all code.

metze
2011-11-03 16:55:11 +01:00
Stefan Metzmacher
09fe037b64 s3:libsmb: restore the 3.6.x behavior signing config parameters
metze
2011-11-03 16:55:11 +01:00
Giampaolo Lauria
fe6913ada3 samba-tool: Fix short description and error msgs in domain level
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Nov  3 16:53:16 CET 2011 on sn-devel-104
2011-11-03 16:53:16 +01:00
Giampaolo Lauria
64e7e448fb samba-tool: Fix --quiet option in domain samba3upgrade
--quiet option does not require an argument
2011-11-03 15:12:27 +01:00
Giampaolo Lauria
16437edf48 samba-tool: Improve "delegation" command error handling
Change samdb toggle_userAccountFlags fcn to display more
meaningful error messages
Add flags string param to toggle_userAccountFlags
Change call to toggle_userAccountFlags in delegation command
to pass the flag name to be displayed in case of errors
2011-11-03 15:12:27 +01:00
Giampaolo Lauria
967ac70a35 samba-tool: Improve "delegation" command error message
Write a more specific error msg when the on|off arg is invalid
2011-11-03 15:12:27 +01:00
Giampaolo Lauria
9ff2874e5e samba-tool: Improve "delegation" command error handling
Display a more meaningful error msg when user account not found
Assert when returned number of entries is not 0 or 1
2011-11-03 15:12:27 +01:00
Giampaolo Lauria
82c6599e15 samba-tool: Fix "delegation show" command synopsis
Removed "show" from synopsis as it is no longer necessary
2011-11-03 15:12:27 +01:00
David Disseldorp
0f61eb5e29 pkg: add comments to the systemd sysconfig file
Autobuild-User: David Disseldorp <ddiss@samba.org>
Autobuild-Date: Thu Nov  3 15:11:27 CET 2011 on sn-devel-104
2011-11-03 15:11:27 +01:00
Björn Baumbach
bdf755ce08 s3-build: add bin/dbwrap_tool to the BIN_PROGS2 dependencies
Signed-off-by: Michael Adam <obnox@samba.org>

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Thu Nov  3 11:52:53 CET 2011 on sn-devel-104
2011-11-03 11:52:53 +01:00
Björn Baumbach
66eefde53b s3-registry: fix upgrade code
Assume REGDB_VERSION_V1 if no version key found in registry.tdb

Signed-off-by: Michael Adam <obnox@samba.org>
2011-11-03 10:13:41 +01:00
Björn Baumbach
bdc973b5db s3-utils: net - Fix one error/usage message
Signed-off-by: Michael Adam <obnox@samba.org>
2011-11-03 10:13:40 +01:00
Björn Baumbach
955775023b s3-printing: fix typo
Signed-off-by: Michael Adam <obnox@samba.org>
2011-11-03 10:13:40 +01:00
Stefan Metzmacher
881feda353 s3:torture: let SMB2-BASICS work against w2k8r2 and win8pre0
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Nov  3 09:44:59 CET 2011 on sn-devel-104
2011-11-03 09:44:59 +01:00