1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

9902 Commits

Author SHA1 Message Date
Stefan Metzmacher
0d235919fb r17488: - add SHA1 and HMACSHA1 functions, based on rfc 2104,2202,3174
- and add torture tests also based on the rfc's

metze
(This used to be commit d48930a02f)
2007-10-10 14:15:28 -05:00
Rafal Szczesniak
b26f4472a7 r17484: Make last version of the function generating random set of changes
more fair to each of the fields (ie. don't create new code at midnight
after a long day...).

This will be useful for testing multiple changes at once and verifying
correctness. A few testing runs already demostrated some missing pieces.

rafal
(This used to be commit 809c9cca96)
2007-10-10 14:15:28 -05:00
Alexander Bokovoy
ede41694c7 r17478: Add BENCH-READWRITE test to simulate read/write workload from simultaneous async clients. This code is based on concept from Mathias Dietz <mdietz@de.ibm.com>
(This used to be commit 7e6253a5f9)
2007-10-10 14:15:27 -05:00
Andrew Bartlett
ecfdd5fc6c r17474: Allow the partitions module to load modules for specific backends.
Andrew Bartlett
(This used to be commit c016db2187)
2007-10-10 14:15:27 -05:00
Andrew Bartlett
11685acd1d r17473: Split loading a list of modules and initialising them into a seperate
function.

Andrew Bartlett
(This used to be commit bed17cc579)
2007-10-10 14:15:27 -05:00
Rafal Szczesniak
5104e4e83f r17472: Remove unused variable.
rafal
(This used to be commit 04c94e4a52)
2007-10-10 14:15:27 -05:00
Rafal Szczesniak
54cde4d21d r17471: Add a function generating pseudorandom set of changes to test
user modify routines.

rafal
(This used to be commit dbd34fe082)
2007-10-10 14:15:27 -05:00
Rafal Szczesniak
8b659a2439 r17450: A bit more protection against memory allocation errors.
rafal
(This used to be commit a3ef0d051a)
2007-10-10 14:15:26 -05:00
Rafal Szczesniak
1ef10c575d r17449: Add another field to the test before expanding the whole test
to more complex form.

rafal
(This used to be commit e68e296cbe)
2007-10-10 14:15:26 -05:00
Rafal Szczesniak
84f8d208ef r17448: Define macros to set fields in api function modifying user account.
rafal
(This used to be commit 8d9330c490)
2007-10-10 14:15:26 -05:00
Rafal Szczesniak
9ea3b567e4 r17447: Add more fields to user modify routines.
rafal
(This used to be commit 8fa1cd62ec)
2007-10-10 14:15:26 -05:00
Stefan Metzmacher
a0ff937c5f r17442: print out credentials on the "secret" objectClass and "trustedDomain"
objectclass

metze
(This used to be commit af1efa0c79)
2007-10-10 14:15:26 -05:00
Stefan Metzmacher
87e240b21e r17441: add some more attribute with credentials in them
metze
(This used to be commit 3e2d923e17)
2007-10-10 14:15:25 -05:00
Stefan Metzmacher
0c149befe2 r17438: extend the comment
metze
(This used to be commit 246c35e008)
2007-10-10 14:15:25 -05:00
Simo Sorce
87b2218db7 r17434: update our index
(This used to be commit 9f79714389)
2007-10-10 14:15:25 -05:00
Simo Sorce
a72a455e29 r17433: remove obsoleted RFCs
(This used to be commit 7dffabc744)
2007-10-10 14:15:25 -05:00
Stefan Metzmacher
c3e837eaaf r17432: display more GUID values nicely,
they all have rangeLower=16 rangeUpper=16
and attribute syntax 2.5.5.10

metze
(This used to be commit 932f8bec21)
2007-10-10 14:15:25 -05:00
Stefan Metzmacher
3a083f8f53 r17430: implement the LDAP_SERVER_PERMISSIVE_MODIFY control in the client
metze
(This used to be commit 96259f0f24)
2007-10-10 14:15:24 -05:00
Stefan Metzmacher
12050962f6 r17429: implement the LDAP_SERVER_SHOW_DELETED control in the client
metze
(This used to be commit 40dc7c1787)
2007-10-10 14:15:24 -05:00
Stefan Metzmacher
8ac0237eba r17420: add client support for the LDAP_SERVER_DOMAIN_SCOPE control
metze
(This used to be commit 84e74a759c)
2007-10-10 14:15:24 -05:00
Stefan Metzmacher
817610f385 r17419: add client support for the LDAP_SERVER_SEARCH_OPTIONS support.
with this you can limit a search to a specific partitions
or a search over all partitions without getting referrals.
(Witch is the default behavior on the Global Catalog Port)

metze
(This used to be commit 4ccd0f8171)
2007-10-10 14:15:24 -05:00
Stefan Metzmacher
b4028ca104 r17418: add client support for the LDAP_SERVER_SD_FLAGS control
metze
(This used to be commit 23759a1e9b)
2007-10-10 14:15:23 -05:00
Volker Lendecke
0c739e8cde r17417: Try to fix random failures in the build farm for 3_0.
Volker
(This used to be commit 5cffd35fec)
2007-10-10 14:15:23 -05:00
Stefan Metzmacher
07cb71ba50 r17416: display the attributeSecurityGUID nicely.
this attriute is used to group multiple attribute
to a propertySet for access control.

metze
(This used to be commit 96e9d46091)
2007-10-10 14:15:23 -05:00
Stefan Metzmacher
0f6c285fa8 r17415: the ldif handlers can't do search as this now blocks foerever
because the handlers are called within the async callbacks
in side the main search.

Also it makes no sense to give the sddl encoder the sid of the primary
domain when we need a description of a real security_descriptor,
this only makes sense for the defaultSecurityDescriptor...

metze
(This used to be commit 92f133f1ef)
2007-10-10 14:15:23 -05:00
Stefan Metzmacher
3455998edc r17414: add new error code
metze
(This used to be commit e15a015a1d)
2007-10-10 14:15:23 -05:00
Stefan Metzmacher
14d3223321 r17413: add a new case for the this:
top->level1->level2->level3

level3 has a deny destructor
talloc_free(level1)

result: top->level3

metze
(This used to be commit 3be930b81d)
2007-10-10 14:15:22 -05:00
Simo Sorce
1ea8c378e2 r17412: fix missing colon
(This used to be commit 300d6e724d)
2007-10-10 14:15:22 -05:00
Andrew Bartlett
976b01b01a r17411: Try and compile on older versions of GnuTLS.
Andrew Bartlett
(This used to be commit 798c0791d8)
2007-10-10 14:15:22 -05:00
Simo Sorce
9481764b19 r17398: avoid a memleak when we are returned 0 results and make a more creative use of memory contexts
(This used to be commit fc97b5dc8c)
2007-10-10 14:15:22 -05:00
Andrew Bartlett
bf5e85ba25 r17397: Add const, and use a more local memory context.
Andrew Bartlett
(This used to be commit 59fc8031ec)
2007-10-10 14:15:21 -05:00
Andrew Bartlett
5d05a1a726 r17396: Bump the time up again. RPC-SAMR can slow, I probably need to break
it up again...

Andrew Bartlett
(This used to be commit 110de3a3a2)
2007-10-10 14:15:21 -05:00
Andrew Bartlett
303c106155 r17395: Add some more time to the default runtime. Now 7.5 mins.
Andrew Bartlett
(This used to be commit 5cb916b57a)
2007-10-10 14:15:21 -05:00
Andrew Bartlett
416625319b r17394: Pregenerate all the files for TLS. Make the 'make test' startup *much* faster.
Andrew Bartlett
(This used to be commit c366c90662)
2007-10-10 14:15:21 -05:00
Stefan Metzmacher
358b1b2ea6 r17381: - we don't need debug messages twice
- also user_info->mapped is maybe uninitialized
  in auth_password_check() as it we do the mapping in
  auth_password_check_send()

that to Kai Blin <kai.blin@gmail.com> and valgrind to find
this bug

metze
(This used to be commit d88aabef64)
2007-10-10 14:15:20 -05:00
Andrew Bartlett
1057b4bea2 r17380: An expanded test, cross-referencing the global catalog to the main port.
Andrew Bartlett
(This used to be commit eadc24ed29)
2007-10-10 14:15:20 -05:00
Andrew Bartlett
adefa4404c r17379: Pre-generate DH parameters, to avoid doing this at runtime in our testsuite.
Andrew Bartlett
(This used to be commit 23314c3953)
2007-10-10 14:15:20 -05:00
Andrew Bartlett
05aa6b85ce r17377: This attribute is maintained by the modules, don't override it.
Andrew Bartlett
(This used to be commit d942a8b2b6)
2007-10-10 14:15:20 -05:00
Simo Sorce
eb16bc612a r17370: Fix tdb searches, we need to return an LDAP_REPLY_DONE packet when done.
Awesome how this didn't break everything around...
(This used to be commit 1b3b617659)
2007-10-10 14:15:20 -05:00
Andrew Bartlett
f685635e87 r17368: Add 'const' to ldb_match_msg().
Andrew Bartlett
(This used to be commit 54eda4b859)
2007-10-10 14:15:19 -05:00
Stefan Metzmacher
529c5dae51 r17362: session_info and smbpid are available from the ntvfs_handle
so we don't need them on the pvfs_file struct.

also we don't need to check is the handle has the correct session
as this is job of the frontend server

metze
(This used to be commit c83501335f)
2007-10-10 14:15:19 -05:00
Stefan Metzmacher
2c4eece604 r17361: check that file handles are only accessable
by the correct session in the SMB frontend server

metze
(This used to be commit 8a5bc18c5a)
2007-10-10 14:15:19 -05:00
Stefan Metzmacher
c5148cd9cd r17360: add some comments
metze
(This used to be commit 3d849f9d25)
2007-10-10 14:15:19 -05:00
Stefan Metzmacher
7b52d77eb5 r17359: http://www.cs.wisc.edu/~cao/cs739/draft-leach-cifs-v1-spec-01.txt
says that with the 0xffff fid all files only for the given pid
should be flushed

Does samba3 handle this correct?

metze
(This used to be commit 7cf6eae23b)
2007-10-10 14:15:18 -05:00
Stefan Metzmacher
326e963a89 r17357: - fix the build
- generate the IDL_NDR_* variables before using them
  (this was the reason I didn't noticed this error)

metze
(This used to be commit c493bc83ee)
2007-10-10 14:15:18 -05:00
Andrew Bartlett
cf7ccba67e r17352: Don't do a modify on the objectClasses, as OpenLDAP doesn't like
this.  Instead, handle this one in the add.

Andrew Bartlett
(This used to be commit ab355e1f5f)
2007-10-10 14:15:18 -05:00
Andrew Bartlett
bd8fd50982 r17351: Remove extra LDB partition we don't actually use (these are in the
main database, under cn=templates).

Andrew Bartlett
(This used to be commit b1d061d36a)
2007-10-10 14:15:18 -05:00
Simo Sorce
b1b9617d1c r17350: Avoid a couple of memleaks, unnecessary code and use a more linear style
(This used to be commit 97c4d41a30)
2007-10-10 14:15:18 -05:00
Andrew Bartlett
b94b9d8c3d r17349: We can't just return sucess here, modules below us expect the async
reply rules to be followed.

Add code to do a fake async callback on the skipped records.

Andrew Bartlett
(This used to be commit 26bc7dbed9)
2007-10-10 14:15:17 -05:00
Stefan Metzmacher
bdbc9b3908 r17344: move the gensec_update_request structure into the header file
and add a private_data for the backends.

metze
(This used to be commit 015a65e001)
2007-10-10 14:15:17 -05:00