kai/samba.git
15 years agopackaging(RHEL-CTDB): autodetect the samba version number from version.h
Michael Adam [Thu, 4 Sep 2008 12:36:29 +0000 (14:36 +0200)]
packaging(RHEL-CTDB): autodetect the samba version number from version.h

Generate version.h first.
Create samba.spec from (new) samba.spec.tmpl, replacing PVERSION
by the version string. (as is done with update-pkginfo called
from the create-tarball release script)

Michael
(This used to be commit f1f3d1bef0440f4294f7278c0c38e13a10b6fb48)

15 years agopackaging(RHEL-CTDB): introduce variable TOPDIR
Michael Adam [Thu, 4 Sep 2008 12:10:45 +0000 (14:10 +0200)]
packaging(RHEL-CTDB): introduce variable TOPDIR

Michael
(cherry picked from commit 74e335ebf210c4812b0f790d05b697a183803af7)
(This used to be commit c6ff392778a75cc74db880fa3d657f5879ae55d5)

15 years agopackaging(RHEL-CTDB): rename SPECDIR to RPMSPECDIR
Michael Adam [Thu, 4 Sep 2008 12:09:36 +0000 (14:09 +0200)]
packaging(RHEL-CTDB): rename SPECDIR to RPMSPECDIR

Michael
(cherry picked from commit ac2b09b2274a12c34c446c4536793a33515958cc)
(This used to be commit cbfd805bd25a23299ef770687370dafebefe58d1)

15 years agopackaging(RHEL-CTDB): rename SRCDIR to RPMSRCDIR
Michael Adam [Thu, 4 Sep 2008 12:09:15 +0000 (14:09 +0200)]
packaging(RHEL-CTDB): rename SRCDIR to RPMSRCDIR

Michael
(cherry picked from commit d8a8ea87439315ecf407a866a12e2993343af39c)
(This used to be commit ab7575f5d29576518bd5593ec5bd58846b85d23d)

15 years agonetapi: expand NetUser testsuite a little.
Günther Deschner [Fri, 5 Sep 2008 15:06:24 +0000 (17:06 +0200)]
netapi: expand NetUser testsuite a little.

Guenther
(This used to be commit fc1b04df78fc0fb5bc59fa0120c0e29bbb3978a1)

15 years agonetapi: add NetShare testsuite.
Günther Deschner [Fri, 5 Sep 2008 13:13:13 +0000 (15:13 +0200)]
netapi: add NetShare testsuite.

Guenther
(This used to be commit 07cf13e43d03803a5f039fa6df3c9a35c701d43a)

15 years agonet: use NETSETUP flags consistently.
Günther Deschner [Fri, 5 Sep 2008 14:28:56 +0000 (16:28 +0200)]
net: use NETSETUP flags consistently.

Guenther
(This used to be commit f48e0cacdf7ed458e0e89ab151e3d233fb89240b)

15 years agonetapi: re-arrange a little NetLocalGroupSetMembers example code.
Günther Deschner [Fri, 5 Sep 2008 21:21:58 +0000 (23:21 +0200)]
netapi: re-arrange a little NetLocalGroupSetMembers example code.

Guenther
(This used to be commit 84a25e69947c077623165fe4535cddd48aba0a3e)

15 years agonetapi: fix NetShareGetInfo example output.
Günther Deschner [Fri, 5 Sep 2008 12:01:17 +0000 (14:01 +0200)]
netapi: fix NetShareGetInfo example output.

Guenther
(This used to be commit 00ecf8205c4cd4a4c150b204811d448d0ac53c0d)

15 years agoFix debug message to show correct function name.
Jeremy Allison [Sat, 6 Sep 2008 03:37:00 +0000 (20:37 -0700)]
Fix debug message to show correct function name.
Jeremy.
(This used to be commit 079c75ef3c169c7a5d81bcaa0b70b6e0df2c464d)

15 years agoWrite times code update.
Jeremy Allison [Sat, 6 Sep 2008 02:00:48 +0000 (19:00 -0700)]
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)

15 years agoRemove unecessary msync.
Jeremy Allison [Fri, 5 Sep 2008 22:32:22 +0000 (15:32 -0700)]
Remove unecessary msync.
Jeremy.
(This used to be commit 0bae1ef3de8fda5e1e2d641b14a408e627396912)

15 years agoFix "warning: pointer of type 'void *' used in arithmetic".
Jeremy Allison [Fri, 5 Sep 2008 22:20:59 +0000 (15:20 -0700)]
Fix "warning: pointer of type 'void *' used in arithmetic".
Jeremy.
(This used to be commit 2d95ea38a2f1ead37121fcc036c21a7f20ff41f9)

15 years agoRevert "winbindd: the ad trusted_domains call should return talloced strings."
Günther Deschner [Fri, 5 Sep 2008 21:22:10 +0000 (23:22 +0200)]
Revert "winbindd: the ad trusted_domains call should return talloced strings."

This reverts commit b57cbf62e8180c8fdb8f541c43358d36d8dbbdfa.
(This used to be commit b2a3f13e5b3b81df2ed7460e54c11a7f56b3c4f6)

15 years agoFix a memleak
Qiao Yang [Fri, 5 Sep 2008 12:08:09 +0000 (14:08 +0200)]
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)

15 years agore-run make idl.
Günther Deschner [Fri, 5 Sep 2008 10:15:05 +0000 (12:15 +0200)]
re-run make idl.

Guenther
(This used to be commit 2e15036bacf717d27d1806bcbdba1e68f2f76aae)

15 years agonetapi: add SHARE_INFO_1005_FLAGS.
Günther Deschner [Fri, 5 Sep 2008 10:14:51 +0000 (12:14 +0200)]
netapi: add SHARE_INFO_1005_FLAGS.

Guenther
(This used to be commit f3044d76530f63b16f26fedf8e00eaf4d3badb06)

15 years agonetapi: implement NetShareSetInfo_r.
Günther Deschner [Thu, 4 Sep 2008 18:24:23 +0000 (20:24 +0200)]
netapi: implement NetShareSetInfo_r.

Guenther
(This used to be commit ebcd45ed3ff79ce3b90872aa87a737ba6ee3401f)

15 years agonetapi: add support for level 1004 in
Günther Deschner [Thu, 4 Sep 2008 18:24:02 +0000 (20:24 +0200)]
netapi: add support for level 1004 in
map_SHARE_INFO_buffer_to_srvsvc_share_info.

Guenther
(This used to be commit f21a934e1e100cb1496a6c854684ff110ba6d1cc)

15 years agonetapi: add NetShareSetInfo example code.
Günther Deschner [Thu, 4 Sep 2008 18:12:56 +0000 (20:12 +0200)]
netapi: add NetShareSetInfo example code.

Guenther
(This used to be commit a7050c999ff0a13724afbbbb2628cb47daec5b35)

15 years agonetapi: add NetShareSetInfo to public header.
Günther Deschner [Thu, 4 Sep 2008 18:04:35 +0000 (20:04 +0200)]
netapi: add NetShareSetInfo to public header.

Guenther
(This used to be commit 2066ebc5e3e782b9443aee3e5beb1a99d69096ec)

15 years agonetapi: add skeleton for NetShareSetInfo.
Günther Deschner [Thu, 4 Sep 2008 18:03:14 +0000 (20:03 +0200)]
netapi: add skeleton for NetShareSetInfo.

Guenther
(This used to be commit 4d7947e54959c6a445e8b0f7a8313fe232c1fb8f)

15 years agore-run make idl.
Günther Deschner [Thu, 4 Sep 2008 18:01:46 +0000 (20:01 +0200)]
re-run make idl.

Guenther
(This used to be commit 7d863c4b00d70110819b847890ccb9b2a4aa71c9)

15 years agonetapi: add NetShareSetInfo to IDL.
Günther Deschner [Thu, 4 Sep 2008 18:00:50 +0000 (20:00 +0200)]
netapi: add NetShareSetInfo to IDL.

Guenther
(This used to be commit 22f37206338e54bbaf619a7b16e145f129bfe986)

15 years agonetapi: implement NetShareEnum_r.
Günther Deschner [Thu, 4 Sep 2008 17:29:47 +0000 (19:29 +0200)]
netapi: implement NetShareEnum_r.

Guenther
(This used to be commit 3fbfbaea004f792a577f21275e6e4218f581d698)

15 years agonetapi: implement NetShareGetInfo_r.
Günther Deschner [Thu, 4 Sep 2008 14:31:18 +0000 (16:31 +0200)]
netapi: implement NetShareGetInfo_r.

Guenther
(This used to be commit 029cf4a2a9d95b9c7de6eb75118a92474c0ae9c1)

15 years agonetapi: add NetShareGetInfo example code.
Günther Deschner [Thu, 4 Sep 2008 14:18:32 +0000 (16:18 +0200)]
netapi: add NetShareGetInfo example code.

Guenther
(This used to be commit 0166c8f04be1168fe83d7bf3730d3011ffd8c6f6)

15 years agonetapi: add NetShareGetInfo to public header.
Günther Deschner [Thu, 4 Sep 2008 13:59:58 +0000 (15:59 +0200)]
netapi: add NetShareGetInfo to public header.

Guenther
(This used to be commit 5c63b181ec698a6134ce31326dab9e6bd232acf0)

15 years agonetapi: add skeleton for NetShareGetInfo.
Günther Deschner [Thu, 4 Sep 2008 13:53:54 +0000 (15:53 +0200)]
netapi: add skeleton for NetShareGetInfo.

Guenther
(This used to be commit 237c6e0bca44e19ca89532e565b1345f9f329111)

15 years agore-run make idl.
Günther Deschner [Thu, 4 Sep 2008 13:52:19 +0000 (15:52 +0200)]
re-run make idl.

Guenther
(This used to be commit dab613e930a9193153cc744e4ad4ea0fa6476b40)

15 years agonetapi: add IDL for NetShareGetInfo.
Günther Deschner [Thu, 4 Sep 2008 13:50:49 +0000 (15:50 +0200)]
netapi: add IDL for NetShareGetInfo.

Guenther
(This used to be commit 5d669075295a3adb30c013d1a3b617bf4ced8e73)

15 years agonetapi: remove NetSetup* flags from netdomjoin-gui.
Günther Deschner [Tue, 2 Sep 2008 12:35:58 +0000 (14:35 +0200)]
netapi: remove NetSetup* flags from netdomjoin-gui.

Guenther
(This used to be commit 5851b4e40e5cc2b7ba973b274f9203aa6e6fb1d8)

15 years agonetapi: add NETSETUP_JOIN_STATUS to public header.
Günther Deschner [Tue, 2 Sep 2008 12:34:58 +0000 (14:34 +0200)]
netapi: add NETSETUP_JOIN_STATUS to public header.

Guenther
(This used to be commit 86de3242a478c9f669958414ee9e7720cddad9aa)

15 years agore-run make idl.
Günther Deschner [Tue, 2 Sep 2008 12:33:21 +0000 (14:33 +0200)]
re-run make idl.

Guenther
(This used to be commit f87caa7bff3b8a0b8d7cdc5cda7d21dd7e9eb0ec)

15 years agonetapi: add NETSETUP_JOIN_STATUS to IDL.
Günther Deschner [Tue, 2 Sep 2008 12:32:59 +0000 (14:32 +0200)]
netapi: add NETSETUP_JOIN_STATUS to IDL.

Guenther
(This used to be commit c5ab5bf8417412835d879c8a58a7c64e1359646f)

15 years agore-run make idl.
Günther Deschner [Tue, 2 Sep 2008 12:32:41 +0000 (14:32 +0200)]
re-run make idl.

Guenther
(This used to be commit 383d268f8c4f6282757d350e6b059446e52e6c53)

15 years agowkssvc: rename wkssvc_NetJoinStatus flags.
Günther Deschner [Tue, 2 Sep 2008 12:32:16 +0000 (14:32 +0200)]
wkssvc: rename wkssvc_NetJoinStatus flags.

Guenther
(This used to be commit 9afc888356f801fd231234673bb4a1f6cbf62792)

15 years agonetapi: move join related examples to one directory.
Günther Deschner [Tue, 2 Sep 2008 11:24:51 +0000 (13:24 +0200)]
netapi: move join related examples to one directory.

Guenther
(This used to be commit afdd14c26c27c9fa245165985a5d8e644855c4b5)

15 years agonetapi: add NetRenameMachineInDomain example code.
Günther Deschner [Tue, 2 Sep 2008 11:18:32 +0000 (13:18 +0200)]
netapi: add NetRenameMachineInDomain example code.

Guenther
(This used to be commit e28c332f32c4f7b1ac493f69f17254185d9cee96)

15 years agonetapi: implement NetRenameMachineInDomain_r.
Günther Deschner [Tue, 2 Sep 2008 11:17:57 +0000 (13:17 +0200)]
netapi: implement NetRenameMachineInDomain_r.

Guenther
(This used to be commit 39a42380ca3fac92eb27bded90ab06f7760937b9)

15 years agonetapi: add NetRenameMachineInDomain to public header.
Günther Deschner [Tue, 2 Sep 2008 09:06:22 +0000 (11:06 +0200)]
netapi: add NetRenameMachineInDomain to public header.

Guenther
(This used to be commit b66cee247fa7ef5293074b191b9cc2cbf4eef5f3)

15 years agonetapi: add skeleton for NetRenameMachineInDomain.
Günther Deschner [Tue, 2 Sep 2008 09:02:43 +0000 (11:02 +0200)]
netapi: add skeleton for NetRenameMachineInDomain.

Guenther
(This used to be commit 03a7f7f33370d65493a81ccead2038ee3ab291d0)

15 years agore-run make idl.
Günther Deschner [Tue, 2 Sep 2008 08:59:44 +0000 (10:59 +0200)]
re-run make idl.

Guenther
(This used to be commit 038ec4d73a04e53c1cc0a1fa6a830d1032dee489)

15 years agonetapi: add NetRenameMachineInDomain to IDL.
Günther Deschner [Tue, 2 Sep 2008 08:58:54 +0000 (10:58 +0200)]
netapi: add NetRenameMachineInDomain to IDL.

Guenther
(This used to be commit 8a5b0b639240c829cb5bde1bed1707b3ea4ac480)

15 years agonetdomjoin-gui: fix some widget closing callbacks.
Günther Deschner [Tue, 2 Sep 2008 00:02:20 +0000 (02:02 +0200)]
netdomjoin-gui: fix some widget closing callbacks.

Guenther
(This used to be commit 8d541a3579637bb48c04ebb2b18844509c1f43e8)

15 years agonetdomjoin-gui: always center new windows.
Günther Deschner [Mon, 1 Sep 2008 23:06:25 +0000 (01:06 +0200)]
netdomjoin-gui: always center new windows.

Guenther
(This used to be commit af25bd95d24de8e9fac8f86b18e03a09902b0b78)

15 years agonetdomjoin-gui: fix some small errors in callbacks.
Günther Deschner [Mon, 1 Sep 2008 22:49:33 +0000 (00:49 +0200)]
netdomjoin-gui: fix some small errors in callbacks.

Guenther
(This used to be commit 74031b0b4ac1301cff6ca551c3264c4137a43294)

15 years agonetdomjoin-gui: add gtk set_transient flags.
Günther Deschner [Mon, 1 Sep 2008 22:36:31 +0000 (00:36 +0200)]
netdomjoin-gui: add gtk set_transient flags.

Guenther
(This used to be commit c979b96eb4b0df94e9d736a9473d00c28a52ed07)

15 years agonetdomjoin-gui: test all NetServerGetInfo levels until we get comment.
Günther Deschner [Tue, 2 Sep 2008 14:14:14 +0000 (16:14 +0200)]
netdomjoin-gui: test all NetServerGetInfo levels until we get comment.
(This used to be commit 56d353b406ef77808b9cb968fcba387f301cf2de)

15 years agonetdomjoin-gui: add support to remotely join/unjoin workstations.
Günther Deschner [Mon, 1 Sep 2008 16:59:59 +0000 (18:59 +0200)]
netdomjoin-gui: add support to remotely join/unjoin workstations.

Guenther
(This used to be commit 1760c4ce79ae15f9a2ea92293d823afe3af9b3ee)

15 years agonetapi: add support for local query of level 101 in NetServerGetInfo.
Günther Deschner [Mon, 1 Sep 2008 16:54:53 +0000 (18:54 +0200)]
netapi: add support for local query of level 101 in NetServerGetInfo.

Guenther
(This used to be commit b7a2f27c1cae9abed2f821177fca425012222632)

15 years agonetapi: add support for more infolevels in NetServerGetInfo_r.
Günther Deschner [Mon, 1 Sep 2008 16:37:54 +0000 (18:37 +0200)]
netapi: add support for more infolevels in NetServerGetInfo_r.

Guenther
(This used to be commit 43aad72457f77ac209494cfca46048e0c4bfa6c7)

15 years agonetapi: add NetServerGetInfo example code.
Günther Deschner [Mon, 1 Sep 2008 15:45:42 +0000 (17:45 +0200)]
netapi: add NetServerGetInfo example code.

Guenther
(This used to be commit b2d0df46038a88fa3f2ff82e155805c771916a42)

15 years agonetapi: add new SERVER_INFO structures to public header.
Günther Deschner [Mon, 1 Sep 2008 16:36:50 +0000 (18:36 +0200)]
netapi: add new SERVER_INFO structures to public header.

Guenther
(This used to be commit cff66738936f9f5cc4d2cd284cde2e1ac2972d33)

15 years agore-run make idl.
Günther Deschner [Mon, 1 Sep 2008 15:44:01 +0000 (17:44 +0200)]
re-run make idl.

Guenther
(This used to be commit 2bb5bb9b964932f0be8eccf5739da5692a591245)

15 years agonetapi: add SERVER_INFO_100-102 to IDL.
Günther Deschner [Mon, 1 Sep 2008 15:43:49 +0000 (17:43 +0200)]
netapi: add SERVER_INFO_100-102 to IDL.

Guenther
(This used to be commit 7a46743909bfbfccf522eecf2ba117d5651439ef)

15 years agonetapi: fix NetGetJoinableOUs_r: do not tear down connection.
Günther Deschner [Tue, 2 Sep 2008 11:17:28 +0000 (13:17 +0200)]
netapi: fix NetGetJoinableOUs_r: do not tear down connection.

Guenther
(This used to be commit 14c2688f2d37105ad129d26d13930177fe5c585f)

15 years agonetapi: add NetShareEnum example code.
Günther Deschner [Fri, 29 Aug 2008 17:06:43 +0000 (19:06 +0200)]
netapi: add NetShareEnum example code.

Guenther
(This used to be commit 91830de4527db124889ada9845ab145762855bc2)

15 years agonetapi: add NetShareEnum to public headers.
Günther Deschner [Fri, 29 Aug 2008 17:00:38 +0000 (19:00 +0200)]
netapi: add NetShareEnum to public headers.

Guenther
(This used to be commit c2e936743227f10c2ade61589fe15c1805c79773)

15 years agonetapi: add NetShareEnum skeleton.
Günther Deschner [Fri, 29 Aug 2008 16:58:32 +0000 (18:58 +0200)]
netapi: add NetShareEnum skeleton.

Guenther
(This used to be commit 0cc604ebc13125daf7e219c63a6ca8f21eda48c6)

15 years agore-run make idl.
Günther Deschner [Fri, 29 Aug 2008 16:56:46 +0000 (18:56 +0200)]
re-run make idl.

Guenther
(This used to be commit 3da9584a7ad2a1a985186951a060a1500059b913)

15 years agonetapi: add NetShareEnum to IDL.
Günther Deschner [Fri, 29 Aug 2008 16:56:11 +0000 (18:56 +0200)]
netapi: add NetShareEnum to IDL.

Guenther
(This used to be commit 25302d79bec5784a6dd27cf7b0f58a8ec287b2ad)

15 years agonetapi: add new SHARE_INFO structs to public header.
Günther Deschner [Thu, 4 Sep 2008 14:46:36 +0000 (16:46 +0200)]
netapi: add new SHARE_INFO structs to public header.

Guenther
(This used to be commit 30b99eb7e18ba274299ef37e3883154b35d6f2dc)

15 years agore-run make idl.
Günther Deschner [Thu, 4 Sep 2008 14:40:18 +0000 (16:40 +0200)]
re-run make idl.

Guenther
(This used to be commit 4f3fa6af7fd2e7d178ae395ee8ce4955437ef25d)

15 years agonetapi: add more SHARE_INFO_X levels.
Günther Deschner [Thu, 4 Sep 2008 14:38:57 +0000 (16:38 +0200)]
netapi: add more SHARE_INFO_X levels.

Guenther
(This used to be commit 5f55e85cab6b3e98304dac5de96d6c6d43797e23)

15 years agonet: use netapi for rpc_sh_share_delete as well.
Günther Deschner [Thu, 4 Sep 2008 13:46:21 +0000 (15:46 +0200)]
net: use netapi for rpc_sh_share_delete as well.

Guenther
(This used to be commit b56ec0b9952dbad9f552c4be30eaae36faa9131c)

15 years agonet: use netapi for deleting shares.
Günther Deschner [Thu, 4 Sep 2008 13:44:50 +0000 (15:44 +0200)]
net: use netapi for deleting shares.

Guenther
(This used to be commit d7b07b636947cb52aa5474e86c4a3b6aa391a36f)

15 years agonetapi: implement NetShareDel_r.
Günther Deschner [Fri, 29 Aug 2008 16:49:35 +0000 (18:49 +0200)]
netapi: implement NetShareDel_r.

Guenther
(This used to be commit 47bed6f112dbcc509ce6ac593c9920d98b658f9a)

15 years agonetapi: add NetShareDel example code.
Günther Deschner [Fri, 29 Aug 2008 16:38:01 +0000 (18:38 +0200)]
netapi: add NetShareDel example code.

Guenther
(This used to be commit 0962128a54980b4b699ef8f80583ed2e7e12fbb0)

15 years agonetapi: add NetShareDel to public header.
Günther Deschner [Fri, 29 Aug 2008 16:35:48 +0000 (18:35 +0200)]
netapi: add NetShareDel to public header.

Guenther
(This used to be commit 3ac8f83fcd9f92fe944de8c094d6aa6bda9074dc)

15 years agonetapi: add NetShareDel skeleton.
Günther Deschner [Fri, 29 Aug 2008 16:34:28 +0000 (18:34 +0200)]
netapi: add NetShareDel skeleton.

Guenther
(This used to be commit 5b6e4740ea8b8fdfcbd766099a7c5044abbfddde)

15 years agore-run make idl.
Günther Deschner [Fri, 29 Aug 2008 16:32:41 +0000 (18:32 +0200)]
re-run make idl.

Guenther
(This used to be commit 3469b8c79782d2b6f55dff306e67b603ecdb790a)

15 years agonetapi: add NetShareDel to IDL.
Günther Deschner [Fri, 29 Aug 2008 16:32:25 +0000 (18:32 +0200)]
netapi: add NetShareDel to IDL.

Guenther
(This used to be commit f9c3ae1ab8c76b4cfec7677e448f192e47152eeb)

15 years agonet: use netapi for rpc_sh_share_add as well.
Günther Deschner [Thu, 4 Sep 2008 13:41:45 +0000 (15:41 +0200)]
net: use netapi for rpc_sh_share_add as well.

Guenther
(This used to be commit 0c232742561a4001909ccce2c5160d57d09edb40)

15 years agonet: use netapi to add shares.
Günther Deschner [Thu, 4 Sep 2008 13:37:03 +0000 (15:37 +0200)]
net: use netapi to add shares.

Guenther
(This used to be commit 95ac480e2030dc607283a8eb89b44015527efa4b)

15 years agonetapi: fix return code in NetShareAdd_r.
Günther Deschner [Thu, 4 Sep 2008 18:23:39 +0000 (20:23 +0200)]
netapi: fix return code in NetShareAdd_r.

Guenther
(This used to be commit 69e6532e9d3fad9d1c55e33cf5f120ca8b4b8d51)

15 years agoProtect against a closed socket
Volker Lendecke [Fri, 5 Sep 2008 09:47:48 +0000 (11:47 +0200)]
Protect against a closed socket
(This used to be commit d6cb5fdafbddb08d32b788674eff509cae9525c6)

15 years agoDo proper error handling if the socket is closed
Volker Lendecke [Fri, 5 Sep 2008 09:48:36 +0000 (11:48 +0200)]
Do proper error handling if the socket is closed
(This used to be commit e5a27773f97d7017cfa345799c6803fd82c8e797)

15 years agoconfigure: fix typo in GNU ld version-script test.
Michael Adam [Fri, 5 Sep 2008 09:39:38 +0000 (11:39 +0200)]
configure: fix typo in GNU ld version-script test.

Michael
(This used to be commit 0d9f3dfc4c139938ee57b6cf60c29cf4ce404be7)

15 years agoAdd workaround for docs build and dependency on parameters.all.xml
Gerald (Jerry) Carter [Mon, 25 Aug 2008 21:08:28 +0000 (16:08 -0500)]
Add workaround for docs build and dependency on parameters.all.xml
(cherry picked from commit d4f5b5255f9b95050ddd9d67bd3958402be77918)
(This used to be commit c8154142d97ccf973feb36d77f932c893fda0af5)

15 years agoFix winbindd crash bug with trusted domains. Bug #5736
James Ding [Thu, 4 Sep 2008 22:13:12 +0000 (15:13 -0700)]
Fix winbindd crash bug with trusted domains. Bug #5736
(This used to be commit d4f5caa3d38b5afc1e8b3d0e0c6d7d68a152fe0a)

15 years agoMerge branch 'v3-devel' of ssh://git.samba.org/data/git/samba into v3-devel
Herb Lewis [Thu, 4 Sep 2008 21:48:27 +0000 (14:48 -0700)]
Merge branch 'v3-devel' of ssh://git.samba.org/data/git/samba into v3-devel
(This used to be commit 0311d171970e888754cf614adfdfc1f8e0f5b04e)

15 years agoUse different variable names for talloc and tdb object file names than
Jelmer Vernooij [Thu, 4 Sep 2008 21:43:58 +0000 (23:43 +0200)]
Use different variable names for talloc and tdb object file names than
Samba 4.
(This used to be commit 3f821e8c88665a1e6a3d07a438cd978527306221)

15 years agoget rid of unneeded argument in get_methods and get_alloc_methods
Herb Lewis [Thu, 4 Sep 2008 21:35:27 +0000 (14:35 -0700)]
get rid of unneeded argument in get_methods and get_alloc_methods
(This used to be commit 07b0323472b78d49cff06b78924c3015bea52a30)

15 years agoIgnore unused pidl-generated files.
Jelmer Vernooij [Thu, 4 Sep 2008 21:05:48 +0000 (23:05 +0200)]
Ignore unused pidl-generated files.
(This used to be commit 7eb6bfca40d9ecc225e40661093697edd07699e6)

15 years agoMerge branch 'v3-devel' of ssh://jra@git.samba.org/data/git/samba into v3-devel
Jeremy Allison [Thu, 4 Sep 2008 18:51:55 +0000 (11:51 -0700)]
Merge branch 'v3-devel' of ssh://jra@git.samba.org/data/git/samba into v3-devel
(This used to be commit 98b2fbef5273b055242e24490736b0c9677b1732)

15 years agoCleanup of DC enumeration in get_dcs()
Steven Danneman [Wed, 3 Sep 2008 22:31:39 +0000 (15:31 -0700)]
Cleanup of DC enumeration in get_dcs()

This is a fix for a few small inefficiencies/bugs in the get_dcs() path.

* because the third add_one_dc_unique() loop was outside the ADS check all DCs
  returned from the non-sitename lookup were being tacked onto the dc_name_ip
  list twice.
* add_one_dc_unique() now checks if the given IP address already exists before
  adding it to the list, making the returned list actually unique
* added more thorough doxygen comment headers
(This used to be commit cb2d488e1dbd90953c496c5e25d648977884f7e3)

15 years agokerberos: fix indent of enc type lines in generated krb5.conf files.
Günther Deschner [Thu, 4 Sep 2008 13:11:22 +0000 (15:11 +0200)]
kerberos: fix indent of enc type lines in generated krb5.conf files.

Guenther
(This used to be commit 18a26f08b6fab4119a1421a7ca59c32dde8bb8cb)

15 years agoman pages: Several fixes for man wbinfo.
Karolin Seeger [Thu, 4 Sep 2008 09:25:55 +0000 (11:25 +0200)]
man pages: Several fixes for man wbinfo.

-Tag replaceables
-Fix typos
-Unify indentation

Karolin
(This used to be commit 872defd1d29e1d7a4fc8aba90f689110599444e5)

15 years agoFix bug #5729. Explicitly allow "-valid".
Jeremy Allison [Wed, 3 Sep 2008 20:06:36 +0000 (13:06 -0700)]
Fix bug #5729. Explicitly allow "-valid".
Jeremy
(This used to be commit 4f2de29723bb7e588e6c9440649b57d56d10b587)

15 years agoRevert "Split lookup_name() and create a new functiong called"
Simo Sorce [Wed, 3 Sep 2008 18:36:43 +0000 (14:36 -0400)]
Revert "Split lookup_name() and create a new functiong called"

This reverts commit 8594edf666c29fd4ddf1780da842683dd81483b6.
(This used to be commit ad462e2e2d025a7fc23e7dea32b2b442b528970b)

15 years agoThe msync manpage reports that msync *must* be called before munmap. Failure to do...
Simo Sorce [Wed, 3 Sep 2008 14:44:09 +0000 (10:44 -0400)]
The msync manpage reports that msync *must* be called before munmap. Failure to do so may result in lost data. Fix an ifdef check, I really think we meant to check HAVE_MMAP here.
(This used to be commit 74c8575b3f3b90ea21ae6aa7ccd95947838af956)

15 years agoMerge branch 'v3-devel' of ssh://git.samba.org/data/git/samba into v3-devel
Simo Sorce [Wed, 3 Sep 2008 15:52:54 +0000 (11:52 -0400)]
Merge branch 'v3-devel' of ssh://git.samba.org/data/git/samba into v3-devel
(This used to be commit 8e4dca3b9416d9b5e535bda5e4befc073bfc1641)

15 years agofactor prs_append_some_data out of prs_append_some_prs_data
Volker Lendecke [Wed, 3 Sep 2008 12:22:48 +0000 (14:22 +0200)]
factor prs_append_some_data out of prs_append_some_prs_data
(This used to be commit 32cb45c962c822bd79a7d0f666f2f6037060b324)

15 years agoTiny logic simplification: remove an else branch
Volker Lendecke [Wed, 3 Sep 2008 10:52:29 +0000 (12:52 +0200)]
Tiny logic simplification: remove an else branch
(This used to be commit 9c4905ed6703a38ff72be5990a036d0a79aebb9f)

15 years agowinbindd: the ad trusted_domains call should return talloced strings.
Günther Deschner [Tue, 2 Sep 2008 19:51:30 +0000 (21:51 +0200)]
winbindd: the ad trusted_domains call should return talloced strings.

Guenther
(This used to be commit b57cbf62e8180c8fdb8f541c43358d36d8dbbdfa)

15 years agoRemove unused CLI_DO_RPC macros
Volker Lendecke [Tue, 2 Sep 2008 07:44:39 +0000 (09:44 +0200)]
Remove unused CLI_DO_RPC macros
(This used to be commit f5212c64d23a28fa40a14b45a8d1c0181f01a6da)

15 years agodoserr: add WERR_WRONG_PASSWORD.
Günther Deschner [Mon, 1 Sep 2008 15:07:33 +0000 (17:07 +0200)]
doserr: add WERR_WRONG_PASSWORD.

Guenther
(This used to be commit 977fec76b77639403ba9ab7bb00c57601e23493d)

15 years agoFix some nonempty blank lines
Volker Lendecke [Mon, 1 Sep 2008 19:28:57 +0000 (21:28 +0200)]
Fix some nonempty blank lines
(This used to be commit 9336cd1c5e5b5d113cd4912d4479dfe609fe261e)

15 years agoSlightly simplify logic: remove an else branch
Volker Lendecke [Mon, 1 Sep 2008 16:42:44 +0000 (18:42 +0200)]
Slightly simplify logic: remove an else branch
(This used to be commit 56ecec50130aa948a431427285aed4b28a5647e8)