summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2009-04-24s4:torture Fix segfault in RPC-SAMSYNCAndrew Bartlett1-1/+1
This code needs to be fixed to match Win2008 behavior, but at least it does not segfault any more. Andrew Bartlett
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 Bartlett5-23/+33
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-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-23Add a new non-convenience version of push_codepoint.Jelmer Vernooij2-22/+20
2009-04-23Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-develAndrew Bartlett2-70/+105
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-23Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-develAndrew Bartlett9-6/+48
2009-04-23s4:test Fix 'make lcov' in Samba4Andrew Bartlett1-2/+2
2009-04-23s4:samr Use ldb_context * rather than void *Andrew Bartlett1-1/+1
2009-04-23Fix Coverity ID 628, Andrew B., please check!Volker Lendecke1-1/+1
2009-04-23errormap: Change the WBC_ERR_UNKNOWN_ERROR to map to NT_STATUS_UNSUCCESSFULKai Blin1-1/+1
This allows us to distinguish on NTSTATUS level if we got a WBC_ERR_UNKNOWN_ERROR or WBC_ERR_NSS_ERROR.
2009-04-22errormap: Add wbcErr to NTSTATUS mappingsKai Blin1-0/+37
2009-04-22s4-build: Also search ../nsswitch for make (c|e)tagsKai Blin1-1/+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
2009-04-22libcli: fix a "not handled in switch" compile warningBjörn Jacke1-0/+1
return NULL also for RAW_CLOSE_GENERIC
2009-04-22ѕ4: fix a "not handled in switch" compile warningBjörn Jacke1-0/+2
2009-04-21Fix make install; don't install drsuapi.h and fix the location ofJelmer Vernooij1-1/+1
credentials.h
2009-04-21Revert "Use an absolute path to ensure that we can always regenerate tables.c"Stefan Metzmacher1-2/+0
This reverts commit b57c8ff4400e5f2bd0776247496b34dab68bde97. This actually breaks the merged build... Doing a merged build and a samba4 build within the same checkout, without a git clean -x -d -f (this removes everything that's not checked into git! save files you don't want to delete!) running in the toplevel directory, is not supported. metze
2009-04-21Move the security_descriptor utility code to the top-level.Jelmer Vernooij3-535/+2
2009-04-21Add str() for policy_handles.Andrew Bartlett2-2/+17
Pair programmed with Jelmer
2009-04-21python/dcerpc: Custom implementations of policy_handle.__init__ and ↵Andrew Bartlett2-0/+49
policy_handle.__repr__ pair-programmed with Jelmer
2009-04-21python/rpc: Add custom GUID.__str__, GUID.__repr__, GUID.__init__ and ↵Andrew Bartlett3-0/+141
GUID.__cmp__.
2009-04-20Fix Samba 4 Makefile to also clean ../libgpoWilco Baan Hofman1-1/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20Move some headers around to avoid confusion.Wilco Baan Hofman1-2/+6
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20Move some headers around to avoid confusion.Wilco Baan Hofman1-0/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20Make the gpo files build for samba 4.Wilco Baan Hofman4-0/+286
Only gpt.ini remaining. Not suitable for merge yet, samba 3 is currently broken due to some changed public API. Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20Add nt_token_check_sid convenience function. Map NT_USER_TOKEN to struct ↵Wilco Baan Hofman2-0/+29
security_token. Fix build errors. Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20Add ../libgpo to samba4 srcdir list in rules.mk.Wilco Baan Hofman1-1/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20Make gpo_ldap.c compatible with samba 4. Add ads_get_ldap_server_name() ↵Wilco Baan Hofman3-20/+61
function to samba 3. Move prototypes to root libgpo where appropriate. gpo_ldap.c now compiles for both samba 3 and 4. Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20Add ads convenience functions to samba 4. Move gpo_ldap.c to root libgpo.Wilco Baan Hofman2-0/+309
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20Move gpo_sec to top-level.Jelmer Vernooij1-1/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20s4:librpc/rpc: pass async as argument to dcerpc_ndr_request_send()Stefan Metzmacher2-8/+9
The caller should decide if async is desired it should be harcoded per call. metze
2009-04-20s4:librpc/rpc: remove async argument from the sync dcerpc_request() functionStefan Metzmacher6-10/+8
metze
2009-04-20s4:librpc/rpc: only use smb_trans for sync rpc callsStefan Metzmacher1-2/+16
Over named pipes we can only do one smb_trans at a time, otherwise we're getting NT_STATUS_PIPE_BUSY. Async rpc calls need to use smb_read/write only. metze
2009-04-20s4:torture/rpc: use dcerpc_ndr_request() for the object_uuid testStefan Metzmacher1-10/+8
As we want sync calls... metze
2009-04-20s4:librpc/rpc: ask for 0x2000 bytes in the ioctl case to match all othercasesStefan Metzmacher1-1/+1
metze
2009-04-20Merge commit 'origin/master' into libcli-auth-merge-without-netlogondAndrew Bartlett11-40/+192
2009-04-20s4:selftest: ignore smb2.lease test for nowStefan Metzmacher1-0/+1
metze
2009-04-20Add a unit test for security_descriptor.as_sddl() without arguments.Jelmer Vernooij1-0/+10
2009-04-20Make domain sid argument to as_sddl() optional.Jelmer Vernooij1-3/+12
2009-04-20Fix the valid NetBIOS name tests.Jelmer Vernooij1-3/+3
2009-04-20s4-smbtorture: test all levels in test_GetJob().Günther Deschner1-8/+23
Guenther
2009-04-19Remove unused headersAndrew Bartlett4-9/+2
2009-04-17s4-smbtorture: Skip Job pause and resume on paused printers for Samba 3 for now.Günther Deschner1-2/+6
Guenther