summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2008-03-03Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-testDerrell Lipman2-2/+6
(This used to be commit 8927b50d6051fcefd87f19dc90c5826378d03e4e)
2008-03-03Missed a few 'deprecated' markersDerrell Lipman1-2/+2
(This used to be commit 76ba37ac46b4a77fe228ca90635fa19140541ccd)
2008-03-03Continued revamping of libsmbclient.Derrell Lipman13-1268/+1214
- 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)
2008-03-03Zero out the out policy handler in lsa_CloseVolker Lendecke1-0/+1
... after a REALLY long session staring at sniffs we can now join XP to v3-2-test again... Apparently not doing this makes XP keep an internal handle to LSA open which confuses the hell out of it. Karolin, this needs to be in v3-2-stable :-) Volker (This used to be commit 2c42fc21d8bede226e411623aecd69038477373b)
2008-03-03Fix gp_find_file() which broke during the pstring removal.Günther Deschner1-2/+5
Guenther (This used to be commit f18ba6c877fa934d19ecc6a65be74b8bad7ee7e4)
2008-03-02fixed missing white spaceDerrell Lipman1-0/+1
(This used to be commit 71e86f13b0ace3841c6712084728c79db74ff803)
2008-03-01Return NULL, not 0, from a function which returns a pointer.Derrell Lipman2-3/+2
(This used to be commit 23cb9c49e3724cecaa66655ef64c3111bf14c552)
2008-03-01change variable name from f to fn for function pointersDerrell Lipman1-37/+37
(This used to be commit 1fd65359f6cd07539cfe43146ac367a48708a678)
2008-03-01Comment was in wrong placeDerrell Lipman1-4/+3
(This used to be commit dec70fa3c0424c148016cc667a3c159e16d8a944)
2008-03-01Mark smbc_option_{get,set} as deprecatedDerrell Lipman1-23/+3
(This used to be commit a8b4b773d4647f28e7b92c5968469721d34eb550)
2008-03-01Additional revamped libsmbclient documentationDerrell Lipman13-2152/+2579
- Ensured that all public functions have documentation in libsmbclient.h - Reformatted for "proper" indentation - Re-added temporarily-disabled alternate authentication function capability Derrell (This used to be commit 64b7150d92849a1e1e2416b9dcc12fae8d6bea99)
2008-03-01Modified revamp of the libsmbclient interface.Derrell Lipman11-231/+566
Given the tacit (if that) approval by some people, and clear disapproval by others for my proposed clean-up and reorganization of libsmbclient, I've come up with a slightly different approach. This commit changes back to the original libsmbclient.h SMBCCTX structure which will maintain ABI compatibility. I retain, here, the setter and getter functions which all new code should use. Older programs already compiled should continue to work fine. Older programs being recompiled will encounter compile-time errors (intentionally!) so that the code can be corrected to use the setter/getter interfaces. Although this doesn't clean up the interface in the way I had wanted, the code reorganization and requirement for new programs to use the setters and getters allows future progress to be made on libsmbclient without further muddying up the interface, while retaining the ABI compatibility that was the big issue causing disapproval. I hope that this compromise is adequate. Derrell (This used to be commit 56429a3d60b2a48963342f6340b3c01469a892c6)
2008-03-01Initial revamp of the libsmbclient interface.Derrell Lipman15-7621/+9206
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)
2008-03-01Make sure we are still able to join Windows 2008.Günther Deschner1-2/+1
Guenther (This used to be commit aa9c0f587718f4d647e87b9662acbedba042b9cb)
2008-03-01Revert "Add basic infrastructure for general async requests"Volker Lendecke4-159/+1
This reverts commit ae254cb61f4b9331755848c47ebc34e90dd80390. (This used to be commit 030bef7f22f7a73466204b7860f397dbca9f2ab0)
2008-03-01Revert "Add infrastructure to support async SMB requests"Volker Lendecke5-577/+1
This reverts commit f5356825698a02df2d400b51dd95d1f857c83e81. (This used to be commit 5f53a62be8a21b8d92ac44b18d202882500356e8)
2008-03-01Revert "Add async cli_pull support"Volker Lendecke2-440/+27
This reverts commit 844a163458c7585e4306a21ffdae5d08e03d6e4d. (This used to be commit 5ab1cfda500de07ff3c712442ab2fc74eecc8886)
2008-03-01Revert "Convert cli_read to use cli_pull"Volker Lendecke1-15/+163
This reverts commit 719527f55e88f0c5fdceda5c807475aba299c79f. (This used to be commit ac301fada257e2d3b50148109a3d44fa1421b0b4)
2008-03-01Revert "Fix warnings"Volker Lendecke1-1/+2
This reverts commit 9a966e5593ae4474014aec5d8c68c489ac8ce0c9. (This used to be commit 413695e8d0d8232a9c35e693f9a4a8009418ede4)
2008-03-01Fix init_registry_data for subkeyless top-level keys.Günther Deschner1-1/+18
On a fresh install with no existing registry.tdb, make sure we are able to create our initial top-level entries. Michael, Volker, please check. Guenther (This used to be commit 956bc602062825493e1c357e2388fee1e5514b50)
2008-02-29Restore 3.0 behaviour with empty /etc/hostsVolker Lendecke1-2/+5
Jeremy, in 3.0 we allowed get_mydnsdomname and get_mydnsfullname to fail without filling in anything useful. Worked fine. Without this patch and a empty /etc/hosts and no DNS configured, session setup would return NT_STATUS_BAD_NETWORK_NAME. This is confusing at best, BAD_NETWORK_NAME afaik is only ever returned from tcon normally. This restores the 3.0 behaviour. Comments? Volker (This used to be commit 2bd3b7d474768f842921945d283eac10da2a1684)
2008-02-29Check the right variable for being NULLVolker Lendecke1-1/+1
(This used to be commit f2c67803792f1fd3929e922c1f626f8247e08992)
2008-02-29Fix the build w/o ldap.Günther Deschner1-1/+4
Guenther (This used to be commit 5f592d030b7e94331a634e0d625aefc60cfb1f70)
2008-02-29Add gp_get_machine_token().Günther Deschner2-0/+75
Guenther (This used to be commit 2f1bc7ddad97b9137ae4cce696bf4e08f9b7ca20)
2008-02-29Revert "what a wurst."Günther Deschner2-75/+0
That commit message was just too silly, this happens to me during interactive rebase all the time... This reverts commit ab687104c1371c84c510eca7ef2caad7c21ea8fc. (This used to be commit a3a1edab0d5ac07d42e64a5a82dd71fe0c3fdfeb)
2008-02-29what a wurst.Günther Deschner2-0/+75
(This used to be commit ab687104c1371c84c510eca7ef2caad7c21ea8fc)
2008-02-29Add "registry" Group Policy extension.Günther Deschner4-1/+660
Guenther (This used to be commit 4e93301ca4931908a7d1994be45c57002f8c6fea)
2008-02-29Add Group Policy extension infrastructure.Günther Deschner6-2/+867
Guenther (This used to be commit 6d543b1a1a5a7af98affc9aea2edf650cb476379)
2008-02-29Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison10-41/+1153
v3-2-test (This used to be commit e7406822d32d5b36d3706144efbd1eaa7c44cead)
2008-02-29Patch to fix the "Invalid read of size 4" errors. Bug #3617.Jeremy Allison1-0/+18
Jeremy. (This used to be commit fa12667ec284fdda45b79cbf6bf548ab0faae34f)
2008-02-29Add infrastructure for reading/storing Group Policy state and control data ↵Günther Deschner4-2/+1126
in the registry. Guenther (This used to be commit f673bbd300d972dd7ae2d092b3b1e642ed29cfd2)
2008-02-29Fix warningsVolker Lendecke1-2/+1
(This used to be commit 9a966e5593ae4474014aec5d8c68c489ac8ce0c9)
2008-02-29Pure cosmetics, trying to get my group policy diff smaller.Günther Deschner5-37/+26
Gunther (This used to be commit d7346e9360ffa97e44fa781293d32c707436193b)
2008-02-29Fix part of bug #3617 from valgrind trace.Jeremy Allison2-3/+4
"Invalid read of size 1" errors. Jeremy. (This used to be commit d954a4954ba8ed6cb2c6074176a6008cfa398dd7)
2008-02-29Eliminate tons of build warnings on non-IPV6 system.Michael Adam2-1/+6
Michael (This used to be commit ee4810099c2d26a0ebab3c41a95bc6b57921683d)
2008-02-29Revert "make idl: Only compile idl files newer than the output to be generated."Michael Adam1-1/+1
This reverts commit 79c199d16e565eabd9fd971247f8df62689bb92a. Revert this until pidl is capable of doing decent dependency tracking itself (importing types from imported idls). Michael (This used to be commit 1fb69ad1f5c79dd77f73a5fee266e1e363e6974d)
2008-02-29Revert "Add libnet_join.idl to the IDL files to be processed by "make idl"."Michael Adam1-1/+1
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)
2008-02-29Rename the 'hidden' variable to 'administrative share'.Andreas Schneider2-6/+6
(This used to be commit eff3d3bad5a8860b99375cc0be9dc24f3679e416)
2008-02-29Fix linking of smbget when there is no shared library support.Michael Adam1-1/+1
smbget needs libwbclient. Michael (This used to be commit 78bc496ecf72b5c2474911302e81a90c488e3070)
2008-02-29Attempt to fix the buildVolker Lendecke1-5/+0
(This used to be commit 364d87a5e41045808ebd28f46c5c0c93bd13a7da)
2008-02-29configure: only build vfs_syncops if dirfd() is availableStefan Metzmacher1-1/+6
This hopefully fixes the build on HP-UX. metze (This used to be commit 5fb7533e37b6c682e019b1c3515dc6befc8bda09)
2008-02-29configure: Remove lib/repdir.c and related stuffStefan Metzmacher3-449/+0
It was only used in configure, but lib/replace already has a much better version of it. metze (This used to be commit c9b60b75b4763c37cfa63741b4f055e4ea488e92)
2008-02-29Add vfs_aio_forkVolker Lendecke3-0/+784
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)
2008-02-29Fix creation of replacetort.Michael Adam1-0/+1
Forgot to git add Makefile.in before doing git commit --amend in previous commit... Michael (This used to be commit 7cf645cdae8ce17705036951538991b0a9dbefaf)
2008-02-29libreplace: add snprintf.c to test code for getifaddrs - needed on some systems.Michael Adam1-0/+4
Michael (cherry picked from commit 0aff54a12e20d5e91fcdec7aaec103fb9a371a23) (This used to be commit 77b7d7c0417e498340d1c9364fbbb8671c175477)
2008-02-29libreplace: ifdef out ip6 code if unsupported.Michael Adam1-0/+2
Michael (cherry picked from commit 54cc0df4dbf6d63a9b94e1ac6af4ec7f7803bc30) (This used to be commit 1ff0b616a9cb029040031f797b52112d4973e1eb)
2008-02-29libreplace: fix rep_freeifaddrs to not segfault on NULL input.Michael Adam1-6/+7
Michael (cherry picked from commit 0cbb87453beb52c6b0bc3a48791f49678f4030c5) (This used to be commit 34d906ef44d1a5c3452097a9cac438d721fe35c1)
2008-02-29libreplace: fix silly crashbug in getifaddrs_test().Michael Adam1-1/+3
Michael (cherry picked from commit 523626908d25f974fd1ae6d7306b1d4bc8414162) (This used to be commit 0906120a6e4fe0eb66f3c3fd99c625b30672cb2b)
2008-02-29libreplace: add missing newline in output of getifaddrs test.Michael Adam1-1/+1
Michael (cherry picked from commit f8243cfc47c7414bab7f249d0e5d1c85e8ca7d64) (This used to be commit 3c1843f931b896dd3bb142346ecb44c0fb9202d6)
2008-02-29libreplace: add missing semicolon to getifaddrs.Michael Adam1-1/+1
Michael (cherry picked from commit 29818a07de826fd687003ff25865d77939ecaa9a) (This used to be commit 1d906d346ed90b87895772a64c7613324ef8b682)