summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r10176: adding smbctool from Kalim's SoC project; requires make bin/smbctoolGerald Carter1-36/+253
(This used to be commit 79fcc3bb7b955da5eb1b2af475aa6ef7694a7157)
2007-10-10r10150: Fix from Steve Williams <steve@celineandsteve.com> to make the argsJeremy Allison1-2/+2
consistent (uint64_t). Jeremy. (This used to be commit 08de7261720f7bfd72396ea7c9777dc0734c4593)
2007-10-10r10135: Remove external dependencies for libsmbsharemodes.soJeremy Allison1-10/+11
Jeremy. (This used to be commit 2521ae826f1a0344c882090832646d56f248488f)
2007-10-10r10054: Actually use the given db path (:-)Jeremy Allison1-1/+5
Jeremy. (This used to be commit ac7cf320dfa2fd980188e72c9b8baa726c5cdaa1)
2007-10-10r10042: Add in external LGPL library for accessing the share mode db. AllowJeremy Allison1-0/+452
others to examine & test. May not end up here eventually... Jeremy. (This used to be commit 7cc70ae63399eacd55bd0bf51ac2c7b004d761bf)
2007-10-10r10001: adding in libmsrpc from Chris Nicholls (SoC project). not built by ↵Gerald Carter1-20/+23
default per conversation with Jeremy until the rpc changes from trunk are merged back (This used to be commit e813de1e522692a6471828bf1fdf503d33f8cd72)
2007-10-10r9958: revert last commit.Günther Deschner1-1/+1
Guenther (This used to be commit 351c783295672a327b6040537bd09d91dd210e53)
2007-10-10r9955: Fix misleading comments.Günther Deschner1-1/+1
Guenther (This used to be commit 0c3b7499d4bf11805a9fc5db88eb62dd003481af)
2007-10-10r9590: forget to remove this from the 3.0 treeGerald Carter1-0/+0
(This used to be commit 74f8718438c73170d394c61eb91da9d8388f84d0)
2007-10-10r9588: remove netsamlogon_cache interface...everything seems to work fine. ↵Gerald Carter1-247/+0
Will deal with any fallout from special environments using a non-cache solution (This used to be commit e1de6f238f3981d81e49fb41919fdce4f07c8280)
2007-10-10r9112: Fix #2953 - credentials chain on DC gets out of sync with client whenJim McDonough1-2/+30
NT_STATUS_NO_USER returned. We were moving to the next step in the chain when the client wasn't. Only update when the user logs on. (This used to be commit b01a3a4111f544eef5bd678237d07a82d1ce9c22)
2007-10-10r8572: Remove crufty #define NO_SYSLOG as it's not used at all anymore.Tim Potter14-28/+0
(This used to be commit 985dbb47d925e79c1195ca219f7ab5d6648b22b8)
2007-10-10r8475: BUG 2872: fix cut-n-paste error when checking pointer value in ↵Gerald Carter1-1/+1
ntlmssp_set_workstation() (This used to be commit f1763c5decd14eb71ee3d7ea71859a85d5ee0dc1)
2007-10-10r8219: Merge the new open code from HEAD to 3.0. Haven't yet run the tortureJeremy Allison2-3/+3
tests on this as it's very late NY time (just wanted to get this work into the tree). I'll test this over the weekend.... Jerry - in looking at the difference between the two trees there seem to be some printing/ntprinting.c and registry changes we might want to examine to try keep in sync. Jeremy. (This used to be commit c7fe18761e2c753afbffd3a78abff46472a9b8eb)
2007-10-10r8184: fix build issue on Solaris in smbclientGerald Carter1-0/+5
(This used to be commit 137d270ee3bec297732380050bb53cf6b5487914)
2007-10-10r8093: Next round. Now it compiles with --enable-socket-wrapper.Volker Lendecke2-10/+10
Volker (This used to be commit 25cbcfba30f534f3fb31627ba43421c42ccd5b0f)
2007-10-10r8064: * add the REG_XXX error codes to the pretty error messagesGerald Carter1-0/+3
* more work on the store_values() functions for the Printers key * add Control\Print\Monitors key to list for reg_db (This used to be commit 89f17b41cee633838b8cbd0d1bf8119a4b8d707e)
2007-10-10r7954: Fix from tridge from Samba4 (same code exists here) :Jeremy Allison1-1/+10
fixed handling of ASN.1 objects bigger than 64k Jeremy. (This used to be commit 0da60e9954b84bac29bb219803f6175b7a30b591)
2007-10-10r7882: Looks like a large patch - but what it actually does is make SambaJeremy Allison6-31/+31
safe for using our headers and linking with C++ modules. Stops us from using C++ reserved keywords in our code. Jeremy (This used to be commit 9506b8e145982b1160a2f0aee5c9b7a54980940a)
2007-10-10r7817: Eliminate use of ctime_r() in libsmbclient DEBUG statement. It seems ↵Derrell Lipman1-4/+16
that ctime_r() takes different parameters on Solaris than it does on Linux, and it's easier to just eliminate the use of it than to write a configure test. (This used to be commit 513ea79b2ebc9a78c118042abca942da061d4647)
2007-10-10r7606: add WERR_NET_NAME_NOT_FOUND. This is what windows returns whenGünther Deschner1-0/+1
trying to manipulate non-existing shares. Guenther (This used to be commit 2e5cb531ab8a8babbc425b22d17a39c18f602d4f)
2007-10-10r7554: Refactor very messy code in util_sock.c Remove ↵Jeremy Allison1-0/+15
write_socket_data/read_socket_data as they do nothing that write_socket/read_socket don't do. Add a more useful error message when read_socket/write_socket error out on the main client fd for a process (ie. try and list the IP of the client that errored). Jeremy. (This used to be commit cbd7578e7c226e6a8002542141b914ed4c7a8269)
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)