summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-07-19s4-ldb: Add ldb_msg_normalize() to accept a memory context from clientKamen Mazdrashki2-12/+46
Previos implementation from ldb_msg_canonicalize() was moved into this function and now ldb_msg_canonicalize() is based on ldb_msg_normalize() Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s4-ldb: Use _ldb_msg_add_el() in ldb_msg_add()Kamen Mazdrashki1-4/+10
Previous implementation was 'leaking' attribute name string, that is allocated by ldb_msg_add_empty() Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s4-ldb: Use _ldb_msg_add_el() in ldb_msg_add_empty()Kamen Mazdrashki1-22/+17
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s4-ldb: Add separate function to add empty element into ldb_msgKamen Mazdrashki1-0/+30
It just adds another element, nothing more. Caller is responsible to fill-in the added element and determine how to handle data allocation contexts. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s4-ldb: Write more explanatory comment for ldb_msg_add()Kamen Mazdrashki1-3/+8
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s4-pyldb: Use ldb_msg_difference() in py_ldb_msg_diff()Kamen Mazdrashki1-2/+10
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s4-test: Use ldb_msg_difference() in torture/rpc/dssync.c testKamen Mazdrashki1-3/+6
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s4-tools: use ldb_msg_difference() in ldbedit - modify_record()Kamen Mazdrashki1-6/+10
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s4-dsdb/schema/schema_set.c: fix trailing spaces and comments spellingKamen Mazdrashki1-30/+38
Few comments split on several lines also... (Sorry Metze, I know you hate reviewing "and this, and that" type of patches, but those are just cosmetics) Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s4-dsdb: use ldb_msg_difference() in source4/dsdb/schema/schema_set.cKamen Mazdrashki1-2/+10
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s4-ldb: Implement ldb_msg_difference() function to accept a memory context ↵Kamen Mazdrashki2-23/+92
from client Old implementation from ldb_msg_diff() was moved into this this function but with changed interface so that a memory context may be passed. ldb_msg_diff() function is now based on ldb_msg_difference(), which fixes a hidden leak - internal ldb_msg object (returned from ldb_msg_canonicalize) wasn't freed and stays attached to ldb_context for the connection lifetime. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s3-auth: Use talloc hierarchies to properly free auth_ntlmssp_state contextsSimo Sorce7-26/+26
Turn auth_ntlmssp_end into a destructor and attach it to auth_ntlmssp_state. Remote auth_ntlmssp_end and use TALLOC_FREE in the callers. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s3-auth: auth_make ntlmssp_state the parent contextSimo Sorce1-29/+12
There is no need for a separate mem_ctx member. Also make the ntlmssp_state a children of auth_ntlmssp_state Also cleanup auth_ntlmssp_end to free only what is not automatically freed Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s3-auth: Simplify how we free the auth_contextSimo Sorce8-28/+26
Turn the freeing function into a destructor and attach it to the auth_context. Make all callers TALLOC_FREE() the auth_context instead of calling the free function. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s3-auth: Cleanup and readability fixesSimo Sorce1-21/+23
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19s3-ntlmssp: Remove ntlmssp_end and let the talloc hierarchy handle it.Simo Sorce9-49/+31
All the members are children of ntlmssp_state anyway. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-18s3: Actually use the usecs in aio_fork_suspendVolker Lendecke1-1/+2
Jeremy, please check!
2010-07-18s3: Fix an uninitialized variableVolker Lendecke1-1/+1
2010-07-18s3: Work better without the aio sighandlerVolker Lendecke1-7/+22
Refuse async I/O if we can't set up the signal handler
2010-07-18s3: Fix some nonempty blank linesVolker Lendecke1-6/+4
2010-07-18s3: Remove a direct use of procid_self()Volker Lendecke1-3/+5
2010-07-18s3-rpc_client: Fixed a segfault in rpccli_samr_chng_pswd_auth_crap().Andreas Schneider1-4/+23
This fixes the WINBIND-WBCLIENT test. The test set old_lm_hash_enc_blob.length to 0 and we don't check the length here. So the memcpy segfaulted.
2010-07-18s3-waf: Fixed the build.Andreas Schneider1-2/+4
2010-07-18s3: Don't use as-neededVolker Lendecke1-33/+0
This is just broken. RHEL5 can't deal with it, FreeBSD8 is broken with it, and who knows what other platforms are broken. I can rather live with a system that links in a bit too much than a system that does not work at all.
2010-07-17pam_winbind: Fix shadowing a global on FreeBSDVolker Lendecke1-5/+5
FreeBSD defines a function pam_error()
2010-07-17s3-dcerpc: Fix build and remove unneeded headersSimo Sorce1-3/+0
Sorry, botched a rebase.
2010-07-17s3-dcerpc: Move mere processing functions from srv_pipe_hnd.c to srv_pipe.cSimo Sorce3-463/+492
2010-07-17Fix a typoVolker Lendecke1-1/+1
2010-07-17s3-dcerpc: Move common cli/srv functions into a common fileSimo Sorce3-216/+243
2010-07-17s3: Really fix the 64-bit warningsVolker Lendecke1-1/+1
Hmm. Forgot to git commit this piece, sorry :-(
2010-07-17s3: Fix some 64-bit warningsVolker Lendecke1-1/+3
2010-07-17s3: Right now we do not have includes in Makefile.inVolker Lendecke1-11/+1
Skip the expansion step on non-GNU-make systems
2010-07-17s4 pam_winbind: don't build if pam header are not installedMatthieu Patou1-6/+7
2010-07-17s4 nss_switch: fix build problem on computer without the iniparserMatthieu Patou2-2/+2
Although the build was ok on my workstation it appears that on build server it was not because the include path was not correct.
2010-07-17s4-waf: add the missing bits for builing nss_winbind and pam_winbindMatthieu Patou3-0/+20
This is something that was not picked up during the migration to waf
2010-07-17s4 unittests: add blackblox test for ktpassMatthieu Patou2-0/+38
2010-07-17s4: create a simple version of ktpassMatthieu Patou1-0/+93
This script is intended to be a replacement for the ktutil of Windows. It's use is for exporting keytab that will be used for kerberized services.
2010-07-17s3-build: add LIBNDR_XATTR_OBJ.Günther Deschner2-4/+8
Guenther
2010-07-16Fix bug #7570 - New smb2 max parameters are undocumented.Jeremy Allison3-0/+51
Jeremy.
2010-07-16s3-dcerpc: rename SCHANNEL_SIG_SIZE to NL_AUTH_SIGNATURE_SIZE and move to IDL.Günther Deschner4-5/+5
Guenther
2010-07-16s3-perfcount: make it possible to compile the example perfcount daemon.Günther Deschner1-0/+15
Guenther
2010-07-16s4-smbtorture: run all testcases with bigendian push as well in RPC-BIND.Günther Deschner1-0/+3
Guenther
2010-07-16s4-smbtorture: rearrange testlist in RPC-BIND.Günther Deschner1-5/+23
Guenther
2010-07-16s4-smbtorture: make sure to wipe out dcerpc auth flags before RPC-BIND starts.Günther Deschner1-0/+1
Guenther
2010-07-16s3-dcerpc: Fix ability to receive Big Endian PDUsSimo Sorce7-28/+62
2010-07-16smbtorture shell: Allow any config option to be set.James Peach1-5/+6
Not sure what I was thinking by restricting the shell to "torture:" parametric options. It's really extemely useful to be able to set arbitrary options.
2010-07-16Make the "map to guest" parameter work correctly with NTLMSSP (spnegoJeremy Allison3-10/+38
and raw) under SMB2. Still need to investigate fixing this with krb5 auth (does this make sense ?). Jeremy.
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell257-1312/+1312
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-16s4-loadparm: change lp_*() to lpcfg_*() and provide s3 compatibility lp_*()Andrew Tridgell2-553/+623
This patch changes all Samba4 loadparm functions that take a loadparm_context or a loadparm_service structure to use a lpcfg_*() prefix. It then creates lp_*() functions which are wrappers around the lpcfg_*() functions. This should allow us to mix Samba3 and Samba4 code which uses loadparm calls. This first patch just makes the manual changes to the core loadparm code. The tree will not build with just this patch. The next patch replaces all of the callers, and was generated automatically with a perl script. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-16WHATSNEW: Start 3.6.0pre1 release notes.Karolin Seeger1-23/+36
Karolin