Günther Deschner
f3979b50a9
schannel: move schannel_sign to main directory.
...
Guenther
2009-09-16 01:54:59 +02:00
Andrew Bartlett
5a01071692
libcli:nbt put util_net.c protos in new header file
...
This fixed a very odd build problem due to util.h importing
system/network.h being imported before the uid_wapper code.
Andrew Bartlett
2009-09-15 10:38:53 -07:00
Andrew Bartlett
668470c992
libcli:nbt make the lmhosts parsing code and dependicies common
...
This starts the process to have Samba4 use lmhosts.
Andrew Bartlett
2009-09-15 07:42:54 -07:00
Günther Deschner
cac5e64c00
s3-errors: add NT_STATUS_RPC_NT_PROCNUM_OUT_OF_RANGE.
...
Guenther
2009-09-11 02:58:34 +02:00
Andrew Tridgell
2ff4764f8f
libcli: added a drsuapi attribute encryption function
2009-09-10 17:42:13 +10:00
Andrew Bartlett
5283ad11bd
libcli:drsuapi Add function to encrypt data for transport over DRSUAPI
...
This is for the server side of the GetNCChanges call.
Andrew Bartlett
2009-09-10 15:50:32 +10:00
Günther Deschner
5f2ec4b202
s3-nterr: add NT_STATUS_RPC_NT_CALL_FAILED.
...
Guenther
2009-09-08 23:21:14 +02:00
Günther Deschner
2287849074
s4: fix the build after ntlmssp header change.
...
Guenther
2009-08-28 11:37:44 +02:00
Günther Deschner
b7a5e7a5d6
libcli/auth: remove unused NTLMSSP_NAME_TYPE_ flags.
...
Guenther
2009-08-28 10:09:19 +02:00
Stefan Metzmacher
8d58472706
libcli/auth: add netlogon_creds_step_crypt() and netlogon_creds_first_step()
...
This abstracts the usage of crypto functions instead of directly calling
des_crypt112().
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2009-08-27 15:55:20 +02:00
Stefan Metzmacher
a69d8ab35c
libcli/auth: remove some useless lines
...
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2009-08-27 15:55:20 +02:00
Stefan Metzmacher
e115cb5cb1
libcli/auth: remember schannel type in netlogon_creds_server_init()
...
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2009-08-27 15:55:20 +02:00
Günther Deschner
04310cc1c5
libcli/auth: add tdb backend for schannel state.
...
Guenther
2009-08-27 15:55:19 +02:00
Günther Deschner
699266920b
libcli/auth: move netlogon_creds_CredentialState out of libcli.
...
Guenther
2009-08-27 15:55:18 +02:00
Günther Deschner
17d3800e92
s4-schannel: add ldb suffix to schannel functions.
...
Guenther
2009-08-27 15:55:18 +02:00
Günther Deschner
a18d6839ac
libcli/auth: rename schannel_state.c to schannel_state_ldb.c.
...
Guenther
2009-08-27 15:55:18 +02:00
Stefan Metzmacher
e2845b8089
libcli/smb: add smb2_create_blob_find()
...
metze
2009-08-15 10:46:35 +02:00
Stefan Metzmacher
1d75a6e224
libcli/smb: move smb2_create_blob code to libcli/smb/
...
I want to use this in source3/smbd/
metze
2009-08-12 19:22:06 +02:00
Stefan Metzmacher
1df883aa39
libcli: move some common SMB and SMB2 stuff into libcli/smb/
...
This will hold code that's shared between source3 and source4.
metze
2009-08-12 18:28:32 +02:00
Matthias Dieter Wallnöfer
a08bffa358
Adds new error codes (needed for enhancing error messages for SAMBA 4 AD LDAP server)
2009-07-31 17:40:46 +02:00
Volker Lendecke
72da71acf9
Create a correct talloc hierarchy in make_sec_acl()
2009-07-14 20:49:06 +02:00
Günther Deschner
a45ec4db73
doserrors: print out some more werrors.
...
Guenther
2009-07-02 22:00:41 +02:00
Matthias Dieter Wallnöfer
a8e757ba4c
A fix in the ACL code used by both SAMBA 3 and 4
...
This fixes an uninitialised structure. It has been found through valgrind
in the RAW-ACLs test suite (Bug #6397 ).
2009-06-19 11:32:01 +10:00
Andrew Kroeger
71515ba190
s4: Call va_end() after all va_start()/va_copy() calls.
...
This corrects the issues reaised in bug #6129 , and some others that were not
originally identified. It also accounts for some code that was in the original
bug report but appears to have since been made common between S3 and S4.
Thanks to Erik Hovland <erik@hovland.org> for the original bug report.
2009-06-18 13:49:25 +10:00
Andrew Bartlett
f666da6940
Add const to cast, to fix warning
2009-06-18 13:49:25 +10:00
Andrew Tridgell
ddce3b5ac8
two more NT status codes that we get on DRS with w2k8-R2
2009-06-12 12:23:46 +10:00
Jeremy Allison
4b0658d448
Replace the "ipv4" specific strings in libcli/cldap/cldap.c with "ip". CLDAP can
...
run over IPv4/IPv6, even though some of the netlogon messages are IPv4 specific.
Fix the new ads_cldap_netlogon() to be IPv6/IPv4 agnostic. This compiles but
I don't have a good test env. for this (although as the previous code was
*completely* broken over IPv6 this will expose previously hidden bugs if it's broken :-).
Jeremy.
2009-06-08 15:21:48 -07:00
Andrew Tridgell
da3ee27900
add NT_STATUS_HAVE_NO_MEMORY_AND_FREE()
...
In many places we use NT_STATUS_HAVE_NO_MEMORY() to auto-return when a
memory allocation fails. In quite a few places where we use this, we
end up leaving a tmp_ctx behind, which creates a memory leak.
This macro takes a memory context to free when returning the error
2009-06-04 14:10:10 +10:00
Jelmer Vernooij
88876ac571
errormap: Remove wbc -> NTSTATUS error map for now. It is not used.
...
This was breaking the Samba 4 installation since it added dependencies
on header files we weren't installing.
Confirmed with Kai.
2009-05-15 16:05:37 +02:00
Günther Deschner
aa84ca6e6b
error-codes: add some more WERRORs to table.
...
These tables really should be auto-generated at some point...
Guenther
2009-05-12 23:52:43 +02:00
Volker Lendecke
831b73ec82
Fix an unitialized variable warning
2009-05-10 07:43:24 +02:00
Günther Deschner
e7a8577df1
error-codes: add some more group specific windows error codes.
...
Guenther
2009-05-05 21:10:02 +02:00
Tim Prouty
72bd5ff983
libcli: Fix shadowed name in header also
2009-05-04 14:38:59 -07:00
Tim Prouty
032bb807c7
libcli: Fix shadowed variable warning
2009-05-04 08:52:26 -07:00
Stefan Metzmacher
92a1890b90
libcli/named_pipe_auth: add tstream_npa_connect_send/recv()
...
Add a tstream client implemenation for the named pipe auth
code. This supports byte and message mode.
metze
2009-05-01 17:42:08 +02:00
Volker Lendecke
2146310fb7
Fix a couple of warnings
2009-04-23 14:35:50 +02:00
Kai Blin
7a9be21916
errormap: Add wbcErr to NTSTATUS mappings
2009-04-22 00:14:45 +02:00
Jelmer Vernooij
7a0a134e0c
Fix includes for security_descriptor file for the non-merged build.
2009-04-21 17:19:22 +02:00
Jelmer Vernooij
0bd8b7c5ff
Fix make install; don't install drsuapi.h and fix the location of
...
credentials.h
2009-04-21 16:50:20 +02:00
Jelmer Vernooij
2eff2de2f8
Move the security_descriptor utility code to the top-level.
2009-04-21 15:14:35 +02:00
Jelmer Vernooij
3e75c9bd33
Use a static copy of the samsync header file as Samba3 doesn't generate
...
prototype headers.
2009-04-21 15:14:34 +02:00
Jeremy Allison
4e1b633dab
Stop autogenerated files from being created.
...
Jeremy.
2009-04-20 09:06:21 -07:00
Jeremy Allison
fe77eac5f3
Add previously generated header files now needed in merged build.
...
Jeremy.
2009-04-20 08:48:07 -07:00
Andrew Bartlett
8a5d94e329
libcli/auth Ensure we cancel the transaction when schannel not detected
...
(found by jra on code review)
Andrew Bartlett
2009-04-20 13:55:04 +02:00
Andrew Bartlett
02ecdd8f29
libcli/auth: Don't pass back lm_sess_key as the same pointer as user_sess_key
...
This ensures that a talloc_free() of both pointers won't double-free
(sharing pointers like this is evil anyway).
Andrew Bartlett
2009-04-20 10:54:57 +02:00
Andrew Bartlett
fa37dbf960
Fix building the now common msrpc_parse code
2009-04-16 10:17:57 +10:00
Andrew Bartlett
0879cbaf2b
Fix building the common libcli/samsync code
2009-04-16 10:17:34 +10:00
Andrew Bartlett
86b50a0e6e
Add missing header, remove generated header
...
(This isn't a rename, honest :-)
2009-04-15 14:23:33 +10:00
Andrew Bartlett
0b4e9ce45a
common:libcli/auth Add missing samsync config.mk
2009-04-15 14:00:24 +10:00
Andrew Bartlett
53afa1adac
libcli/auth Push schannel check into common libcli/auth
...
This means we have a single choke point to ensure the remote client is
using schannel.
Andrew Bartlett
2009-04-14 16:23:44 +10:00