summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-09-08packaging(RHEL-CTDB): introduce variable TOPDIRMichael Adam1-1/+2
Michael (cherry picked from commit 74e335ebf210c4812b0f790d05b697a183803af7) (This used to be commit c6ff392778a75cc74db880fa3d657f5879ae55d5)
2008-09-08packaging(RHEL-CTDB): rename SPECDIR to RPMSPECDIRMichael Adam1-4/+4
Michael (cherry picked from commit ac2b09b2274a12c34c446c4536793a33515958cc) (This used to be commit cbfd805bd25a23299ef770687370dafebefe58d1)
2008-09-08packaging(RHEL-CTDB): rename SRCDIR to RPMSRCDIRMichael Adam1-5/+5
Michael (cherry picked from commit d8a8ea87439315ecf407a866a12e2993343af39c) (This used to be commit ab7575f5d29576518bd5593ec5bd58846b85d23d)
2008-09-08BASE-DELAYWRITE: demonstrate that the time between the open and the first ↵Stefan Metzmacher1-0/+159
write doesn't matter metze (This used to be commit 13d051cd633f4a4152d360453fe5297ad53cc7b5)
2008-09-08netapi: expand NetUser testsuite a little.Günther Deschner1-2/+146
Guenther (This used to be commit fc1b04df78fc0fb5bc59fa0120c0e29bbb3978a1)
2008-09-08netapi: add NetShare testsuite.Günther Deschner4-1/+240
Guenther (This used to be commit 07cf13e43d03803a5f039fa6df3c9a35c701d43a)
2008-09-08net: use NETSETUP flags consistently.Günther Deschner1-1/+1
Guenther (This used to be commit f48e0cacdf7ed458e0e89ab151e3d233fb89240b)
2008-09-08netapi: re-arrange a little NetLocalGroupSetMembers example code.Günther Deschner1-4/+9
Guenther (This used to be commit 84a25e69947c077623165fe4535cddd48aba0a3e)
2008-09-08netapi: fix NetShareGetInfo example output.Günther Deschner1-1/+1
Guenther (This used to be commit 00ecf8205c4cd4a4c150b204811d448d0ac53c0d)
2008-09-08BASE-DELAYWRITE: test more details of the truncate write time update behaviorStefan Metzmacher1-4/+371
metze (This used to be commit 39367ef15fabbb52cd2c05be7ca59b25dc4aff71)
2008-09-08Make it clear that the MMR password can differ from the admin passswordAndrew Bartlett2-7/+9
In the future, we might simply randomly generate this, or allow the admin to specify it seperate to the admin password. However, both are highly sensitive, as they imply read access to the krbtgt. Andrew Bartlett (This used to be commit 57d19ad002c523fb9a09694e6710ab7f588d44ec)
2008-09-08Use DIGEST-MD5 authentication for OpenLDAP replicationOliver Liebel4-6/+31
This avoids passing rootdn passwords or replicated data in cleartext across the network. Signed-of-by: Andrew Bartlett <abartlet@samba.org> (This used to be commit 67373c143a1d8a9f310fd116dbf81c1dd123b75f)
2008-09-08Add definition for SYSTEM_FLAG_ATTR_IS_RDNAndrew Bartlett1-0/+1
(This used to be commit 36f727c4a73ffc8634692b0c5645343cb414de93)
2008-09-08Move blackbox.smbclient to test against the member server.Andrew Bartlett3-7/+41
The DC is now using smb signing, so testing for the old SMB versions won't work. Add a new test script to check 'net join' independent of blackbox.smbclient. Andrew Bartlett (This used to be commit 44ff392ffea52e89a3ac096a6d381ae540d3473c)
2008-09-08Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into ↵Andrew Bartlett19-166/+923
trusted-domains (This used to be commit a057c3ed9df2670e5cad5f1807e280d77eb58cb0)
2008-09-08Simplfy SetSecrets behaviour in line with RPC-LSA and Win2008.Andrew Bartlett1-51/+64
(This used to be commit 07cb8db799cc22685af4bb63285fa10115790ce1)
2008-09-08Try to implement the right logic for systemFlagsAndrew Bartlett1-0/+37
The MS-ADTS document has quite detailed instrucitons on how these flags should be processed. This change also causes the correct sign-wrapping to occour, as these are declared as signed integers. Andrew Bartlett (This used to be commit 5c3d237a6d721dc75166bdc5ac0c6e76a4495bf7)
2008-09-08Don't expose passwords, even to the administrator.Andrew Bartlett1-1/+14
This ensures they don't leak over LDAP, but does not prevent access, as ldbsearch locally still bypasses these controls. Andrew Bartlett (This used to be commit fa3f3bab33001770a9d7e33875bf212636f6c128)
2008-09-08More work towards trusted domains support in Samba4's LSAAndrew Bartlett3-54/+327
Make 'lsar_CreateTrustedDomain' consistant with lsar_CreateTrustedDomainEx{,2} by renaming handle -> policy_handle Implement LSA server logic to create the cn=users trust account for incoming trusts. Andrew Bartlett (This used to be commit d87b655e20b7c38756774cec2e5898af38c46786)
2008-09-07ndr_compression: add XPRESS compression supportStefan Metzmacher1-1/+49
metze (This used to be commit 1432a96d37e367d9d97d48b69c6f16351a9ad066)
2008-09-07lzxpress: Import of lzxpress compressionMatthieu Suiche2-0/+179
Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit fd84c5a08f7e8d6402e5f68eede546eb092d22aa)
2008-09-07ndr_compression: fix the build after lzxpress_decompress() prototype changeStefan Metzmacher1-1/+11
metze (This used to be commit b36056aac3f55587d2b3e7b66feea8173dbc67f0)
2008-09-07lzxpress: fix for decompression...Matthieu Suiche2-21/+17
Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit ee505df3742dac0af8eec8b9b27d1e1f5ef54ca9)
2008-09-06Always free tmp contexts before returningSimo Sorce1-0/+1
(This used to be commit 40b71bbd718f6dee70c0611e527f55c56623dea6)
2008-09-06zlib: we require zlib-1.2.3 or higherStefan Metzmacher1-3/+18
metze (This used to be commit 3f4eb091f0dcc53acbfdc63a8d82a5a0f28954a6)
2008-09-06Revert "zlib: add inflateReset2()..."Stefan Metzmacher3-28/+3
This reverts commit 2a4fb661d7e3d601a5eb9ccecb4d4f2b07073097. (we don't need inflateReset2 anymore) metze (This used to be commit ac43081b93966b545928230f7af8654b942432da)
2008-09-06Revert "zlib: we don't need the inflateReset2 prototype twice"Stefan Metzmacher1-0/+2
This reverts commit 0dbbc287f65a51330c5309df5a96b3acd4d044d5. (we don't need inflateReset2 anymore) metze (This used to be commit 426d129dfff1e2d3750884abb68089ff1850e640)
2008-09-06ndr_compression: change debug levelsStefan Metzmacher1-6/+6
metze (This used to be commit 83446e22dd1eda958ef62bbe998da0a47b9ff8ef)
2008-09-06ndr_compression: use deflateReset() together with defalteSetDictionary()Stefan Metzmacher1-8/+17
metze (This used to be commit dcc57512b030995d9b186c7a6cb3b304d5680867)
2008-09-06ndr_compression: use inflateReset() and inflateSetDictionary() instead of ↵Stefan Metzmacher1-7/+14
inflateReset2() Now we can use an unmodified system zlib-1.2.3 metze (This used to be commit d68e36b485239cbaf99a6dce3f3bf52b4abcd06d)
2008-09-05Don't compare identity, it'll never be different.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 840369b5534eee21818b9d3677404b0fc60a0219)
2008-09-05Fix debug message to show correct function name.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 079c75ef3c169c7a5d81bcaa0b70b6e0df2c464d)
2008-09-06Remove <tab> in OpenLDAP MMR configOliver Liebel1-1/+0
Signed-of-by: Andrew Bartlett <abartlet@samba.org> (This used to be commit 80f31c3272b8bc803629c27357033fd325529db1)
2008-09-05Write times code update.Jeremy Allison7-48/+117
Ok, here's the fix for the write times breakage with the new tests in S4 smbtorture. The key is keeping in the share mode struct the "old_file_time" as the real write time, set by all the write and allocation calls, and the "changed_write_time" as the "sticky" write time - set by the SET_FILE_TIME calls. We can set them independently (although I kept the optimization of not setting the "old_file_time" is a "changed_write_time" was already set, as we'll never see it. This allows us to update the write time immediately on the SMBwrite truncate case, SET_END_OF_FILE and SET_ALLOCATION_SIZE calls, whilst still have the 2 second delay on the "normal" SMBwrite, SMBwriteX calls. I think in a subsequent patch I'd like to change the name of these from "old_file_time" to "write_time" and "changed_write_time" to "sticky_write_time" to make this clearer. I think I also fixed a bug in Metze's original code in that once a write timestamp had been set from a "normal" SMBwriteX call the fsp->update_write_time_triggered variable was set and then never reset - thus meaning the write timestamp would never get updated again on subsequent SMBwriteX's. The new code checks the update_write_time_event event instead, and doesn't update is there's an event already scheduled. Metze especially, please check this over for your understanding. Jeremy. (This used to be commit 6f20585419046c4aca1f7d6c863cf79eb6ae53b0)
2008-09-06Make SMB signing work with Windows 2008 and kerberos.Andrew Bartlett1-4/+1
Pinched from b53e6387e30010509034835acf88b91b380ff44a by metze. Andrew Bartlett (This used to be commit d55602e23e7947462cb402b20b2d354b96aa7ba3)
2008-09-05Remove unecessary msync.Jeremy Allison1-4/+0
Jeremy. (This used to be commit 0bae1ef3de8fda5e1e2d641b14a408e627396912)
2008-09-05Fix "warning: pointer of type 'void *' used in arithmetic".Jeremy Allison1-1/+1
Jeremy. (This used to be commit 2d95ea38a2f1ead37121fcc036c21a7f20ff41f9)
2008-09-05Revert "winbindd: the ad trusted_domains call should return talloced strings."Günther Deschner1-5/+2
This reverts commit b57cbf62e8180c8fdb8f541c43358d36d8dbbdfa. (This used to be commit b2a3f13e5b3b81df2ed7460e54c11a7f56b3c4f6)
2008-09-05Added tests that show that write time update is immediateJeremy Allison1-1/+347
when changing file size using SMBwrite of size zero, SET_END_OF_FILE, or SET_ALLOCATION_SIZE - no 2 second delay in these cases. Jeremy. (This used to be commit 3aa7523d7750fe30d1e6bb5a75ac42b681b9e493)
2008-09-05Fix a memleakQiao Yang1-1/+2
request.extra_data is not freed if there is no extra_data in response or when there is some error happens in processing. This patch will free the buffer right after processing a request before sending back a response. (This used to be commit be6f12273f171a3eb1967d2299064e57d737f6a4)
2008-09-05re-run make idl.Günther Deschner3-0/+47
Guenther (This used to be commit 2e15036bacf717d27d1806bcbdba1e68f2f76aae)
2008-09-05netapi: add SHARE_INFO_1005_FLAGS.Günther Deschner1-1/+16
Guenther (This used to be commit f3044d76530f63b16f26fedf8e00eaf4d3badb06)
2008-09-05netapi: implement NetShareSetInfo_r.Günther Deschner1-1/+59
Guenther (This used to be commit ebcd45ed3ff79ce3b90872aa87a737ba6ee3401f)
2008-09-05netapi: add support for level 1004 inGünther Deschner1-0/+13
map_SHARE_INFO_buffer_to_srvsvc_share_info. Guenther (This used to be commit f21a934e1e100cb1496a6c854684ff110ba6d1cc)
2008-09-05netapi: add NetShareSetInfo example code.Günther Deschner2-1/+112
Guenther (This used to be commit a7050c999ff0a13724afbbbb2628cb47daec5b35)
2008-09-05netapi: add NetShareSetInfo to public header.Günther Deschner1-0/+22
Guenther (This used to be commit 2066ebc5e3e782b9443aee3e5beb1a99d69096ec)
2008-09-05netapi: add skeleton for NetShareSetInfo.Günther Deschner3-0/+75
Guenther (This used to be commit 4d7947e54959c6a445e8b0f7a8313fe232c1fb8f)
2008-09-05re-run make idl.Günther Deschner3-1/+54
Guenther (This used to be commit 7d863c4b00d70110819b847890ccb9b2a4aa71c9)
2008-09-05netapi: add NetShareSetInfo to IDL.Günther Deschner1-0/+12
Guenther (This used to be commit 22f37206338e54bbaf619a7b16e145f129bfe986)
2008-09-05netapi: implement NetShareEnum_r.Günther Deschner1-1/+90
Guenther (This used to be commit 3fbfbaea004f792a577f21275e6e4218f581d698)