1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

13565 Commits

Author SHA1 Message Date
Steve French
69861f168c r77: Fix path canonicalization of the mount target path and help text display in the cifs mount helper 2007-10-10 10:51:07 -05:00
Alexander Bokovoy
738666ce0a r76: Fix smbfs problem with Tree Disconnect issued before smbfs starts its work.
We use cli_state.smb_rw_error to pass this specific case into cli_close_connection()
from smbmount as smb_rw_error can have only selected number of states and
it is ignored in cli_close_connection().

Compiled and tested by Lars Mueller from SuSE on x86, x86_64, ppc, ppc64, s390 and
s390x.
2007-10-10 10:51:07 -05:00
Gerald Carter
673c3f8bc0 r75: patch from Cal Heldenbrand <calzplace@yahoo.com> for 'pam_smbpass migrate' 2007-10-10 10:51:07 -05:00
Gerald Carter
70fd78025b r73: bumping version to 3.0.3pre3 2007-10-10 10:51:07 -05:00
Andrew Bartlett
724e8d3f33 r69: Global rename of 'nt_session_key' -> 'user_session_key'. The session key could
be anything, and may not be based on anything 'NT'.  This is also what microsoft
calls it.
2007-10-10 10:51:06 -05:00
Volker Lendecke
b69e8e64d4 r63: Remove -lcrypto from wbinfo. Sorry.
Volker
2007-10-10 10:51:06 -05:00
Andrew Tridgell
40b5794ae0 r59: revert session key problem 2007-10-10 10:51:06 -05:00
Jim McDonough
5ebcb9081e r53: Remove modifyTimestamp from list of our attributes. We just check it for
cache entry time comparisons in password lockout.  Fixes problems where
pdb_ldap tries to delete the operational attribute modifyTimestamp when
deleting a user account.
2007-10-10 10:51:06 -05:00
Jeremy Allison
a205c56a75 r50: Fix bug 1139 as per fix suggested by jdev@panix.com,
swap lookups for user and group - group will do an
algorithmic lookup if it fails, user won't.
Jeremy.
2007-10-10 10:51:06 -05:00
Andrew Bartlett
26d8791dde r49: Support SMB signing on connections using only the
LANMAN password.  This also corrects the 'session key'
for these connections.
2007-10-10 10:51:06 -05:00
Jeremy Allison
85d9c92fd5 r48: Fix types for debug message parameters.
Jeremy.
2007-10-10 10:51:05 -05:00
Gerald Carter
a7e2730ec4 r39: * importing .cvsignore files
* updateing WHATSNEW with vl's change
2007-10-10 10:51:05 -05:00
Volker Lendecke
23c5769545 r38: Fix caching of name->sid lookups
Volker
2007-10-10 10:51:05 -05:00
Andrew Bartlett
591047c20a r21: Ensure 'net' follows the behaviour of all other samba client tools,
and honours the 'netbios name' in the smb.conf.
2007-10-10 10:51:03 -05:00
Steve French
dfac69be4f r18: Fix free of incremented pointer 2007-10-10 10:51:03 -05:00
Andrew Bartlett
9598593bcf Fix most of bug #169.
For a (very) long time, we have had a bug in Samba were an NTLMv2-only
PDC would fail, because it converted the password into NTLM format for
checking.

This patch performs the direct comparison required for interactive
logons to function in this situation.  It also removes the 'auth flags', which
simply where not ever used.

Natrually, this plays with the size of structures, so rebuild, rebuild
rebuild...

Andrew Bartlett
-
Jeremy Allison
58b3994244 Fix wildcard src with wildcard dest renames.
Jeremy.
-
Jeremy Allison
6e9b4c57cc Fix wildcard unlink.
Jeremy.
-
Jeremy Allison
018db85de4 Fix typo in check_path_syntax.
Jeremy.
-
Jeremy Allison
ddb40a6b1c Fix reply_ctemp - make compatible with w2k3.
Jeremy.
-
Jeremy Allison
610ae1126e Fix wildcard identical rename.
Jeremy.
-
Jeremy Allison
4081f7ce51 check_path improvements found by samba4 raw-checkpath tests.
Jeremy.
-
Jeremy Allison
ed653cd468 Added per-share parameter "store dos attributes". When set, will store
dos attributes in an EA. Based on an original patch from tridge, but
modified somewhat to cover all cases.
Jeremy.
-
Volker Lendecke
ae6840320f Implement NETLOGON GetDCName client side. You can ask a DC for the name of
a DC it trusts.

Volker
-
Steve French
9ad22b8a3d Fix credential file mountinf for cifs vfs -
Jeremy Allison
37dd5e52f6 "Fixing my FORTRAN". Ensure we always have some valid char converter for the
neccessary types before we will run at all. If we can't get one, use ASCII
but complain mightily.
Jeremy.
-
Gerald Carter
1aeeb432c7 BUG 1023: surround get_group_from_gid() with become_unbecome_root() block -
Volker Lendecke
2df6750a07 This restructures lib/afs.c so that the token data can be but into a
stream. This is to implement wbinfo -k that asks winbind for authentication
which then creates the AFS token for the authenticated user.

Volker
-
Volker Lendecke
c814f7c43d Cosmetic: Fix a const warning.
Volker
-
Jeremy Allison
de2f149e9e Reformat in preparation for EA dosmode attributes.
Jeremy
-
Herb Lewis
4b737b51a5 fix typo -
Volker Lendecke
aa220cffa7 Apply some const -
Volker Lendecke
2b757b6adf Remove some unused code -
Jeremy Allison
8cc10a6c05 Added support for OS/2 EA's in smbd server. Test with smbtorture eatest.
New protocol option "ea support" to turn them on (off by default). Conrad
at Apple may like this as it allows MacOS resource forks to be stored on
a file. Passes valgrind. Documentation to follow.
Jeremy.
-
Jeremy Allison
43db249fb8 Ensure we cope correctly with ea length of zero. Detect torture fail correctly.
Jeremy.
-
Volker Lendecke
6bc88d91e5 Merge a fix from HEAD to 3_0
Volker
-
Volker Lendecke
8037750df5 Apply some const -
Jeremy Allison
73433dc349 Committed test code by mistake... removing.
Jeremy.
-
Jeremy Allison
01fb871762 Setting EA's to zero length deletes them.
Jeremy.
-
Jeremy Allison
0d239a9c07 Fix get/set of EA's in client library. Added torture test for it.
Jeremy.
-
Volker Lendecke
9cb6b10efa Without words... -
Volker Lendecke
558b5bc1d8 Some fixes to expand_msdfs module.
Volker
-
Andrew Tridgell
9d1a08d65c merge tdb changes from samba4 - this means tdb is now under the LGPL, as discussed and agreed previously -
Andrew Bartlett
43c71b3202 Let the comment match the function...
Andrew Bartlett
-
Andrew Bartlett
4b9c50db85 Revert bogus part of smb signing commit - when Win2k supports singing/SPNEGO,
it does sign the first packet.

Andrew Bartlett
-
Andrew Bartlett
e5422d7413 Add a few comments explaining KEY_EXCH
Andrew Bartlett
-
Andrew Bartlett
1e91cd0cf8 Based on the detective work of Jianliang Lu <j.lu@tiesse.com>, allow yet
another NTLMv2 combination.

We should allow the NTLMv2 response to be calculated with either the domain
as supplied, or the domain in UPPER case (as we always did in the past).

As a client, we always UPPER case it (as per the spec), but we also
make sure to UPPER case the domain, when we send it.  This should give
us maximum compatability.

Andrew Bartlett
-
Andrew Bartlett
414d3fdc75 Make it clearer that this error refers to the peer, as this code is in both
the client and server.

Andrew Bartlett
-
Andrew Bartlett
e27b5cbe75 Merge from HEAD the SMB signing patch that I developed a couple of weeks
ago.

This patch re-adds support for 'optional' SMB signing.  It also ensures that
we are much more careful about when we enable signing, particularly with
on-the-fly smb.conf reloads.

The client code will now attempt to use smb signing by default, and disable
it if the server doesn't correctly support it.

Andrew Bartlett
-
Andrew Bartlett
01fff20e6e Ensure we correctly set cli->nt_pipe_fnum on failure to correctly open the
NT session.

Andrew Bartlett
-