summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add async cli_pull supportVolker Lendecke2008-03-062-29/+441
| | | | | | | | | | | | | This is the big (and potentially controversial) one. It took a phone call to explain to metze what is going on inside cli_pull_read_done, but I would really like everybody to understand this function. It is a very good and reasonably complex example of async programming. If we want more asynchronism in s3, this is what we will have to deal with :-) Make use of it in the smbclient "get" command. Volker (This used to be commit 76f9b360ee1d973630d82d401eeddce858189301)
* Add infrastructure to support async SMB requestsVolker Lendecke2008-03-065-1/+577
| | | | (This used to be commit e2153301351559f30f2714345f4c1ca6c5f1a45f)
* Add basic infrastructure for general async requestsVolker Lendecke2008-03-064-1/+159
| | | | (This used to be commit 9f8b2a87ee8bba930b776dcfda608a5639f6d55a)
* Merge commit 'origin/v3-2-stable' into v3-2-testStefan Metzmacher2008-03-062-11/+25
|\ | | | | | | | | | | | | | | | | This brings the release-3-2-0pre2 tag into the v3-2-test history. I skipped the source/VERSION changes. metze (This used to be commit 6761fed30821b30246a0f25874566f8a6019abde)
| * Make test: set LD_LIBRARY_PATH for make test_shlibs and friends.Michael Adam2008-03-061-3/+6
| | | | | | | | | | | | Michael (cherry picked from commit 21a527569bccff8e8cb6e751c9f3fce6ff598204) (This used to be commit 25a63d044e82ae3cbd9b8e350fcf4cf548236caa)
| * Fix build targets for bin/net.Günther Deschner2008-03-061-1/+1
| | | | | | | | | | | | Guenther (cherry picked from commit 5159e3dafa9f9bb85cde6681052d8f54b8bf8a2e) (This used to be commit 1718c1b5448d0e73cbd50da5ffba29a487d68b3d)
| * Another build fix for pam_smbpass: make sure libwbclient is there.Günther Deschner2008-03-061-1/+1
| | | | | | | | | | | | Guenther (cherry picked from commit f6762f9cd0b2ace46e16d246adf2e386749650f9) (This used to be commit 4c2a6ef16090df2bca0811806c982e0e8f3f1eb8)
| * Respect FAMChanged -- attempt to fix bug 5307Volker Lendecke2008-03-061-0/+3
| | | | | | | | | | | | Thanks to Ricardo Santos (cherry picked from commit 8ef57a34ebf24e577ba7bca57a5456c1f78a3659) (This used to be commit a00275fde179ab8228fa9d678ec114b677bdecc0)
| * Build: fix bin/net on Solaris - use -ltdb instead of bin/libtdb.soMichael Adam2008-03-061-1/+1
| | | | | | | | | | | | | | | | Reported by Christian McHugh <christian.mchugh@nau.edu> on the samba ML. Michael (cherry picked from commit 3398403c22c0f39b0d91621d81e31004fc8d28bc) (This used to be commit 350edda357a527822468bc055f6b866e11a99de7)
| * Makefile: reformat - break long target lines.Michael Adam2008-03-061-64/+129
| | | | | | | | | | | | Michael (cherry picked from commit e26133808469cb7e9acc41cb15219d7b736d228a) (This used to be commit f3c06fccd6011d4e3c2e3f0dc1e37a0eb7e0f645)
| * Makefile: untangle -ltalloc from LIBS, making use of libtalloc explicit.Michael Adam2008-03-061-60/+60
| | | | | | | | | | | | Michael (cherry picked from commit 237ea62a49fbf47634b55795c1065250d5148600) (This used to be commit 393fc8df2898208dff14aedd7b0924624cc4f164)
| * In libnetapi, point out that lp_load has failed.Günther Deschner2008-03-061-0/+1
| | | | | | | | | | | | Guenther (cherry picked from commit be673bfc61559f661040c6fb1ba7d2e4552967f2) (This used to be commit 0fba3713e1c3379edcd99fb28ddac21616f34777)
| * Fix lp_load with an empty registry and "config backend = registry". Michael, ↵Günther Deschner2008-03-061-0/+7
| | | | | | | | | | | | | | | | please check. Guenther (cherry picked from commit d9f4060c660da0ad671e061b123df71d109d51b9) (This used to be commit 11b151f3552cbcddcfe671dcda4fe0110c4f2b48)
| * Give a better error message why NetServerSetInfo() may fail in the gui.Günther Deschner2008-03-062-1/+4
| | | | | | | | | | | | Guenther (cherry picked from commit 1bbbebb7767b8a25532e8be3dbd274c211e34bbd) (This used to be commit 370d030b227486ba87a98f4f6e8920f52f743a94)
| * Add PICFLAG to libnetapi Makefile.Günther Deschner2008-03-061-0/+1
| | | | | | | | | | | | Guenther (cherry picked from commit 29fca3c0353f2be4577613d7e38fbc51d2a370fa) (This used to be commit 1e7ee35c0cb937405689f58e8846016b2ab44582)
| * Fix coverity ID 525, 526, 527, 528, 529 and 530Volker Lendecke2008-03-061-19/+21
| | | | | | | | | | | | | | Upon failure to allocate one of the arrays, further down the TALLOC_FREE would have looked at the variables given to it without initizalizing. (cherry picked from commit 6cac3127312acaac65fcd54280605605765787ad) (This used to be commit f990498818e28cbf12fe387746b182c6893d2639)
| * Makefile: Add explicit dependecies to libtalloc.so.Michael Adam2008-03-051-59/+59
| | | | | | | | | | | | | | | | So as to fix building of isolated targets. Michael (cherry picked from commit 7dbc251e1cd28abf28342529607fa4b5f579a9c4) (This used to be commit ad711da7972b9ccc8b82c506db830b192a833918)
| * Fix build of pam_smbpass.Günther Deschner2008-03-051-1/+2
| | | | | | | | | | | | Guenther (cherry picked from commit cd582b7705dca40b3c688c9e23d8375dab43b4d0) (This used to be commit ecdbc96b4dd56629bb8f99c41ecf76506df91d71)
| * ask for the keyid in the release script.Karolin Seeger2008-03-041-1/+7
| | | | | | | | (This used to be commit bccae9487485a6c9468bc6afb9ada8c8d9f6e135)
| * Re-run make idl.Günther Deschner2008-03-043-1/+94
| | | | | | | | | | | | Guenther (cherry picked from commit 8e601e2365f50e582de442daa1559f828bda3e89) (This used to be commit 3c26f1899e4b1d47f0463f05a81ac70d6d484e7a)
| * Add new Windows 2008 Kerberos PAC Type 12 (apparently again undocumented).Günther Deschner2008-03-041-1/+16
| | | | | | | | | | | | | | | | | | We need at least to parse this in order to correctly support kerberized session setup from w2k8 as well as local pam_winbind logons using kerberos. Guenther (cherry picked from commit 4ba62d49d740c43cf17ceef1534cf1c8a7e4a130) (This used to be commit a3b623bfbbfb1abe0c1f0adcf83afbf808df60a4)
| * Fix counter mismatch in lsa_LookupNames3 server.Günther Deschner2008-03-041-2/+2
| | | | | | | | | | | | Guenther (cherry picked from commit e052d6f2c82a644986e5d99f640310d71cd5c396) (This used to be commit 59d5e15ee50fbae858358aedf0e458b7e4a4af20)
| * Fix counter mismatch in lsa_LookupNames server.Günther Deschner2008-03-041-2/+2
| | | | | | | | | | | | Guenther (cherry picked from commit 80fd085c34befd38d33cf6e59080a2a36016a92d) (This used to be commit af7aded25d9007a8c2037940ab90fb30d0a3eef2)
| * Fix lsa_QueryInfoPolicy: make proper talloc copies of the sids.Günther Deschner2008-03-041-4/+11
| | | | | | | | | | | | Guenther (cherry picked from commit b9441232d66d78e66464be6c9748a023681ce6ca) (This used to be commit 1081da4d83dbfb6d87c3267c5e00e668b2151294)
| * Zero more structs initially in LSA rpc server.Günther Deschner2008-03-041-0/+4
| | | | | | | | | | | | Guenther (cherry picked from commit d7ce643285276790a65faff76666498595a508d7) (This used to be commit 7867f40567503db32dbb13b4fca19792cf198505)
| * Fix crash bug in pdb_init_ldapsam().Günther Deschner2008-03-041-2/+2
| | | | | | | | | | | | | | | | Karolin, this needs to be in 3-2-stable. Guenther (cherry picked from commit 0d73bde6de4391e7aec862424762473441fa0905) (This used to be commit 4c2d6ce18daf07de7233e3e90bd24fa2a5f9e945)
| * Update release date.Karolin Seeger2008-03-041-1/+1
| | | | | | | | | | Karolin (This used to be commit 491535d0911c64869055b85a210c2ef076086b83)
| * Fix init_registry_data for subkeyless top-level keys.Günther Deschner2008-03-041-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 (cherry picked from commit 956bc602062825493e1c357e2388fee1e5514b50) (This used to be commit bf03cba57d3cfe07b8d848aa3b5a165bb198b7aa)
| * use constant name less likely to cause conflictDerrell Lipman2008-03-041-50/+50
| | | | | | | | | | (cherry picked from commit fd18b01016d1dc4b08983975353e62084fdc323c) (This used to be commit 4279cc49ff73d4503df2fd0c6176c3f90f67066c)
| * Missed a few 'deprecated' markersDerrell Lipman2008-03-042-3/+3
| | | | | | | | | | (cherry picked from commit 76ba37ac46b4a77fe228ca90635fa19140541ccd) (This used to be commit 7c2a0be9cb2916c07074d8d56d698721b02bcfc3)
| * Continued revamping of libsmbclient.Derrell Lipman2008-03-0416-1282/+1223
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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 (cherry picked from commit a67f96fbe9683b46c2149f7cb439d13f7f0e6ecd) (This used to be commit 046653403fadfa2d42decce7048eca6321b321c6)
| * Remove use of deprecated functionDerrell Lipman2008-03-045-8/+8
| | | | | | | | | | (cherry picked from commit 93580bce833453ba512ee436d6dfdbdcd2c53777) (This used to be commit 0621dfe10f1fd3d8ce04a039d2d44d6c67407746)
| * fixed missing white spaceDerrell Lipman2008-03-041-0/+1
| | | | | | | | | | (cherry picked from commit 71e86f13b0ace3841c6712084728c79db74ff803) (This used to be commit 8bf707c13794539029be2229f0c587b713b4fd20)
| * Update WHATSNEW for libsmbclient changesDerrell Lipman2008-03-041-0/+65
| | | | | | | | | | (cherry picked from commit f07407a32e178a47c8f9b3e3703aa5a20f0a4f06) (This used to be commit 938c6aef24c696be9bd247e43c7c5ec1f792dbd6)
| * Return NULL, not 0, from a function which returns a pointer.Derrell Lipman2008-03-042-3/+2
| | | | | | | | | | (cherry picked from commit 23cb9c49e3724cecaa66655ef64c3111bf14c552) (This used to be commit 9b4bd6473ed3f93c1bbfae3f82d0a100e832df48)
| * change variable name from f to fn for function pointersDerrell Lipman2008-03-041-37/+37
| | | | | | | | | | (cherry picked from commit 1fd65359f6cd07539cfe43146ac367a48708a678) (This used to be commit b7f10bd31dec8047ea996c4738a6db5535c9261a)
| * Comment was in wrong placeDerrell Lipman2008-03-041-4/+3
| | | | | | | | | | (cherry picked from commit dec70fa3c0424c148016cc667a3c159e16d8a944) (This used to be commit eb4d6dda1091199af7e62fb584525deb382978e2)
| * Mark smbc_option_{get,set} as deprecatedDerrell Lipman2008-03-041-23/+3
| | | | | | | | | | (cherry picked from commit a8b4b773d4647f28e7b92c5968469721d34eb550) (This used to be commit 7b05e264d58c65af37af457947548611fc77edce)
| * Additional revamped libsmbclient documentationDerrell Lipman2008-03-0414-2165/+2583
| | | | | | | | | | | | | | | | | | | | - Ensured that all public functions have documentation in libsmbclient.h - Reformatted for "proper" indentation - Re-added temporarily-disabled alternate authentication function capability Derrell (cherry picked from commit 64b7150d92849a1e1e2416b9dcc12fae8d6bea99) (This used to be commit dca8a612e94095e38df50f0fe567c75ceb8124fe)
| * Modified revamp of the libsmbclient interface.Derrell Lipman2008-03-0411-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 (cherry picked from commit 56429a3d60b2a48963342f6340b3c01469a892c6) (This used to be commit 7bc53f57dcb1c3bb80cb20796ebfc743c22a76e3)
| * Initial revamp of the libsmbclient interface.Derrell Lipman2008-03-0418-7635/+9227
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 (cherry picked from commit d4b4bae8ded824d06ad5ab0e219f71187ee5c771) (This used to be commit 59292c0da8880afd7bac82f6a5bba009f3827ea0)
| * Zero out the out policy handler in lsa_CloseVolker Lendecke2008-03-041-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 (cherry picked from commit 2c42fc21d8bede226e411623aecd69038477373b) (This used to be commit a94313e06a030e1a1afff18c797e700eb6b25248)
| * Restore 3.0 behaviour with empty /etc/hostsVolker Lendecke2008-03-031-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 4170259e5f83c281966a80916e4ece6937e08988)
| * Revert "Add basic infrastructure for general async requests"Volker Lendecke2008-03-034-159/+1
| | | | | | | | | | | | This reverts commit ae254cb61f4b9331755848c47ebc34e90dd80390. (cherry picked from commit 030bef7f22f7a73466204b7860f397dbca9f2ab0) (This used to be commit 575b829b390f7f07138305adc2988918eda95ce1)
| * Revert "Add infrastructure to support async SMB requests"Volker Lendecke2008-03-035-577/+1
| | | | | | | | | | | | This reverts commit f5356825698a02df2d400b51dd95d1f857c83e81. (cherry picked from commit 5f53a62be8a21b8d92ac44b18d202882500356e8) (This used to be commit 8beead9c936038365f28467e527b2c066e3a5440)
| * Revert "Add async cli_pull support"Volker Lendecke2008-03-032-440/+27
| | | | | | | | | | | | This reverts commit 844a163458c7585e4306a21ffdae5d08e03d6e4d. (cherry picked from commit 5ab1cfda500de07ff3c712442ab2fc74eecc8886) (This used to be commit 7821066d4ff4a8503a596ab342a2a84ed9a9f8b9)
| * Revert "Convert cli_read to use cli_pull"Volker Lendecke2008-03-031-15/+163
| | | | | | | | | | | | This reverts commit 719527f55e88f0c5fdceda5c807475aba299c79f. (cherry picked from commit ac301fada257e2d3b50148109a3d44fa1421b0b4) (This used to be commit 1bfc4404e7f7314111f979bd09321e39be76bf15)
| * Make sure we are still able to join Windows 2008.Günther Deschner2008-03-031-2/+1
| | | | | | | | | | | | Guenther (cherry picked from commit aa9c0f587718f4d647e87b9662acbedba042b9cb) (This used to be commit 851b53895807835fc9e6a4a1b3a2b4739ca7c63f)
| * Update WHATSNEW.Karolin Seeger2008-02-291-2/+2
| | | | | | | | | | | | | | Parameter 'hidden' has been renamed to 'administrative share'. Karolin (This used to be commit f2712698241dc7a0c75378fb8fd747b923d3248f)
| * Fix release script.Karolin Seeger2008-02-291-3/+10
| | | | | | | | (This used to be commit 400609bce5cd1ce7e3330b9f00bb1f08de9d3a12)