Age | Commit message (Collapse) | Author | Files | Lines |
|
Michael
(This used to be commit dd9fe5aec43e60d554f2580a0699fe6e4cfb5d3c)
|
|
Guenther
(This used to be commit 2d6a1c5da64195784b0b102edb268356a24d84b5)
|
|
Thanks to Andreas Schneider for noticing.
Michael
(This used to be commit db708d4004adcd4a75c28d630dbd43b03e40f205)
|
|
Guenther
(This used to be commit 554dcfdab03f9d06f319a3234d56cf44dc38c9da)
|
|
Guenther
(This used to be commit 933abaeb321428aa7092a5d87af77b981be6359e)
|
|
library on top of the Samba 3 RPC library:
* dcerpc_pipe_connect
* dcerpc_ndr_request_recv
* dcerpc_ndr_request_send
These are the main functions used by the generated client calls in Samba
4.
(This used to be commit 350177824239343365d5c99ad4efd71e3b2ed6fa)
|
|
(This used to be commit 359921acd436684a0b4cf76ba15f82a224d2c337)
|
|
Guenther
(This used to be commit 192645f63918c8656ca0fac5bb6d2704c9500a15)
|
|
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)
|
|
Guenther
(This used to be commit cd6388f04041a667bf0909d81e8af5f7b3bdc4af)
|
|
metze
(This used to be commit 64450cc1e441355aa8925b7183e90872eeab20b1)
|
|
This backend can be used untill ctdb knows about real
transactions.
It stores a master tdb in a shared location and a readonly copy
on the local harddisk. Reads are always on the local tdb
and writes always on both. Change notify messages are send
to all message context, which ask for them. With the notifies
it's possible to just update the changed records, instead of
copying all records (which is the fallback).
You need to configure:
dbwrap:use_tdb2=yes
dbwrap_tdb2:master directory=/some/shared/path
dbwrap_tdb2:local directory=/var/lib/samba
metze
(This used to be commit aa6230de0d5f1875aa8c12c4fc017d3a40f90890)
|
|
Michael
(This used to be commit 27fea343d2eeff5b7d38092dd1286cb8e3478cbe)
|
|
LIBSMB_ERR_OBJ depends on SECRETS_OBJ
Michael
(This used to be commit 79b5a0c7a8ea47fbc44fb6582a39152c69edccaa)
|
|
LIBSMB_OBJ is not used without SECRETS_OBJ
Michael
(This used to be commit bea66f07b4b8071348fc4d7dc4d13306466af171)
|
|
Michael
(This used to be commit 310fd52ea4d05cdc83a798fda447879e3ebb2bc3)
|
|
it is only ever used together
Michael
(This used to be commit 27c7441145190eee7b61bec76edf1d4987a5be8d)
|
|
Michael
(This used to be commit ddc2292c159700018911c85bcb2b8243b78f4e5c)
|
|
metze
(This used to be commit 05f7f77135ab997b92b2454871f21543ecbde0ed)
|
|
metze
(This used to be commit 2b236c7ace15b4408c31ed918b449d5a22e1769f)
|
|
Guenther
(This used to be commit e9e46cfcbe25366121f680a6d81fe08c128bf00a)
|
|
Michael
(This used to be commit 9f6c909f465df5fc64e2bec88acf272be9cd574e)
|
|
Currently only the init function is tested, more tests to come...
Michael
(This used to be commit bc8dc8626c5fb296edbd193a7cc293317c7a29ca)
|
|
Michael
(This used to be commit e0f6a9d50c9b72ec33d4323d1a6c5bdf44d011e7)
|
|
it has its own herader net_registry_util.h
Michael
(This used to be commit 51026d64b3e19626b51bee73fb257a75a6455355)
|
|
Guenther
(This used to be commit cb98996ed2ac93a0e15838048405772d2043021a)
|
|
Guenther
(This used to be commit a4e3bc2bade8bf74696e1c6ced74da563ff2df7b)
|
|
Guenther
(This used to be commit c098714ac4bac8a7e27be761979a96190b77de1f)
|
|
Michael
(This used to be commit 3bf890783fadd245c59280173627a6caca2dbefe)
|
|
Michael
(This used to be commit 7b16cb1023abd4fb2b2f08cf723d38c8c6ae68a0)
|
|
The interface is like that of net rpc registry.
Access is direct local access to the registry tdb through reg_api.
Michael
(This used to be commit 3250068eb980bd0489f814f702401cdc9c925a8d)
|
|
This is a simple implementation of text backend for libsmbconf.
It is read only. It uses the parser from params.c. It loads the
given config file and holds the parsed lists of strings in memory.
Config is only re-read if the time stamp of the config file has changed.
Brilliant performance on large files is not to be expected since the
string lists are not hashed. This might be added in the future.
Michael
(This used to be commit 4ea50843852b335a9bd4c0535a5b684134ad8326)
|
|
Stick to hand-written headers (that are there anyways).
Add some missing prototypes to util_tdb.h and dbwrap.h.
I did not bother to add a header for each single dbwrap backend
open function but put the prototypes for the open functions into
the central dbwrap.h.
Michael
(This used to be commit edf4dbed27a3c63c04e8110e75cdb76e31627eb6)
|
|
Remaining problem is that not all *.syms linker scripts are generated
so the LD command needs to look in a single place. Out of tree
builds now work but report write access to the source tree in order
to create the $(srcdir)/expotrs/libtdb.sysms file.
(This used to be commit 6e9287c5c3a6bbd15ec495593978c1a76e64ee60)
|
|
IMO there is no need to imitate a custom registry backend.
Only default regdb hooks are used here, so a plain initialization
of regdb should suffice.
This way, only reg_api is used in libgpo, and no registry
backend code is visible.
Michael
(This used to be commit 10ae8accb486956ebb1638cee540868a11623b11)
|
|
Michael
(This used to be commit 431b10bfe0dba0a49e50bebfb3f8ad1a00955837)
|
|
Guenther
(This used to be commit a5f0186f70abe8dba650265219e69ce5ca2fb642)
|
|
Guenther
(This used to be commit 0244734cc5c682a73f84e2fe0a52a15090063d93)
|
|
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)
|
|
Guenther
(This used to be commit e4b52133d6109ae6cc0378285e2d46f7077812f1)
|
|
(This used to be commit c20c5f082162ff6c0c2931f456897334aa002e83)
|
|
Michael
(This used to be commit 4e584c6e3699d8c05b163cc5674af04d106692ba)
|
|
Guenther
(This used to be commit 9eaaf17d30388ef9446fb18e69197baa699b7eac)
|
|
This reverts commit 3a0f781352f364ce625a35ffd78257b27d984c47.
This needs more thought.
Setting RPATH like this does not work on all supported
platforms (Linux, Solaris and AIX seem to work, HP-UX,
Tru64 and MacOS don't, MacOS doesn't even seem to have
an rpath at all prior to 10.4).
What is more, rpath also has some bad effects (when
updating libraries, e.g.), so it should not be set
unconditionally.
I will come up with a confiugure mechanism to control this.
For now, just use the LDFLAGS environment variable if
you want to use an rpath.
Sorry for any inconveniences.
Michael
(This used to be commit 6850dc242b010bdcef5e427e51be04201f55b7f3)
|
|
This removes the need of setting LD_LIBRARY_PATH.
Michael
(This used to be commit 3a0f781352f364ce625a35ffd78257b27d984c47)
|
|
(This used to be commit e2153301351559f30f2714345f4c1ca6c5f1a45f)
|
|
(This used to be commit 9f8b2a87ee8bba930b776dcfda608a5639f6d55a)
|
|
Michael
(This used to be commit 21a527569bccff8e8cb6e751c9f3fce6ff598204)
|
|
Reported by Christian McHugh <christian.mchugh@nau.edu> on the samba ML.
Michael
(This used to be commit 3398403c22c0f39b0d91621d81e31004fc8d28bc)
|
|
Guenther
(This used to be commit 5159e3dafa9f9bb85cde6681052d8f54b8bf8a2e)
|