summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-04-24s4:torture Add tests for prefixMap custom attribute handlerAndrew Bartlett1-0/+34
2009-04-24Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-develAndrew Bartlett21-71/+180
2009-04-23Provide a ldb_global_init() function for compatibility with older versions ↵Jelmer Vernooij1-0/+6
of LDB (including the one in Samba 3).
2009-04-23More lcov code coverage generation workAndrew Bartlett1-3/+3
2009-04-23samba3/ldb: Update the ldb_dn API to match that of the Samba 4 LDB:Jelmer Vernooij4-31/+53
* ldb_dn_new() now takes an initial DN string * ldb_dn_string_compose() -> ldb_dn_new_fmt() * dummy ldb_dn_validate(), since LDB DNs in the current implementation are always valid if they could be created.
2009-04-23ldb/samba3: Support event context argument to ldb_init().Jelmer Vernooij10-10/+18
This argument is ignored (Samba3's LDB is synchronous) but having it there is useful for API compatibility with the LDB used by Samba 4 and available on some systems.
2009-04-23Fix of a bug in the security.descriptor.as_sddl() methodnadezhda ivanova2-1/+7
security.descriptor.as_sddl() method did not work correctly when invoked without supplying the domain sid. Returned the same value as when the sid was provided. Test added for this case in libcli/security/tests/bindings.py Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-04-23s4:torture use common libcli/auth crypto codeAndrew Bartlett1-11/+9
2009-04-23Fix push_codepoint function without iconv_convenience.Jelmer Vernooij1-1/+1
2009-04-23charcnv: Import push_codepoint().Jelmer Vernooij1-0/+61
2009-04-23Add a new non-convenience version of push_codepoint.Jelmer Vernooij6-29/+35
2009-04-23Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-develAndrew Bartlett3-70/+125
2009-04-23Add async support for reply_tcon* and ntvfs_connectSam Liddicott2-70/+105
smbsrv_tcon_backend no longer creates the ntvfs_request wrapper, so smbsrv_reply_tcon* can now do this and then invoke ntvfs_connect in the typical manner using SMBSRV_SETUP_NTVFS_REQUEST and SMBSRV_CALL_NTVFS_BACKEND Previously smbsrv_tcon_backend has been responsible for instantiating the ntvfs_module_context to service a tree-connect request, and then create an ntvfs_request wrapper around the smbsrv_request and pass this to ntvfs_connect for the newly created ntvfs. These actions could not be invoked asynchronously. This meant that any client requests made while instantiating the ntvfs module, including any composite's used during authentication (or related client connections for the case of proxy modules) would block other ntvfs modules and requests in the current process as they executed a nested event loop to await completion. Signed-off-by: Sam Liddicott <sam@liddicott.com> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-04-23s4:test Include 'source4' in directories to find lcov inAndrew Bartlett1-1/+1
2009-04-23Add missing prototypesVolker Lendecke1-0/+20
2009-04-23Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-develAndrew Bartlett51-594/+911
2009-04-23s4:test Fix 'make lcov' in Samba4Andrew Bartlett1-2/+2
2009-04-23Revert "Do not use the file system GET_REAL_FILENAME for mangled names"Volker Lendecke1-23/+7
This reverts commit b5b6ecb58aeba196c28370cde21a0826f81d8da6.
2009-04-23Fix a couple of warningsVolker Lendecke5-18/+23
2009-04-23Fix an uninitialized variableVolker Lendecke1-0/+2
2009-04-23Fix a type-punned warningVolker Lendecke1-1/+1
2009-04-23Fix a pointless staticVolker Lendecke1-1/+1
2009-04-23s4:samr Use ldb_context * rather than void *Andrew Bartlett1-1/+1
2009-04-23Fix coverity #901 - uninitialized data.Jeremy Allison1-1/+1
Jeremy.
2009-04-23Fix Coverity ID 626: DEADCODEVolker Lendecke1-5/+0
2009-04-23Fix Coverity bug #902, uninitialized variable.Jeremy Allison2-2/+4
Jeremy.
2009-04-23Fix Coverity ID 628, Andrew B., please check!Volker Lendecke1-1/+1
2009-04-23Fix coverity #908, #909, uninitialized variable.Jeremy Allison1-2/+2
Jeremy.
2009-04-23Fix Coverity ID 884: DEADCODEVolker Lendecke1-3/+4
2009-04-23Fix coverity #910, uninitialized variable.Jeremy Allison1-1/+1
Jeremy.
2009-04-23s3-selftest: test wbinfo --allocate-uid/gid.Günther Deschner1-0/+2
Guenther
2009-04-23errormap: Change the WBC_ERR_UNKNOWN_ERROR to map to NT_STATUS_UNSUCCESSFULKai Blin2-2/+2
This allows us to distinguish on NTSTATUS level if we got a WBC_ERR_UNKNOWN_ERROR or WBC_ERR_NSS_ERROR.
2009-04-22Specify explicit path to vlp, for those not having vlp in $PATH.Jelmer Vernooij1-1/+9
2009-04-22Make dskattr async.Jeremy Allison3-40/+104
Jeremy.
2009-04-22ѕ3/configure: fix regexp for ld version recognitionBjörn Jacke1-1/+1
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-04-22Fix profile acls in some corner casesSimo Sorce1-3/+18
Always add back the real original owner of the directory in the ACE List after we steal its ACE for the Administrators group.
2009-04-22Avoid duplicate acesSimo Sorce1-7/+48
When adding arbitrary aces to an nt_ace_list we need to make sure we are not actually adding a duplicate. add_or_replace_ace() takes care of doing the right thing.
2009-04-22Prevent reallocs of the talloc pool itselfSimo Sorce1-0/+5
2009-04-22Make cli_chkpath async.Jeremy Allison6-13/+134
Jeremy
2009-04-22Move serverinfo_to_SamInfo3() to rpc_server/Volker Lendecke2-187/+187
Normally I hate moving around stuff, but this function is only called from the RPC server side and it pulls in passdb when trying to link in our rpc client routines. That seems unnecessary to me.
2009-04-22Add comment explaining the previous fix.Jeremy Allison1-0/+6
Jeremy.
2009-04-22Fix bug #6279 - winbindd crash. Cope with LDAP libraries returning ↵Jeremy Allison1-0/+4
LDAP_SUCCESS but not returning a result. Jeremy
2009-04-22Fix some nonempty blank linesVolker Lendecke1-143/+142
2009-04-22Remove some shadowed definition warningsVolker Lendecke1-3/+3
2009-04-22Avoid using deprecated form of AC_CHECK_TYPE.Brad Hards2-3/+13
libreplace makes use of an older form of AC_CHECK_TYPE which basically provides a fallback definition for the type if it isn't available. http://www.gnu.org/software/hello/manual/autoconf/Obsolete-Macros.html#Obsolete-Macros shows why this isn't a good idea (its not so important, except for pointer types). This patch partly addresses the issue. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-04-22errormap: Add wbcErr to NTSTATUS mappingsKai Blin3-0/+84
2009-04-22s4-build: Also search ../nsswitch for make (c|e)tagsKai Blin1-1/+1
2009-04-22s4 selftest: Export the WINBINDD_SOCKET_DIR env varKai Blin1-0/+1
2009-04-22s4:ldb: fix extrasemi compile warningBjörn Jacke1-1/+1
2009-04-22s4:ldb: do talloc_free and return NULL when we have no matches to returnBjörn Jacke1-0/+4