tprouty/samba.git
16 years agoMove the definition of SMB_LIBRARY to aclocal.m4.
Michael Adam [Thu, 21 Feb 2008 13:07:45 +0000 (14:07 +0100)]
Move the definition of SMB_LIBRARY to aclocal.m4.

Michael
(This used to be commit 4724b13ed8dce4721f95979803ba32f815ceaf1a)

16 years agoconfigure: Abstract configuration of internal libs into an m4 macro.
Michael Adam [Thu, 21 Feb 2008 11:55:52 +0000 (12:55 +0100)]
configure: Abstract configuration of internal libs into an m4 macro.

New subsystem libraries can now be added by specifying SMB_LIBRARY(name).

Michael
(This used to be commit 54d73769c49eb87ecb33e3229a01214972b53858)

16 years agofix typo
Volker Lendecke [Thu, 21 Feb 2008 10:39:42 +0000 (11:39 +0100)]
fix typo
(This used to be commit 2d51bf67fc33e1f8f28151277fc254b82a04b664)

16 years agoRemove check for secure mkstemp from configure.in.
Michael Adam [Wed, 20 Feb 2008 23:34:16 +0000 (00:34 +0100)]
Remove check for secure mkstemp from configure.in.

It has moved to libreplace.

Michael
(This used to be commit b5e894cb3b4d447bd8e8c3f461508c4cf3f630c1)

16 years agoRemove mmap check from configure.in
Michael Adam [Wed, 20 Feb 2008 23:11:03 +0000 (00:11 +0100)]
Remove mmap check from configure.in

It is available in libreplace.

Michael
(This used to be commit 310c121faf5effeca9ab0df3591c486dd4982749)

16 years agoFix the build on irix: Prevent empty line in TDB_OBJ
Michael Adam [Thu, 21 Feb 2008 09:26:54 +0000 (10:26 +0100)]
Fix the build on irix: Prevent empty line in TDB_OBJ

This leads to a Makfile syntax error in the prerequisites for
bin/smbd. Wow, irix is really picky!

Michael
(This used to be commit 011f24c6c95c92417d877886ad87d2a2dd82056e)

16 years agoFrom: David Disseldorp <ddiss@sgi.com>
Jeremy Allison [Thu, 21 Feb 2008 06:10:54 +0000 (22:10 -0800)]
From: David Disseldorp <ddiss@sgi.com>
The vfs_prealloc module makes use of the now redundant fd parameter for
SMB_VFS_FTRUNCATE(), instead get the fd from the files_struct.

Patch for Samba 3.2 Test branch below.

Cheers, David D
(This used to be commit d9b72282c63b57c8e54131306b2a3028a1ea41dc)

16 years agoFix double free bugs after calling regfio_close()
Tim Potter [Mon, 18 Feb 2008 09:37:33 +0000 (20:37 +1100)]
Fix double free bugs after calling regfio_close()
(This used to be commit 737bb950d50ac6c5d4f99279bf535ae3a9963b2f)

16 years agoFix memory leaks on error path
Tim Potter [Mon, 18 Feb 2008 10:00:51 +0000 (21:00 +1100)]
Fix memory leaks on error path
(This used to be commit 47dd0700b4320bf5ac9a80e71ae82d82d4554e6a)

16 years agoFix possible close of invalid fd if call to socket() returns -1.
Tim Potter [Sun, 17 Feb 2008 23:43:46 +0000 (10:43 +1100)]
Fix possible close of invalid fd if call to socket() returns -1.
(This used to be commit f7d2f692994918037e603ef95dd097b03d2c5456)

16 years agoFix build with static libs: place tdb static lib after tdb-util objects.
Michael Adam [Wed, 20 Feb 2008 22:44:17 +0000 (23:44 +0100)]
Fix build with static libs: place tdb static lib after tdb-util objects.

Michael
(This used to be commit 39eef8e86cfab60c1328d2335a737b41d8fd6db0)

16 years agoconfigure: add --enable-shared-libs to control overall internal use of shared libs.
Michael Adam [Wed, 20 Feb 2008 21:47:31 +0000 (22:47 +0100)]
configure: add --enable-shared-libs to control overall internal use of shared libs.

To disable internal use of shared libraries altogether (as opposed to
disabling use of single shared libs by --with-static-libs=LIBS), use
this new configure parameter --disable-shared-libs.

Michael
(This used to be commit 63bff18f3f6396736910a8e1f5f2abf453c4f89a)

16 years agoconfigure: Move assemblage of samba version strings to m4 include file.
Michael Adam [Wed, 20 Feb 2008 20:33:06 +0000 (21:33 +0100)]
configure: Move assemblage of samba version strings to m4 include file.

Michael
(This used to be commit 8b220717e8dd62455716d4aaf6728087d04fb71b)

16 years agoRemove checks for ino_t, loff_t, offset_t, and comparison_fn_t from configure.in.
Michael Adam [Wed, 20 Feb 2008 16:56:21 +0000 (17:56 +0100)]
Remove checks for ino_t, loff_t, offset_t, and comparison_fn_t from configure.in.

These tests are in libreplace.

Michael
(This used to be commit 2e6b66eda4dc30f03f1309a1dbef3eb87a4f7d1e)

16 years agoSupport dlopen(NULL, ...) on HPUX.
Jelmer Vernooij [Wed, 20 Feb 2008 19:05:51 +0000 (20:05 +0100)]
Support dlopen(NULL, ...) on HPUX.
(cherry picked from commit 53c70b5f77a3b9abaab783590e66278129173d5f)
(This used to be commit 8883ee2418152d58e2ce609e02105e009f8ca4e8)

16 years agoRemove tests for vsnprintf snprintf asprintf vasprintf and va_copy from configure.
Michael Adam [Wed, 20 Feb 2008 16:26:39 +0000 (17:26 +0100)]
Remove tests for vsnprintf snprintf asprintf vasprintf and va_copy from configure.

These are tested in libreplace.

Michael
(This used to be commit 9b9495d3672e3a8e74d153dbef62825e6b5d5170)

16 years agolibreplace: change samba_cv_ to libreplace_cv_ in libreplace.m4.
Michael Adam [Wed, 20 Feb 2008 11:53:07 +0000 (12:53 +0100)]
libreplace: change samba_cv_ to libreplace_cv_ in libreplace.m4.

Michael
(cherry picked from commit 83387ecccfe95b80525bf53c5fc9e945ffee10ec)
(This used to be commit 12ec7dfb109bedd7b086702394a7094a4853cf1f)

16 years agolibreplace: change samba_cv_ to libreplace_cv_ in system/config.m4.
Michael Adam [Wed, 20 Feb 2008 11:49:30 +0000 (12:49 +0100)]
libreplace: change samba_cv_ to libreplace_cv_ in system/config.m4.

Michael
(cherry picked from commit 00c173bfba9c659750bf231fbd9278dd38aa8bfc)
(This used to be commit 450034582ba78b296e9cacc9ea06b632196b8644)

16 years agolibreplace: change samba_cv_ to libreplace_cv_ in getpass.m4.
Michael Adam [Wed, 20 Feb 2008 11:46:20 +0000 (12:46 +0100)]
libreplace: change samba_cv_ to libreplace_cv_ in getpass.m4.

Michael
(cherry picked from commit d3b3d3ec9ff64108b4cd5b7c912ab4ea207256cb)
(This used to be commit d6719f1c2f349c34d7a14e8e0e264db8dbe48598)

16 years agolibreplace: change samba_cv_ to libreplace_cv_ in getifaddrs.m4
Michael Adam [Wed, 20 Feb 2008 11:43:37 +0000 (12:43 +0100)]
libreplace: change samba_cv_ to libreplace_cv_ in getifaddrs.m4

Michael
(cherry picked from commit acab9def2a1e3460bef8baae6efc66d9dfad6eac)
(This used to be commit f790cb4aedee58abe6324c47912b58a808bfca51)

16 years agoRemove the getifaddrs checks from configure.in: they are now in lib/replace.
Michael Adam [Tue, 19 Feb 2008 23:44:40 +0000 (00:44 +0100)]
Remove the getifaddrs checks from configure.in: they are now in lib/replace.

Michael
(This used to be commit 53c9098253f5a7f84ea8079a755b9d4f0b28fb2c)

16 years agoconfigure: Use SAMBA_CONFIGURE_CPPFLAGS for AC_LIBREPLACE_BROKEN_CHECKS.
Michael Adam [Tue, 19 Feb 2008 23:17:31 +0000 (00:17 +0100)]
configure: Use SAMBA_CONFIGURE_CPPFLAGS for AC_LIBREPLACE_BROKEN_CHECKS.

To fix the build (make test) after merging libreplace changes.

Michael
(This used to be commit af5ec88ece3ecca2b3c5d6585deec10fe851339b)

16 years agolibreplace: Remove double item in case statement.
Michael Adam [Tue, 19 Feb 2008 21:29:34 +0000 (22:29 +0100)]
libreplace: Remove double item in case statement.

This was by accident introduced in cherry-pick commit
7a7dcd9b1265b8f031c9a5e9c4cfa89216827a28: This tiny portion
had already been ported in 64ff1dad8664f14030c7d78c252d946216798a88.

MIchael
(This used to be commit 69b2ebc797fa986bf395f4d045ea663240e9ec2c)

16 years agoRemove relict SAMBA_CONFIGURE_CPPFLAGS from lib/replace.
Michael Adam [Tue, 19 Feb 2008 16:25:42 +0000 (17:25 +0100)]
Remove relict SAMBA_CONFIGURE_CPPFLAGS from lib/replace.

Michael
(cherry picked from commit d10cbb533c18a6d74160477d34a81bbd4cd6c7c8)
(This used to be commit 12e5b9b406d111834c013cbbfe63b759a969ec8e)

16 years agor26554: Fix test for getifaddr on FreeBSD. Patch by Timur Bakeyev.
Jelmer Vernooij [Thu, 20 Dec 2007 16:07:31 +0000 (17:07 +0100)]
r26554: Fix test for getifaddr on FreeBSD. Patch by Timur Bakeyev.
(cherry picked from commit 37c7b65546190bdce40cb48435cc4fd51d89a124)
(This used to be commit bc523382aef16b1260799000650bbebe132799eb)

16 years agor26551: Make sure NULL is defined before using it to test for getifaddrs().
James Peach [Thu, 20 Dec 2007 15:35:42 +0000 (16:35 +0100)]
r26551: Make sure NULL is defined before using it to test for getifaddrs().

Patch from Timur I. Bakeyev <timur@com.bat.ru>.
(cherry picked from commit 188156228b53c4bbc9c18c6ff1a0d3c6d0ba5fcb)
(This used to be commit b4a2ec01fc3c8174cba2a7bda876270fcce90491)

16 years agor26507: Fix function signature for freeifaddrs.
Jelmer Vernooij [Mon, 17 Dec 2007 11:27:59 +0000 (12:27 +0100)]
r26507: Fix function signature for freeifaddrs.
(cherry picked from commit cc873bdd2e86e5b380c3056810ccc5ad98372f7c)
(This used to be commit ccfb04d18516e0aca88ea0a96afe119175bddba7)

16 years agor26497: Fix return type for freeifaddrs().
Jelmer Vernooij [Mon, 17 Dec 2007 07:20:29 +0000 (08:20 +0100)]
r26497: Fix return type for freeifaddrs().
(cherry picked from commit 8c65053f51330bb55a81572264eefbcc56029dc1)
(This used to be commit 57587e49f5942b81508b40e3c9a67e7536f2271d)

16 years agor26495: Add defines for getifaddrs/freeifaddrs.
Jelmer Vernooij [Mon, 17 Dec 2007 06:45:05 +0000 (07:45 +0100)]
r26495: Add defines for getifaddrs/freeifaddrs.
(cherry picked from commit c9e5a3078f7baa83743658d5648f0eefdeb05d2f)
(This used to be commit f2f552106820d1a8f07bccc1a3ad9b45582c8b30)

16 years agor26492: Some hosts have a define called ifa_dstaddr.
Jelmer Vernooij [Mon, 17 Dec 2007 05:57:30 +0000 (06:57 +0100)]
r26492: Some hosts have a define called ifa_dstaddr.
(cherry picked from commit c4cd935ee783b2f4939e2c481bbdb1bbdb9190cd)
(This used to be commit 839d128a42aa624e3cd978700059f947022ee733)

16 years agor26491: Fix syntax.
Jelmer Vernooij [Mon, 17 Dec 2007 05:30:50 +0000 (06:30 +0100)]
r26491: Fix syntax.
(cherry picked from commit 2513230e286179747bb84e4e87121b80bea8f3f0)
(This used to be commit d9c3b27c3fafb3adb7bc6521f5be97aec7fe8bfc)

16 years agor26487: Cope with systems that don't have struct sockaddr.sa_len.
Jelmer Vernooij [Mon, 17 Dec 2007 04:53:37 +0000 (05:53 +0100)]
r26487: Cope with systems that don't have struct sockaddr.sa_len.
(cherry picked from commit 56080469ab28ae5a2f456cced34814d9c33480c6)
(This used to be commit ce222d07ba73b34894454e4fcb43046f0f22c0e7)

16 years agor26470: Update README.
Jelmer Vernooij [Sun, 16 Dec 2007 13:50:11 +0000 (14:50 +0100)]
r26470: Update README.
(cherry picked from commit 51a78cfc3e72d6b32ef6c7a6079165a36863b908)
(This used to be commit 556b6b9a2fe5dd9da85b1605d91a7216a6c6d308)

16 years agor26469: Fix paths, only include IPv4 addresses for now.
Jelmer Vernooij [Sun, 16 Dec 2007 02:22:13 +0000 (03:22 +0100)]
r26469: Fix paths, only include IPv4 addresses for now.
(cherry picked from commit fa9e3b6fa871b7541878f836ea54e882e614a3cf)
(This used to be commit a2d6f6b4ae7fb6711d4228b9e255eebb6bf344bd)

16 years agor26468: Match getifaddrs more closely, add trivial test.
Jelmer Vernooij [Sun, 16 Dec 2007 01:49:52 +0000 (02:49 +0100)]
r26468: Match getifaddrs more closely, add trivial test.
(cherry picked from commit 92898c043b5a2649a2e423d02bcdaea78ae55737)
(This used to be commit 3f9c0c210022905c7811b2e07b3b655929daf930)

16 years agor26467: Use getifaddrs() for interface enumeration and provide replacements for platf...
Jelmer Vernooij [Sun, 16 Dec 2007 01:39:01 +0000 (02:39 +0100)]
r26467: Use getifaddrs() for interface enumeration and provide replacements for platforms that don't have it in lib/replace.

(lib/replace part of 9b4924fbd8619033c55b4c6e2589da247332e7db - Michael)
(This used to be commit 789bf2d36bd728cc68b58cfb1e9570b90ca09af7)

16 years agoconfigure: Move path (and debug) checks to an m4 include file check_path.m4.
Michael Adam [Tue, 19 Feb 2008 16:01:49 +0000 (17:01 +0100)]
configure: Move path (and debug) checks to an m4 include file  check_path.m4.

This is inspired by metze's check_path.m4 of Samba4.

Michael
(This used to be commit d1db2b78c9dacddc0e24304624a6a0d0a817f774)

16 years agobuild: change selftest_prefix from ./ to ./st .
Michael Adam [Tue, 19 Feb 2008 15:48:49 +0000 (16:48 +0100)]
build: change selftest_prefix from ./ to ./st .

It was used as ${selftest_prefix}/st anyways...

Michael
(This used to be commit 1f3bfa024d61ccb87655db2c616b28adb50d6783)

16 years agoconfigure: move debug check to developer check
Michael Adam [Tue, 19 Feb 2008 15:45:38 +0000 (16:45 +0100)]
configure: move debug check to developer check

...thereby grouping test checks and debug/developer checks together, respectively.

Michael
(This used to be commit bf1bb2c0906dd5e518c3f35ef97d69eba0e2efdf)

16 years agoconfigure: Also set debug=yes for --enable-developer and --enable-krb5developer.
Michael Adam [Tue, 19 Feb 2008 15:44:12 +0000 (16:44 +0100)]
configure: Also set debug=yes for --enable-developer and --enable-krb5developer.

Michael
(This used to be commit ad45d056df64aeed2e2c97ab69f82013791616ab)

16 years agoconfigure: add default for developer and krb5developer
Michael Adam [Tue, 19 Feb 2008 15:43:39 +0000 (16:43 +0100)]
configure: add default for developer and krb5developer

Michael
(This used to be commit e9b06ac113e375de11bb847c6f625f7861502853)

16 years agoconfigure: move more developer/test related checks up before the compiler checks.
Michael Adam [Tue, 19 Feb 2008 15:40:50 +0000 (16:40 +0100)]
configure: move more developer/test related checks up before the compiler checks.

Michael
(This used to be commit 05e3095e21330c162624338160ab48d197cf0507)

16 years agoMove the --enable-debug check up above all compiler checks.
Michael Adam [Tue, 19 Feb 2008 15:35:55 +0000 (16:35 +0100)]
Move the --enable-debug check up above all compiler checks.

Michael
(This used to be commit fb74f8dd6a612db0d79b091dd9972bb3204818fb)

16 years agoconfigure: Introduce "debug" variable set to yes by --enable-debug.
Michael Adam [Tue, 19 Feb 2008 15:34:43 +0000 (16:34 +0100)]
configure: Introduce "debug" variable set to yes by --enable-debug.

Michael
(This used to be commit b33db84c222af21cc3dd8233d6ff96e6f32ea3cd)

16 years agoconfigure: move AC_SUBST's of certain directories to the corresponding checks.
Michael Adam [Tue, 19 Feb 2008 15:24:24 +0000 (16:24 +0100)]
configure: move AC_SUBST's of certain directories to the corresponding checks.

Michael
(This used to be commit 28c862704c27aaffc858650d0a4f4cc7893bb406)

16 years agoMove AC_ENABLE_SHARED and AC_DISABLE_STATIC to a more appropriate place.
Michael Adam [Tue, 19 Feb 2008 15:18:32 +0000 (16:18 +0100)]
Move AC_ENABLE_SHARED and AC_DISABLE_STATIC to a more appropriate place.

I have to investigate the effect of these and evaluate the need of
their presence. For now establish more reasonable grouping.

Michael
(This used to be commit 3ba8fa1c4b9ac46133b17112ef3494a4c23dc314)

16 years agoconfigure.in: move definition of build dir up.
Michael Adam [Tue, 19 Feb 2008 14:58:02 +0000 (15:58 +0100)]
configure.in: move definition of build dir up.

Michael
(This used to be commit 35327e8fee778cb46e181add7d1987c843384989)

16 years agoRemove unused m4 macro files.
Michael Adam [Tue, 19 Feb 2008 14:47:30 +0000 (15:47 +0100)]
Remove unused m4 macro files.

These files were added in aa14900f8291a017aa7fab2bbb9a6c79b12889b2
(automatic dependency tracking) in SAMBA_3_2, which was removed
from configure.in in the git glue commit 5c6c8e1fe93f340005110a7833946191659d88ab.
But apparently, the files were not removed by accident.

Michael
(This used to be commit aeb3673b3686f463e6c7811d61c01d8d6aec0eb3)

16 years agoUpdate position information also for AIO
Volker Lendecke [Tue, 19 Feb 2008 12:27:08 +0000 (13:27 +0100)]
Update position information also for AIO

Necessary to survive RAW-SEEK with AIO enabled.

Jeremy, please check!
(This used to be commit e2ca12c2345c0e3916dd09d097b2ba1ce2989fa8)

16 years agoInform level II oplock holders when we write using AIO
Volker Lendecke [Tue, 19 Feb 2008 14:53:57 +0000 (15:53 +0100)]
Inform level II oplock holders when we write using AIO

Jeremy, please check!
(This used to be commit 81d823e026fb332a88b6e1f15030fe49719f2522)

16 years agoChange ldap search filter. This function is also used to search machine accounts...
Karolin Seeger [Tue, 19 Feb 2008 10:53:36 +0000 (11:53 +0100)]
Change ldap search filter. This function is also used to search machine accounts which may be located in a different ou. This is an extension to e71a48bb80cee85afcccacbce2884c0d600f4d72.

Karolin
(This used to be commit e5cc8b683cba3f2f3a84b1636b3d5bee1bfc0dda)

16 years agoMakefile.in: Rework registry-related object collections.
Michael Adam [Tue, 19 Feb 2008 10:01:00 +0000 (11:01 +0100)]
Makefile.in: Rework registry-related object collections.

Group and name objects more sanely.

Michael
(This used to be commit 58626eb6027f43495a030d856232a81225d0ca77)

16 years agoUse linbet_conf code in loadparm's registry handling.
Michael Adam [Tue, 19 Feb 2008 00:22:32 +0000 (01:22 +0100)]
Use linbet_conf code in loadparm's registry handling.

This replaces the original hand-written tdb code, now that the
linking dependencies have been significantly reduced.

Michael
(This used to be commit d08a3a195718725228bbafa61fd4f0be8aafb43f)

16 years agoMake regdb_init() behave like regdb_open() when registry is already opened.
Michael Adam [Tue, 19 Feb 2008 00:04:31 +0000 (01:04 +0100)]
Make regdb_init() behave like regdb_open() when registry is already opened.

I.e. increment the refcounter.

Michael
(This used to be commit 951d3fae2cbea09cc4e1806cbf0a94ecdfcee8d5)

16 years agoAdd a function libnet_conf_get_seqnum() to the libnet_conf API.
Michael Adam [Mon, 18 Feb 2008 17:21:14 +0000 (18:21 +0100)]
Add a function libnet_conf_get_seqnum() to the libnet_conf API.

This is to provide a change sequence number to users, so that they
can use it to detect change in the config and trigger a reload.

Michael
(This used to be commit a0b12f4d815fa92c8826954e6d73546c8a751583)

16 years agoRemove unused marshalling for SVCCTL_UNLOCK_SERVICE_DB.
Günther Deschner [Tue, 19 Feb 2008 01:50:54 +0000 (02:50 +0100)]
Remove unused marshalling for SVCCTL_UNLOCK_SERVICE_DB.

Guenther
(This used to be commit eeb598a19a3d09f2175032e013857fe743da3eec)

16 years agoUse pidl for _svcctl_UnlockServiceDatabase().
Günther Deschner [Tue, 19 Feb 2008 01:50:01 +0000 (02:50 +0100)]
Use pidl for _svcctl_UnlockServiceDatabase().

Guenther
(This used to be commit 300bf76a79bfa0a9cf55505fd1e928aba9fec171)

16 years agoRemove unused marshalling for SVCCTL_LOCK_SERVICE_DB.
Günther Deschner [Tue, 19 Feb 2008 01:48:08 +0000 (02:48 +0100)]
Remove unused marshalling for SVCCTL_LOCK_SERVICE_DB.

Guenther
(This used to be commit 23d37a9aed145d38e2bd98b170b65096ab69b0d9)

16 years agoUse pidl for _svcctl_LockServiceDatabase().
Günther Deschner [Tue, 19 Feb 2008 01:47:05 +0000 (02:47 +0100)]
Use pidl for _svcctl_LockServiceDatabase().

Guenther
(This used to be commit 939da2eb58ea8cfa637ec63b254755d77702da45)

16 years agoRemove unused marshalling for SVCCTL_QUERY_STATUS.
Günther Deschner [Tue, 19 Feb 2008 01:43:56 +0000 (02:43 +0100)]
Remove unused marshalling for SVCCTL_QUERY_STATUS.

Guenther
(This used to be commit 8a621f517fe38ce91f10e12fccc2963af6afc33d)

16 years agoUse rpccli_svcctl_QueryServiceStatus() in net.
Günther Deschner [Tue, 19 Feb 2008 01:43:04 +0000 (02:43 +0100)]
Use rpccli_svcctl_QueryServiceStatus() in net.

Guenther
(This used to be commit 1cc0e9b7e5b8685dc4aff8e379837dd32e386f9f)

16 years agoUse pidl for _svcctl_QueryServiceStatus().
Günther Deschner [Tue, 19 Feb 2008 01:41:05 +0000 (02:41 +0100)]
Use pidl for _svcctl_QueryServiceStatus().

Guenther
(This used to be commit 5453d97ef4967755ef0c903dd665325d50845028)

16 years agoRemove unused marshalling for SVCCTL_CONTROL_SERVICE.
Günther Deschner [Tue, 19 Feb 2008 01:37:32 +0000 (02:37 +0100)]
Remove unused marshalling for SVCCTL_CONTROL_SERVICE.

Guenther
(This used to be commit 84112a24f5292b8d2e4d446e39462e0402453b4a)

16 years agoUse rpccli_svcctl_ControlService() in net.
Günther Deschner [Tue, 19 Feb 2008 01:37:12 +0000 (02:37 +0100)]
Use rpccli_svcctl_ControlService() in net.

Guenther
(This used to be commit 49375f0b4d5ead7d26659cfc94997bd3e18c48a9)

16 years agoUse pidl for _svcctl_ControlService().
Günther Deschner [Tue, 19 Feb 2008 01:35:03 +0000 (02:35 +0100)]
Use pidl for _svcctl_ControlService().

Guenther
(This used to be commit 4797ca0bd5dc922f6ba5ebb93bf65ceee09a678e)

16 years agoRemove unused marshalling for SVCCTL_START_SERVICE.
Günther Deschner [Tue, 19 Feb 2008 01:30:53 +0000 (02:30 +0100)]
Remove unused marshalling for SVCCTL_START_SERVICE.

Guenther
(This used to be commit 57e03a7fd56062bbff19c88c3b6928e8a0481794)

16 years agoUse rpccli_svcctl_StartServiceW() in net.
Günther Deschner [Tue, 19 Feb 2008 01:29:16 +0000 (02:29 +0100)]
Use rpccli_svcctl_StartServiceW() in net.

Guenther
(This used to be commit 5ca4358c1a2c13b316df7cc07d8ca5b820c79988)

16 years agoUse pidl for _svcctl_StartServiceW().
Günther Deschner [Tue, 19 Feb 2008 01:28:46 +0000 (02:28 +0100)]
Use pidl for _svcctl_StartServiceW().

Guenther
(This used to be commit d95998ffd321eccf19f7de671eed2c741038b81e)

16 years agoFix some uninitialized data in new netlogon client.
Günther Deschner [Tue, 19 Feb 2008 00:48:58 +0000 (01:48 +0100)]
Fix some uninitialized data in new netlogon client.

Guenther
(This used to be commit bd6e2fcf3b3ab15736584edbbfb941b381988499)

16 years agow
Günther Deschner [Tue, 19 Feb 2008 00:20:29 +0000 (01:20 +0100)]
w
(This used to be commit c22ec556b1df777b3b99669403dd1f9094a37a7a)

16 years agoRemove unused marshalling for LSA_LOOKUP_SIDS/2/3.
Günther Deschner [Tue, 19 Feb 2008 00:19:44 +0000 (01:19 +0100)]
Remove unused marshalling for LSA_LOOKUP_SIDS/2/3.
This also removes parse_lsa.c entirely.

Guenther
(This used to be commit f802ba035c95e63c5a6ff9f2fb484d62341cd1a7)

16 years agoYippie! LSARPC server-side migration to pidl finished.
Günther Deschner [Tue, 19 Feb 2008 00:16:00 +0000 (01:16 +0100)]
Yippie! LSARPC server-side migration to pidl finished.

Guenther
(This used to be commit aa7023b88d3161897b9616d950c2a99624d81931)

16 years agoUse pidl for _lsa_LookupSids, _lsa_LookupSids2 and _lsa_LookupSids3.
Günther Deschner [Tue, 19 Feb 2008 00:01:15 +0000 (01:01 +0100)]
Use pidl for _lsa_LookupSids, _lsa_LookupSids2 and _lsa_LookupSids3.

Guenther
(This used to be commit b1609801e4443a3efbc29873477ad335d0241be4)

16 years agoFix a comment. REGISTRY_KEY has vanished from srv_winreg_nt.c
Michael Adam [Mon, 18 Feb 2008 16:48:19 +0000 (17:48 +0100)]
Fix a comment. REGISTRY_KEY has vanished from srv_winreg_nt.c

(It is reg_api time)

Michael
(This used to be commit d94998e46ba0faac3fa625e8292d452ad52b8e55)

16 years agoRemove (now) unused function make_default_reg_sd().
Michael Adam [Mon, 18 Feb 2008 15:34:39 +0000 (16:34 +0100)]
Remove (now) unused function make_default_reg_sd().

Michael
(This used to be commit 2c66413de284fb4cb9dc7def0ee4eb07b986c9ca)

16 years agoGrab secdesc for key from registry for reg_savekey()
Michael Adam [Mon, 18 Feb 2008 15:33:47 +0000 (16:33 +0100)]
Grab secdesc for key from registry for reg_savekey()

instead of construction another default secdesc.

Michael
(This used to be commit 194e00822c349aa0c11641672b35b0e0c021da08)

16 years agoAdd NT Authority\System as group sid to default registry key security descriptor.
Michael Adam [Mon, 18 Feb 2008 15:03:16 +0000 (16:03 +0100)]
Add NT Authority\System as group sid to default registry key security descriptor.

Michael
(This used to be commit 9f0448ca323a6645ad662c97d92a7e30320e0c11)

16 years agoChange construct_registry_sd() to return WERROR instead of the SEC_DESC *.
Michael Adam [Mon, 18 Feb 2008 13:55:48 +0000 (14:55 +0100)]
Change construct_registry_sd() to return WERROR instead of the SEC_DESC *.

Michael
(This used to be commit 91dbe79df2636959381825af6ab8a66abd7f97a1)

16 years agoReformat construct_registry_sd() slightly (stick to coding rules).
Michael Adam [Mon, 18 Feb 2008 13:44:51 +0000 (14:44 +0100)]
Reformat construct_registry_sd() slightly (stick to coding rules).

Michael
(This used to be commit d87fb13959f84dfbbd3e1cc875f78d6e8ad44130)

16 years agoUse BUILTIN\administrators as owner of the default registry key security descriptor.
Michael Adam [Mon, 18 Feb 2008 14:51:56 +0000 (15:51 +0100)]
Use BUILTIN\administrators as owner of the default registry key security descriptor.

Michael
(This used to be commit 52e98157650d8dbc9b3ebb55f995ca543839543b)

16 years agoFix segfault in svcctl_get_secdesc(): prevent premature TALLOC_FREE.
Michael Adam [Mon, 18 Feb 2008 16:38:19 +0000 (17:38 +0100)]
Fix segfault in svcctl_get_secdesc(): prevent premature TALLOC_FREE.

This crash was triggered by (e.g.) net rpc service status.
This patch prevents premature freeing of memory and creates a
common exit point to the function.

Michael
(This used to be commit f1fb9fd6f14fc53629871cbe4b8558ad5acc14f0)

16 years agoAdd a check for success of fetch_reg_values().
Michael Adam [Mon, 18 Feb 2008 16:23:41 +0000 (17:23 +0100)]
Add a check for success of fetch_reg_values().

Michael
(This used to be commit ba69097f37086537e6b2606fceeb874f6d3e4e1c)

16 years agoFix a comment typo.
Michael Adam [Mon, 18 Feb 2008 15:58:24 +0000 (16:58 +0100)]
Fix a comment typo.

Michael
(This used to be commit 00e2dd36b38fcf92d76a0e79860cf9ca6a3d027e)

16 years agoCreate missing link for libnetapi.so.0
Michael Adam [Mon, 18 Feb 2008 14:51:21 +0000 (15:51 +0100)]
Create missing link for libnetapi.so.0

Michael
(This used to be commit 1cb2d980d3b2759d73314b112c904f5e20052135)

16 years agoRemove unused marshalling for LSA_LOOKUP_NAMES/2/3/4
Günther Deschner [Mon, 18 Feb 2008 16:04:50 +0000 (17:04 +0100)]
Remove unused marshalling for LSA_LOOKUP_NAMES/2/3/4

Guenther
(This used to be commit 6458ef3977b60f24b87eb88cf870a9f23929ca85)

16 years agoUse pidl for _lsa_LookupNames3 and _lsa_LookupNames4.
Günther Deschner [Mon, 18 Feb 2008 15:57:02 +0000 (16:57 +0100)]
Use pidl for _lsa_LookupNames3 and _lsa_LookupNames4.

Guenther
(This used to be commit 4e310a19f12ba7034f33247dca0a9e7a10aa98b7)

16 years agoRe-run make idl.
Günther Deschner [Mon, 18 Feb 2008 15:52:56 +0000 (16:52 +0100)]
Re-run make idl.

Guenther
(This used to be commit 1cac7b0f626b418909a5e7a79a1c6d335c10fbf3)

16 years agoFix IDL for lsa_LookupNames3 and lsa_LookupNames4.
Günther Deschner [Mon, 18 Feb 2008 15:51:32 +0000 (16:51 +0100)]
Fix IDL for lsa_LookupNames3 and lsa_LookupNames4.

Guenther
(This used to be commit 2eda5bcbfa8fccb121e5621b45c2bd1d86f6e71e)

16 years agoUse pidl for _lsa_LookupNames() and _lsa_LookupNames2().
Günther Deschner [Mon, 18 Feb 2008 13:40:34 +0000 (14:40 +0100)]
Use pidl for _lsa_LookupNames() and _lsa_LookupNames2().

Hopefully I didn't screw this up. Please check :)

Guenther
(This used to be commit 01b733f10c1645668f2aea2841bbdc64b4bd5c51)

16 years agoRemove unused marshalling for SVCCTL_GET_DISPLAY_NAME.
Günther Deschner [Mon, 18 Feb 2008 12:45:36 +0000 (13:45 +0100)]
Remove unused marshalling for SVCCTL_GET_DISPLAY_NAME.

Guenther
(This used to be commit 144f41e7c3c97afede71ed771acd130f9018f0df)

16 years agoUse pidl for _svcctl_GetServiceDisplayNameW().
Günther Deschner [Mon, 18 Feb 2008 12:43:12 +0000 (13:43 +0100)]
Use pidl for _svcctl_GetServiceDisplayNameW().

Guenther
(This used to be commit 2746e88c5c4a9e859356d5c53106eba0c2cd7cbe)

16 years agoRemove unused marshalling for SVCCTL_OPEN_SERVICE.
Günther Deschner [Mon, 18 Feb 2008 11:48:43 +0000 (12:48 +0100)]
Remove unused marshalling for SVCCTL_OPEN_SERVICE.

Guenther
(This used to be commit e0a8818af0e3e82e9b70ff6c485090986b435fed)

16 years agoUse rpccli_svcctl_OpenServiceW() in net.
Günther Deschner [Mon, 18 Feb 2008 11:45:13 +0000 (12:45 +0100)]
Use rpccli_svcctl_OpenServiceW() in net.

Guenther
(This used to be commit 1537a2ff36841fea7bd5d49283667dd02bae84b8)

16 years agoUse pidl for _svcctl_OpenServiceW().
Günther Deschner [Mon, 18 Feb 2008 11:55:35 +0000 (12:55 +0100)]
Use pidl for _svcctl_OpenServiceW().

Note that this call did and still does panic in registry access.
Michael has an idea how to fix this.

Guenther
(This used to be commit b2fa41072ddd2aba000a33eb32ccee408d8304db)

16 years agoRemove unused marshalling for SVCCTL_OPEN_SCMANAGER.
Günther Deschner [Mon, 18 Feb 2008 11:12:43 +0000 (12:12 +0100)]
Remove unused marshalling for SVCCTL_OPEN_SCMANAGER.

Guenther
(This used to be commit 1162b8a02d365b79f5a3e86c936bae80092f1869)

16 years agoUse rpccli_svcctl_OpenSCManagerW() in net.
Günther Deschner [Mon, 18 Feb 2008 11:10:54 +0000 (12:10 +0100)]
Use rpccli_svcctl_OpenSCManagerW() in net.

Guenther
(This used to be commit 275ce92e277c0d30cfa098e62674111c994aeb4c)

16 years agoUse pidl for _svcctl_OpenSCManagerW().
Günther Deschner [Mon, 18 Feb 2008 10:55:31 +0000 (11:55 +0100)]
Use pidl for _svcctl_OpenSCManagerW().

Guenther
(This used to be commit 1131e914df9c69b046f335999b7b62063e92fb9d)

16 years agoRemove whitespace, no code changes.
Günther Deschner [Mon, 18 Feb 2008 10:48:51 +0000 (11:48 +0100)]
Remove whitespace, no code changes.

Guenther
(This used to be commit d752d52f1a4b75d7d4934da66566bc62e14caf27)

16 years agoFix off-by-one bugs in subcommand argument passing.
Tim Potter [Sun, 17 Feb 2008 23:24:51 +0000 (10:24 +1100)]
Fix off-by-one bugs in subcommand argument passing.
(This used to be commit d85a2782a483e563a8b68924d4897a145bc25896)

16 years agoCheck return code of secrets_init() function.
Tim Potter [Sun, 17 Feb 2008 23:21:50 +0000 (10:21 +1100)]
Check return code of secrets_init() function.
(This used to be commit 2b1eead269e95142576d0c8c259874324ba83502)