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

27115 Commits

Author SHA1 Message Date
Volker Lendecke
313abd3ac2 Fix the build of db_open_trans with CLUSTER_SUPPORT enabled
Metze, you might want to check this.
(This used to be commit 3b4a402bc5c3490000581d43a12388883bcf8150)
2008-04-14 13:13:46 +02:00
Günther Deschner
e33b13e826 libnetjoin: Fix joining when no KRB5CCNAME is around.
Guenther
(This used to be commit 512e6ca0a9be9fe35994ec1010110573a5b551d1)
2008-04-14 12:33:10 +02:00
Alexander Bokovoy
09c5d89220 Use more error-prone form of testing dm_destroy_session() return code after discussing with Tridge
(This used to be commit 4abdbad52e456764bca1b17ead04edee1e2a2a64)
2008-04-14 13:56:36 +04:00
Michael Adam
9fd9060e53 loadparm: use the new smbconf_init() dispatcher for loading registry config.
Michael
(This used to be commit 78afb30f8073c3804dfa0cecadf973d5af5dd612)
2008-04-13 20:04:44 +02:00
Michael Adam
d2d82394a4 net conf: use the new smbconf_init() dispatcher instead of explicit backend init.
Michael
(This used to be commit 281c9287a34533045b62302bb33ced3d216421ac)
2008-04-13 20:04:44 +02:00
Michael Adam
4eab3d3cf0 libsmbconf: add a smbconf init dispatcher smbconf_init().
The dispatcher takes a config source argument in the form
of "backend:path" where backend can (currently) be one of
"txt" (aka "file") or "reg" (aka "registry").

When the path is omitted, it is up to the backend to provide
a default path.

When there is no separator ":" and the string is not a recognized
backend, then file backend is assumed and the string is passed
in as the path argument.

Michael
(This used to be commit cc613a60eb0f6b92cae98e8669e5e569a1eb9324)
2008-04-13 20:04:44 +02:00
Michael Adam
09c6c38deb libsmbconf: move setting of verbatim variable into a more internal function.
Michael
(This used to be commit 9efd7b515183fa28f400fe88af63e0b0126e3e00)
2008-04-13 20:04:44 +02:00
Michael Adam
935b99c84c libsmbconf: add a check for talloc failure to smbconf_txt_init().
Michael
(This used to be commit f76ec7d87e206426c795374397ba725ecdeec784)
2008-04-13 20:04:44 +02:00
Michael Adam
35d6068f25 libsmbconf: remove the bool verbatim parameter from txt backend init function.
Always be verbatim for now. Backend config options may be added later
via some private data pointer.

Michael
(This used to be commit e8bafcfbf4a7ab1dc1ce4f2acd24b0eb74933256)
2008-04-13 20:04:43 +02:00
Michael Adam
611b6bfa3b libsmbconf: rename smbconf_init() to smbconf_init_internal().
smbconf_init should be the name of the dispatcher (to be written)

Michael
(This used to be commit 3fb95ab757650712716472ebaccb7119feb27596)
2008-04-13 20:04:43 +02:00
Günther Deschner
aea1a244ee libnetapi: add libnetapi_set_use_kerberos
Don't unconditionally set the kerberos flag for authentication.

Guenther
(This used to be commit 15bef5ae413adf278cccc0e547c4b8ccd180eca2)
2008-04-13 19:25:59 +02:00
Günther Deschner
6318088434 libnetapi: Add NetQueryDisplayInformation header.
Guenther
(This used to be commit 3c107934acc907e3eedd116b42d1d07ee0574183)
2008-04-13 19:25:59 +02:00
Günther Deschner
d0acdc9038 libnetapi: add NetQueryDisplayInformation example.
Guenther
(This used to be commit 5f9332cf1f60bb5a23a16776b95af3a83c5deb40)
2008-04-13 19:15:15 +02:00
Günther Deschner
b3367c9e35 libnetapi: fill in NetQueryDisplayInformation_r.
Guenther
(This used to be commit 7fb9991b4c54fd0b9629e47afc1e5bbc2cfc1088)
2008-04-13 19:12:31 +02:00
Günther Deschner
dcb9264edf libnetapi: don't reset the error code in NetUserAdd_r if the operation failed.
Guenther
(This used to be commit 9edb067f62b1e36f1da461b3eb09cb123d2089dd)
2008-04-13 19:11:01 +02:00
Günther Deschner
5647deccb1 libnetapi: add NetQueryDisplayInformation skeleton.
Guenther
(This used to be commit 6ec4a62b6d584f6745c3285474372f235614b598)
2008-04-13 19:04:18 +02:00
Günther Deschner
99e96fe5ca Re-run make idl.
Guenther
(This used to be commit afd0e925dc63b6f776caa5fd442c4e48e8349682)
2008-04-13 19:00:53 +02:00
Günther Deschner
f34245238a libnetapi: Add IDL for NetQueryDisplayInformation.
Guenther
(This used to be commit 1200eb474c145fdde91bc39546454015fecf22f0)
2008-04-13 18:59:42 +02:00
Günther Deschner
1c7e4e8a2a Fix the build of eventlogadm.
Guenther
(This used to be commit 57a5628abf628b6276f36da8ae1f3c15a4db4488)
2008-04-13 18:28:24 +02:00
Günther Deschner
de013be0b6 gpo: add scripts plugin.
Guenther
(This used to be commit cd6388f04041a667bf0909d81e8af5f7b3bdc4af)
2008-04-13 17:52:11 +02:00
Günther Deschner
e39f02217a libnetapi: don't to try to free NULL struct.
Guenther
(This used to be commit eb33d30d80ab2fe770e248f5b2a70a83a43dd156)
2008-04-13 17:39:29 +02:00
Günther Deschner
3cd8c1befa gpo: make integer debug print more readable.
Guenther
(This used to be commit b2cf8010aea3221bb6b108b9395b9d89cc1bc0d5)
2008-04-13 17:39:28 +02:00
Michael Adam
282c9ff8ae registry: honour the WERROR that regsubkey_ctr_addkey gives us in reg_load_tree.
Michael
(This used to be commit c2d9baa29edb2356f32ca19aea828184e9ac7b93)
2008-04-13 15:45:33 +02:00
Michael Adam
86d189dad1 registry: honour the WERROR that regsubkey_ctr_addkey gives in regdb_fetch_keys.
Michael
(This used to be commit 7dd7471da7eca2671b4aa62e8790973e3ff14177)
2008-04-13 15:41:07 +02:00
Michael Adam
e5d83f07cd net registry: remove superfluous regdb_close().
Michael
(This used to be commit d4e74036d3b8c5de4ce130eab7fc775e3cb746d5)
2008-04-13 15:36:05 +02:00
Michael Adam
a9ff941f41 registry: rename init_registry() to registry_init_full() for consistency.
Michael
(This used to be commit 14d82708d4499b48830d3dd25a0133f00a39d030)
2008-04-13 15:33:48 +02:00
Michael Adam
281e610ff3 registry: change init_registry() to return WERROR instead of bool.
Michael
(This used to be commit 0b196095dbbc29c796cb0742fe6e57a421e9596b)
2008-04-13 15:33:48 +02:00
Michael Adam
6c66d5d019 registry: change registry_init_smbconf() to return WERROR instead of bool
Michael
(This used to be commit 7c343c60574cda091f59861fbcb2893aefb564e9)
2008-04-13 15:33:48 +02:00
Michael Adam
4ae2e8c7ba registry: refactor common part of registry initialization out.
into a new function registry_init_common().

Michael
(This used to be commit 5da52b95ac69e4abfbc44335df2447bec8f16e13)
2008-04-13 15:33:48 +02:00
Michael Adam
3f01e05a77 registry: change registry_init_basic() to return WERROR instead of bool
Michael
(This used to be commit 6a31e659cb371395dff0906786f3c6ef0cc2b3de)
2008-04-13 15:33:48 +02:00
Michael Adam
80b6d7b1d6 registry: change reghook_cache_add() to return WERROR instead of bool
Michael
(This used to be commit e65a999989c97c4c7b0af5093e0e89583691e9a8)
2008-04-13 15:33:48 +02:00
Michael Adam
5166d562ea registry cachehook: change helper function keyname_to_path() to return WERROR.
Michael
(This used to be commit 78bb005ee45e7a0be24b5222c3f878058b5cd8ea)
2008-04-13 15:33:47 +02:00
Michael Adam
01f4bd4f4d adt_tree: change pathtree_add to return WERR instead of bool.
Michael
(This used to be commit da45fb92f69221758f36db4cbb7d871e3ce60718)
2008-04-13 15:33:47 +02:00
Michael Adam
84c5da2ff4 registry cachehook: revert logic to make fast path more obvious and reduce indent.
Michael
(This used to be commit e97d558c5660e6d235b62528f5527a62ac1252d7)
2008-04-13 15:33:47 +02:00
Michael Adam
4b4306eb4a registry: change reghook_cache_init() to return WERROR and use it in the callers.
Michael
(This used to be commit 2f4ca62dce50225d67ba8643afba4199e1845c5f)
2008-04-13 15:33:47 +02:00
Michael Adam
2ffe46e24d registry cachehook: compare cache_tree against NULL, not 0.
Michael
(This used to be commit 4bfc0be55f2a436a9c687ab6ad86e704fcb753d6)
2008-04-13 15:33:47 +02:00
Michael Adam
26a5652f6d registry: change init_registry_key() and init_registry_data() to return WERR
Michael
(This used to be commit e0718f04a7392695eed6cd1bf888d3af1d5d6177)
2008-04-13 15:33:47 +02:00
Michael Adam
cb624c4057 registry: unify debug output in the registry init functions.
Michael
(This used to be commit 4fd9b45ffc08e7deeae58be3129832148748af13)
2008-04-13 15:33:47 +02:00
Michael Adam
6b85938f27 registry: change regdb_init() to return WERROR instead of bool.
Michael
(This used to be commit c312852abce72bc167abee8b29fc699c4a643ca7)
2008-04-13 15:33:47 +02:00
Michael Adam
bcb19766d6 registry: make registry_init_smbconf() hook the registry ops onto given key.
This still defaults to HKLM\Software\Samba\smbconf, but is interchangeable now.
This allows us to open the libsmbconf registry backend on different registry keys.

Michael
(This used to be commit 8fe1a2f567afbecbe487f08825cb43b038065e99)
2008-04-13 15:33:47 +02:00
Volker Lendecke
2c47a6a710 Update WHATSNEW entry for pre3
(This used to be commit 81f34489f7923db1141175b8b6bcc8594c6b2ee0)
2008-04-13 12:20:58 +02:00
Michael Adam
b5a75ec402 registry cachehook: add talloc failed debug messages.
Michael
(This used to be commit 9841ee7fd429c7ff367dbb43b754cd5b6f53c065)
2008-04-13 01:47:16 +02:00
Michael Adam
a721f0a729 registry cachehook: eliminate a couple trailing spaces (empty lines).
Michael
(This used to be commit c9f01aee37165216fa8a5331c64dd93963b38802)
2008-04-13 01:44:57 +02:00
Michael Adam
0fa8845fa0 registry cachehook: fix memleak (to talloc_tos()): free key at the end.
Michael
(This used to be commit 3f5955d361da5278773b46dccb34c8f63eb04157)
2008-04-13 01:43:43 +02:00
Michael Adam
227904434a registry cachehook: refactor normalization of keyname out.
Michael
(This used to be commit acb9c98dff7dac5e0688a04dbf6d63a7a7f67fd2)
2008-04-13 01:43:42 +02:00
Michael Adam
bbca983507 registry: adapt copied function header comments.
Michael
(This used to be commit 2e762be0db7a098b6da09756a9c9dfa3931ca3c6)
2008-04-13 01:43:42 +02:00
Michael Adam
413c2e9b0a registry: remove the REGISTRY_HOOKS layer from the reghook cache.
There is no need to save the keyname again, we only need to
get the REGISTRY_OPS out of the pathtree.

Furthermore, this makes life easier, since we can now pass
in keynames as temporarily allocated strings.

Michael
(This used to be commit 2f9ee2f782c77ed99669af5ac2ba40cb0978f0da)
2008-04-13 01:43:42 +02:00
Günther Deschner
a75421b019 Fix ou handling in netdomjoin-gui.
The ou list was concatenated again and again...

Guenther
(This used to be commit 84608e165e24c68c12d40086f81684ef37f69159)
2008-04-13 00:46:33 +02:00
Michael Adam
2595377988 libnetapi: fix a C++ warning by making implicit cast explicit
Michael
(This used to be commit b62dd61cc56ec33601289fd4e23058c7f9ad3f0d)
2008-04-13 00:24:42 +02:00
Michael Adam
3aa565e790 dbwrap_tdb2: fix a C++ warning by making implicit cast explicit
Michael
(This used to be commit 18ced7e42072953a1968db15b0a344b54214b83d)
2008-04-13 00:23:58 +02:00