Günther Deschner [Thu, 20 Mar 2008 00:40:04 +0000 (01:40 +0100)]
Remove unused marshalling for SVCCTL_ENUM_DEPENDENT_SERVICES.
Guenther
(This used to be commit
5838d81346a51ef1e996bab938533ae2097f7e47)
Günther Deschner [Thu, 20 Mar 2008 00:38:23 +0000 (01:38 +0100)]
Use pidl for _svcctl_EnumDependentServicesW().
Guenther
(This used to be commit
988291a9c07c055213f8979ebe75bb392811008d)
Günther Deschner [Thu, 20 Mar 2008 00:35:58 +0000 (01:35 +0100)]
Re-run make idl.
Guenther
(This used to be commit
fe7203090c0c51e4561a3b5ce0d5d131d280ba8e)
Günther Deschner [Thu, 20 Mar 2008 00:32:20 +0000 (01:32 +0100)]
Fix IDL for svcctl_EnumDependentServicesW().
Guenther
(This used to be commit
46bfded43dcabdd2302d82920fb2a37c41e58126)
Günther Deschner [Thu, 20 Mar 2008 00:26:37 +0000 (01:26 +0100)]
Move svc_status_string() out of rpc_client/cli_svcctl.c
Guenther
(This used to be commit
2860ae2eb2cb99b4febb352f516b3fa9fbd2abbb)
Günther Deschner [Thu, 20 Mar 2008 00:24:55 +0000 (01:24 +0100)]
No need to compose CLI_SERVER_NAME_SLASH in "net rpc service" anymore.
Guenther
(This used to be commit
b5291d477381521cd4b71674616f8c9899007002)
Günther Deschner [Wed, 19 Mar 2008 23:31:26 +0000 (00:31 +0100)]
Add error mapping for WERR_SERVICE_NEVER_STARTED.
Guenther
(This used to be commit
818044d877597ba5c11dc7f30bab929c4b41db89)
Günther Deschner [Wed, 19 Mar 2008 23:30:01 +0000 (00:30 +0100)]
Fix crash bug in check_sam_security() when make_server_info_sam() did a
talloc_steal and talloc_free on the sam account already.
Guenther
(This used to be commit
dbc7237a8a566f3e86bd6e4b48593b93c5bfb94e)
Kai Blin [Wed, 19 Mar 2008 22:32:38 +0000 (23:32 +0100)]
ntlm_auth: Improve compliance to the Squid helper protocol
This fixes bug #4235.
Patch from Pawel Worach <pawel.worach@gmail.com> with some linebreaks
added by me.
Also fix one BH message that the original patch didn't fix.
(This used to be commit
098380760d20bad2a45c3b12ab2a5e4d2b856175)
Michael Adam [Tue, 18 Mar 2008 16:50:23 +0000 (17:50 +0100)]
libreplace: replace.c does not need system/network.h anymore.
Michael
(cherry picked from commit
2d3c2f34f33338ff422047dae9cc262522689328)
(This used to be commit
03a980d8f67ee1516c357807c23a405f07a006b3)
Michael Adam [Tue, 18 Mar 2008 16:20:47 +0000 (17:20 +0100)]
libreplace: move rep_socketpair() to its own module.
Prototype is now in system/network.h,
implementation in socketpair.c, and
check in socketpair.m4.
Now the last networking function has vanished from replace.c.
Michael
(cherry picked from commit
94ac8a25be15b55f66eff96fdddc2fdc71a43b1e)
(This used to be commit
6c53753246b8108fe1277b34958e122bd800c4e7)
Volker Lendecke [Wed, 19 Mar 2008 21:37:24 +0000 (22:37 +0100)]
!NT_STATUS_IS_OK != NT_STATUS_IS_ERR
When reading from a pipe, Windows return STATUS_BUFFER_OVERFLOW which is *not*
an error.
(This used to be commit
24018d882d1b1cfece47c533fe5bbca91de124cc)
Volker Lendecke [Wed, 19 Mar 2008 16:04:50 +0000 (17:04 +0100)]
Volker Lendecke [Wed, 19 Mar 2008 15:09:37 +0000 (16:09 +0100)]
Merge
dd9e0bea31751 from 3-0-ctdb -- use NetSamLogonEx when possible
NetSamLogonEx has the advantage that it does not use the credential chain
(This used to be commit
cfceb063f559f8549b8f24ce347be213c89303b0)
Volker Lendecke [Wed, 19 Mar 2008 15:08:24 +0000 (16:08 +0100)]
Fix some "nexted extern" warnins
(This used to be commit
32fc759d942abb36d7dd351eff82925b6788dd28)
Volker Lendecke [Wed, 19 Mar 2008 14:01:30 +0000 (15:01 +0100)]
Fix bug 5338 -- thanks to Yuya Katayama <yuya999@gmail.com>
(This used to be commit
5ec2dbd144a3bbfdb14deafd158bad48b2d41ca4)
Günther Deschner [Wed, 19 Mar 2008 01:47:22 +0000 (02:47 +0100)]
Fix the build (by calling NDR_SRVSVC_NETFILEENUM).
Guenther
(This used to be commit
3b1f3d8a6ce9b8860aca07d9960bc8488296aecd)
Günther Deschner [Wed, 19 Mar 2008 00:31:09 +0000 (01:31 +0100)]
Remove unused marshalling for SRV_NET_FILE_ENUM.
Guenther
(This used to be commit
fcdc09674571b8e81233acc9e8dc8651b66cd21d)
Günther Deschner [Wed, 19 Mar 2008 00:25:59 +0000 (01:25 +0100)]
Use pidl for _srvsvc_NetFileEnum.
Guenther
(This used to be commit
6c6700ed7148b73b2ce52fc00020c7e253a577d3)
Günther Deschner [Tue, 18 Mar 2008 20:30:34 +0000 (21:30 +0100)]
Bind Group Policy processing closer to the samba registry.
Guenther
(This used to be commit
e9c56250eb7a2dc4e69962c5b48875834941ccfc)
Andrew Tridgell [Sat, 2 Jun 2007 05:38:09 +0000 (15:38 +1000)]
[samba-3-0-ctdb.tridge @ tridge@samba.org-
20070602053809-kpw5kjkcyjs8yjbl]
suppress that darn message
(cherry picked from commit
542e46a21898f6fcc8a0aeb63925607a60e0b99f)
(This used to be commit
5e8c624c9c9775f255632717e6898d5f190ba51b)
Michael Adam [Tue, 18 Mar 2008 15:31:15 +0000 (16:31 +0100)]
libreplace: remove duplicate entry of inet_ntoa from README.
Michael
(cherry picked from commit
98ee8c84300757d778733a458c6ca3e6022b40ea)
(This used to be commit
a4f22d6e2b3fc198327deabf4a724cd476e4144c)
Michael Adam [Tue, 18 Mar 2008 12:10:22 +0000 (13:10 +0100)]
libreplace: remove trailing white spaces.
Michael
(cherry picked from commit
1f9ca7eed965904f67cf78fbac007432b8a057fd)
(This used to be commit
a1d24f110b3edff636174e017eb56ba5b10df590)
Michael Adam [Tue, 18 Mar 2008 11:16:47 +0000 (12:16 +0100)]
libreplace: replace inet_ntoa() when it is missing
...not only replace it when it is broken.
This moves the defintion of rep_inet_ntoa from replace.c
to inet_ntoa.c and adds configure checks for existence
of inet_ntoa(). Checks are moved to an include file of its own.
NOTE: The original rep_inet_ntoa in replace.c was wrapped
into a "#ifndef WITH_PTHREADS" but the prototype in replace.h
and the define in system/network.h were not. I removed that
ifndef since the inet_ntoa() function is usually not thread safe
anyways, since it returns a pointer to a static buffer.
So whoever calls inet_ntoa() should be aware that it is not
thread safe anyways.
Michael
(cherry picked from commit
974c0c45ad42644348e0b55454715b12158f1028)
(This used to be commit
edcf2712bcdedabbfdd9ee8b9a18f46126930636)
Michael Adam [Fri, 14 Mar 2008 14:53:38 +0000 (15:53 +0100)]
libreplace: put inet_aton.c under LGPL instead of GPL.
Michael
(cherry picked from commit
cca5d6626fe395f08fd4c8b2344e4e43646cb987)
(This used to be commit
f69e51f56f111d9bd5db69e191f45567aacf8c3d)
Stefan Metzmacher [Tue, 18 Mar 2008 14:01:34 +0000 (15:01 +0100)]
libreplace: remove unused SOCKET_LIBS and NSL_LIBS
metze
(cherry picked from commit
62bb177a6e4a3e1f949b78c7cd7583f2e1271739)
(This used to be commit
f27d5e0cf80c49d81091a385cbfd0801b5483825)
Stefan Metzmacher [Tue, 18 Mar 2008 13:55:05 +0000 (14:55 +0100)]
libreplace: for samba4 create LIBREPLACE_NETWORK as EXT_LIB
metze
(cherry picked from commit
79037c31334e271a718fcac234148038814b591e)
(This used to be commit
b141fce01dd40b25cce52852cd93f0f907c3b008)
Stefan Metzmacher [Tue, 18 Mar 2008 13:53:59 +0000 (14:53 +0100)]
libreplace: use LIBREPLACE_NETWORK_LIBS within some configure checks
...instead of using SOCKET_LIBS and NSL_LIBS.
metze
(cherry picked from commit
cef2e8d748756f61c248ad6660e85dd1ac36308a)
(This used to be commit
7854ed24a57162fa7569d8f36633f3c156067b0b)
Stefan Metzmacher [Tue, 18 Mar 2008 13:52:36 +0000 (14:52 +0100)]
libreplace: combine SOCKET_LIBS and NSL_LIBS to LIBREPLACE_NETWORK_LIBS
But keep the old ones untill the callers are fixed.
metze
(cherry picked from commit
e7115dcc8a0a4f420de7a901e3a21d4f35a6fcf9)
(This used to be commit
2dee62ed12910a4d22381677bcf884dca0d999ea)
Michael Adam [Tue, 18 Mar 2008 14:50:27 +0000 (15:50 +0100)]
testparm: only check for %u und passwd program when passwd program is given.
Michael
(This used to be commit
af12b24c4f5e3b77d482a011b62a5a3e13be7d67)
Michael Adam [Tue, 18 Mar 2008 14:49:31 +0000 (15:49 +0100)]
testparm: correctly check for empty lp_passwd_prog().
Michael
(This used to be commit
0567f506986746173d67172cb610c10bacf0ceb9)
Michael Adam [Tue, 18 Mar 2008 14:33:25 +0000 (15:33 +0100)]
testparm: fix irritating indentation.
Michael
(This used to be commit
a74f07243d80294167766dfc6bcad02a96afc079)
Michael Adam [Tue, 18 Mar 2008 14:30:17 +0000 (15:30 +0100)]
testparm: fix a segfault triggered by setting "unix password sync = yes".
(introduced by pstring removal
041163551194102ca67fef52c57d87020a1d09bc)
Michael
(This used to be commit
46a021f27c60dc579c9193606997142f5cbeba9e)
Volker Lendecke [Tue, 18 Mar 2008 12:20:10 +0000 (13:20 +0100)]
Fix bug 5334
I did not test with a zero length file :-)
(This used to be commit
7d7a73944c2dcf078f7bc8de65d575f32f9aa851)
Volker Lendecke [Mon, 17 Mar 2008 20:00:16 +0000 (21:00 +0100)]
Some simplifications
(This used to be commit
b59b436997fba47afd02ffb6f1194dfaef229d44)
Marc VanHeyningen [Fri, 14 Mar 2008 22:26:28 +0000 (14:26 -0800)]
Coverity fixes
(This used to be commit
3fc85d22590550f0539215d020e4411bf5b14363)
Michael Adam [Mon, 17 Mar 2008 17:01:33 +0000 (18:01 +0100)]
libsmbconf: rename all occurrences of libnet_conf_ to smbconf_ .
Michael
(This used to be commit
097af0309d7c3e9342058ba5266667293b23c80d)
Michael Adam [Mon, 17 Mar 2008 16:29:44 +0000 (17:29 +0100)]
Move libnet_conf to a library lib/smbconf/ of its own, fixing the api.
The libnet_conf code to access the registry based configuration has
become more of a library used in several places in samba (e.g. loadparm)
than an abstraction of "net conf". So I move it to a location lib/smbconf/.
In the same breath, the api is fixed (not generated by make proto anymore).
Michael
(This used to be commit
5315ef41f403b96715dd68b512e9e74662e2910a)
Stefan Metzmacher [Mon, 17 Mar 2008 13:08:57 +0000 (14:08 +0100)]
socket_wrapper: make pcap code more portable
Now the pcap support works on x86_64.
metze
(cherry picked from commit
61a87bed61ef661d98131239976be95c6a8b4d96)
(This used to be commit
c22204aa85d4bb33534b6974dcfed9aad0c28cc4)
Derrell Lipman [Mon, 17 Mar 2008 15:34:25 +0000 (11:34 -0400)]
Fix use of AuthDataWithContext capability
During my initial plans for, and the subsequent discussion of a more
significant change to the API for libsmbclient, I had removed the
AuthDataWithContext usage, in favor of a more generalized planned interface.
When the API returned to its original state, I neglected to reinsert this
code.
Use of an authentication function with the context can be tested using
examples/libsmbclient/testbrowse -C
Derrell
(This used to be commit
38eab68dfb2d8abe8ad00f5a86fc54c778d0d303)
Volker Lendecke [Mon, 17 Mar 2008 13:45:59 +0000 (14:45 +0100)]
In smbstatus, mark locking.tdb and sessionid.tdb as CLEAR_IF_FIRST
This is needed to inform ctdb that it's not a persistent database, with the
O_RDONLY the tdb backend ignores this.
Merge from
491f902098d33f in 3-0-ctdb
(This used to be commit
065938ccb7bb0052746267c433637f0e05b95d85)
Volker Lendecke [Mon, 17 Mar 2008 13:40:07 +0000 (14:40 +0100)]
Merge leftovers of
0e1a86bc845 in 3-0-ctdb
(This used to be commit
64b1625f8e3bca43504871747bef6631e1b18f44)
Volker Lendecke [Mon, 17 Mar 2008 13:12:10 +0000 (14:12 +0100)]
Volker Lendecke [Mon, 17 Mar 2008 12:51:50 +0000 (13:51 +0100)]
Add "net idmap aclmapset"
This is a merge from 3-0-ctdb that goes along with
1daad835, the option
nfs4:sidmap option
(This used to be commit
f5e26d28be6581149bed0b599c38b82d1a44444e)
Michael Adam [Mon, 17 Mar 2008 11:21:32 +0000 (12:21 +0100)]
registry: untangle assignment and if-clause in init_registry_data().
Michael
(This used to be commit
64664d25cf84e5e0f4a4876b2c38c127b310dbc5)
Volker Lendecke [Fri, 14 Mar 2008 19:35:38 +0000 (20:35 +0100)]
Convert pdb_tdb to use dbwrap
(This used to be commit
948ab77863b12b1b0bd1c970004b84b9bb1bb2fa)
Michael Adam [Mon, 17 Mar 2008 00:44:26 +0000 (01:44 +0100)]
registry: convert regdb REGISTRY_OPS to named struct initializers.
Michael
(This used to be commit
3ea0a0beb47bf91b71d949de5abb797177721dcc)
Michael Adam [Mon, 17 Mar 2008 00:39:16 +0000 (01:39 +0100)]
registry: use talloc instead of malloc and provide common exit point
in regdb_get_secdesc().
Michael
(This used to be commit
df848d8eeeb102288a3acb9a0f8a7015e0c6ca6b)
Michael Adam [Mon, 17 Mar 2008 00:32:47 +0000 (01:32 +0100)]
registry: remove an unused variable from regdb_set_secdesc().
Michael
(This used to be commit
76dad05e4ce4b4cb26557bc151359ed9d58d6317)
Michael Adam [Mon, 17 Mar 2008 00:31:47 +0000 (01:31 +0100)]
registry: untangle assignments and if statements in regdb_set_secdesc().
Michael
(This used to be commit
d553b5d72569c1496bfa3de703c9bf15a9a6cb60)
Michael Adam [Mon, 17 Mar 2008 00:27:27 +0000 (01:27 +0100)]
registry: use talloc_stackframe instead of hand crafted temporary context.
Michael
(This used to be commit
e4f2c856ec716697af4815491b5ae8ddb263cd51)
Michael Adam [Mon, 17 Mar 2008 00:26:35 +0000 (01:26 +0100)]
registry: use talloc instead of malloc for tdb data in regdb_store_values().
Michael
(This used to be commit
860316cbe70836882bff16b39f0deb5c12cbd1f3)
Michael Adam [Mon, 17 Mar 2008 00:20:18 +0000 (01:20 +0100)]
registry: don't use talloc_stackframe() instead of talloc_tos() als temp ctx
in regdb_store_values(). Also provide common exit path for
freeing memory.
Michael
(This used to be commit
7454e426f2ea9aa42620ed5bcb34c85797b9e21b)
Michael Adam [Mon, 17 Mar 2008 00:17:15 +0000 (01:17 +0100)]
registry: don't leak to talloc stack in regdb_fetch_keys().
Michael
(This used to be commit
3a1d79116b693bc25af1106c9a43ffd275ac3d1e)
Michael Adam [Mon, 17 Mar 2008 00:09:31 +0000 (01:09 +0100)]
registry: explicitly use talloc context instead of talloc_tos()
in regdb_fetch_keys().
Michael
(This used to be commit
93ea27a3e23e489a2af3c778684f8a8a4594b567)
Michael Adam [Mon, 17 Mar 2008 00:05:48 +0000 (01:05 +0100)]
registry: don't leak on success path in regdb_store_keys().
Michael
(This used to be commit
331d7fd2ea6d8aeb029478a6ab8d4051fa2c03fd)
Michael Adam [Mon, 17 Mar 2008 00:02:47 +0000 (01:02 +0100)]
registry: allocate tempory data in talloc stack in regdb_store_keys().
Michael
(This used to be commit
a99b51159a7db5f249ff136cf9ba758d14380a35)
Michael Adam [Mon, 17 Mar 2008 00:00:40 +0000 (01:00 +0100)]
registry: separate cancel and failur exit paths in regdb_store_keys().
Michael
(This used to be commit
e1d4a2fa5b5b0f21d1ea4a9dffc326878c9f54b7)
Michael Adam [Sun, 16 Mar 2008 23:43:56 +0000 (00:43 +0100)]
registry: don't leak memory on transaction fail in regdb_store_keys().
Michael
(This used to be commit
9315de404812d89dddcec6ac4ae17c34f5012746)
Michael Adam [Sun, 16 Mar 2008 23:41:59 +0000 (00:41 +0100)]
registry: don't leak (to talloc_tos()) in regdb_store_keys().
use talloc_stackframe() and free on error path.
Michael
(This used to be commit
95525772f2791f0fb999fe9f271da5b0fbdc62d8)
Michael Adam [Sun, 16 Mar 2008 23:22:12 +0000 (00:22 +0100)]
registry: reformat regdb_store_keys_internal(), killing long lines.
Michael
(This used to be commit
966b2414cb6efdfe5acb412ed9bdfd7589ee694c)
Michael Adam [Sun, 16 Mar 2008 23:09:07 +0000 (00:09 +0100)]
registry: don't leak (to talloc_tos()) in regdb_store_keys_internal().
Michael
(This used to be commit
76e4cdc25fc9a7e47fd9a356dc54533b62c5db08)
Michael Adam [Sun, 16 Mar 2008 23:02:52 +0000 (00:02 +0100)]
registry: reformat init_registry_data() some, killing long lines.
Michael
(This used to be commit
f357b1ddd3ea552163151f27b4ec70fe0488a0ba)
Michael Adam [Sun, 16 Mar 2008 22:52:40 +0000 (23:52 +0100)]
registry: explicitly use talloc context instead of talloc_tos()
in init_registry_data().
Michael
(This used to be commit
8b0dd1e7582eef71275eea2da2b444588412c517)
Michael Adam [Sun, 16 Mar 2008 22:49:59 +0000 (23:49 +0100)]
registry: don't leak (to talloc_tos()) in init_registry_data().
Michael
(This used to be commit
7fd0ae3edce8a6ae913344cc0974181c19179b23)
Michael Adam [Sun, 16 Mar 2008 22:08:33 +0000 (23:08 +0100)]
registry: rename tdb_refcount to regdb_refcount after change to dbwrap.
Michael
(This used to be commit
d39957e2c9216ef01b2ef53863c0ef5d3a9b5fee)
Michael Adam [Sun, 16 Mar 2008 22:07:15 +0000 (23:07 +0100)]
registry: rename tdb_reg to regdb after change to dbwrap.
Michael
(This used to be commit
79f37d47655ec26176a8da5f47e1c7400888a2ef)
Michael Adam [Sun, 16 Mar 2008 22:03:34 +0000 (23:03 +0100)]
registry: migrate tdb registry backend to dbwrap.
Michael
(This used to be commit
3c42d8ee16a4b143c6658fe26030569658eaef66)
Volker Lendecke [Sun, 16 Mar 2008 19:23:44 +0000 (12:23 -0700)]
Fix Coverity ID 567
Jeremy, please push it if you like it and mark the bug as fixed on the Coverity
site.
Thanks,
Volker
(This used to be commit
2fd25423700cb60f20a8b8d6613279cb06fb518d)
Volker Lendecke [Sun, 16 Mar 2008 10:55:59 +0000 (11:55 +0100)]
Need to close the /dev/zero fd
(This used to be commit
c2b2a9303d9c84ba4e059f13de9ccc401d08bd59)
Volker Lendecke [Sat, 15 Mar 2008 21:27:05 +0000 (22:27 +0100)]
Fix Coverity ID 554
(This used to be commit
471b1b0c58bc2def5d2fe9d98401def34724d447)
Volker Lendecke [Sat, 15 Mar 2008 21:22:53 +0000 (22:22 +0100)]
Fix Coverity ID 555
(This used to be commit
44122f06d02492a7a0a37413d6f975c3b1e3c283)
Volker Lendecke [Sat, 15 Mar 2008 21:16:42 +0000 (22:16 +0100)]
Fix Coverity ID 563
dirmask is always set here, we've dereferenced it before anyway
(This used to be commit
e6787aa133a1b241987319486c3bc46ac6ad41af)
Volker Lendecke [Sat, 15 Mar 2008 21:07:44 +0000 (22:07 +0100)]
Fix Coverity ID 564
finfo1==NULL just does not happen in current code
(This used to be commit
9ea0078c3151984a901c9bba559ae2bd7959e077)
Volker Lendecke [Sat, 15 Mar 2008 20:47:22 +0000 (21:47 +0100)]
Allocate one 0-byte in asprintf replacement when len==0
Some S3 code depends on this.
(This used to be commit
dc3d5e16452bf30055638ba3cfe99097fb557156)
Günther Deschner [Sat, 15 Mar 2008 11:55:17 +0000 (12:55 +0100)]
Fix typo.
Guenther
(This used to be commit
e12721f73db72b99aa0e4be35c51aa8636eb3f59)
Volker Lendecke [Fri, 14 Mar 2008 21:22:30 +0000 (22:22 +0100)]
Fix bug 5317
Thanks to oster@cs.usask.ca
(This used to be commit
f18a80575921a241c7243c5af5a0101a2956ff17)
Volker Lendecke [Fri, 14 Mar 2008 17:01:06 +0000 (18:01 +0100)]
Michael Adam [Fri, 14 Mar 2008 08:39:58 +0000 (09:39 +0100)]
libreplace: fix samba4 build (by not setting global LIBS).
This corrects the earlier fix of the standalone build, by setting
LIBS to the desired value only in configure.ac but not in getifaddrs.m4.
Not that this changes the standalone build in that it adds these libs
undconditionally and not only if they are needed by the getifaddrs
replacement functions.
Michael
(cherry picked from commit
ff3af1703ddc9e5383f32156bc5be8351f795e76)
(This used to be commit
2546da817f666914c1c220ec1fedc19aa41b25ad)
Michael Adam [Fri, 14 Mar 2008 07:52:16 +0000 (08:52 +0100)]
libreplace: add -I$libreplacedir to CPPFLAGS for getifaddrs tests.
This is needed, otherwise $libreplacedir/system/network.h does not
find $libreplacedir/getaddrinfo.h on some systems (solaris, e.g.).
Michael
(cherry picked from commit
297c3bece094ddb5f268b02e61e33f512ccfe6f5)
(This used to be commit
ddd564e8bf2b115aa5dbcbebd4be30b749ad8752)
Michael Adam [Fri, 14 Mar 2008 07:49:34 +0000 (08:49 +0100)]
libreplace: add an inet_aton() function that calls inet_pton().
inet_aton() is even needed inside libreplace, in the implementation
of rep_getaddrinfo().
Michael
(cherry picked from commit
bcb2f3a880f8da8f9bedb7a8e61d7d7b533f1919)
(This used to be commit
83baff78ce752a9129554a456cc24d043d419cd1)
Michael Adam [Thu, 13 Mar 2008 22:08:07 +0000 (23:08 +0100)]
Allow parameter "include" in registry based configuration (again).
This is for instance important to allow includes with %I to setup
individual logging (e.g.) for certain clients.
Michael
(This used to be commit
8dad80b4719691d66827ed46bebb963c0f8ba568)
Michael Adam [Thu, 13 Mar 2008 22:02:58 +0000 (23:02 +0100)]
Fix %I macro expansion for IPv4 mapped IPv6 addresses.
On some systems (linux e.g.), when listening on ipv6 and ipv4,
addresses of ipv4 clients are printed as mapped ipv4 addresses
by getnameinfo (e.g. ::ffff:127.0.0.1). This re-establishes
the original behaviour of %I to expand to the plain ipv4 address
for an ipv4 client.
Michael
(This used to be commit
0abc8863f87fe5d2473492797c010784cb086008)
Günther Deschner [Wed, 12 Mar 2008 15:35:41 +0000 (16:35 +0100)]
Use existing srv_name_slash.
Guenther
(This used to be commit
5f2b3145fcaeee58f285b6527e9fac09c5337e8a)
Günther Deschner [Wed, 12 Mar 2008 15:19:56 +0000 (16:19 +0100)]
For convenience reasons, always create cli->srv_name_slash in the rpc_client.
Guenther
(This used to be commit
6363c383d6989d2dfb2ee488ffa7aeb128c5385b)
Günther Deschner [Wed, 12 Mar 2008 15:18:54 +0000 (16:18 +0100)]
Remove unused marshalling for SRV_NET_DISK_ENUM.
Guenther
(This used to be commit
4928f1efceb8cb0b0fda813e6f43f668084caa79)
Günther Deschner [Wed, 12 Mar 2008 15:17:27 +0000 (16:17 +0100)]
Ignore some unneeded autogenerated cli_ and srv_ functions.
Guenther
(This used to be commit
c8ea359c19f2907683d0cd566ef19f09cc6101bf)
Michael Adam [Wed, 12 Mar 2008 01:12:11 +0000 (02:12 +0100)]
init_srv_share_info_ctr: fix counting of services.
The number of services was recorded too early leading to
registry shares not showing up in browse lists.
Guenther - please check.
Michael
(This used to be commit
737e470e02d1233fda51e903f27955e45427e95a)
Michael Adam [Wed, 12 Mar 2008 01:10:35 +0000 (02:10 +0100)]
init_srv_share_info_ctr: Add debug messages.
Michael
(This used to be commit
8b2cc36ffcb3bccb760ec7cb0a22558eab56070d)
Michael Adam [Wed, 12 Mar 2008 01:07:37 +0000 (02:07 +0100)]
Add a debug message.
Michael
(This used to be commit
a39807044879ad9df7614e010db6ea16b51000a0)
Michael Adam [Wed, 12 Mar 2008 00:03:26 +0000 (01:03 +0100)]
loadparm: add a debug message.
Michael
(This used to be commit
ce943aeb581027daf813528481b44177d391b61d)
Michael Adam [Tue, 11 Mar 2008 23:56:33 +0000 (00:56 +0100)]
loadparm: remove services read from smb.conf when starting over for config backend registry.
Michael
(This used to be commit
b942ff6b7f0be4898e05525558b354533dea312b)
Michael Adam [Tue, 11 Mar 2008 23:54:48 +0000 (00:54 +0100)]
loadparm: add convenience wrapper lp_kill_all_services()
Michael
(This used to be commit
32bfd131e33d06be9dfaef02b57f5401d2bc7639)
Michael Adam [Tue, 11 Mar 2008 23:43:19 +0000 (00:43 +0100)]
loadparm: add a comment
Michael
(This used to be commit
05eda1252572f310499b28123d0f9e4211b7d54c)
Michael Adam [Tue, 11 Mar 2008 23:42:06 +0000 (00:42 +0100)]
loadparm: fix a comment typo.
Michael
(This used to be commit
0a619d4dc476c945130fe47126d98cd47b39c34d)
Michael Adam [Tue, 11 Mar 2008 11:41:20 +0000 (12:41 +0100)]
loadparm: add utility function to check for config backend file.
Michael
(This used to be commit
288495ec1a9b0c37bb3f98043f8f8dd946072bac)
Michael Adam [Tue, 11 Mar 2008 11:36:18 +0000 (12:36 +0100)]
loadparm: use a function to check for the registry config backend.
Michael
(This used to be commit
4ac52a5a1dfe8f4f22e960db2e4ca99f9e262427)
Jeremy Allison [Tue, 11 Mar 2008 22:26:22 +0000 (15:26 -0700)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit
1de05f1a87fcea598021ca485d3ed87005a3be68)
Jeremy Allison [Tue, 11 Mar 2008 22:26:02 +0000 (15:26 -0700)]
Using Metze's S4 nttrans rename test, the nttrans rename
behaves the same as the trans2 one.
Jeremy.
(This used to be commit
c4fa4917dad97c5047f7336c6675739b44da256b)
Stefan Metzmacher [Tue, 11 Mar 2008 21:06:09 +0000 (22:06 +0100)]
selftest: samba3 passes RAW-SEARCH now
As the resume key tests are skipped against samba3.
metze
(This used to be commit
c765090871ed68a9ba650bca44f5f3b88997ea14)