Andrew Tridgell
6b266b85cf
s4-loadparm: 2nd half of lp_ to lpcfg_ conversion
...
this converts all callers that use the Samba4 loadparm lp_ calling
convention to use the lpcfg_ prefix.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-16 18:24:27 +10:00
Günther Deschner
5f8678f34b
libcli/netlogon: re-enable debugging.
...
Now that we do not share binary objects anymore, we can safely enable
debugging here again.
Guenther
This reverts commit 3eb122069b9f81196ac658375fcb828924af3e94.
2010-07-16 02:37:51 +02:00
Günther Deschner
3f453f73a8
s3-libads: move spnego defines to their appropriate header file.
...
Guenther
2010-07-01 23:20:40 +02:00
Andreas Schneider
45fc728498
libcli: Fixed a build warning for a missing prototype.
2010-06-30 10:26:59 +02:00
Andrew Bartlett
c84b74dddd
schannel Change to TDB_CLEAR_IF_FIRST to reduce fsync()
...
By making this DB TDB_NOSYNC, and by making that safe with
TDB_CLEAR_IF_FIRST, we greatly reduce the fsync() load on the server.
This particularly helps the source4/ 'make test', which otherwise tries
to disable fsync() in ldb.
Andrew Bartlett
Signed-off-by: Jeremy Allison <jra@samba.org>
2010-06-25 12:00:36 -07:00
Andrew Bartlett
825b2f456c
libcli/auth make open_schannel_session_store() public
...
This will allow TDB_CLEAR_IF_FIRST to be used
Signed-off-by: Jeremy Allison <jra@samba.org>
2010-06-25 11:57:23 -07:00
Stefan Metzmacher
eb3ee7801f
libcli/named_pipe_auth: fix error handling in _tstream_npa_connect_recv()
...
metze
2010-06-21 16:20:25 +02:00
Stefan Metzmacher
67a24fe933
libcli/named_pipe_auth: fix memory handling for temporary data
...
In a tevent_req based function tevent_req_create() should be the first
function! If it fails it's the only reason, why the function
could every return NULL.
And all temporary data belongs to 'state' and gets free'ed by
tevent_req_received() in the _recv function.
metze
2010-06-21 16:16:15 +02:00
Matthias Dieter Wallnöfer
276a1a7fec
s3/s4 - remove "talloc_tos()" from common code since s4 doesn't support it
...
Please don't use this in common code parts until we change the policy regarding
it.
2010-06-21 12:35:51 +02:00
Brendan Powers
d3a99579f6
libcli: Fixed a segfault in security_acl_dup when the acl is NULL.
...
This can happen when duplicating a security descriptor that is missing either sacls or dacls.
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
2010-06-19 22:20:48 +02:00
Jeremy Allison
c705c35076
Fix warning messages about unused result of talloc_move. We're really talloc_steal'ing here.
2010-06-14 16:26:13 -07:00
Andrew Bartlett
d25e9ab9a1
named_pipe_auth Always lower case the incoming pipe name
...
Windows connects to an upper case NETLOGON pipe, and we can't find the
socket to connect to until we lower case the name.
Andrew Bartlett
2010-06-07 23:34:28 +10:00
Andrew Bartlett
fdc6db34ca
s4:ntlmssp Use common code for ntlmssp_sign.c
...
The common code does not have a mem_ctx on ntlmssp_check_packet() and
ntlmssp_unseal_packet().
We do however need some internal working of the code exposed, so some
structures are moved to ntlmssp_sign.h
Andrew Bartlett
2010-06-01 17:11:24 +10:00
Andrew Bartlett
62708fbd1b
s3:ntlmssp Move ntlmssp_sign.c from source3 to common code.
...
This needs a small re-arrangement of the supporting code.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-31 15:11:36 +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
c00407bd35
libcli/nbt/lmhosts: fix missing prototype warning.
...
Andrew, please check.
Guenther
2010-05-31 11:25:24 +02:00
Simo Sorce
b7159e6ffd
named_pipe_auth: implement tstream_npa_accept_existing_send/recv
...
Pair-programmed-with: Stefan Metzmacher <metze@samba.org>
2010-05-26 09:23:47 +02:00
Jeremy Allison
b2a7ad8c95
Make DFS work over SMB2.
...
Jeremy.
2010-05-21 16:56:10 -07:00
Jeremy Allison
2d46e07c47
Fix what looks like a cut-and-paste error in our read_negTokenInit() function.
...
We should never be calling asn1_push_XXX functions inside an asn1
reading function. Change asn1_push_tag() -> asn1_start_tag() and
asn1_pop_tag() -> asn1_end_tag(). This allows us to connect to a
NetApp filer at the Microsoft plugfest.
Andrew PLEASE CHECK !
Jeremy.
2010-05-20 14:50:16 -07:00
Jeremy Allison
b0d7a3d123
Thanks to Andrew Bartlett's advice, fix the NTLMSSP version problem the correct way.
...
No more magic blobs :-). Use ndr_push_struct_blob() to
push a properly formatted VERSION struct.
Jeremy.
2010-05-19 10:36:39 -07:00
Jelmer Vernooij
b8268cf7b0
s3: Remove use of iconv_convenience.
2010-05-18 11:45:31 +02:00
Jelmer Vernooij
f9ca9e46ad
Finish removal of iconv_convenience in public API's.
2010-05-18 11:45:30 +02:00
Jelmer Vernooij
fc336590dc
Remove the copy of ldb from Samba 3.
...
There were two utility functions that other parts of Samba 3
still relied on; they have been moved to lib/ldb_compat.[ch].
2010-05-06 11:34:30 +02:00
Stefan Metzmacher
21ec116bbf
libcli/named_pipe_auth: we need to hide length of the message mode header from the caller
...
metze
2010-04-28 15:45:38 +02:00
Matthias Dieter Wallnöfer
eceffe6909
nbt: samlogon/netlogon structures - unify denominations
2010-04-27 18:45:41 +02:00
Günther Deschner
ee1b8e5ede
registry: add some shared registry helper functions.
...
Guenther
2010-04-27 16:42:14 +02:00
Andrew Tridgell
211bf1ea17
s4-waf: removed the unused installdir= option to SAMBA_BINARY()
...
This was left over from the automatic conversion of the config.mk
files
2010-04-18 21:47:00 +10:00
Volker Lendecke
4d84dab21d
libcli/auth: Fix an uninitialized variable
...
value.dptr was used uninitialized in the "goto done;"
2010-04-11 22:57:25 +02:00
Andrew Tridgell
b690fedef5
s4-waf: removed the AUTOGENERATED markers
...
we won't be using the mk -> wscript generator again
2010-04-06 20:27:16 +10:00
Andrew Tridgell
b0fb567f04
s4-waf: more dependencies on talloc
...
these are needed so we can support a system talloc without using the
bundled talloc.h
2010-04-06 20:27:13 +10:00
Andrew Tridgell
b9aa63887c
s4-waf: cleanup use of LIBPOPT vs popt dependency
2010-04-06 20:27:13 +10:00
Andrew Tridgell
01682f797f
s4-waf: fixed some deps now we don't auto-include tevent and replace
...
this is preparation for being able to use system versions of these
libraries
2010-04-06 20:27:12 +10:00
Andrew Tridgell
f9eae32f4b
s4-waf: mark the wscript files as python so vim/emacs knows how to highlight them
2010-04-06 20:27:11 +10:00
Andrew Tridgell
aa5e08eb83
s4-waf: install the rest of the headers
2010-04-06 20:27:09 +10:00
Andrew Tridgell
844acb2260
build: waf quicktest nearly works
...
Rewrote wafsamba using a new dependency handling system, and started
adding the waf test code
2010-04-06 20:26:48 +10:00
Andrew Tridgell
845e0cbe6f
build: commit all the waf build files in the tree
2010-04-06 20:26:48 +10:00
Matthias Dieter Wallnöfer
818fcfb813
libcli/nbt/dns_hosts_file.c - change "ULONG_MAX" into "UINT32_MAX"
...
This fits better since the variable which is tested is of type "uint32_t".
2010-03-30 19:08:57 +02:00
Volker Lendecke
c377a91373
Attempt to fix the build on AIX, that system seems to have a #define for s_type
2010-03-28 16:23:24 +02:00
Andrew Tridgell
fae84f98e3
libutil: moved the networking defines to util_net.h
...
These were causing thousands of warnings on solaris8
2010-03-26 17:36:02 +11:00
Günther Deschner
e7cc45cb14
error_codes: fix NT_STATUS_RPC_UNKNOWN_IF typo.
...
Metze, please check.
Guenther
2010-03-19 09:30:36 +01:00
Stefan Metzmacher
6a1f8e67eb
libcli/util: add more NT_STATUS_RPC_* defines
...
metze
2010-03-18 14:25:57 +01:00
Matthias Dieter Wallnöfer
36175be5d4
libcli/auth/schannel_state_tdb.c - fix a memory leak
2010-03-16 17:11:47 +01:00
Andrew Bartlett
263d4b5c93
libcli/nbt Add parser for a 'hosts' file that takes DNS record types
2010-03-11 11:27:48 +11:00
Matthias Dieter Wallnöfer
1deefcaee1
libcli/auth/schannel_state_tdb.c - fix an obviously wrong error handling
2010-03-09 17:18:26 +01:00
Stefan Metzmacher
6eedba102b
libcli/auth: add a const to des_crypt112_16()
...
metze
2010-03-05 14:06:18 +01:00
Karolin Seeger
340797f3fa
Fix typo in comments.
2010-03-03 16:03:13 +01:00
Michael Adam
f37030b33a
libcli/security: fix sddl.c to be able to build it from source3
2010-03-03 09:16:34 +01:00
Michael Adam
15b60a7e3f
s4:move the sddl code down to the top level
...
Michael
2010-03-03 09:16:34 +01:00
Stefan Metzmacher
d671b80cf5
libcli/auth: print the error in the debug message
...
metze
2010-02-26 10:43:46 +01:00
Simo Sorce
805f7507e2
s4:cleanup remove unused schannel ldb code
2010-02-23 12:46:51 -05:00