Age | Commit message (Collapse) | Author | Files | Lines |
|
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)
|
|
Guenther
(This used to be commit f6762f9cd0b2ace46e16d246adf2e386749650f9)
|
|
Michael
(This used to be commit e26133808469cb7e9acc41cb15219d7b736d228a)
|
|
Michael
(This used to be commit 237ea62a49fbf47634b55795c1065250d5148600)
|
|
So as to fix building of isolated targets.
Michael
(This used to be commit 7dbc251e1cd28abf28342529607fa4b5f579a9c4)
|
|
Guenther
(This used to be commit cd582b7705dca40b3c688c9e23d8375dab43b4d0)
|
|
Guenther
(This used to be commit 34caa41fa6d44165b470508261c2bde124fc4955)
|
|
- James suggested using gcc's "deprecated" attribute to mark the context
structure fields to generate warnings. This creates a scenario with the
best of all worlds. I'm able to move to an organization that more easily
allows future enhancements, while avoiding any mandatory changes by
applications. Thanks, James!
- Updated WHATSNEW.txt so that it accurately reflects the current state of
affairs.
Derrell
(This used to be commit a67f96fbe9683b46c2149f7cb439d13f7f0e6ecd)
|
|
The libsmbclient interface has suffered from difficulty of improvement and
feature enrichment without causing ABI breakage. Although there were a number
of issues, the primary ones were:
(a) the user of the library would manually manipulate the context structure
members, meaning that nothing in the context structure could change other
than adding stuff at the end;
(b) there were three methods of setting options: setting bits in a flags field
within the context structure, setting explicit options variables within an
options structure in the context structure, and by calling the
smbc_option_set() function;
(c) the authentication callback did not traditionally provide enough
information to the callee which required adding an option for a callback
with a different signature, and now there are requests for even more
information at the callback, requiring yet a third signature and option to
set it (if we implement that feature).
This commit provides a reorganization of the code which fixes (a) and (b).
The context structure is now entirely opaque, and there are setter and getter
functions for manipulating it. This makes maintaining ABI consistency much,
much easier.
Additionally, the options setting/getting has been unified into a single
mechanism using smbc_option_set() and smbc_option_get().
Yet to be completed is a refactoring of the authentication callback (c).
The test programs in examples/libsmbclient have been modified (if necessary;
some applications require no changes at all) for the new API and a few have
been minimally tested.
Derrell
(This used to be commit d4b4bae8ded824d06ad5ab0e219f71187ee5c771)
|
|
This reverts commit ae254cb61f4b9331755848c47ebc34e90dd80390.
(This used to be commit 030bef7f22f7a73466204b7860f397dbca9f2ab0)
|
|
This reverts commit f5356825698a02df2d400b51dd95d1f857c83e81.
(This used to be commit 5f53a62be8a21b8d92ac44b18d202882500356e8)
|
|
Guenther
(This used to be commit 4e93301ca4931908a7d1994be45c57002f8c6fea)
|
|
Guenther
(This used to be commit 6d543b1a1a5a7af98affc9aea2edf650cb476379)
|
|
in the registry.
Guenther
(This used to be commit f673bbd300d972dd7ae2d092b3b1e642ed29cfd2)
|
|
This reverts commit 9b47a7329091b2bfe7cd9b2112ac8fa652ed9f60.
libnet_join.idl should not be processed along with the other idl files
since it should not produce server and client code, just the header.
Michael
(This used to be commit 2967b29f23e04f24a62ea576b0b6c948055689d0)
|
|
smbget needs libwbclient.
Michael
(This used to be commit 78bc496ecf72b5c2474911302e81a90c488e3070)
|
|
This is used for two purposes:
First, I'm using it to test the async I/O code. In the forked process it is
pretty easy to delay a reply for a random amount of time. See the
BUILD_FARM_HACKS snippet.
Second, there are systems around that claim to have Posix AIO but which is
broken. This might be some help for those systems.
Also add tests how to pass file descriptors
(This used to be commit b0e52cecf2009d4c7f29412dadf17910e54e4327)
|
|
Forgot to git add Makefile.in before doing git commit --amend
in previous commit...
Michael
(This used to be commit 7cf645cdae8ce17705036951538991b0a9dbefaf)
|
|
Jerry, I checked this very carefully that nothing got lost. The only thing I need to
re-add still is the normalized DN handling for account precreation in "net ads join".
Guenther
(This used to be commit a5c6347644f2aa138a8e67ffe6c167847df941d0)
|
|
Karolin
(This used to be commit 5fbd98f7065268ae134108310119078ad8f62322)
|
|
(This used to be commit f5356825698a02df2d400b51dd95d1f857c83e81)
|
|
(This used to be commit ae254cb61f4b9331755848c47ebc34e90dd80390)
|
|
Guenther
(This used to be commit 24a5098b1c3452b2d7088cab6ecdd1d75810e403)
|
|
The idl in this version uses pidl specific non NDR types...
metze
(This used to be commit 5dd83aaff325a1d15a0c786cbab42b8fcd6dd5ee)
|
|
Michael
(This used to be commit 9b47a7329091b2bfe7cd9b2112ac8fa652ed9f60)
|
|
This leads to a Makfile syntax error in the prerequisites for
bin/smbd. Wow, irix is really picky!
Michael
(This used to be commit 011f24c6c95c92417d877886ad87d2a2dd82056e)
|
|
Michael
(This used to be commit 39eef8e86cfab60c1328d2335a737b41d8fd6db0)
|
|
It was used as ${selftest_prefix}/st anyways...
Michael
(This used to be commit 1f3bfa024d61ccb87655db2c616b28adb50d6783)
|
|
Group and name objects more sanely.
Michael
(This used to be commit 58626eb6027f43495a030d856232a81225d0ca77)
|
|
This replaces the original hand-written tdb code, now that the
linking dependencies have been significantly reduced.
Michael
(This used to be commit d08a3a195718725228bbafa61fd4f0be8aafb43f)
|
|
This also removes parse_lsa.c entirely.
Guenther
(This used to be commit f802ba035c95e63c5a6ff9f2fb484d62341cd1a7)
|