summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2008-09-11re-run make idl.Günther Deschner3-16/+66
Guenther (This used to be commit 00af97de407e2c0447714095340bd9494cc53b0f)
2008-09-11netapi: add IDL for NetGroupSetUsers.Günther Deschner1-0/+12
Guenther (This used to be commit 5040f6af41250220c5ccf1cbdc206c4b6e7025a5)
2008-09-11netapi: implement NetUserSetGroups_r.Günther Deschner1-2/+242
Guenther (This used to be commit 2ddee7577de1d6d2b7a39b949ed6a925da2e9db8)
2008-09-11netapi: add example code for NetUserSetGroups.Günther Deschner2-0/+150
Guenther (This used to be commit 1355939b4c9c2883f9542ef4189cac7418104b68)
2008-09-11netapi: add NetUserSetGroups to public header.Günther Deschner1-0/+22
Guenther (This used to be commit 3e96cd229c1536a7e16441f600c379ceb651b2b3)
2008-09-11netapi: add skeleton for NetUserSetGroups.Günther Deschner3-0/+76
Guenther (This used to be commit 165be948fab1c64526421b44b08de700849bba25)
2008-09-11re-run make idl.Günther Deschner3-27/+77
Guenther (This used to be commit 4efbd569478d6d98078833084aaae5a97cd5182b)
2008-09-11netapi: add IDL for NetUserSetGroups.Günther Deschner1-0/+12
Guenther (This used to be commit 6b35856c21d300bf20dd7bc7c27c5e12aca6b2ff)
2008-09-11netapi: make add_GROUP_USERS_INFO_X_buffer non-static.Günther Deschner2-6/+13
Guenther (This used to be commit 87fc15d9b52bbb15550015cb106062d24c5674ba)
2008-09-11netapi: fix NetShareEnum_r.Günther Deschner1-1/+4
Guenther (This used to be commit 7e8903b53beba3ad1bb8617ed435249257724be3)
2008-09-11netapi: fix NetShareGetInfo_r.Günther Deschner1-1/+1
Guenther (This used to be commit b42408f54ea61ad47f5a33085ab1532c67ceee83)
2008-09-11net: use netapi for NetShareEnum.Günther Deschner1-66/+36
Guenther (This used to be commit f4cb75b1e2b030055b9c566f941277286095b8a7)
2008-09-11netapi: fix NetShareEnum_r which in fact enumerates all shares.Günther Deschner1-7/+7
Guenther (This used to be commit 0637ad872e5d30f71b6ea1ec2d243ec8e8836c31)
2008-09-11netapi: fix doxygen warning.Günther Deschner1-1/+1
Guenther (This used to be commit e0312728a5ac5abd64622600f47967861a4e0183)
2008-09-10Fix bug #5052 - not work cancel inheritance on share. We wereJeremy Allison1-3/+10
using the parent security descriptor type and flags instead of using the passed in SD. Jeremy. (This used to be commit 0d824d7188518aaa7b4e890885e6bc42e94397c5)
2008-09-10When requesting UNIX info levels on findfirst/findnext, don't play games ↵Jeremy Allison1-1/+5
with write time, just return what the underlying filesystem says. Trying not to confuse UNIX apps any more than necessary. Jeremy. (This used to be commit b81a4dd003957a611ea190979d828b75d07a1f80)
2008-09-10Fix blocker bug 5745 kerberos authentication with (lib)smbclient is broken.Jeremy Allison1-2/+14
Jeremy. (This used to be commit a59bd0e4854117a8646f4d388a0f7285362d5ba2)
2008-09-10net: share_type is defined in net_rap.c, net_rpc.c needs to use that.Kai Blin2-2/+3
This fixes a crash in net rpc share that Günther Deschner found. (This used to be commit 50af6d609dcbbdadb9af44ede980d9c85ac834e3)
2008-09-10Fix some bogus compiler warningsVolker Lendecke1-5/+10
(This used to be commit 84ed752d9f17b2279bd60f534ce7c02b267a40b2)
2008-09-09Fix make test on sparc and possibly also on AIXVolker Lendecke1-1/+3
(This used to be commit 5721205bff539ed5f8592a86168679ec5a9c368e)
2008-09-09Merge branch 'v3-devel' of ssh://git.samba.org/data/git/samba into v3-develJelmer Vernooij9-44/+814
(This used to be commit c3d1b0097590566417bda3fa33a64e994c9c7526)
2008-09-09Stop ignoring .svn directories when creating tags, since we no longer useJelmer Vernooij1-2/+2
svn. (This used to be commit 151c78652a89146049a134f60aef509c2117c436)
2008-09-09Rename object variables to avoid clashes with Samba 4.Jelmer Vernooij2-6/+8
(This used to be commit c77758de5d6df28abaffe3f8a1d7b5cbc615605e)
2008-09-09Convert cli_query_secdesc to the async trans callVolker Lendecke1-21/+16
(This used to be commit ab41017896e08d32c8a87bf172654ff2db6b6f1a)
2008-09-09Convert cli_qfileinfo to the async trans callVolker Lendecke1-21/+19
(This used to be commit ddc5e77b619db7c2369b3bf72b60360051797087)
2008-09-09Add async trans/trans2/nttrans calls to libsmbVolker Lendecke2-0/+722
Logic stolen from Samba4, naturally the specific implementation differs a bit. (This used to be commit 4b8bc5b03d35d563104791c0d8317d9886e4f032)
2008-09-09Add some debug to reply_nttransVolker Lendecke1-0/+11
(This used to be commit 23e9fed28cf9998534b3c55f4b20a562da507552)
2008-09-09Move setting the mid field in req->outbuf from _cork to _uncorkVolker Lendecke1-1/+1
The async trans calls need this, as for secondary trans calls they have to modify the MID from what cli_request_chain() gave us. (This used to be commit c85de4b7b5db8b54b8bf0f91acbd6d08d1b0bc9d)
2008-09-09Add utility function cli_in_chain()Volker Lendecke2-0/+16
This gives a hint whether a function is called from within the middle of a chain. In particular the trans calls don't really like this. (This used to be commit 4252b32db5ef7483f2c5c52312b6e6dc68d1d687)
2008-09-09make smb_bytes_push_str publicVolker Lendecke2-1/+2
(This used to be commit d611f599b45ad9dad1027a16a0e8da7d4b96e608)
2008-09-09Add a utility function to append a DATA_BLOB to a talloc objectVolker Lendecke2-0/+27
(This used to be commit d8259cbe666d96cc468203a64fb208c02a64849f)
2008-09-09Fix a memleak in cli_qfilename (only used in smbtorture)Volker Lendecke1-0/+5
(This used to be commit 7e0cca19fec078c0b46807492a7a035f4fab612b)
2008-09-08Fix calculation of useable_space for trans2 and nttrans repliesVolker Lendecke2-18/+19
When alignment was in place, we pretended to send more data/params according to the param_offset/param_length and data_offset/data_length parameters than would actually fit into the SMB according to the NBSS length field. (This used to be commit ef3c132b8455c6fe4d0bb9f0be881040a806a4ed)
2008-09-08When setting an NFSv4 ACL, map generic bitsVolker Lendecke1-0/+4
(This used to be commit dbe7a61be2beac50d1665e38ac374cefbbabec00)
2008-09-08Thanks metze for pointing out the missing extern :-)Volker Lendecke1-1/+1
(This used to be commit b62540cd48212a80c8cb4a264f740591a0229944)
2008-09-08smbd: some write time fixesStefan Metzmacher2-8/+8
- only the first non truncating write causes the write time update with 2 seconds delay. It's not enough to check for an existing update event as it will be NULL after the event was triggered. - SMBwrite truncates always update the write time unless the sticky write time is set. - SMBwrite truncates don't trigger a write time update on close. metze (This used to be commit 3d17089b6dc773303c8c553f3f6140e60e348fb7)
2008-09-08Remove some duplicate codeVolker Lendecke1-6/+1
(This used to be commit 564bfe94ac87c918482ade65980270326dc8ed6d)
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-05Fix debug message to show correct function name.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 079c75ef3c169c7a5d81bcaa0b70b6e0df2c464d)
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-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-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)