summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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)
| * Prepare for release 3.2.0pre2Karolin Seeger2008-02-291-2/+2
| | | | | | | | | | Karolin (This used to be commit efdf6faba161cae9d4a0a2c693ea0b261dc73ce2)
| * Patch to fix the "Invalid read of size 4" errors. Bug #3617.Jeremy Allison2008-02-291-0/+18
| | | | | | | | | | | | Jeremy. (cherry picked from commit fa12667ec284fdda45b79cbf6bf548ab0faae34f) (This used to be commit 5f00c79ac22ecfa846eebd910e7c25d326595f8e)
| * Rename the 'hidden' variable to 'administrative share'.Andreas Schneider2008-02-292-6/+6
| | | | | | | | | | (cherry picked from commit eff3d3bad5a8860b99375cc0be9dc24f3679e416) (This used to be commit 39f712048d7408ba91301b59752f2e87e894a3f0)
| * Fix linking of smbget when there is no shared library support.Michael Adam2008-02-291-1/+1
| | | | | | | | | | | | | | | | smbget needs libwbclient. Michael (cherry picked from commit 78bc496ecf72b5c2474911302e81a90c488e3070) (This used to be commit 901936edd33ae710c6f23bea528132ee5e10e097)
| * Fill in WHATSNEW.txt.Günther Deschner2008-02-291-2/+42
| | | | | | | | | | | | Guenther (cherry picked from commit 55e85ccd3ec59afc05b955f1458d9fc655cee752) (This used to be commit f85ddd10d644a7212922e1c7e8e2e2793e9703c8)
| * Merge commit 'origin/v3-2-test' into v3-2-stableKarolin Seeger2008-02-29501-53595/+80586
| |\ | | | | | | | | | | | | | | | | | | Conflicts: WHATSNEW.txt (This used to be commit a390bcf9403df4cf4d5eef42b35ebccbe253882e)
| * \ Merge branch 'v3-2-test-merge' into v3-2-stableGerald W. Carter2008-01-1612-292/+458
| |\ \ | | | | | | | | | | | | (This used to be commit 6993b6139419761c649f3ad54467a2c34f29382d)
| * | | Update release notes for vfs_ea_rename to complete the recent merge.Gerald (Jerry) Carter2008-01-151-1/+1
| | | | | | | | | | | | | | | | (This used to be commit ef2e825e1fe5493115d2b271c2f4198e9e5b1f47)
| * | | Merge commit 'samba/v3-2-test' into v3-2-stableGerald (Jerry) Carter2008-01-1523-216/+510
| |\ \ \ | | | | | | | | | | | | | | | (This used to be commit 5a527476a07ea43178dc5afeaf8ad78da8a4080c)
| * | | | Add notes from Michael Adam for the commit log in release notesGerald (Jerry) Carter2008-01-151-1/+10
| | | | | | | | | | | | | | | | | | | | (This used to be commit 04e0460c7e4adfe29a8c788e1912129c4c0c7e62)
| * | | | Merge commit 'samba/v3-2-test' into v3-2-stableGerald (Jerry) Carter2008-01-1518-102/+1105
| |\ \ \ \ | | | | | | | | | | | | | | | | | | (This used to be commit 061c90fefef0e6093dfc3912d381cc306549ed4b)
| * | | | | Add First draf of release notes.Gerald (Jerry) Carter2008-01-151-21/+115
| | | | | | | | | | | | | | | | | | | | | | | | (This used to be commit 5adf38606b4c6918412a3da76e6fb3298ac585af)
| * | | | | Merge commit 'samba/v3-2-test' into v3-2-stableGerald (Jerry) Carter2008-01-1419-230/+340
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | (This used to be commit bb36b74a4e8fa63672031145b6d39d79468241d9)
| * \ \ \ \ \ Merge commit 'samba/v3-2-test' into v3-2-stableGerald (Jerry) Carter2008-01-1492-1743/+1667
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | (This used to be commit 6811ea1ce2d46f7303b4edf661e27d2edf54724f)
| * | | | | | | Set the "stable" vendor string in VERSION.Gerald (Jerry) Carter2008-01-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (This used to be commit 22d2ff0bc4d1012cc3ffc7ab0fdbab5a8188a0cb)
* | | | | | | | Be more verbose why create local token has failed duringGünther Deschner2008-03-062-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NTLMSSP and Kerberos session setup Guenther (This used to be commit 18b8c2c19e50aee8fc900c7507244cb95014a4fa)
* | | | | | | | Fix an uninitialized variable, Coverity ID 481Volker Lendecke2008-03-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (This used to be commit 9e4f576abfdd5605f4db9bb87c22ec68c94ff850)
* | | | | | | | Fix a memleakVolker Lendecke2008-03-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes Coverity ID 557 (This used to be commit fe882a575152233de6f4bf2143aca681319b0226)
* | | | | | | | Check the right pointer for non-NULLVolker Lendecke2008-03-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix Coverity ID 558, 559 (This used to be commit 8e33d19d93ef57a9438aad085aaf04b7c09fe09b)
* | | | | | | | Make test: set LD_LIBRARY_PATH for make test_shlibs and friends.Michael Adam2008-03-061-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Michael (This used to be commit 21a527569bccff8e8cb6e751c9f3fce6ff598204)
* | | | | | | | Respect FAMChanged -- attempt to fix bug 5307Volker Lendecke2008-03-061-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thanks to Ricardo Santos (This used to be commit 8ef57a34ebf24e577ba7bca57a5456c1f78a3659)
* | | | | | | | Fix lp_load with an empty registry and "config backend = registry". Michael, ↵Günther Deschner2008-03-061-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | please check. Guenther (This used to be commit d9f4060c660da0ad671e061b123df71d109d51b9)
* | | | | | | | In libnetapi, point out that lp_load has failed.Günther Deschner2008-03-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Guenther (This used to be commit be673bfc61559f661040c6fb1ba7d2e4552967f2)
* | | | | | | | Test: Properly track current test binary for tracking crashes.Michael Adam2008-03-061-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure the panic action always has the right test binary set. Michael (This used to be commit 567ac329dcec6fc839d6b25cbf1872f1f51ff7e5)
* | | | | | | | Build: fix bin/net on Solaris - use -ltdb instead of bin/libtdb.soMichael Adam2008-03-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reported by Christian McHugh <christian.mchugh@nau.edu> on the samba ML. Michael (This used to be commit 3398403c22c0f39b0d91621d81e31004fc8d28bc)
* | | | | | | | Fix coverity ID 525, 526, 527, 528, 529 and 530Volker Lendecke2008-03-051-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. (This used to be commit 6cac3127312acaac65fcd54280605605765787ad)
* | | | | | | | Fix build targets for bin/net.Günther Deschner2008-03-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Guenther (This used to be commit 5159e3dafa9f9bb85cde6681052d8f54b8bf8a2e)
* | | | | | | | Another build fix for pam_smbpass: make sure libwbclient is there.Günther Deschner2008-03-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Guenther (This used to be commit f6762f9cd0b2ace46e16d246adf2e386749650f9)
* | | | | | | | Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-testJelmer Vernooij2008-03-05306-30993/+39257
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | (This used to be commit 3482cd9b0e81bbc801f1cec33fca82fc45a3ddef)
| * | | | | | | | Fix Coverity ID 565Volker Lendecke2008-03-051-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This would crash safely (This used to be commit 0f14357c86aee9a76ffbb45ea6419f4cc4106d62)
| * | | | | | | | Fix a memleak -- Coverity ID 222Volker Lendecke2008-03-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit a40781bafa3a8f0c7737164bca6cf74b0a452e72) (This used to be commit 86cabcad74ac06d888f2a352a2bef3abea1ed85c)
| * | | | | | | | Revert "Make sure to generate pkgconfig files for libtdb and libtalloc."Günther Deschner2008-03-051-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This uses incorrect version numbers for tdb and talloc. Guenther This reverts commit df97fb019b89a147a0a2c560003d74c354fcc4b6. (This used to be commit ead849949b1b879e2bc4a6b1f7c3d2df1962170a)
| * | | | | | | | Make sure to generate pkgconfig files for libtdb and libtalloc.Günther Deschner2008-03-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Guenther (This used to be commit df97fb019b89a147a0a2c560003d74c354fcc4b6)
| * | | | | | | | Give a better error message why NetServerSetInfo() may fail in the gui.Günther Deschner2008-03-052-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Guenther (This used to be commit 1bbbebb7767b8a25532e8be3dbd274c211e34bbd)
| * | | | | | | | Makefile: reformat - break long target lines.Michael Adam2008-03-051-64/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Michael (This used to be commit e26133808469cb7e9acc41cb15219d7b736d228a)
| * | | | | | | | Makefile: untangle -ltalloc from LIBS, making use of libtalloc explicit.Michael Adam2008-03-051-60/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Michael (This used to be commit 237ea62a49fbf47634b55795c1065250d5148600)
| * | | | | | | | Add PICFLAG to libnetapi Makefile.Günther Deschner2008-03-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Guenther (This used to be commit 29fca3c0353f2be4577613d7e38fbc51d2a370fa)