Michael Adam
fececde181
libsmbconf: add backend specific init function.
...
Hide generic init function taking smbconf_ops argument
from public api.
Michael
(This used to be commit b3f6920ccb9a27fde26e889a7f1f3afaf56b784f)
2008-03-21 02:25:56 +01:00
Michael Adam
6c20e83294
libsmbconf: add shutdown handler to smbconf_ops.
...
Michael
(This used to be commit acbd1f40e0cb4cb5b2ba826c4825edda7ee4937b)
2008-03-21 02:25:56 +01:00
Michael Adam
095048f2df
libsmbconf: fix comments
...
Michael
(This used to be commit 24f32d9bd9aa837d777ea4187bebf3146a67ce59)
2008-03-21 02:25:56 +01:00
Michael Adam
23b1d721b8
libsmbconf: rename smbconf_close() to smbconf_shutdown().
...
Michael
(This used to be commit 797b26ad3fad27e085827efb61f6b4d8b37e93f0)
2008-03-21 02:25:56 +01:00
Michael Adam
adf5bf554c
libsmbconf: rename smbconf_open() to smbconf_init().
...
That's more appropriate.
Michael
(This used to be commit d7bd9bb8aa2003ec0a9860df26857f67255febe2)
2008-03-21 02:25:56 +01:00
Michael Adam
ac7c582ec0
libsmbconf: add open and close operations to the smbconf_ops.
...
Note: currently, reg_init_smbconf opens the registry, but does
not close it. This has to be changed. so that it is closed.
And then libsmbconf will need these open/close functions
Michael
(This used to be commit 77dbdf82efa60c8a7c00e489c198775b2f66e56c)
2008-03-21 02:25:56 +01:00
Michael Adam
2135f7dd61
libsmbconf: introduce a smbconf_ops layer to allow interchangeable backends.
...
Michael
(This used to be commit a857f643d1558c0fdab4b647695d75223b730b96)
2008-03-21 02:25:56 +01:00
Michael Adam
f12b10566d
libsmbconf: move smbconf_reg_initialize() down to the smbconf operations.
...
Michael
(This used to be commit f2d605006cd1187f70a044c3356d436e91093d5f)
2008-03-21 02:25:56 +01:00
Michael Adam
d19e308a14
libsmbconf: add existence check for service to smbconf_delete_share().
...
Michael
(This used to be commit d44c2ef0b7d7bddb4115b596872748132ebd6ddc)
2008-03-21 02:25:56 +01:00
Michael Adam
94ef924800
libsmbconf: add existence check for service to smbconf_get_share().
...
Michael
(This used to be commit 26208d3e96a1e257628366709a1d71ac36f0788b)
2008-03-21 02:25:56 +01:00
Michael Adam
fbd2c552ea
libsmbconf: add check for NULL servicename to smbconf_share_exists().
...
Michael
(This used to be commit 5dac66c82af8c87df723092a9309304846684418)
2008-03-21 02:25:56 +01:00
Michael Adam
4c7214aae2
libsmbconf: fix a comment
...
(This used to be commit 103a37ac8e85e9a7b8c2f4eb33e6f1cdbe01d31c)
2008-03-21 02:25:56 +01:00
Michael Adam
73f8c1c68c
libsmbconf: refactor out registry implementation of smbconf operations.
...
This leaves most of the api functions mere wrappers except for some
common initial checks.
Michael
(This used to be commit 9448a7a298e9ed035aa6b86df18f2d41081731cc)
2008-03-21 02:25:55 +01:00
Michael Adam
1e8d72aec9
libsmbconf: refactor autocreation of [global] into a helper function.
...
Michael
(This used to be commit aeaf66c064de58c6f19d5a9d226843dedb552011)
2008-03-21 02:25:55 +01:00
Michael Adam
7b53c84fe1
libsmbconf: put the smbconf context struct into a private header.
...
Michael
(This used to be commit a99ee5e536eee1563c90e5d7f251bfe9f5d1ffbb)
2008-03-21 02:25:55 +01:00
Michael Adam
153ed797e6
libsmbconf: change the API to always take the smbconf_ctx parameter first.
...
..for consistency. Exception: the open/init function, where the smbconf_ctx
is created from the given talloc context.
Michael
(This used to be commit 304dba6cb2184437f3edad065a530d03fb704036)
2008-03-21 02:25:55 +01:00
Michael Adam
fc730cac35
libsmbconf: fix indentation.
...
Michael
(This used to be commit 7460697ea42764f5f658a4f7f70872a56aeb160d)
2008-03-21 02:25:55 +01:00
Michael Adam
7621b4c3d8
libsmbconf: change smbconf_get_seqnum() to smbconf_changed().
...
The former seqnum is hidden inside a struct smbconf_csn.
And the get_seqnum is united with a changed function that
stores the seqnum inside the given csn.
Michael
(This used to be commit 5b6b90900a1a3eab24cb5612d78f9678a363cf73)
2008-03-21 02:25:55 +01:00
Michael Adam
77dd53ad5c
libsmbconf: fix a comment
...
Michael
(This used to be commit e6b60f6cad32ce8bb78abb070889dde3eca2d268)
2008-03-21 02:25:55 +01:00
Volker Lendecke
dd80c452a2
A level 25 setuserinfo does change the pwdlastset
...
(This used to be commit f65cb5d4b51e2e7b9b16b73e47cd2a8d55d5d4b0)
2008-03-20 23:19:33 +01:00
Michael Adam
be2fab1fef
smbd: fix session setup with security = share.
...
Broken by pstring removal in 9ed12bfc48fe7f9b1863a9dd88e881974083053c.
Jeremy, please check.
Thanks to Yannick Bergeron <yaberger@ca.ibm.com> for noting this.
Michael
(This used to be commit 008c4bdbe5de064b4469fc1f7c7173290f35b3ef)
2008-03-20 17:00:36 +01:00
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