1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

26074 Commits

Author SHA1 Message Date
Michael Adam
b277aa2893 libreplace: change samba_cv_ to libreplace_cv_ in getifaddrs.m4
Michael
(cherry picked from commit acab9def2a1e3460bef8baae6efc66d9dfad6eac)
(This used to be commit f790cb4aedee58abe6324c47912b58a808bfca51)
2008-02-20 14:14:20 +01:00
Michael Adam
9e5be586af Remove the getifaddrs checks from configure.in: they are now in lib/replace.
Michael
(This used to be commit 53c9098253f5a7f84ea8079a755b9d4f0b28fb2c)
2008-02-20 00:44:40 +01:00
Michael Adam
31a356420d 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)
2008-02-20 00:17:31 +01:00
Michael Adam
89ad7e4ed1 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)
2008-02-19 22:29:34 +01:00
Michael Adam
3e02cdcaa8 Remove relict SAMBA_CONFIGURE_CPPFLAGS from lib/replace.
Michael
(cherry picked from commit d10cbb533c18a6d74160477d34a81bbd4cd6c7c8)
(This used to be commit 12e5b9b406d111834c013cbbfe63b759a969ec8e)
2008-02-19 22:14:12 +01:00
Jelmer Vernooij
c4265bd3e8 r26554: Fix test for getifaddr on FreeBSD. Patch by Timur Bakeyev.
(cherry picked from commit 37c7b65546190bdce40cb48435cc4fd51d89a124)
(This used to be commit bc523382aef16b1260799000650bbebe132799eb)
2008-02-19 22:12:50 +01:00
James Peach
5dd51159df 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)
2008-02-19 22:12:32 +01:00
Jelmer Vernooij
f75d7a6992 r26507: Fix function signature for freeifaddrs.
(cherry picked from commit cc873bdd2e86e5b380c3056810ccc5ad98372f7c)
(This used to be commit ccfb04d18516e0aca88ea0a96afe119175bddba7)
2008-02-19 22:00:15 +01:00
Jelmer Vernooij
f822f4150b r26497: Fix return type for freeifaddrs().
(cherry picked from commit 8c65053f51330bb55a81572264eefbcc56029dc1)
(This used to be commit 57587e49f5942b81508b40e3c9a67e7536f2271d)
2008-02-19 21:59:51 +01:00
Jelmer Vernooij
1caa9cbd9d r26495: Add defines for getifaddrs/freeifaddrs.
(cherry picked from commit c9e5a3078f7baa83743658d5648f0eefdeb05d2f)
(This used to be commit f2f552106820d1a8f07bccc1a3ad9b45582c8b30)
2008-02-19 21:59:27 +01:00
Jelmer Vernooij
ea9ce8f9ac r26492: Some hosts have a define called ifa_dstaddr.
(cherry picked from commit c4cd935ee783b2f4939e2c481bbdb1bbdb9190cd)
(This used to be commit 839d128a42aa624e3cd978700059f947022ee733)
2008-02-19 21:58:50 +01:00
Jelmer Vernooij
5fb2d5b086 r26491: Fix syntax.
(cherry picked from commit 2513230e286179747bb84e4e87121b80bea8f3f0)
(This used to be commit d9c3b27c3fafb3adb7bc6521f5be97aec7fe8bfc)
2008-02-19 21:58:12 +01:00
Jelmer Vernooij
1de665002c r26487: Cope with systems that don't have struct sockaddr.sa_len.
(cherry picked from commit 56080469ab28ae5a2f456cced34814d9c33480c6)
(This used to be commit ce222d07ba73b34894454e4fcb43046f0f22c0e7)
2008-02-19 21:57:46 +01:00
Jelmer Vernooij
621983ed6d r26470: Update README.
(cherry picked from commit 51a78cfc3e72d6b32ef6c7a6079165a36863b908)
(This used to be commit 556b6b9a2fe5dd9da85b1605d91a7216a6c6d308)
2008-02-19 21:57:15 +01:00
Jelmer Vernooij
7728a23d43 r26469: Fix paths, only include IPv4 addresses for now.
(cherry picked from commit fa9e3b6fa871b7541878f836ea54e882e614a3cf)
(This used to be commit a2d6f6b4ae7fb6711d4228b9e255eebb6bf344bd)
2008-02-19 21:56:52 +01:00
Jelmer Vernooij
d0d4fc5f54 r26468: Match getifaddrs more closely, add trivial test.
(cherry picked from commit 92898c043b5a2649a2e423d02bcdaea78ae55737)
(This used to be commit 3f9c0c210022905c7811b2e07b3b655929daf930)
2008-02-19 21:56:41 +01:00
Jelmer Vernooij
2235ffe2f7 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)
2008-02-19 21:55:09 +01:00
Michael Adam
27b711414f 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)
2008-02-19 17:39:40 +01:00
Michael Adam
07f4f95b14 build: change selftest_prefix from ./ to ./st .
It was used as ${selftest_prefix}/st anyways...

Michael
(This used to be commit 1f3bfa024d61ccb87655db2c616b28adb50d6783)
2008-02-19 17:39:40 +01:00
Michael Adam
3b3b80a365 configure: move debug check to developer check
...thereby grouping test checks and debug/developer checks together, respectively.

Michael
(This used to be commit bf1bb2c0906dd5e518c3f35ef97d69eba0e2efdf)
2008-02-19 17:39:40 +01:00
Michael Adam
53d5624205 configure: Also set debug=yes for --enable-developer and --enable-krb5developer.
Michael
(This used to be commit ad45d056df64aeed2e2c97ab69f82013791616ab)
2008-02-19 17:39:40 +01:00
Michael Adam
12239ef505 configure: add default for developer and krb5developer
Michael
(This used to be commit e9b06ac113e375de11bb847c6f625f7861502853)
2008-02-19 17:39:40 +01:00
Michael Adam
b40d1b131b configure: move more developer/test related checks up before the compiler checks.
Michael
(This used to be commit 05e3095e21330c162624338160ab48d197cf0507)
2008-02-19 17:39:40 +01:00
Michael Adam
5073bd1349 Move the --enable-debug check up above all compiler checks.
Michael
(This used to be commit fb74f8dd6a612db0d79b091dd9972bb3204818fb)
2008-02-19 17:39:40 +01:00
Michael Adam
90ea8ae9b1 configure: Introduce "debug" variable set to yes by --enable-debug.
Michael
(This used to be commit b33db84c222af21cc3dd8233d6ff96e6f32ea3cd)
2008-02-19 17:39:40 +01:00
Michael Adam
86e758e246 configure: move AC_SUBST's of certain directories to the corresponding checks.
Michael
(This used to be commit 28c862704c27aaffc858650d0a4f4cc7893bb406)
2008-02-19 17:39:40 +01:00
Michael Adam
c666d5b384 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)
2008-02-19 17:39:40 +01:00
Michael Adam
1f67a36de3 configure.in: move definition of build dir up.
Michael
(This used to be commit 35327e8fee778cb46e181add7d1987c843384989)
2008-02-19 17:39:39 +01:00
Michael Adam
6fa31c5364 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)
2008-02-19 17:39:39 +01:00
Volker Lendecke
4c4c1bfb79 Update position information also for AIO
Necessary to survive RAW-SEEK with AIO enabled.

Jeremy, please check!
(This used to be commit e2ca12c2345c0e3916dd09d097b2ba1ce2989fa8)
2008-02-19 16:19:49 +01:00
Volker Lendecke
e12cd305dd Inform level II oplock holders when we write using AIO
Jeremy, please check!
(This used to be commit 81d823e026fb332a88b6e1f15030fe49719f2522)
2008-02-19 16:19:49 +01:00
Karolin Seeger
cdb88dcf6b 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)
2008-02-19 12:35:54 +01:00
Michael Adam
ebdc59ca39 Makefile.in: Rework registry-related object collections.
Group and name objects more sanely.

Michael
(This used to be commit 58626eb6027f43495a030d856232a81225d0ca77)
2008-02-19 11:01:00 +01:00
Michael Adam
6d963a807d 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)
2008-02-19 09:09:05 +01:00
Michael Adam
9e9cd40a7d Make regdb_init() behave like regdb_open() when registry is already opened.
I.e. increment the refcounter.

Michael
(This used to be commit 951d3fae2cbea09cc4e1806cbf0a94ecdfcee8d5)
2008-02-19 09:09:04 +01:00
Michael Adam
3e3df1bfe2 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)
2008-02-19 09:09:04 +01:00
Günther Deschner
1c9990fcfe Remove unused marshalling for SVCCTL_UNLOCK_SERVICE_DB.
Guenther
(This used to be commit eeb598a19a3d09f2175032e013857fe743da3eec)
2008-02-19 03:13:58 +01:00
Günther Deschner
5894d5e99a Use pidl for _svcctl_UnlockServiceDatabase().
Guenther
(This used to be commit 300bf76a79bfa0a9cf55505fd1e928aba9fec171)
2008-02-19 03:13:50 +01:00
Günther Deschner
35a30ac841 Remove unused marshalling for SVCCTL_LOCK_SERVICE_DB.
Guenther
(This used to be commit 23d37a9aed145d38e2bd98b170b65096ab69b0d9)
2008-02-19 03:13:42 +01:00
Günther Deschner
e0860ccc82 Use pidl for _svcctl_LockServiceDatabase().
Guenther
(This used to be commit 939da2eb58ea8cfa637ec63b254755d77702da45)
2008-02-19 03:13:34 +01:00
Günther Deschner
c147f2fd6b Remove unused marshalling for SVCCTL_QUERY_STATUS.
Guenther
(This used to be commit 8a621f517fe38ce91f10e12fccc2963af6afc33d)
2008-02-19 03:13:26 +01:00
Günther Deschner
3c3944ee38 Use rpccli_svcctl_QueryServiceStatus() in net.
Guenther
(This used to be commit 1cc0e9b7e5b8685dc4aff8e379837dd32e386f9f)
2008-02-19 03:13:18 +01:00
Günther Deschner
4421e0d147 Use pidl for _svcctl_QueryServiceStatus().
Guenther
(This used to be commit 5453d97ef4967755ef0c903dd665325d50845028)
2008-02-19 03:13:10 +01:00
Günther Deschner
35e48a4b1d Remove unused marshalling for SVCCTL_CONTROL_SERVICE.
Guenther
(This used to be commit 84112a24f5292b8d2e4d446e39462e0402453b4a)
2008-02-19 03:13:02 +01:00
Günther Deschner
87bccd70ca Use rpccli_svcctl_ControlService() in net.
Guenther
(This used to be commit 49375f0b4d5ead7d26659cfc94997bd3e18c48a9)
2008-02-19 03:12:54 +01:00
Günther Deschner
e87216972a Use pidl for _svcctl_ControlService().
Guenther
(This used to be commit 4797ca0bd5dc922f6ba5ebb93bf65ceee09a678e)
2008-02-19 03:12:46 +01:00
Günther Deschner
a750bbf1b8 Remove unused marshalling for SVCCTL_START_SERVICE.
Guenther
(This used to be commit 57e03a7fd56062bbff19c88c3b6928e8a0481794)
2008-02-19 03:12:37 +01:00
Günther Deschner
cea7718db8 Use rpccli_svcctl_StartServiceW() in net.
Guenther
(This used to be commit 5ca4358c1a2c13b316df7cc07d8ca5b820c79988)
2008-02-19 03:12:29 +01:00
Günther Deschner
f8b0242ca0 Use pidl for _svcctl_StartServiceW().
Guenther
(This used to be commit d95998ffd321eccf19f7de671eed2c741038b81e)
2008-02-19 03:12:11 +01:00
Günther Deschner
bdd5f1cb2a Fix some uninitialized data in new netlogon client.
Guenther
(This used to be commit bd6e2fcf3b3ab15736584edbbfb941b381988499)
2008-02-19 01:51:41 +01:00