Volker Lendecke
5346641c1c
Fix an uninitialized variable warning
...
(This used to be commit 4cc09ec40609484c973361a0cc0f05bfaef1738e)
2008-03-20 16:54:05 +01:00
root
3d2ec80693
Port 3c1f1f0797e from 3-0-ctdb
...
We need to inform ctdb about the client's TCP connection so that after a fail
over ctdbd can trigger the client to reconnect very quickly
(This used to be commit ddc989886deff173b8a2a2a753a896770efe7545)
2008-03-20 16:54:05 +01:00
Volker Lendecke
427c60e92c
Fix some warnings in the tsmsm module
...
Alexander, please check!
(This used to be commit df574fd2ee58f008b93b06f4d78c85cb909cc92c)
2008-03-20 16:54:05 +01:00
Michael Adam
f18722f889
loadparm: reenable checking files for updates while in registry configuration.
...
This is necessary now that includes (to files) are enabled from registry.
Michael
(This used to be commit 7dc64d1021e0b8f3339f811c8c144f7013a649a8)
2008-03-20 15:01:52 +01:00
Michael Adam
78d37365d4
loadparm: remove unneeded include.
...
libnet.h unneeded after separation of libsmbconf from libnet.
Michael
(This used to be commit 5c3f14e02fa7baf11d9a6531f2de3e6b16d843b0)
2008-03-20 15:01:52 +01:00
Michael Adam
060f554adc
registry: use available string constant in debug statement.
...
Michael
(This used to be commit 6bac03a2ec6351ab9db457d904b8925c828086e8)
2008-03-20 15:01:52 +01:00
Michael Adam
cef4e1bd9e
registry: in regdb_init, not only complain about INFO/version, store it...
...
Michael
(This used to be commit 27d67365ad03f0a0cd86011758a122a97513b82e)
2008-03-20 15:01:52 +01:00
Michael Adam
4bac0e505f
registry: reformat regdb_init() slightly, breaking long lines.
...
Michael
(This used to be commit 11da885f1e82e7a08fac2bc0ec1515694caa6340)
2008-03-20 15:01:52 +01:00
Michael Adam
13b894b01e
registry: untangle assignment and if-statement in regdb_init().
...
Michael
(This used to be commit 504058df9706ee4e4c2e7fb1b1e41710bce2f87d)
2008-03-20 15:01:52 +01:00
Michael Adam
2f01e055cf
registry: separate initialization of registry data from regdb_init().
...
Leave this to the users (currently registry_init_smbconf() and
init_registry()) to initialize as much of preliminary registry data
as needed.
Michael
(This used to be commit 59fdd30c789ccfd5cff356e459f1653b065b985c)
2008-03-20 15:01:52 +01:00
Michael Adam
8880111466
registry: add a transaction wrapper to init_registry_key_internal().
...
Michael
(This used to be commit 8b9cff84d5c39e6d7c315d87ac2fdf7fc0d4e4c4)
2008-03-20 15:01:52 +01:00
Michael Adam
1f3139df25
registry: refactor creation of subkeys out of init_registry_data().
...
Michael
(This used to be commit 55233f875ebe1d515c65d9322cda69eb52d4c7d5)
2008-03-20 15:01:51 +01:00
Karolin Seeger
12b9b5621a
Start to prepare WHATSNEW for 3.2.0pre3.
...
Karolin
(This used to be commit 0b54dd097fbd44b53a311f1e8f4716056a96c2d2)
2008-03-20 14:15:29 +01:00
Günther Deschner
8ca8dad7a1
Remove unused marshalling for SVCCTL_ENUM_DEPENDENT_SERVICES.
...
Guenther
(This used to be commit 5838d81346a51ef1e996bab938533ae2097f7e47)
2008-03-20 01:40:04 +01:00
Günther Deschner
1a65f16843
Use pidl for _svcctl_EnumDependentServicesW().
...
Guenther
(This used to be commit 988291a9c07c055213f8979ebe75bb392811008d)
2008-03-20 01:38:23 +01:00
Günther Deschner
d91575bd9c
Re-run make idl.
...
Guenther
(This used to be commit fe7203090c0c51e4561a3b5ce0d5d131d280ba8e)
2008-03-20 01:35:58 +01:00
Günther Deschner
5a9d296f8e
Fix IDL for svcctl_EnumDependentServicesW().
...
Guenther
(This used to be commit 46bfded43dcabdd2302d82920fb2a37c41e58126)
2008-03-20 01:32:20 +01:00
Günther Deschner
d8acf19987
Move svc_status_string() out of rpc_client/cli_svcctl.c
...
Guenther
(This used to be commit 2860ae2eb2cb99b4febb352f516b3fa9fbd2abbb)
2008-03-20 01:26:37 +01:00
Günther Deschner
2ee6451212
No need to compose CLI_SERVER_NAME_SLASH in "net rpc service" anymore.
...
Guenther
(This used to be commit b5291d477381521cd4b71674616f8c9899007002)
2008-03-20 01:24:55 +01:00
Günther Deschner
fe1a6668c8
Add error mapping for WERR_SERVICE_NEVER_STARTED.
...
Guenther
(This used to be commit 818044d877597ba5c11dc7f30bab929c4b41db89)
2008-03-20 00:54:20 +01:00
Günther Deschner
e3731bd148
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)
2008-03-20 00:54:20 +01:00
Kai Blin
b6ab1c4061
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)
2008-03-19 23:49:43 +01:00
Michael Adam
bb1b4403b4
libreplace: replace.c does not need system/network.h anymore.
...
Michael
(cherry picked from commit 2d3c2f34f33338ff422047dae9cc262522689328)
(This used to be commit 03a980d8f67ee1516c357807c23a405f07a006b3)
2008-03-19 22:40:45 +01:00
Michael Adam
b57d67c406
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)
2008-03-19 22:40:45 +01:00
Volker Lendecke
b2ec8372ba
!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)
2008-03-19 22:38:13 +01:00
Volker Lendecke
31c83b7505
Fix a warning
...
(This used to be commit c40648ea4d7897c401a5a94703e586acfdaec13b)
2008-03-19 17:04:50 +01:00
Volker Lendecke
ca63c6e079
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)
2008-03-19 17:00:53 +01:00
Volker Lendecke
bf10e7f939
Fix some "nexted extern" warnins
...
(This used to be commit 32fc759d942abb36d7dd351eff82925b6788dd28)
2008-03-19 16:23:28 +01:00
Volker Lendecke
130b474e47
Fix bug 5338 -- thanks to Yuya Katayama <yuya999@gmail.com>
...
(This used to be commit 5ec2dbd144a3bbfdb14deafd158bad48b2d41ca4)
2008-03-19 15:05:30 +01:00
Günther Deschner
56c97115ec
Fix the build (by calling NDR_SRVSVC_NETFILEENUM).
...
Guenther
(This used to be commit 3b1f3d8a6ce9b8860aca07d9960bc8488296aecd)
2008-03-19 02:47:22 +01:00
Günther Deschner
a307107c3c
Remove unused marshalling for SRV_NET_FILE_ENUM.
...
Guenther
(This used to be commit fcdc09674571b8e81233acc9e8dc8651b66cd21d)
2008-03-19 02:18:51 +01:00
Günther Deschner
63a6acdfa8
Use pidl for _srvsvc_NetFileEnum.
...
Guenther
(This used to be commit 6c6700ed7148b73b2ce52fc00020c7e253a577d3)
2008-03-19 02:18:46 +01:00
Günther Deschner
e8bd75ec73
Bind Group Policy processing closer to the samba registry.
...
Guenther
(This used to be commit e9c56250eb7a2dc4e69962c5b48875834941ccfc)
2008-03-18 21:31:24 +01:00
Andrew Tridgell
f152fe2103
[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)
2008-03-18 17:12:08 +01:00
Michael Adam
d8b6902c24
libreplace: remove duplicate entry of inet_ntoa from README.
...
Michael
(cherry picked from commit 98ee8c84300757d778733a458c6ca3e6022b40ea)
(This used to be commit a4f22d6e2b3fc198327deabf4a724cd476e4144c)
2008-03-18 16:45:20 +01:00
Michael Adam
e88e6568e4
libreplace: remove trailing white spaces.
...
Michael
(cherry picked from commit 1f9ca7eed965904f67cf78fbac007432b8a057fd)
(This used to be commit a1d24f110b3edff636174e017eb56ba5b10df590)
2008-03-18 16:45:10 +01:00
Michael Adam
5c73dabd49
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)
2008-03-18 16:44:59 +01:00
Michael Adam
a4d7cbcb2f
libreplace: put inet_aton.c under LGPL instead of GPL.
...
Michael
(cherry picked from commit cca5d6626fe395f08fd4c8b2344e4e43646cb987)
(This used to be commit f69e51f56f111d9bd5db69e191f45567aacf8c3d)
2008-03-18 16:35:46 +01:00
Stefan Metzmacher
32b756258c
libreplace: remove unused SOCKET_LIBS and NSL_LIBS
...
metze
(cherry picked from commit 62bb177a6e4a3e1f949b78c7cd7583f2e1271739)
(This used to be commit f27d5e0cf80c49d81091a385cbfd0801b5483825)
2008-03-18 16:34:12 +01:00
Stefan Metzmacher
ecf70c9a54
libreplace: for samba4 create LIBREPLACE_NETWORK as EXT_LIB
...
metze
(cherry picked from commit 79037c31334e271a718fcac234148038814b591e)
(This used to be commit b141fce01dd40b25cce52852cd93f0f907c3b008)
2008-03-18 16:34:12 +01:00
Stefan Metzmacher
aa42e5ecac
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)
2008-03-18 16:34:12 +01:00
Stefan Metzmacher
0a80f6bfb4
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)
2008-03-18 16:34:12 +01:00
Michael Adam
37e04236bb
testparm: only check for %u und passwd program when passwd program is given.
...
Michael
(This used to be commit af12b24c4f5e3b77d482a011b62a5a3e13be7d67)
2008-03-18 15:52:45 +01:00
Michael Adam
7ec398b188
testparm: correctly check for empty lp_passwd_prog().
...
Michael
(This used to be commit 0567f506986746173d67172cb610c10bacf0ceb9)
2008-03-18 15:52:45 +01:00
Michael Adam
010669351a
testparm: fix irritating indentation.
...
Michael
(This used to be commit a74f07243d80294167766dfc6bcad02a96afc079)
2008-03-18 15:52:45 +01:00
Michael Adam
6c575d114b
testparm: fix a segfault triggered by setting "unix password sync = yes".
...
(introduced by pstring removal 041163551194102ca67fef52c57d87020a1d09bc)
Michael
(This used to be commit 46a021f27c60dc579c9193606997142f5cbeba9e)
2008-03-18 15:52:45 +01:00
Volker Lendecke
16cbc22a99
Fix bug 5334
...
I did not test with a zero length file :-)
(This used to be commit 7d7a73944c2dcf078f7bc8de65d575f32f9aa851)
2008-03-18 13:49:46 +01:00
Volker Lendecke
c5356479c1
Some simplifications
...
(This used to be commit b59b436997fba47afd02ffb6f1194dfaef229d44)
2008-03-17 21:10:16 +01:00
Marc VanHeyningen
e06aa46b9f
Coverity fixes
...
(This used to be commit 3fc85d22590550f0539215d020e4411bf5b14363)
2008-03-17 20:52:25 +01:00
Michael Adam
6274929b1e
libsmbconf: rename all occurrences of libnet_conf_ to smbconf_ .
...
Michael
(This used to be commit 097af0309d7c3e9342058ba5266667293b23c80d)
2008-03-17 18:03:02 +01:00