summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-10-21s3-netapi: fix missing include in examples code.Günther Deschner1-0/+2
Guenther
2011-10-21libcli/smb: move smb_seal.c to the toplevelStefan Metzmacher10-18/+20
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Oct 21 10:22:39 CEST 2011 on sn-devel-104
2011-10-21s3-ntlmssp Remove references to auth_ntlmssp_context from the rpc codeAndrew Bartlett7-74/+75
We always dereferenced auth_ntlmssp_state->gensec_security, so now we do not bother passing around the whole auth_ntlmssp_state. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-21s3-seal Remove struct smb_srv_trans_enc_ctxAndrew Bartlett3-104/+54
This structure added no value, particularly after the move to gensec. It was added at a time when auth_ntlmssp_state was not available in the client. This changed a while back (the wrapper was extended with client calls), and the move to gensec again reinforced that we do not need the extra complexity. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-21s3-ntlmssp Remove references to auth_ntlmssp_context from the smb sealing codeAndrew Bartlett4-46/+54
Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-21s3-ntlmssp Remove auth_ntlmssp_session_key()Andrew Bartlett4-17/+12
We now just call the gensec_session_key() directly. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-21s3-ntlmssp Remove auth_ntlmssp_want_feature()Andrew Bartlett9-31/+17
We now just call the gensec_want_feature() directly. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-21s3-seal use gensec_[un]wrap() instead of gensec_[un]seal_packet()Andrew Bartlett1-54/+41
This should not make a difference for NTLMSSP as it still calls the low level ntlmssp_[un]seal_packet() functions with the same input parameters. If we convert the gss-api/krb5 based code to gensec we have to use gensec_[un]wrap() as the wire format is different compared to gensec_[un]seal_packet() there. Andrew Bartlett Split from another commit by Stefan Metzmacher <metze@samba.org>
2011-10-21s3-ntlmssp use gensec_{seal,unseal,sign,check}_packetAndrew Bartlett5-125/+55
This avoids the indirection via the auth_ntlmsssp wrapper functions. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-21s3-ntlmssp Remove auth_ntlmssp_negotiated_sign() and ↵Andrew Bartlett4-16/+4
auth_ntlmssp_negotiated_seal() We now just call the gensec_have_feature() directly. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-21s3-ntlmssp Remove auth_ntlmssp_update wrapperAndrew Bartlett10-47/+41
We now just call gensec_update directly. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-21s3-auth remove auth_ntlmssp_session_info()Andrew Bartlett5-23/+11
Instead, call gensec_session_info() directly. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-21s3:smbd/seal: pass talloc_tos() auth_ntlmssp_update(), because we free a few ↵Stefan Metzmacher1-1/+1
lines later metze
2011-10-21s3:libsmb/smb_seal: always use SAFE_FREE(buf) in common_free_enc_buffer()Stefan Metzmacher1-14/+1
There's no need to do gss-api specific stuff, the buffer is always malloc'ed. metze
2011-10-21s3:libsmb/smb_seal: use plain malloc() in common_ntlm_encrypt_buffer()Stefan Metzmacher1-2/+7
metze
2011-10-21s3:libsmb/smb_seal: avoid ads_errstr() dependency and use gssapi_error_string()Stefan Metzmacher1-9/+28
metze
2011-10-21s3:libsmb/smb_seal: make use of common [_]smb_[set]len_nbt() macrosStefan Metzmacher1-11/+11
metze
2011-10-21s3:include: make smb_setlen() a macroStefan Metzmacher3-15/+1
metze
2011-10-21libcli/smb: add smb_setlen_[nbt|tcp] macrosStefan Metzmacher1-0/+8
metze
2011-10-21libcli/smb: move some common defines to smb_constants.hStefan Metzmacher3-55/+27
metze
2011-10-21build: compile (but do not install) netapi examplesAndrew Bartlett2-0/+65
The only example not yet built is the GTK domain join gui. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Oct 21 01:31:55 CEST 2011 on sn-devel-104
2011-10-20s3:Makefile: make DSO_EXPORTS_CMD more portable (#8531)Björn Jacke1-1/+1
It sems like every not completely trivial sed expression should be tested with Solaris' sed. Its regexp engine is way more limited than the one of GNU sed. Thanks to Michael Pelletier for finding this! This fixes bug #8531 Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Thu Oct 20 23:15:05 CEST 2011 on sn-devel-104
2011-10-20Refactor to create check_parent_access() which can be called for file ↵Jeremy Allison1-23/+64
creation too. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Oct 20 20:29:22 CEST 2011 on sn-devel-104
2011-10-20Make mkdir_internal() check the parent ACL for SEC_DIR_ADD_SUBDIR rights.Jeremy Allison1-2/+33
2011-10-20build: compile (but do not install) all the libsmbclient testsAndrew Bartlett2-0/+40
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Oct 20 13:49:39 CEST 2011 on sn-devel-104
2011-10-20s3-netapi Compile (but do not install) netapi testsAndrew Bartlett2-1/+7
2011-10-20examples: compile libsmbclient tests using just SAMBA_BINARYAndrew Bartlett1-17/+17
This ensures that these compile without the extra includes that SAMBA3_BINARY adds. Andrew Bartlett
2011-10-20s3:libsmb/async_smb: in cli_state_notify_pending() we always disconnectStefan Metzmacher1-7/+5
So we should always set state->mid = 0. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Oct 20 11:34:23 CEST 2011 on sn-devel-104
2011-10-20Revert "selftest: Avoid being run over by armies of the undead"Andrew Bartlett1-2/+0
This reverts commit 2b47aface434000b29aa29f4ff6348cc147ae757 because it had a typo in $SIG{CHILD} (it needed to be $SIG{CHLD}), which when fixed simply broke the whole selftest system. Andrew Bartlett
2011-10-20build: explain the passing of make options to wafAndrew Tridgell1-0/+7
add a comment explaining how we pass make command line options into waf Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Oct 20 07:24:02 CEST 2011 on sn-devel-104
2011-10-20ldb: ldb_errstring() takes ldb_contxt as an argumentAmitay Isaacs1-1/+1
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-10-20s4-dns: Update serial number for zone on dns updatesAmitay Isaacs1-3/+83
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-10-20s4-selftest: Add tests for RPC dnsserverAmitay Isaacs3-0/+183
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-10-20samba-tool: Added dns command for DNS managementAmitay Isaacs2-0/+861
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-10-20s4-dns: Added DCERPC dns server for DNS managementAmitay Isaacs7-1/+3771
dnsserver.h - typedefs and prototypes dnsserver.c - RPC API and implementation methods dnsdb.c - samdb operations dnsdata.c - functions to manipulate dns structures dnsutils.c - function for serverinfo and zoneinfo structures Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-10-20s4-provision: Provision DNS records with correct rankAmitay Isaacs1-18/+23
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-10-20werror: Added missing DNS error codesAmitay Isaacs1-0/+36
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-10-20s4-dns: Added support for multiple DNS_RPC_RECORDS structuresAmitay Isaacs4-3/+93
Windows returns multiple DNS_RPC_RECORDS structures, but there is no well defined structure in [MS-DNSP] doc. Added hand-written code to parse ndr. Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-10-20s4-dns: Added more data types for dnsserver implementationAmitay Isaacs1-376/+547
Windows uses WERROR on dnsserver pipe. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-10-20ldb-samba: Added handler to decode dnsProperty attributeAmitay Isaacs2-0/+22
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-10-20dnsp: Added typedefs to interpret dnsProperty attribute for dnsZone objectclassAmitay Isaacs1-3/+123
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-10-20s4-test: added test suite for common.py codeAndrew Tridgell1-0/+42
this tests the dsdb_Dn() class Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Oct 20 05:51:28 CEST 2011 on sn-devel-104
2011-10-20s4-dsdb: moved dsdb_Dn() into common.pyAndrew Tridgell2-26/+43
this gives a method for dealing with binary DNs from python Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-10-20subunitrun: give more useful helpAndrew Tridgell1-2/+25
give some examples and more useful description for subunitrun command Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-10-20Fix a boatload of warnings in the examples.Jeremy Allison15-163/+48
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Oct 20 02:29:52 CEST 2011 on sn-devel-104
2011-10-20Fix error return to be NT_STATUS_NOT_A_DIRECTORY.Jeremy Allison1-2/+2
2011-10-20Make use of the "dir_exists" we already have on directory open.Jeremy Allison1-8/+28
2011-10-20dsdb: improve debug messageAndrew Tridgell6-11/+10
show the reply type in "Invalid reply type" messages Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Oct 20 00:57:05 CEST 2011 on sn-devel-104
2011-10-19s3-waf: make sure we always compile (not install) our libsmbclient testcode.Günther Deschner3-0/+88
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Oct 19 20:42:52 CEST 2011 on sn-devel-104
2011-10-19s3:libsmb/smb_seal: move smb_set_enclen() to smb_seal.c and make it static thereStefan Metzmacher3-14/+13
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Oct 19 19:06:35 CEST 2011 on sn-devel-104