Günther Deschner
7089c800c1
netapi: expand NetUser testsuite a little.
...
Guenther
(This used to be commit fc1b04df78fc0fb5bc59fa0120c0e29bbb3978a1)
2008-09-08 10:18:27 +02:00
Günther Deschner
c01d0c0bdf
netapi: add NetShare testsuite.
...
Guenther
(This used to be commit 07cf13e43d03803a5f039fa6df3c9a35c701d43a)
2008-09-08 10:17:48 +02:00
Günther Deschner
c464969b64
net: use NETSETUP flags consistently.
...
Guenther
(This used to be commit f48e0cacdf7ed458e0e89ab151e3d233fb89240b)
2008-09-08 10:17:21 +02:00
Günther Deschner
a828a644d0
netapi: re-arrange a little NetLocalGroupSetMembers example code.
...
Guenther
(This used to be commit 84a25e69947c077623165fe4535cddd48aba0a3e)
2008-09-08 10:17:06 +02:00
Günther Deschner
9194109e6c
netapi: fix NetShareGetInfo example output.
...
Guenther
(This used to be commit 00ecf8205c4cd4a4c150b204811d448d0ac53c0d)
2008-09-08 10:16:48 +02:00
Jeremy Allison
e76cb70444
Fix debug message to show correct function name.
...
Jeremy.
(This used to be commit 079c75ef3c169c7a5d81bcaa0b70b6e0df2c464d)
2008-09-05 20:37:00 -07:00
Jeremy Allison
405b072431
Write times code update.
...
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-05 19:00:48 -07:00
Jeremy Allison
a90ba70cbf
Remove unecessary msync.
...
Jeremy.
(This used to be commit 0bae1ef3de8fda5e1e2d641b14a408e627396912)
2008-09-05 15:32:22 -07:00
Jeremy Allison
beb19da53f
Fix "warning: pointer of type 'void *' used in arithmetic".
...
Jeremy.
(This used to be commit 2d95ea38a2f1ead37121fcc036c21a7f20ff41f9)
2008-09-05 15:20:59 -07:00
Günther Deschner
ce9d896781
Revert "winbindd: the ad trusted_domains call should return talloced strings."
...
This reverts commit b57cbf62e8180c8fdb8f541c43358d36d8dbbdfa.
(This used to be commit b2a3f13e5b3b81df2ed7460e54c11a7f56b3c4f6)
2008-09-05 23:29:54 +02:00
Qiao Yang
38c287740f
Fix a memleak
...
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-05 14:13:39 +02:00
Günther Deschner
7c74e379a5
re-run make idl.
...
Guenther
(This used to be commit 2e15036bacf717d27d1806bcbdba1e68f2f76aae)
2008-09-05 13:22:59 +02:00
Günther Deschner
3709e37770
netapi: add SHARE_INFO_1005_FLAGS.
...
Guenther
(This used to be commit f3044d76530f63b16f26fedf8e00eaf4d3badb06)
2008-09-05 13:22:54 +02:00
Günther Deschner
05449814e9
netapi: implement NetShareSetInfo_r.
...
Guenther
(This used to be commit ebcd45ed3ff79ce3b90872aa87a737ba6ee3401f)
2008-09-05 13:22:47 +02:00
Günther Deschner
136ddc8f04
netapi: add support for level 1004 in
...
map_SHARE_INFO_buffer_to_srvsvc_share_info.
Guenther
(This used to be commit f21a934e1e100cb1496a6c854684ff110ba6d1cc)
2008-09-05 13:22:39 +02:00
Günther Deschner
86df00a388
netapi: add NetShareSetInfo example code.
...
Guenther
(This used to be commit a7050c999ff0a13724afbbbb2628cb47daec5b35)
2008-09-05 13:22:31 +02:00
Günther Deschner
09e96f2a98
netapi: add NetShareSetInfo to public header.
...
Guenther
(This used to be commit 2066ebc5e3e782b9443aee3e5beb1a99d69096ec)
2008-09-05 13:22:22 +02:00
Günther Deschner
582a48d89c
netapi: add skeleton for NetShareSetInfo.
...
Guenther
(This used to be commit 4d7947e54959c6a445e8b0f7a8313fe232c1fb8f)
2008-09-05 13:22:14 +02:00
Günther Deschner
f97cb336fc
re-run make idl.
...
Guenther
(This used to be commit 7d863c4b00d70110819b847890ccb9b2a4aa71c9)
2008-09-05 13:22:07 +02:00
Günther Deschner
e14fa8a2c5
netapi: add NetShareSetInfo to IDL.
...
Guenther
(This used to be commit 22f37206338e54bbaf619a7b16e145f129bfe986)
2008-09-05 13:21:57 +02:00
Günther Deschner
c38546ad9d
netapi: implement NetShareEnum_r.
...
Guenther
(This used to be commit 3fbfbaea004f792a577f21275e6e4218f581d698)
2008-09-05 13:21:49 +02:00
Günther Deschner
cdb31ef2f9
netapi: implement NetShareGetInfo_r.
...
Guenther
(This used to be commit 029cf4a2a9d95b9c7de6eb75118a92474c0ae9c1)
2008-09-05 13:21:34 +02:00
Günther Deschner
15a3ec1467
netapi: add NetShareGetInfo example code.
...
Guenther
(This used to be commit 0166c8f04be1168fe83d7bf3730d3011ffd8c6f6)
2008-09-05 13:21:26 +02:00
Günther Deschner
93cb6d26d1
netapi: add NetShareGetInfo to public header.
...
Guenther
(This used to be commit 5c63b181ec698a6134ce31326dab9e6bd232acf0)
2008-09-05 13:21:19 +02:00
Günther Deschner
fda790bb5d
netapi: add skeleton for NetShareGetInfo.
...
Guenther
(This used to be commit 237c6e0bca44e19ca89532e565b1345f9f329111)
2008-09-05 13:21:12 +02:00
Günther Deschner
536788efda
re-run make idl.
...
Guenther
(This used to be commit dab613e930a9193153cc744e4ad4ea0fa6476b40)
2008-09-05 13:21:05 +02:00
Günther Deschner
723dfffed7
netapi: add IDL for NetShareGetInfo.
...
Guenther
(This used to be commit 5d669075295a3adb30c013d1a3b617bf4ced8e73)
2008-09-05 13:20:57 +02:00
Günther Deschner
150911f33e
netapi: remove NetSetup* flags from netdomjoin-gui.
...
Guenther
(This used to be commit 5851b4e40e5cc2b7ba973b274f9203aa6e6fb1d8)
2008-09-05 13:18:25 +02:00
Günther Deschner
72718e0899
netapi: add NETSETUP_JOIN_STATUS to public header.
...
Guenther
(This used to be commit 86de3242a478c9f669958414ee9e7720cddad9aa)
2008-09-05 13:18:16 +02:00
Günther Deschner
cd3d4ff638
re-run make idl.
...
Guenther
(This used to be commit f87caa7bff3b8a0b8d7cdc5cda7d21dd7e9eb0ec)
2008-09-05 13:18:09 +02:00
Günther Deschner
9ae47df5c7
netapi: add NETSETUP_JOIN_STATUS to IDL.
...
Guenther
(This used to be commit c5ab5bf8417412835d879c8a58a7c64e1359646f)
2008-09-05 13:18:01 +02:00
Günther Deschner
988058cf87
re-run make idl.
...
Guenther
(This used to be commit 383d268f8c4f6282757d350e6b059446e52e6c53)
2008-09-05 13:17:54 +02:00
Günther Deschner
dbcdc6262a
wkssvc: rename wkssvc_NetJoinStatus flags.
...
Guenther
(This used to be commit 9afc888356f801fd231234673bb4a1f6cbf62792)
2008-09-05 13:17:46 +02:00
Günther Deschner
51e962331c
netapi: move join related examples to one directory.
...
Guenther
(This used to be commit afdd14c26c27c9fa245165985a5d8e644855c4b5)
2008-09-05 13:13:59 +02:00
Günther Deschner
e8f8ae407f
netapi: add NetRenameMachineInDomain example code.
...
Guenther
(This used to be commit e28c332f32c4f7b1ac493f69f17254185d9cee96)
2008-09-05 13:13:51 +02:00
Günther Deschner
8cb544e2a1
netapi: implement NetRenameMachineInDomain_r.
...
Guenther
(This used to be commit 39a42380ca3fac92eb27bded90ab06f7760937b9)
2008-09-05 13:13:44 +02:00
Günther Deschner
10e8f90a65
netapi: add NetRenameMachineInDomain to public header.
...
Guenther
(This used to be commit b66cee247fa7ef5293074b191b9cc2cbf4eef5f3)
2008-09-05 13:13:36 +02:00
Günther Deschner
c8334dc708
netapi: add skeleton for NetRenameMachineInDomain.
...
Guenther
(This used to be commit 03a7f7f33370d65493a81ccead2038ee3ab291d0)
2008-09-05 13:13:29 +02:00
Günther Deschner
17fa14d8ee
re-run make idl.
...
Guenther
(This used to be commit 038ec4d73a04e53c1cc0a1fa6a830d1032dee489)
2008-09-05 13:13:22 +02:00
Günther Deschner
5ed3412488
netapi: add NetRenameMachineInDomain to IDL.
...
Guenther
(This used to be commit 8a5b0b639240c829cb5bde1bed1707b3ea4ac480)
2008-09-05 13:13:14 +02:00
Günther Deschner
231de7054a
netdomjoin-gui: fix some widget closing callbacks.
...
Guenther
(This used to be commit 8d541a3579637bb48c04ebb2b18844509c1f43e8)
2008-09-05 13:06:26 +02:00
Günther Deschner
685f7e3419
netdomjoin-gui: always center new windows.
...
Guenther
(This used to be commit af25bd95d24de8e9fac8f86b18e03a09902b0b78)
2008-09-05 13:06:16 +02:00
Günther Deschner
b0ab216cd5
netdomjoin-gui: fix some small errors in callbacks.
...
Guenther
(This used to be commit 74031b0b4ac1301cff6ca551c3264c4137a43294)
2008-09-05 13:06:09 +02:00
Günther Deschner
78ed824dab
netdomjoin-gui: add gtk set_transient flags.
...
Guenther
(This used to be commit c979b96eb4b0df94e9d736a9473d00c28a52ed07)
2008-09-05 13:06:01 +02:00
Günther Deschner
6dff24790f
netdomjoin-gui: test all NetServerGetInfo levels until we get comment.
...
(This used to be commit 56d353b406ef77808b9cb968fcba387f301cf2de)
2008-09-05 13:05:53 +02:00
Günther Deschner
cd8deeb6e0
netdomjoin-gui: add support to remotely join/unjoin workstations.
...
Guenther
(This used to be commit 1760c4ce79ae15f9a2ea92293d823afe3af9b3ee)
2008-09-05 13:05:41 +02:00
Günther Deschner
78a80f1865
netapi: add support for local query of level 101 in NetServerGetInfo.
...
Guenther
(This used to be commit b7a2f27c1cae9abed2f821177fca425012222632)
2008-09-05 13:03:36 +02:00
Günther Deschner
c59158b225
netapi: add support for more infolevels in NetServerGetInfo_r.
...
Guenther
(This used to be commit 43aad72457f77ac209494cfca46048e0c4bfa6c7)
2008-09-05 13:03:27 +02:00
Günther Deschner
ee3fca8aea
netapi: add NetServerGetInfo example code.
...
Guenther
(This used to be commit b2d0df46038a88fa3f2ff82e155805c771916a42)
2008-09-05 13:03:19 +02:00
Günther Deschner
240188b6ba
netapi: add new SERVER_INFO structures to public header.
...
Guenther
(This used to be commit cff66738936f9f5cc4d2cd284cde2e1ac2972d33)
2008-09-05 13:03:11 +02:00