summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * r16900: Nicer display of the test results.Rafal Szczesniak2006-07-091-2/+10
| | | | | | | | | | | | | | | | rafal
| | | * r16897: Don't pass allocated buffer for returned string as the lookupRafal Szczesniak2006-07-091-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function allocates it using memory context. Also, give nicer output of the result of lookup performed. rafal
| | | * r16896: Allow to use both binding and unc string to specify host nameRafal Szczesniak2006-07-091-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | being looked up. rafal
| | | * r16895: Add continue function and prevent from segfaulting (or unpredictableRafal Szczesniak2006-07-091-16/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | behaviour) if composite context returned from _send function was NULL. rafal
| | | * r16891: test dcerpc over smb2Stefan Metzmacher2006-07-091-0/+3
| | | | | | | | | | | | | | | | metze
| | | * r16890: implement DCERPC over SMB2 in the IPC backendStefan Metzmacher2006-07-091-10/+95
| | | | | | | | | | | | | | | | metze
| | | * r16889: implement SMB2 Ioctl in the frontendStefan Metzmacher2006-07-092-1/+41
| | | | | | | | | | | | | | | | metze
| | | * r16877: run SMB2-FIND testStefan Metzmacher2006-07-081-1/+1
| | | | | | | | | | | | | | | | metze
| | | * r16876: implement SMB2 Find in the posix ntvfs backendStefan Metzmacher2006-07-083-0/+166
| | | | | | | | | | | | | | | | metze
| | | * r16875: implement SMB2 Find in the frontendStefan Metzmacher2006-07-085-9/+177
| | | | | | | | | | | | | | | | metze
| | | * r16874: query all informationStefan Metzmacher2006-07-081-2/+2
| | | | | | | | | | | | | | | | metze
| | | * r16873: - grow the buffer with the correct size, we maybe had 1 byte ↵Stefan Metzmacher2006-07-081-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | preallocated - body_size doesn't contain the preallocated byte so don't remove it metze
| | | * r16872: when we know the data length we can preallocate the bufferStefan Metzmacher2006-07-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | and avoid a realloc metze
| | | * r16871: zero padding bytesStefan Metzmacher2006-07-082-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | (found by valgrind) metze
| | | * r16870: copy over the status from the ntvfs request to the smb2 requestStefan Metzmacher2006-07-081-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | so that smb2srv_setup_reply() doesn't push uninitialized data (found by valgrind) metze
| | | * r16869: - if we know the blob length, we can preallocated the memoryStefan Metzmacher2006-07-081-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | and avoid a realloc in smb2_push_* - don't overwrite the first data byte metze
| | | * r16868: init some uninitialized valuesStefan Metzmacher2006-07-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | (found by valgrind) metze
| | | * r16860: Fix (and reactivate) the RPC-SAMR test. We need to allow these sidsAndrew Bartlett2006-07-073-22/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to be created as foreign, even if they are in a local domain. Also we do need the user to exist for the life of the test, as we add it to a group. Andrew Bartlett
| | | * r16858: The RPC-SAMR-PASSWORDS test now passes.Andrew Bartlett2006-07-071-3/+3
| | | | | | | | | | | | | | | | Andrew Bartlett
| | | * r16854: Fix the RPC-SAMR-PASSWORDS test. It failed because we allocated usersAndrew Bartlett2006-07-071-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | in the Builtin domain a SID from the global domain. Andrew Bartlett
| | | * r16852: I thought we passed RPC-SAMR-PASSWORDS, but we don't. Disable thatAndrew Bartlett2006-07-071-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | test for now. Andrew Bartlett
| | | * r16851: Put a clue in as to which domain might have failed, due to the lengthAndrew Bartlett2006-07-071-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | of this test. Andrew Bartlett
| | | * r16850: Disable NBT-WINSREPLICATION-OWNED until it always passes (currently ↵Andrew Bartlett2006-07-071-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | it still has intermittant failures). Andrew Bartlett
| | | * r16847: Add the parts of the SAMR test that pass back into 'make test'.Andrew Bartlett2006-07-073-165/+243
| | | | | | | | | | | | | | | | | | | | | | | | I still need to figure out what causes the rest to fail... Andrew Bartlett
| | | * r16846: Try not to segfault if the domain SID isn't there, or the searchAndrew Bartlett2006-07-071-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | failed. Andrew Bartlett
| | | * r16843: Confirm that openX uses the same mapping table as getatr.Jeremy Allison2006-07-061-1/+94
| | | | | | | | | | | | | | | | Jeremy.
| | | * r16842: Jeremy, I almost don't dare checking this in.....Volker Lendecke2006-07-061-0/+44
| | | | | | | | | | | | | | | | Volker
| | | * r16838: Allow compilation by midl. Patch by andrzej.hajda@wp.plJelmer Vernooij2006-07-061-9/+13
| | | |
| | | * r16835: Remove RPC-SAMR from the test, until I can clear up the unexplained ↵Andrew Bartlett2006-07-061-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | failure. Andrew Bartlett
| | | * r16834: split the level's of smb_search_first/smb_search_next and the levelsStefan Metzmacher2006-07-0614-267/+435
| | | | | | | | | | | | | | | | | | | | | | | | of smb_search_data metze
| | | * r16833: Add a base DN to more search calls, we need to look for an ID over theAndrew Bartlett2006-07-061-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | whole tree here. Andrew Bartlett
| | | * r16832: I should be more careful (and test!) when trying to make compilers andAndrew Bartlett2006-07-061-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | static checkers happy... Andrew Bartlett
| | | * r16831: Use a valid memory context (found by the IBM checker).Andrew Bartlett2006-07-061-2/+2
| | | | | | | | | | | | | | | | Andrew Bartlett
| | | * r16830: Fix IBM checker and GCC warnings.Andrew Bartlett2006-07-061-3/+3
| | | | | | | | | | | | | | | | Andrew Bartlett
| | | * r16829: Fix a number of issues raised by the IBM checker, or gcc warnings.Andrew Bartlett2006-07-063-11/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular, this removes one use of the LDB_DN_NULL_FAILED macro, which was being used on more than DNs, had an embedded goto, and confused the IBM checker. In the password_hash code, ensure that sambaAttr is not, before checking the number of values. In GENSEC, note that this switch value can't occour. This seems to be the only way to quiet both the IBM checker and gcc, as well as cope with possibly invalid inputs. Andrew Bartlet
| | | * r16828: Add RPC-LSA as a test that passes, and remove RAW-ACLs until someoneAndrew Bartlett2006-07-063-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | can fix it. Andrew Bartlett
| | | * r16827: Factor out some code into common samdb functions:Andrew Bartlett2006-07-065-280/+365
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - creation of ForeignSecurityPrincipals - template duplication code Rework much of the LSA server to pass the RPC-LSA test. Much of the server code was untested. In implementing the LSA Accounts feature, I have opted to have it only create entires when privilages are applied, and not to delete entries, but to delete the privilages. We skip some parts of the test, but it is much better than not testing it at all. Andrew Bartlett
| | | * r16826: Ensure we don't segfault if the remote server fails to set a passwordAndrew Bartlett2006-07-061-5/+34
| | | | | | | | | | | | | | | | | | | | | | | | in RPC-SAMR test. Andrew Bartlett
| | | * r16825: Make ldb_sainity_check() set an error string. This makes it muchAndrew Bartlett2006-07-064-13/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | easier to chase down what modules or application code gets wrong. Ensure not to leave memory allocated on failure in ldb_search() Andrew Bartlett
| | | * r16824: Rename Ethereal -> Wireshark (patch from Joerg Mayer)Jelmer Vernooij2006-07-056-39/+39
| | | |
| | | * r16815: split out search levels which are also used by smb2Stefan Metzmacher2006-07-052-127/+148
| | | | | | | | | | | | | | | | metze
| | | * r16801: Adding WERR_DS_DRA_ACCESS_DENIED.Günther Deschner2006-07-042-0/+2
| | | | | | | | | | | | | | | | Guenther
| | | * r16796: Fill in dsr_GetMemberships() / dsr_GetMemberships2().Günther Deschner2006-07-042-11/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This intersting call is apparently used to construct the user token, collect memberships from other DSAs and to retrieve (nested) memberships of a given group. Torture test to follow (once I cleaned it up). Guenther
| | | * r16795: Fix crash found by Dave Fenwick <djf@samba.org>.Andrew Bartlett2006-07-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The session_info was not being attached to the connection, so subsequent checks in the kludge_acl module were looking at free()ed memory. Andrew Bartlett
| | | * r16794: Make Samba4 pass it's own RPC-SAMR test, at least in part. There areAndrew Bartlett2006-07-044-165/+774
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | still a couple of unimplemented functions, but this is far better than not testing this at all. In particular, this exercises the password_hash module. Specific changes: - Add support for SetDomainInfo - Add many more info levels to QueryDomainInfo - Set a domain comment in RPC-SAMR, and verify it is kept - Refactor QueryUserInfo not to always serach for all attributes - Add QueryDiplayInfo3 and QueryDomainInfo2 as aliased calls - Make OemChangePassword2 search under the samdb_base_dn(), so it finds the user when partitions are active. - Skip SetSecurity, DisplayIndex, MemberAttributesOfGroup and 'Multiple' alias operations in RPC-SAMR for Samba4 - Add RPC-SAMR as a 'slow' RPC test (it is quite slow) Andrew Bartlett
| | | * r16791: Typo fix in a comment.Rafal Szczesniak2006-07-031-1/+1
| | | | | | | | | | | | | | | | rafal
| | | * r16784: - make some function in ldb static, they not need to be exported ↵Simo Sorce2006-07-032-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | anywhere - fix a bad segfault Andrew please make test before committing. Simo.
| | | * r16776: fix typoStefan Metzmacher2006-07-031-1/+1
| | | | | | | | | | | | | | | | metze
| | | * r16774: This patch modifies the tdb API to allow the logging function to be usedAndrew Bartlett2006-07-0315-129/+198
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | as part of ldb. This allows tdb failures to be passed all the way up to Samba's DEBUG system, which allowed easier debugging. Unfortunately I had to extend the tdb API, as the logging function didn't have a context pointer. I've worked over the 'debug levels' in TDB. Most of them were 0, which didn't seem right, as some were trace-like messages. We didn't see any of these previously, except when accessing TDB directly. Andrew Bartlett
| | | * r16773: Fix one more RPC-SAMR test (an alias level), and make it clear thatAndrew Bartlett2006-07-032-13/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | the unknown value in the samr_GroupInfo structures are the group attributes. Andrew Bartlett