summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r7472: fix smbpasswd user password change (still worked by bad error ↵Gerald Carter1-2/+2
messages) due to trying to strdup a NULL pointer (This used to be commit a48ff479dd4fe99d199ff934aae14ac6e688d8f4)
2007-10-10r7415: * big change -- volker's new async winbindd from trunkGerald Carter3-194/+124
(This used to be commit a0ac9a8ffd4af31a0ebc423b4acbb2f043d865b8)
2007-10-10r7391: - Added client-support for various lsa_query_trust_dom_info-calls and aGünther Deschner1-0/+66
rpcclient-tester for some info-levels. Jerry, I tried to adopt to prs_pointer() where possible and to not interfere with your work for usrmgr. - Add "net rpc trustdom vampire"-tool. This allows to retrieve Interdomain Trust(ed)-Relationships from NT4-Servers including cleartext-passwords (still stored in the local secrets.tdb). The net-hook was done in cooperation with Lars Mueller <lmuelle@suse.de>. To vampire trusted domains simply call: net rpc trustdom vampire -S nt4dc -Uadmin%pass Guenther (This used to be commit 512585293963a1737f831af697ea1dc092d63cb0)
2007-10-10r7339: only check for dfs proxy referrals when the server supports dfsGerald Carter1-1/+1
(This used to be commit 9e93244fa5bd06b142a980d4090fa8f95afc983a)
2007-10-10r7245: bug fixes in libsmbclient, setting time attributesDerrell Lipman1-2/+11
(This used to be commit bf33902c059b7f222f89673ce07c8f929860a85f)
2007-10-10r7175: fix incorrect commentDerrell Lipman1-1/+4
(This used to be commit 6f951c863ea4671a62075c6ac963f198fbf322b1)
2007-10-10r7172: This is the proper fix for setting file times from libsmbclient. We nowDerrell Lipman3-85/+243
try setpathinfo, and if that doesn't work (e.g. on win98), revert to the previous slower method. (This used to be commit 6c05812bd90b0db69d974ee2758721dc2974a507)
2007-10-10r7168: Updating file times from libsmbclient was not working for win98. ↵Derrell Lipman2-37/+68
Although the function that was being used to set attributes is a core protocol function (SMBsetatr = 0x09), it does not appear to work on win98. As a temporary measure, when file times are to be set, this version opens the file and uses SMBsetattrE = 0x22 instead. (The other advantage of this function over the original one is that it supports setting access time as well as modification time.) The next step, the proper solution if it can be made to work, is to write functions that use TRANS2_SET_PATH_INFO instead. (This used to be commit bab0bf7f4f9d2a4b6fcee4429094349302bbeb33)
2007-10-10r7157: Ensure we abort a directory listing if we see the sameJeremy Allison1-0/+7
name twice between packets. Jeremy. (This used to be commit f9063b383ed2c53841ac27691b6a593b80c20b12)
2007-10-10r7151: Fix for bug #2698. If a unicode to unix charset conversion fails (due ↵Jeremy Allison1-10/+40
to buggy iconv?) we can be left with a filename that doesn't exist on the remote machine. If we then do a findnext with this file the server gets confused and restarts from the beginning of the directory, causing directory listing loops. Fix this by keeping a copy of the "raw" filename data and length and using this as the argument to findnext. This won't fix the incorrect iconv conversion into the finfo struct but at least it ensures that directory listings always terminate. Tested against NTFS and FAT directories. Jeremy. (This used to be commit 848940d5a91b310e58d0631ead293418ea4186f0)
2007-10-10r7139: trying to reduce the number of diffs between trunk and 3.0; changing ↵Gerald Carter2-11/+7
version to 3.0.20pre1 (This used to be commit 9727d05241574042dd3aa8844ae5c701d22e2da1)
2007-10-10r7033: Call a spade a spade :-).Jeremy Allison2-91/+85
Jeremy. (This used to be commit f5027f6370bd085a8d4c1a221881eebb0e4ffbab)
2007-10-10r7031: Added encrypt/decrypt function for LSA secrets and trustedJeremy Allison2-1/+30
domain passwords on the wire. Jeremy. (This used to be commit f82dcac25faf7876655cb1839846cc5e01e4add7)
2007-10-10r6994: Fix for bugid #2729 - it turns out resume keys are *mandatory* forJeremy Allison1-5/+11
a search when listing a W2K and above server from a FATxx filesystem only. Thanks to Steve Langasek <vorlon@debian.org> for giving me the essential info that allowed me to reproduce and thus fix this. Jeremy. (This used to be commit 8227675d3dbcd4f8bb2a24ea7e3e05c428b7c929)
2007-10-10r6753: Fixes bug 2663. cli_getattrE() and cli_setattrE() were not formatting orDerrell Lipman1-6/+6
parsing the timestamp values correctly. It turns out they were using the incorrect function for formatting and parsing values. Thanks to Satwik Hebbar for reporting this and testing the patch. (This used to be commit 9144778d09c1650a775fdd08767ac65189fad457)
2007-10-10r6706: * fix bug that prevented smbclient from creating directoriesGerald Carter1-3/+11
on non-dfs paths * add patch from James Peach to remove use of uninitialized variables (This used to be commit c71f20f1ae5ccfd49cf81af0299c96fe27351222)
2007-10-10r6685: smbclient fixesGerald Carter1-5/+64
* BUG 2680: copy files from an MSDFS win2k root share * BUG 2688: re-implement support for the -P (--port) option * support connecting to an 'msdfs proxy' share on a Samba server (This used to be commit 9e3e473632fee669eda477d8cbe309b7109552ea)
2007-10-10r6595: This is Volkers new-talloc patch. Just got the go-ahead fromJeremy Allison1-1/+1
Volker to commit. Woo Hoo ! Jeremy. (This used to be commit 316df944a456f150944761dab34add5e8c4ab699)
2007-10-10r6586: get rid of a few more compiler warningsHerb Lewis1-1/+3
(This used to be commit 173375f8d88bf8e8db8d60e5d5f0e5dcc28767d9)
2007-10-10r6447: Add missing error mapping for EMLINK to NT_STATUS_TOO_MANY_LINKS (we ↵Steve French1-0/+1
have it the other direction in clierror already). This fixes the return code when we try to hardlink from a client. (This used to be commit ccbdffb94e22c17b03b0a464071df027ebdc6264)
2007-10-10r6392: - Fixes bug 2564: when smbc_opendir() was called with a file rather thanDerrell Lipman6-37/+48
a directory, the errno returned could end up as ENOENT rather than ENOTDIR. - Fixes some compiler warnings which showed up on IRIX, as reported by James Peach. (This used to be commit 615a62b21f8d2f7f97bde2f166ddd6849d39b95c)
2007-10-10r6275: Implement RAP version of enumusers/enumgroups level 0. No, I've not ↵Volker Lendecke1-0/+124
gone mad, this is to test future changes to enumeration functions... This can successfully list users from nt4 and w2k3sp1. Volker (This used to be commit c73f2656fd89e227a8a3e2ab20f7393ff2c515c7)
2007-10-10r6225: get rid of warnings from my compiler about nested externsHerb Lewis4-7/+8
(This used to be commit efea76ac71412f8622cd233912309e91b9ea52da)
2007-10-10r6156: Fixes bug #2543. Properly cache anonmous username when reverting to ↵Derrell Lipman1-9/+20
anonymous login, in libsmbclient. (This used to be commit cf2dcc110824cb3a4ce4e4bf608de25b7cfc2054)
2007-10-10r6155: Fixes bug #1133Derrell Lipman1-4/+19
Added provision for overloading some global configuration options via the new, per-user file ~/.smb/smb.conf.append which is read after the global config file is read (and only if the global config file was read). This leave the original, BC behavior of ~/.smb/smb.conf which, if found, is read but causes the global config file to not be read. Also fixed a potential seg fault in to lp_dump_one(). (This used to be commit 2c5a6305bd127b1a7e65356c2b3aa5c13cd2bd74)
2007-10-10r6149: Fixes bugs #2498 and 2484.Derrell Lipman4-340/+501
1. using smbc_getxattr() et al, one may now request all access control entities in the ACL without getting all other NT attributes. 2. added the ability to exclude specified attributes from the result set provided by smbc_getxattr() et al, when requesting all attributes, all NT attributes, or all DOS attributes. 3. eliminated all compiler warnings, including when --enable-developer compiler flags are in use. removed -Wcast-qual flag from list, as that is specifically to force warnings in the case of casting away qualifiers. Note: In the process of eliminating compiler warnings, a few nasties were discovered. In the file libads/sasl.c, PRIVATE kerberos interfaces are being used; and in libsmb/clikrb5.c, both PRIAVE and DEPRECATED kerberos interfaces are being used. Someone who knows kerberos should look at these and determine if there is an alternate method of accomplishing the task. (This used to be commit 994694f7f26da5099f071e1381271a70407f33bb)
2007-10-10r6127: Eliminated all compiler warnings pertaining to mismatched ↵Derrell Lipman1-6/+6
"qualifiers". The whole of samba comiles warning-free with the default compiler flags. Temporarily defined -Wall to locate other potential problems. Found an unused static function (#ifdefed out rather than deleted, in case it's needed for something in progress). There are also a number of uses of undeclared functions, mostly krb5_*. Files with these problems need to have appropriate header files included, but they are not fixed in this update. oplock_linux.c.c has undefined functions capget() and capset(), which need to have "#undef _POSIX_SOURCE" specified before including <sys/capability.h>, but that could potentially have other side effects, so that remains uncorrected as well. The flag -Wall should be added permanently to CFLAGS, and all warnings then generated should be eliminated. (This used to be commit 5b19ede88ed80318e392f8017f4573fbb2ecbe0f)
2007-10-10r6125: smbc_stat() returned incorrect timestamps IFF it used cli_qpathinfo2() toDerrell Lipman1-4/+4
retrieve the timestamps (Win2k) and not if it used cli-getatr() to retrieve the timestamps (Win98). Timestamps are supposed to be in GMT, and should not have serverzone deducted from them in cli_qpathinfo2(). (This used to be commit 443d8df94c2937b7d458b7228bdc1d433581558a)
2007-10-10r6120: Added "volume" command to smbclient that prints out the volume name andJeremy Allison1-0/+115
serial number. Jeremy. (This used to be commit c69623072e4112a4719867ea4809f5145b3cb64c)
2007-10-10r6102: add support for opening a file for write with O_APPEND in libsmbclientDerrell Lipman1-1/+35
(This used to be commit 542922cb2e5c8e7522f14492418686c339f0a5a4)
2007-10-10r6051: finish offGerald Carter1-0/+1
net rpc service stop net rpc service start net rpc service pause net rpc service resume (This used to be commit a7fb2c50b07a7d9965675272a71f42beba92acfe)
2007-10-10r6038: adding more flesh to 'net rpc service'Gerald Carter1-0/+1
open and close the service control manager. Also experimenting with ideas for cli_xxx() interface. (This used to be commit 4da89ef17b8c4644b97b923cebfe8e446b508b4d)
2007-10-10r5994: proper fix for smbclient and win98 file servers; check the WCT value ↵Gerald Carter2-21/+7
in the tcon&X reply before setting the cli_state->dfsroot flag (This used to be commit d3822d889dbc0812335e9242566256a0f88bc00d)
2007-10-10r5991: Fixup last entry offset correctly for level 260.Jeremy Allison1-6/+10
Should fix bug found by Derrell.Lipman@UnwiredUniverse.com. Jeremy. (This used to be commit 5ded615679e346d1ea155cde3413396d3e3c3a6b)
2007-10-10r5981: Hack to fix DFS code to work with Win98 server. JERRY PLEASE REVIEW ↵Jeremy Allison1-1/+19
THIS ! I don't think this is correct - it just happens to work and fix bug #2530 to return all the files. Jeremy. (This used to be commit 1ee180a6dd7f8d787396f359a8ff3ed25433357b)
2007-10-10r5975: Re-arrange code and comments to make more sense.Jeremy Allison1-12/+10
Jeremy. (This used to be commit 08616ad80d96d1b7b558eec036bafb4bf3663942)
2007-10-10r5973: Fix up overwrite of last 2 bytes on clilist (could cause coredump).Jeremy Allison1-4/+1
Jeremy. (This used to be commit b0de2d761f6697ca1f4859ba098af6162ab42027)
2007-10-10r5970: Fix old bug where ff_searchcount was being compared -1 ! This caused aJeremy Allison1-1/+1
filename to be processed twice. Jeremy. (This used to be commit 2ed7e30cbb3e194a08d5d9b46993652666193bec)
2007-10-10r5968: derrell's large file fix for libsmbclient (BUG 2505)Gerald Carter3-49/+48
(This used to be commit 85be4c5df398faa6c5bfacd1f9d2f12c39d411e1)
2007-10-10r5967: Fix typo bug where flags overwrote info level.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 214a2cbe5aed9f0540b03350b60d0eec1c61bad8)
2007-10-10r5961: final round of compiler warning fixes based on feedback from Jason MaderGerald Carter1-1/+1
(This used to be commit 9e77da9320c900b3e437d534e31fa5ff81e9acfd)
2007-10-10r5953: more compiler cleanups; moved SID_LIST from smb.h to privileges.c to ↵Gerald Carter1-1/+1
cleanup the name space (This used to be commit 7dfafa712deb115e425c7367296400c54827a217)
2007-10-10r5952: BUG 2469: patch from Jason Mader to cleanup compiler warning when not ↵Gerald Carter1-0/+4
using krb5 (This used to be commit 19a639ac468237b22f16d917c0150fbf10c9623e)
2007-10-10r5851: BUG 2456: reported by Jason Mader; remove non standard pragma (my ↵Gerald Carter1-2/+0
fault); should fix some builds with non-gcc compilers (This used to be commit 300150a1bee1bf927236c6d9942784a1359e7054)
2007-10-10r5840: Fix findfirst/findnext with protocol level < NT1.Jeremy Allison1-2/+3
Jeremy. (This used to be commit d53b5891a7d372b3ed2488bac06939d29388f709)
2007-10-10r5835: Make smbclient obey the max protocol argument again.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 7cb9618e5de8aae5e910e620e70ea130b76f6099)
2007-10-10r5806: * fix a couple more segvs in spoolssGerald Carter1-0/+3
* comment out unused variable after jra's change to revert the 56bit des smb signing changes (This used to be commit 13ed08cd2a1097021cc44f4109859ba89db7df81)
2007-10-10r5804: Revert the signing change by Nalin Dahyabhai <nalin@redhat.com>.Jeremy Allison1-1/+4
Seems to be incorrect (several user reports). Jeremy. (This used to be commit 0abfb67c79dde280b3dae14a7c7bcdb5f4d58e44)
2007-10-10r5752: implement derrell's solution for binary compatibilty in the _SMBCCTX ↵Gerald Carter2-10/+8
structure; note that we break compat with 3.0.11 but are ok with earlier versions (This used to be commit 6e8d171551bfe480cb1a526469defc33276550f6)
2007-10-10r5738: fix my build breakage; fix a few compiler warningsGerald Carter2-4/+2
(This used to be commit acbe9efeb6de33610776560978f8632cbb847821)