summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2008-02-27Use new LSA_POLICY defines in lsa rpc server code and other places.Günther Deschner1-1/+1
Guenther (This used to be commit 58cca9faf9db506bd2f6eab4a99ef85153797ab2)
2008-02-26add smbc_ftruncate() to emulate POSIX ftruncate()Derrell Lipman2-0/+81
(This used to be commit 6f5051b9c1405ab1dc3e697419ceedb3acac46d8)
2008-02-26add a function to truncate a file to a specified sizeDerrell Lipman1-0/+49
(This used to be commit 7e5752812d6d9e3bcf9a545cbdcf3afe2175dbc4)
2008-02-25Fix some warningsVolker Lendecke1-2/+1
warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result (This used to be commit ad37b7b0aee265a3e4d8b7552610f4b9a105434d)
2008-02-23Fix typoVolker Lendecke1-2/+2
(This used to be commit 621db68f32f7007de8b2c4d7cf604a5778725615)
2008-02-23Fix a C++ warningVolker Lendecke1-1/+2
(This used to be commit ac027a9b2e84d319f961ac0e84654a0e48920138)
2008-02-20Fix memory leaks on error pathTim Potter1-1/+8
(This used to be commit 47dd0700b4320bf5ac9a80e71ae82d82d4554e6a)
2008-02-17Remove unused creds_client_check and creds_client_step.Günther Deschner1-23/+0
Guenther (This used to be commit 1dcb32424d16cff968a8713352c93c48dec58674)
2008-02-17Use new IDL based PAC structures in clikrb5.cGünther Deschner1-7/+7
Guenther (This used to be commit 3b0135d57e1e70175a5eec49b603a2e5f700c770)
2008-02-17Use netr_SamInfo3 in samlogon cache and use ndr functions for storing the blob.Günther Deschner1-98/+119
Guenther (This used to be commit bf860ae1ac6765b1eb6e2ca9b667b19b4e661fda)
2008-02-16Use rpccli_netr_ServerPasswordSet in "just_change_the_password()".Günther Deschner1-1/+26
Guenther (This used to be commit 33f91c894488687a42500e751eb9016d99d9129c)
2008-02-16Remove unused creds_server_check and creds_server_step.Günther Deschner1-41/+0
Guenther (This used to be commit 2fb73a3545634982d17d3823cb629f06c5779fc0)
2008-02-15Replace DOM_CHAL with "struct netr_Credential" where we can right now.Günther Deschner1-15/+17
This allows to remove some more old netlogon client calls. Guenther (This used to be commit c0b1a876583230a5130f5df1965d6c742961bcdc)
2008-02-15Add netlogon_creds_server_check and netlogon_creds_server_step.Günther Deschner1-0/+45
Guenther (This used to be commit ea0bf74918e7b009439452ea14ed68b0ce620787)
2008-02-15Add netlogon_creds_client_check and netlogon_creds_client_step.Günther Deschner1-0/+31
Guenther (This used to be commit 41d33a2507e3fae7837bb8e42b1ac30cc31c31dc)
2008-02-14Allow the mechOID to be written separately.Jeremy Allison1-2/+4
Jeremy. (This used to be commit e3e08c6e7d270e1be7a9d3042b1f36f5a291f90a)
2008-02-13Use rpccli_lsa_EnumTrustDom all over the place.Günther Deschner1-2/+26
Guenther (This used to be commit a25e7ffbca9c2c97dd36b0596e7cb38a72aaf9d9)
2008-02-11Add a missing returnVolker Lendecke1-1/+1
If I'm not completely blind, we should return here. Not doing it here seems not to be a major flaw, as far as I can see we're only missing the error code. This might account for some of the very unhelpful NT_STATUS_UNSUCCESSFUL error messages people see during joins. All with stake in Samba client, please check! (This used to be commit eadd15c9363a57c214ede3c489057646baca48f8)
2008-02-08We don't need the extra null termination - we'veJeremy Allison1-9/+4
already got this in the cli_receive_trans calls. Jeremy. (This used to be commit 99424bba7bb45b05d970bab4a5e93f2cb636fcbb)
2008-02-08Make clilist work again with OS/2 (kukks help!).Jeremy Allison1-1/+17
Jeremy. (This used to be commit 2e27309401faa554620886b0e369db9d9c08e4fd)
2008-02-08From kukks - prevent crashes if finfo.name == NULL.Jeremy Allison1-0/+11
Jeremy. (This used to be commit 101f194795f87c709abfdfbcde710131a88f9d20)
2008-02-08Try and fix length and finfo calls for older clients. WorkingJeremy Allison1-7/+21
on issues reported by kukks. Jeremy. (This used to be commit dcd77dd4f480db3273a56c5740b6e5d78f8be4a9)
2008-02-08Fix bug reported on IRC enumerating shares with OS/2.Jeremy Allison1-3/+4
Report and fix from kukks (thanks once again !). Jeremy. (This used to be commit 3ca58b792fb10ff2a4c25283c587f8270ed82d74)
2008-02-08Fix some typos.Karolin Seeger1-1/+1
Karolin (This used to be commit 2bec0a1fb7857e6fb8ec15e5f597b2d4125f105b)
2008-02-02Convert receive_smb_raw to NTSTATUSVolker Lendecke1-4/+25
(This used to be commit ba771bd858602452a9e58c3aab1336f2ac8a25ef)
2008-02-02read_socket_with_timeout_ntstatus->read_socket_with_timeoutVolker Lendecke1-1/+1
(This used to be commit 90554799afa42855c3e7b87dc632e67f0952f988)
2008-02-02Get rid of read_socket_with_timeoutVolker Lendecke1-2/+22
(This used to be commit f9c8ac83ff42137d2101d3bb17e5dcc3c3d70a8f)
2008-01-29Eliminate remote tree of dsgetdcname (which will happen in libnetapi then).Günther Deschner1-100/+14
Guenther (This used to be commit fd490d236b1fb73a75c457b75128c9b98719418f)
2008-01-27Adding missing calls to va_end().Tim Potter1-4/+19
Just a small commit to get a handle on this git thingy. This patch fixes some missing calls to va_end() to match various calls to va_start() and VA_COPY(). Tim. (This used to be commit ec367f307dff7948722b9ac97beb960efd91991f)
2008-01-24Add WERR_INVALID_COMPUTER_NAME.Günther Deschner1-0/+1
Guenther (This used to be commit cb1ff32eff06031150a6821658152e02a4077bbd)
2008-01-23Merge branch 'setxattr-dos-mode' into v3-2-testDerrell Lipman1-1/+9
(This used to be commit 4c08725a42a8babf0f078fb4b221a96f58deeb50)
2008-01-23Allow clearing all settable DOS mode bits. A mode value of zero is ignored byDerrell Lipman1-1/+9
Windows. If the requested mode is zero, we instead send the appropriate one of 0x80 (NORMAL) or 0x10 (DIRECTORY). Thanks Jeremy! Derrell (This used to be commit 54abf7d0e595e9cbeea115a40d4f7b995252a150)
2008-01-23Don't leak memory in error path.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 2df0cdaafdced798f81e30d34371aa1d8e963208)
2008-01-23Use strchr_m in seaching for '.' in the hostname to make sure we're mb safe.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 090061b73a1c086ff8a7797e1a63532eacd91148)
2008-01-23Fix Windows 2008 (Longhorn) join.Andreas Schneider1-1/+15
During 'net ads join' the cli->desthost is a hostname (e.g. rupert.galaxy.site). Check if we have a hostname and use only the first part, the machine name, of the string. (This used to be commit 5f60ed4af680ba2811db8d9f8267348ce05f26d2)
2008-01-23Windows 2008 (Longhorn) auth2 flag fixes.Andreas Schneider1-1/+1
Interop fixes for AD specific flags. Original patch from Todd Stetcher. (This used to be commit 5aadfcdaacd6f136eab9e107a88b8544e6d2105f)
2008-01-23read_socket_with_timeout has timeout=0 handlingVolker Lendecke1-6/+2
(This used to be commit 7101026061c470ed962267b43ac0aa67cc761a64)
2008-01-18Fix typo that disabled setting group id. Thanks, Henrik.Derrell Lipman1-1/+1
(This used to be commit 843e1694cfe4a999ed14a9c215b8e77723d0fe79)
2008-01-18Add the "allinfo" command to smbclientVolker Lendecke1-0/+131
Modeled after the Samba4 allinfo command (This used to be commit 3fa0cf3fe5f819f6e76df6f7cef3bb4e1c307a52)
2008-01-18Add and correct some WERROR codes.Michael Adam1-1/+7
Michael (This used to be commit 7aec862ddc2aa2b5152c3a452971e55ba43646a5)
2008-01-17Fix bug 5185: repeated calls to smbc_getxattr() lose sid-name mappingDerrell Lipman1-46/+37
If we're going to cache connections to IPC$, we'd better also cache the policy handle and not use a stack-based handle that's invalid on subsequent calls. Derrell (This used to be commit 67c415661f6466c21cd0eaafabe58cba049d2af3)
2008-01-17Fix stat results to be consistent between smbc_stat and smbc_fstat.Derrell Lipman1-1/+4
We create a kludged inode based on the checksum of the path. We therefore need to use the same (full) path when calculating it in both smbc_stat() and smbc_fstat(). If struct stat has an rdev field, set it to zero. Derrell (This used to be commit b4282fbd6d27d868b2d5c04bb72d2d7421822da1)
2008-01-16Fix bug found by Derrell - windows returns an read returnJeremy Allison1-21/+28
offset of zero if return size is zero. Should fix testread libsmbclient code. Jeremy. (This used to be commit df3c4648399f8d62ff6fe0013be8b89abc18f0f0)
2008-01-16Make resolve_ads() static.Günther Deschner1-5/+5
Guenther (This used to be commit 57dc747136e880a25c03bdc4a1431fc41afd93a1)
2008-01-16Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-testDerrell Lipman2-273/+311
(This used to be commit f963d57096184dd9381fcc5f175150d27460ea7a)
2008-01-15Fix the API exported for auth_functions. Ensure we callJeremy Allison1-272/+310
passing 3 fstrings/sizeof(fstrings) as 3.0.x did. Found by Derrell. Derrell please test ! Thanks, Jeremy. (This used to be commit 5467db388355a4769e48fed7eb80920d1820f727)
2008-01-15libsmb: Do not upper-case target name on NTLMv2 hash generationKai Blin1-1/+1
This makes our NTLMv2 hash generation compatible to the Davenport example and fixes a bug when ntlm_auth is called with a non-upper-case --domain parameter and client ntlmv2 auth = yes Jerry, please consider for 3.2.0 (This used to be commit ecbe08897c9cc47790f3d4f5680d25202bc0f6c3)
2008-01-15Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-testDerrell Lipman2-13/+9
(This used to be commit 3a61e663e51fe620225691bc8673bf8800a36f47)
2008-01-14Windows insists on write sizes < max_xmit on signed connections.Jeremy Allison1-3/+6
Jeremy. (This used to be commit ef9b278b6289a9ecdd6b103927058f64fbb7eb97)
2008-01-13Fix smbc_listxattr() and friends (bug #5189)Derrell Lipman1-4/+7
When the capability of using full names for DOS attributes was added, a bug was introduced which caused the wrong number of bytes to be returned. This patch to smbc_listxattr_ctx() fixes the problem. Thanks to Jack Schmidt for this patch. Derrell (This used to be commit 913c335d21c503d32b35bf65da7b2bddf0473875)