summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-06-12s3: Remove smbd_server_conn from reply_tcon_and_XVolker Lendecke1-1/+1
2010-06-12s3: Remove smbd_server_conn from reply_tconVolker Lendecke1-1/+1
2010-06-12s3: Remove smbd_server_conn from make_connection_snumVolker Lendecke1-1/+1
2010-06-12s3: Remove smbd_server_conn from change_to_userVolker Lendecke1-2/+1
2010-06-12s3: Remove smbd_server_conn from reply_ntcancelVolker Lendecke1-1/+1
2010-06-12s3: Remove smbd_server_conn from send_nt_repliesVolker Lendecke1-1/+1
2010-06-12s3: Remove smbd_server_conn from reply_smb2002Volker Lendecke1-1/+1
2010-06-12s3: Explicitly pass sconn to negprot_spnego()Volker Lendecke3-5/+4
2010-06-12s3: Remove some global references to smbd_server_connVolker Lendecke1-10/+9
2010-06-12s3: Remove sconn arg from smbd_notify_cancel_by_smbreqVolker Lendecke3-6/+4
2010-06-12s3: Initialize smb_request->sconn in smbd_smb2_fake_smb_requestVolker Lendecke1-0/+1
2010-06-12s3: Use "sconn" argument in smbd_[un]lock_socket_internalVolker Lendecke1-8/+8
Metze, please check!
2010-06-12s3: Pass sconn to init_smb_request()Volker Lendecke1-5/+7
2010-06-12s3: Add "smbd_server_connection" to smb_requestVolker Lendecke2-0/+2
2010-06-12s3: Fix some nonempty linesVolker Lendecke1-8/+7
2010-06-12s4:dsdb Allow calling dsdb_convert_object_ex() directlyAndrew Bartlett1-6/+6
This will allow the libnet_vampire code to manually convert individual schema objects. Andrew Bartlett
2010-06-12s4:dsdb Add debugAndrew Bartlett1-0/+1
2010-06-12s4:dsdb Simplfy match of objectclass in dsdb_schema_set_el_from_ldb_msgAndrew Bartlett1-17/+4
There is no need to do a full ldb_match_msg() for a simple case insensitive string. Andrew Bartlett
2010-06-12s4:provision Allow both additional and override prefixmaps in SchemaAndrew Bartlett2-5/+8
The idea here is to allow some callers to specify a new prefixMap that will override the values loaded from the prefixMap.txt. Andrew Bartlett
2010-06-12s4:dsdb Allow a binary prefix map to be specified in the LDIFAndrew Bartlett1-0/+14
This allows it to be specified in either binary or as a string. Andrew Bartlett
2010-06-12s4:dsdb Provide a function to convert from DRS prefix maps to the LDB prefixmapAndrew Bartlett1-12/+21
This allows us to push a prefixmap directly into the schema we generate in the provision code. Andrew Bartlett
2010-06-12s4:dsdb Add more debugs to help track down failures to parse the prefixmapAndrew Bartlett1-5/+20
2010-06-12s4:dsdb Put back the reference and set_attributes in dsdb_reference_schemaAndrew Bartlett1-0/+9
I'm not sure why I removed these in fe3e1af901c970f738bee92baac5d7d4f5736e17 Andrew Bartlett
2010-06-11check if LD_AS_NEEDED breaks linking with libreadline fixes #7209Olaf Flebbe1-0/+20
Signed-off-by: Simo Sorce <idra@samba.org>
2010-06-11s4/test-libnet: Re-align code a bit - more readable this way IMOKamen Mazdrashki3-24/+28
2010-06-11s4/test-libnet: Refactor test_group_create() a little to:Kamen Mazdrashki1-11/+22
- Close unused policy handle for created group - re-align code - it is more readable this way IMHO
2010-06-11s4/test-libnet: Refactor test_user_create() little bit to:Kamen Mazdrashki1-11/+7
- fix a flaw that user RID is not returned in case user is recreated - close unused policy handle to created user - do not take into account the result from test_samr_close_handle - we don't case
2010-06-11s4/test-libnet: add few comments for utility functionsKamen Mazdrashki1-3/+11
2010-06-11s4/test-libnet: Move LSA close handle function to a common locationKamen Mazdrashki3-40/+26
2010-06-11s4/test-libnet: remove unused codeKamen Mazdrashki1-25/+0
Pre-connecting SAMR and LSA pipes is implemented in test_libnet_context_init() function
2010-06-11s4/test-libnet: Fix compile-time warningKamen Mazdrashki1-1/+1
2010-06-11Adjusted ACL tests to use encripted connection.Nadezhda Ivanova1-120/+69
This way we get rid of the conditional if.Samba checks, because users are successfully created and enabled.
2010-06-11s3-auth: Fix valgrind warning (unitialized var) in samu_to_SamInfo3().Günther Deschner1-5/+7
Guenther s3:auth do not fail if there are 0 group sids Signed-off-by: Günther Deschner <gd@samba.org>
2010-06-11configure.in prevent generation of file "shlib.so"Olaf Flebbe1-1/+1
2010-06-11s3:auth fix samu->info3 conversionSimo Sorce1-0/+3
Some pdb_get_ functions where missing because of previous mis-patching
2010-06-11s3: Fix starving the echo responderVolker Lendecke1-0/+11
When both the echo responder and the 445 socket want to send stuff to the worker smbd, the select loop is not fair. It always chooses the smaller file descriptor to work on. This can mean that on a busy system the echo responder never gets around to feed its stuff to the parent. This fix chooses the async echo responder socket when both the 445 and the echo responder socket are readable. Yes, it is a very hackish fix which is required *now* I think. The proper fix would be to either assign priorities to fd's in tevent, or the from my point of view better fix would be to make tevent kindof round-robin. Round-robin would mean that whenever a fd has been dealt with, it is taken off the list of interested sockets, and only if no other socket is active, all of the ones waiting are put back. This is a bit like EPOLL_ONESHOT, which I would like to use for this in the epoll case. Although, I need to do some research if maybe epoll already guarantees round-robin, I did not find anything in the docs yet. Volker
2010-06-11s4:rootdse LDB module - use LDB result constantsMatthias Dieter Wallnöfer1-4/+5
2010-06-11s4:passwords.py - set the "dSHeuristics"Matthias Dieter Wallnöfer1-0/+33
As per Nadia's request and abartlet's suggestion the test now also sets the "dSHeuristics" attribute properly to be able to perform the tests also against Windows without further configuration. The code has the neat feature that it undoes the change and resets the behaviour as it was before.
2010-06-11s4:passwords.py - use "self" before "enable_account" to make really sure ↵Matthias Dieter Wallnöfer1-1/+1
which LDB connection should be used
2010-06-11s4:ldap.py - check how the directory server behaves when the ↵Matthias Dieter Wallnöfer1-2/+12
'distinguishedName' attribute wasn't set correctly (On add operations the server does completely ignore it and uses the "header" DN)
2010-06-11s4:ldap.py - check if the "name" of an entry was really ignoredMatthias Dieter Wallnöfer1-2/+7
2010-06-11ldb:ldb_sqlite3 backend - remove a warning which has already been resolvedMatthias Dieter Wallnöfer1-1/+0
2010-06-11ldb:ldb_sqlite3 backend - remove checks which are now done elsewhereMatthias Dieter Wallnöfer1-29/+0
(In SAMBA LDB modules)
2010-06-11Add missing stub functions.Jelmer Vernooij1-0/+9
2010-06-11s4-python: Fix formatting.Jelmer Vernooij7-133/+176
2010-06-11s3:rpc improve handles memory hierarchy and use better name.Simo Sorce3-81/+92
While there also cleanup the code a bit. Signed-off-by: Günther Deschner <gd@samba.org>
2010-06-11s4-smbtorture: rework internals of RPC-SPOOLSS-ACCESS testsuite.Günther Deschner1-71/+181
Guenther
2010-06-11s4/test: use test_libnet_context_init() function to create libnet_contextKamen Mazdrashki2-24/+23
This way we ensure that LIBNET call will be issued against the DC we are testing against
2010-06-11s4/test: fix SEGFAULT in test_group_create when rid is NULLKamen Mazdrashki1-1/+4
Caller of this function may not need group RID and in such case it passes NULL for rid parameter
2010-06-11s4/test-libnet: Helper func to initialize libnet_contextKamen Mazdrashki1-0/+54
and create rpc connections to SAMR and LSA pipes. This function should be used in cases where we need 'deterministic' connection to the DC we are testing against. The problem is that most of the test follow the pattern: 1. Connect to server supplied on command line 2. Create user/group through connection in 1. 3. Use 'fresh' libnet_context to query/alter the object in step 2. In singe-DC environment this work well. But in multiple-DC environment libnet may connect to another DC (step 3), not the one we use in step 1 and 2. This leads to false error - object created in step 2 is not found on DC we are querying in step 3.