1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-04 05:18:06 +03:00
Commit Graph

3046 Commits

Author SHA1 Message Date
Andreas Schneider
ce2a086119 s3-popt: Only include popt-common.h when needed. 2010-08-05 12:08:31 +02:00
Günther Deschner
c136b84f0d s3-secrets: only include secrets.h when needed.
Guenther
2010-08-05 10:12:25 +02:00
Günther Deschner
e7a6a3ec0d s3: avoid global include of ads.h.
Guenther
2010-08-05 00:32:02 +02:00
Volker Lendecke
867626abca s3: Convert cli_list() to return NTSTATUS
If needed, the callback functions can count themselves
2010-08-04 20:32:50 +02:00
Volker Lendecke
0213cfa6af s3: Fix some nonempty blank lines 2010-08-01 18:11:06 +02:00
Günther Deschner
813fbbd68c s3-build: avoid to globally include printing and spoolss headers.
This shrinks precompiled headers by 3MB and will slightly speed up any build.

Guenther
2010-07-31 00:50:31 +02:00
Volker Lendecke
dace013898 s3: Remove a typedef (struct file_info) 2010-07-27 21:05:35 +02:00
Volker Lendecke
2ef87d8ec0 s3: fix a typo 2010-07-26 15:05:19 +02:00
Simo Sorce
26f1218a36 s3-libsmb: Use data_blob_talloc to get krb5 ticket and session keys 2010-07-20 20:02:09 -04:00
Simo Sorce
cdcdaaa6dd s3-ntlmssp: Remove ntlmssp_end and let the talloc hierarchy handle it.
All the members are children of ntlmssp_state anyway.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19 14:19:47 +10:00
Volker Lendecke
b1717ac92e s3: Fix some nonempty blank lines 2010-07-18 21:22:41 +02:00
Günther Deschner
80b47fcb0a s3-libnet: better separate headers.
Guenther
2010-07-13 22:40:46 +02:00
Ira Cooper
90b1a1d296 s3: Add SMB2 performance counters.
A performance counter was added for every base type of SMB2 op.
2010-07-07 18:06:59 -07:00
Volker Lendecke
9e3fc22c60 s3: Fix bug 7338, smbget skips leading slash when using a custom outputfile 2010-07-04 11:44:20 +02:00
Volker Lendecke
285176cbc9 s3: Fix some nonempty blank lines 2010-07-04 11:44:20 +02:00
Günther Deschner
61e956036e s3-net: forgot to set type in winreg getvalue operation.
Guenther
2010-07-02 13:09:41 +02:00
Günther Deschner
786198e523 s3-registry: remove unused reg_util_marshalling code.
Guenther
2010-07-02 10:50:21 +02:00
Günther Deschner
b381fba089 s3-registry: avoid using registry_value union.
Just pull and push data as is.

Guenther
2010-07-02 10:50:21 +02:00
Günther Deschner
dff7be8ccb s3-libads: only include libds flags where needed.
Guenther
2010-07-01 23:20:40 +02:00
Günther Deschner
56538be6af s3-libads: move ads_dns out of main includes.
Guenther
2010-07-01 23:20:40 +02:00
Günther Deschner
2f9076ac29 s3-libads: use shared well known guids.
Guenther
2010-07-01 21:17:17 +02:00
Günther Deschner
62e2d4a504 s3-utils: remove rpccheck.
Impossible to get this to compile after the conversion to pidl.

Guenther
2010-06-29 16:14:46 +02:00
Andreas Schneider
eb7bf9d730 s3-net: Make sure we don't call free on garbage.
Found by clang-analyzer.
2010-06-29 11:12:12 +02:00
Andreas Schneider
1db7356fa1 s3-net: Use talloc_asprintf and return if file is in wrong format.
Found by clang-analyzer.
2010-06-29 11:12:12 +02:00
Andreas Schneider
0c579bc3e6 s3-net: Make sure that the data blob is initialized.
Found by clang-analyzer.
2010-06-28 12:56:13 +02:00
Michael Adam
36b95fee15 s3:net [rpc] registry: be as user-friendly as possible wrt to the normalization change
The registry has been changed to use '\' as a key delimiter instead of '/'.
Originally, one could mix both characters in the specification of registry
key for net [rpc] registry. Now this can not work any more, since '/' is
generally treated as a valid character of a key name.

Now, to be as user-friendly as possible, the net [rpc] registry code has
been changed to still support '/' as a key name delimiter if no '\' character
is found in the given registry path string. In that case, all '/' characters
are converted to '\' characters before proceeding. If on the other hand,
a '\' character is found in the path string, then no conversion is assumed,
and it is hence assumed that the path is already in the correct form and
'/' characters are supposed to be part of the key names.
2010-06-25 17:35:42 +02:00
Michael Adam
b784c20df8 s3:net rpc registry: make getsd succeed when key sd only gives access to SD not key contents
You don't need the REG_KEY_READ permissions to access the SD of a key.
And for instance, the key HKLM\security ususally has no specific bits
set for builtin\administrators, but the READ_CONTROL_ACCESS.
I.e. builtin\administrators can get the sd but not enumerate the key.
2010-06-21 12:38:25 +02:00
Matthew McGillis
f769671780 Fix bug with incorrect flag values for inherited ace in some cases. 2010-06-07 10:19:18 +02:00
Günther Deschner
30a9ddccff s3-spoolss: add and use spoolss_printerinfo2_to_setprinterinfo2().
This fixes some invalid typecasts.

Guenther
2010-06-03 16:32:49 +02:00
Günther Deschner
a75436e3ee s3-security: use shared SECINFO_DACL define.
Guenther
2010-06-03 11:00:12 +02:00
Andrew Bartlett
ebae21f023 ntlmssp: Make the ntlmssp.h from source3/ a common header
The code is not yet in common, but I hope to fix that soon.

Andrew Bartlett

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-31 15:10:56 +02:00
Günther Deschner
fbb7814f91 s3: only use netlogon/nbt header when needed.
Guenther
2010-05-31 11:32:37 +02:00
Günther Deschner
f9f8007361 s3-build: only use ndr_security.h where needed.
Guenther
2010-05-31 11:32:37 +02:00
Günther Deschner
66adb84e46 s3-build: only use ndr_samr.h where needed.
Guenther
2010-05-28 02:49:36 +02:00
Günther Deschner
6a14dad13c s3-net: fix the build.
Guenther
2010-05-26 23:17:35 +02:00
Günther Deschner
f12028a3fd s3-net: fix a "dereferencing type-punned pointer will break strict-aliasing rules" warning.
Guenther
2010-05-25 12:43:00 +02:00
Michael Adam
0fe1ff99a1 s3:registry: move reg_objects.h to registry/ and use it only where needed
Every place outside of registry/ where this is used, should probably
be changed to use pure reg_api.c code.
2010-05-25 10:35:31 +02:00
Michael Adam
0e8e5d5d6e s3:net rpc registry: use regval_ctr_init() instead of direct allocation 2010-05-25 10:35:31 +02:00
Michael Adam
bf65ff5ea2 s3:profiles: use regval_ctr_init() instead of direct allocation 2010-05-25 10:35:30 +02:00
Michael Adam
112eddf107 s3:net_rpc_printer: use regval_blob/ctr accessor functions 2010-05-25 10:35:30 +02:00
Michael Adam
c4de07a259 s3:net rpc printer: fix use of a possibly uninitialized variable 2010-05-25 10:35:30 +02:00
Michael Adam
e829b42978 s3:registry: extract registry_pull/push_value prototypes into own header
reg_util_marshalling.h and use them only where needed.
2010-05-25 10:35:27 +02:00
Michael Adam
f3053739b7 s3:registry: move prototype registry_create_admin_token() to new header reg_util_token.h
and use it only where necessary.
2010-05-25 10:35:26 +02:00
Michael Adam
847a19df94 s3:registry: extract reg_eventlog prototypes to header of their own
and use them only where needed.
2010-05-25 10:35:26 +02:00
Michael Adam
d335f292ce s3:registry: extract the reg_backend_db prototypes into their own header.
And use them only where needed.
2010-05-25 10:35:25 +02:00
Michael Adam
9ccf66379a s3:registry: adapt callers of regval_ctr_addvalue to uint8 * instead of char * 2010-05-25 10:35:25 +02:00
Günther Deschner
7c979adfbf s3-net: fix net_ads_gpo() for non-ads case.
Guenther
2010-05-21 18:09:14 +02:00
Andrew Bartlett
cba7f8b827 s3:dom_sid Global replace of DOM_SID with struct dom_sid
This matches the structure that new code is being written to,
and removes one more of the old-style named structures, and
the need to know that is is just an alias for struct dom_sid.

Andrew Bartlett

Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-21 10:39:59 +02:00
Andrew Bartlett
a92b653af9 s3:passdb Remove use of uint8 uint16 and uint32 in favour of C99 types
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-21 10:24:55 +02:00
Günther Deschner
33a156f0c1 s3-net: show how to use filters for group policy processing.
Guenther
2010-05-20 18:45:48 +02:00