summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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)
2008-09-05netapi: implement NetShareGetInfo_r.Günther Deschner1-1/+154
Guenther (This used to be commit 029cf4a2a9d95b9c7de6eb75118a92474c0ae9c1)
2008-09-05netapi: add NetShareGetInfo example code.Günther Deschner2-1/+159
Guenther (This used to be commit 0166c8f04be1168fe83d7bf3730d3011ffd8c6f6)
2008-09-05netapi: add NetShareGetInfo to public header.Günther Deschner1-0/+20
Guenther (This used to be commit 5c63b181ec698a6134ce31326dab9e6bd232acf0)
2008-09-05netapi: add skeleton for NetShareGetInfo.Günther Deschner3-0/+72
Guenther (This used to be commit 237c6e0bca44e19ca89532e565b1345f9f329111)
2008-09-05re-run make idl.Günther Deschner3-1/+54
Guenther (This used to be commit dab613e930a9193153cc744e4ad4ea0fa6476b40)
2008-09-05netapi: add IDL for NetShareGetInfo.Günther Deschner1-0/+11
Guenther (This used to be commit 5d669075295a3adb30c013d1a3b617bf4ced8e73)
2008-09-05netapi: remove NetSetup* flags from netdomjoin-gui.Günther Deschner1-3/+0
Guenther (This used to be commit 5851b4e40e5cc2b7ba973b274f9203aa6e6fb1d8)
2008-09-05netapi: add NETSETUP_JOIN_STATUS to public header.Günther Deschner1-0/+7
Guenther (This used to be commit 86de3242a478c9f669958414ee9e7720cddad9aa)
2008-09-05re-run make idl.Günther Deschner1-0/+17
Guenther (This used to be commit f87caa7bff3b8a0b8d7cdc5cda7d21dd7e9eb0ec)
2008-09-05netapi: add NETSETUP_JOIN_STATUS to IDL.Günther Deschner1-0/+7
Guenther (This used to be commit c5ab5bf8417412835d879c8a58a7c64e1359646f)
2008-09-05re-run make idl.Günther Deschner2-12/+12
Guenther (This used to be commit 383d268f8c4f6282757d350e6b059446e52e6c53)
2008-09-05wkssvc: rename wkssvc_NetJoinStatus flags.Günther Deschner1-4/+4
Guenther (This used to be commit 9afc888356f801fd231234673bb4a1f6cbf62792)