samba.git
16 years agor118: adding some recent checkins to commit list
Gerald Carter [Wed, 7 Apr 2004 12:48:55 +0000 (12:48 +0000)]
r118: adding some recent checkins to commit list
(This used to be commit e2e1c0048cced076d8678e4b677b4e85f997f6f4)

16 years agor116: volker's patch for local group and group nesting
Gerald Carter [Wed, 7 Apr 2004 12:43:44 +0000 (12:43 +0000)]
r116: volker's patch for local group and group nesting
(This used to be commit b393469d9581f20e4d4c52633b952ee984cca36f)

16 years agor115: finally checking in tridge's winbindd_schannel patch for connections
Gerald Carter [Wed, 7 Apr 2004 12:42:03 +0000 (12:42 +0000)]
r115: finally checking in tridge's winbindd_schannel patch for connections
(This used to be commit 1fae60ab20c5cbe396dc8af1c8c9a98d5683fdf4)

16 years agor104: Fix ntlm_auth by adding the new strhex_to_data_blob() call.
Andrew Bartlett [Wed, 7 Apr 2004 09:27:50 +0000 (09:27 +0000)]
r104: Fix ntlm_auth by adding the new strhex_to_data_blob() call.

Andrew Bartlett
(This used to be commit 0693b9e79fabd58491f8aaec11dbbc71fab34f80)

16 years agor96: Stupid f&%'n UNIX extensions.... SETPATHINFO
Jeremy Allison [Tue, 6 Apr 2004 23:01:09 +0000 (23:01 +0000)]
r96: Stupid f&%'n UNIX extensions.... SETPATHINFO
normally takes as it's param entry the filename to
be acted upon.... Unless it's UNIX extensions create
hardlink, or UNIX extensions create symlink. Then it's
param -> newfile name
data -> oldfile name.
This caused me to stuff them up in 3.0.2 (and the
client commands link and symlink). Fixed them, everything
is now called oldname and newname - thus specifying which
name should already exist (hint - the old one...) and which
will be created (newname).
Jeremy.
(This used to be commit 21cc6ab7e8a41160a3e2970623ade7445b5214d6)

16 years agor93: Update VOS _POSIX_C_SOURCE macro to 200112L.
Paul Green [Tue, 6 Apr 2004 22:12:21 +0000 (22:12 +0000)]
r93: Update VOS _POSIX_C_SOURCE macro to 200112L.
(This used to be commit 4d1be258a1e0798267eef792ca59cc15695f8057)

16 years agor91: Fix lsalookupnames. Previously we'd fail if we didn't find the name, but
Jim McDonough [Tue, 6 Apr 2004 22:02:47 +0000 (22:02 +0000)]
r91: Fix lsalookupnames.  Previously we'd fail if we didn't find the name, but
we never checked if it was a domain user and didn't find a local one.
(This used to be commit 68022f5ebc55d1f3403dee5198d364cff300baf5)

16 years agor88: Add missing guest mount option for mount.cifs
Steve French [Tue, 6 Apr 2004 21:56:59 +0000 (21:56 +0000)]
r88: Add missing guest mount option for mount.cifs
(This used to be commit e688c08d330836640af91c734d2c6f451c2f4337)

16 years agor87: Fix the build that Andrew Bartlett broke. Andrew - don't check *ANYTHING* in
Jeremy Allison [Tue, 6 Apr 2004 21:13:53 +0000 (21:13 +0000)]
r87: Fix the build that Andrew Bartlett broke. Andrew - don't check *ANYTHING* in
unless you have done a make clean; make.
Jeremy.
(This used to be commit 09d82a0bef2dd5759e5430c4faea413b5a64ac11)

16 years agor86: This function was moved to lib/nterr.h
Andrew Bartlett [Tue, 6 Apr 2004 16:49:09 +0000 (16:49 +0000)]
r86: This function was moved to lib/nterr.h

Andrew Bartlett
(This used to be commit 1c6d0399d67c9206baf7d4173cc00540146fa897)

16 years agor85: Update the winbind interface version, as I just extended the struct.
Andrew Bartlett [Tue, 6 Apr 2004 16:45:38 +0000 (16:45 +0000)]
r85: Update the winbind interface version, as I just extended the struct.

Andrew Bartlett
(This used to be commit 039883043d15902096f6d5e80737f4a502ed0bf8)

16 years agor84: Implement --required-membership-of=, an ntlm_auth option that restricts
Andrew Bartlett [Tue, 6 Apr 2004 16:44:24 +0000 (16:44 +0000)]
r84: Implement --required-membership-of=, an ntlm_auth option that restricts
all authentication to members of this particular group.

Also implement an option to allow ntlm_auth to get 'squashed' error codes,
which are safer to communicate to remote network clients.

Andrew Bartlett
(This used to be commit eb1c1b5eb086f49a230142ad2de45dc0e9691df3)

16 years agor81: Make EA's case independent - fix smbtorture to test for this.
Jeremy Allison [Tue, 6 Apr 2004 14:24:13 +0000 (14:24 +0000)]
r81: Make EA's case independent - fix smbtorture to test for this.
Jeremy.
(This used to be commit 0661357484a33329c75457527416667feaf57ef9)

16 years agor77: Fix path canonicalization of the mount target path and help text display in...
Steve French [Tue, 6 Apr 2004 12:57:41 +0000 (12:57 +0000)]
r77: Fix path canonicalization of the mount target path and help text display in the cifs mount helper
(This used to be commit 69861f168c6be90b4e7f47e29006b2d60d442ffd)

16 years agor76: Fix smbfs problem with Tree Disconnect issued before smbfs starts its work.
Alexander Bokovoy [Tue, 6 Apr 2004 11:45:02 +0000 (11:45 +0000)]
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.
(This used to be commit 738666ce0a310fae14476020fd6dac027b0e3ec5)

16 years agor75: patch from Cal Heldenbrand <calzplace@yahoo.com> for 'pam_smbpass migrate'
Gerald Carter [Tue, 6 Apr 2004 11:27:59 +0000 (11:27 +0000)]
r75: patch from Cal Heldenbrand <calzplace@yahoo.com> for 'pam_smbpass migrate'
(This used to be commit 673c3f8bc0343cce293bacbf0773212b53182d1d)

16 years agor73: bumping version to 3.0.3pre3
Gerald Carter [Tue, 6 Apr 2004 09:27:43 +0000 (09:27 +0000)]
r73: bumping version to 3.0.3pre3
(This used to be commit 70fd78025b04062104fec36691efcd1b01252d03)

16 years agor69: Global rename of 'nt_session_key' -> 'user_session_key'. The session key could
Andrew Bartlett [Tue, 6 Apr 2004 08:11:16 +0000 (08:11 +0000)]
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.
(This used to be commit 724e8d3f33719543146280062435c69a835c491e)

16 years agor63: Remove -lcrypto from wbinfo. Sorry.
Volker Lendecke [Tue, 6 Apr 2004 06:22:59 +0000 (06:22 +0000)]
r63: Remove -lcrypto from wbinfo. Sorry.

Volker
(This used to be commit b69e8e64d4d89d48f9cb5d07b32110d6ecfc3401)

16 years agor59: revert session key problem
Andrew Tridgell [Mon, 5 Apr 2004 16:57:40 +0000 (16:57 +0000)]
r59: revert session key problem
(This used to be commit 40b5794ae0919c6c6f1b8a451871dcc95bbab5cc)

16 years agor53: Remove modifyTimestamp from list of our attributes. We just check it for
Jim McDonough [Mon, 5 Apr 2004 14:45:24 +0000 (14:45 +0000)]
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.
(This used to be commit 5ebcb9081e435d54c39d4d3a1ef1d7b651ccb53f)

16 years agor50: Fix bug 1139 as per fix suggested by jdev@panix.com,
Jeremy Allison [Mon, 5 Apr 2004 14:27:48 +0000 (14:27 +0000)]
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.
(This used to be commit a205c56a75c93c82796fd68687e8c0db26459073)

16 years agor49: Support SMB signing on connections using only the
Andrew Bartlett [Mon, 5 Apr 2004 14:27:23 +0000 (14:27 +0000)]
r49: Support SMB signing on connections using only the
LANMAN password.  This also corrects the 'session key'
for these connections.
(This used to be commit 26d8791ddedb7964c219067480cf4a7d61877765)

16 years agor48: Fix types for debug message parameters.
Jeremy Allison [Mon, 5 Apr 2004 13:55:39 +0000 (13:55 +0000)]
r48: Fix types for debug message parameters.
Jeremy.
(This used to be commit 85d9c92fd53a65fccca3720a3b06d69ef28f9981)

16 years agor39: * importing .cvsignore files
Gerald Carter [Mon, 5 Apr 2004 12:19:50 +0000 (12:19 +0000)]
r39: * importing .cvsignore files
* updateing WHATSNEW with vl's change
(This used to be commit a7e2730ec4389e0c249886a8bfe1ee14c5abac41)

16 years agor38: Fix caching of name->sid lookups
Volker Lendecke [Mon, 5 Apr 2004 12:14:31 +0000 (12:14 +0000)]
r38: Fix caching of name->sid lookups

Volker
(This used to be commit 23c5769545dc8371a679ad4c679578c617f7d85b)

16 years agor22: release notes for 3.0.3pre2
Gerald Carter [Mon, 5 Apr 2004 08:43:35 +0000 (08:43 +0000)]
r22: release notes for 3.0.3pre2
(This used to be commit de93e66fc79f763e3b6c46c4cedf8ad7d342eeeb)

16 years agor21: Ensure 'net' follows the behaviour of all other samba client tools,
Andrew Bartlett [Mon, 5 Apr 2004 08:31:58 +0000 (08:31 +0000)]
r21: Ensure 'net' follows the behaviour of all other samba client tools,
and honours the 'netbios name' in the smb.conf.
(This used to be commit 591047c20a06cd94540b3781459c0f1b6f5baa9f)

16 years agor18: Fix free of incremented pointer
Steve French [Sun, 4 Apr 2004 15:20:46 +0000 (15:20 +0000)]
r18: Fix free of incremented pointer
(This used to be commit dfac69be4fc63745e2d0b4cecb8106286c7c8ca0)

20 years agoFix most of bug #169.
Andrew Bartlett [Sat, 3 Apr 2004 15:41:32 +0000 (15:41 +0000)]
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
(This used to be commit 9598593bcf2d877b1d08cd6a7323ee0bc160d4ba)

20 years agoFix wildcard src with wildcard dest renames.
Jeremy Allison [Sat, 3 Apr 2004 01:21:13 +0000 (01:21 +0000)]
Fix wildcard src with wildcard dest renames.
Jeremy.
(This used to be commit 58b39942444e62c9d0f98c2ba6f434d74c244a2b)

20 years agoFix wildcard unlink.
Jeremy Allison [Sat, 3 Apr 2004 00:17:18 +0000 (00:17 +0000)]
Fix wildcard unlink.
Jeremy.
(This used to be commit 6e9b4c57ccb385acb9feaf9f7412778474231a92)

20 years agoFix typo in check_path_syntax.
Jeremy Allison [Sat, 3 Apr 2004 00:04:31 +0000 (00:04 +0000)]
Fix typo in check_path_syntax.
Jeremy.
(This used to be commit 018db85de4f380da9f8318ab72371185bb2ac5b4)

20 years agoFix reply_ctemp - make compatible with w2k3.
Jeremy Allison [Fri, 2 Apr 2004 22:11:08 +0000 (22:11 +0000)]
Fix reply_ctemp - make compatible with w2k3.
Jeremy.
(This used to be commit ddb40a6b1cfed9022dadc627b38d3c3938e8e6b4)

20 years agoFix wildcard identical rename.
Jeremy Allison [Fri, 2 Apr 2004 19:51:27 +0000 (19:51 +0000)]
Fix wildcard identical rename.
Jeremy.
(This used to be commit 610ae1126e227f45a1affa1030ee833a341a687f)

20 years agocheck_path improvements found by samba4 raw-checkpath tests.
Jeremy Allison [Fri, 2 Apr 2004 19:05:57 +0000 (19:05 +0000)]
check_path improvements found by samba4 raw-checkpath tests.
Jeremy.
(This used to be commit 4081f7ce514635f3500d29a73a44bff2661b76b1)

20 years agoAdded per-share parameter "store dos attributes". When set, will store
Jeremy Allison [Fri, 2 Apr 2004 18:46:19 +0000 (18:46 +0000)]
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.
(This used to be commit ed653cd468213e0be901bc654aa3748ce5837947)

20 years agoImplement NETLOGON GetDCName client side. You can ask a DC for the name of
Volker Lendecke [Fri, 2 Apr 2004 12:56:18 +0000 (12:56 +0000)]
Implement NETLOGON GetDCName client side. You can ask a DC for the name of
a DC it trusts.

Volker
(This used to be commit ae6840320ff47827c2817549fe3133a57e3fe77f)

20 years agoFix credential file mountinf for cifs vfs
Steve French [Fri, 2 Apr 2004 00:11:27 +0000 (00:11 +0000)]
Fix credential file mountinf for cifs vfs
(This used to be commit 9ad22b8a3d839501b72f3b96d43a22365c15ec43)

20 years ago"Fixing my FORTRAN". Ensure we always have some valid char converter for the
Jeremy Allison [Thu, 1 Apr 2004 19:42:36 +0000 (19:42 +0000)]
"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.
(This used to be commit 37dd5e52f61e7ba1facb726ac70fc75e22608103)

20 years agoBUG 1023: surround get_group_from_gid() with become_unbecome_root() block
Gerald Carter [Thu, 1 Apr 2004 15:15:13 +0000 (15:15 +0000)]
BUG 1023: surround get_group_from_gid() with become_unbecome_root() block
(This used to be commit 1aeeb432c75eeb67e9e1323932b37d34da416d37)

20 years agoThis restructures lib/afs.c so that the token data can be but into a
Volker Lendecke [Thu, 1 Apr 2004 12:31:50 +0000 (12:31 +0000)]
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
(This used to be commit 2df6750a079820826013360fb9e47f90bc8223a5)

20 years agoCosmetic: Fix a const warning.
Volker Lendecke [Thu, 1 Apr 2004 08:54:01 +0000 (08:54 +0000)]
Cosmetic: Fix a const warning.

Volker
(This used to be commit c814f7c43db9700ec08a30c45521181c754df247)

20 years agoReformat in preparation for EA dosmode attributes.
Jeremy Allison [Wed, 31 Mar 2004 22:46:15 +0000 (22:46 +0000)]
Reformat in preparation for EA dosmode attributes.
Jeremy
(This used to be commit de2f149e9e687fc8cba6870d921341a6a1fd9c13)

20 years agofix typo
Herb Lewis [Wed, 31 Mar 2004 20:24:10 +0000 (20:24 +0000)]
fix typo
(This used to be commit 4b737b51a5cf0a862f4c1bd67d9d3dd49cc81b65)

20 years agoApply some const
Volker Lendecke [Wed, 31 Mar 2004 15:21:48 +0000 (15:21 +0000)]
Apply some const
(This used to be commit aa220cffa7b3507452ffed51c048333c7cde0ca2)

20 years agoRemove some unused code
Volker Lendecke [Wed, 31 Mar 2004 14:36:25 +0000 (14:36 +0000)]
Remove some unused code
(This used to be commit 2b757b6adf0b4e5c799cc8943e8fd96cc94c24bc)

20 years agoAdded support for OS/2 EA's in smbd server. Test with smbtorture eatest.
Jeremy Allison [Wed, 31 Mar 2004 02:20:16 +0000 (02:20 +0000)]
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.
(This used to be commit 8cc10a6c0550c017a62e8a3790afd2172d173e00)

20 years agoEnsure we cope correctly with ea length of zero. Detect torture fail correctly.
Jeremy Allison [Tue, 30 Mar 2004 18:38:21 +0000 (18:38 +0000)]
Ensure we cope correctly with ea length of zero. Detect torture fail correctly.
Jeremy.
(This used to be commit 43db249fb814cef99afecd22c20a824d2519faf9)

20 years agoMerge a fix from HEAD to 3_0
Volker Lendecke [Tue, 30 Mar 2004 08:11:59 +0000 (08:11 +0000)]
Merge a fix from HEAD to 3_0

Volker
(This used to be commit 6bc88d91e569541e4d4a2147e28439db96d02bd6)

20 years agoApply some const
Volker Lendecke [Tue, 30 Mar 2004 08:03:32 +0000 (08:03 +0000)]
Apply some const
(This used to be commit 8037750df568e6b51b2b0cba9192468110470388)

20 years agoCommitted test code by mistake... removing.
Jeremy Allison [Mon, 29 Mar 2004 23:42:48 +0000 (23:42 +0000)]
Committed test code by mistake... removing.
Jeremy.
(This used to be commit 73433dc349698b1b1f128439ab40eea6cbfa1187)

20 years agoSetting EA's to zero length deletes them.
Jeremy Allison [Mon, 29 Mar 2004 23:39:13 +0000 (23:39 +0000)]
Setting EA's to zero length deletes them.
Jeremy.
(This used to be commit 01fb8717628d1daad19725a97f6ae2d729afcac2)

20 years agoFix get/set of EA's in client library. Added torture test for it.
Jeremy Allison [Mon, 29 Mar 2004 22:21:47 +0000 (22:21 +0000)]
Fix get/set of EA's in client library. Added torture test for it.
Jeremy.
(This used to be commit 0d239a9c070bdc1ce2d2806fc02549c4750597aa)

20 years agoWithout words...
Volker Lendecke [Mon, 29 Mar 2004 11:54:34 +0000 (11:54 +0000)]
Without words...
(This used to be commit 9cb6b10efa3c7d50d3e686bda122121c61633419)

20 years agoSome fixes to expand_msdfs module.
Volker Lendecke [Mon, 29 Mar 2004 11:40:43 +0000 (11:40 +0000)]
Some fixes to expand_msdfs module.

Volker
(This used to be commit 558b5bc1d81d8ccd2048b37357e4b3e5b9b4e011)

20 years agomerge tdb changes from samba4 - this means tdb is now under the LGPL, as discussed...
Andrew Tridgell [Sun, 28 Mar 2004 02:19:58 +0000 (02:19 +0000)]
merge tdb changes from samba4 - this means tdb is now under the LGPL, as discussed and agreed previously
(This used to be commit 9d1a08d65c4235a2a3941bba5b71631c4c35c9b7)

20 years agoLet the comment match the function...
Andrew Bartlett [Sat, 27 Mar 2004 10:32:59 +0000 (10:32 +0000)]
Let the comment match the function...

Andrew Bartlett
(This used to be commit 43c71b3202e909cca7c41c54d0b340aea1323db6)

20 years agoRevert bogus part of smb signing commit - when Win2k supports singing/SPNEGO,
Andrew Bartlett [Sat, 27 Mar 2004 08:51:04 +0000 (08:51 +0000)]
Revert bogus part of smb signing commit - when Win2k supports singing/SPNEGO,
it does sign the first packet.

Andrew Bartlett
(This used to be commit 4b9c50db853eaf9eb8c68b85760c40c1a8f9bd94)

20 years agoAdd a few comments explaining KEY_EXCH
Andrew Bartlett [Sat, 27 Mar 2004 08:43:09 +0000 (08:43 +0000)]
Add a few comments explaining KEY_EXCH

Andrew Bartlett
(This used to be commit e5422d7413e22775bc81e36559cb69254aedb102)

20 years agoBased on the detective work of Jianliang Lu <j.lu@tiesse.com>, allow yet
Andrew Bartlett [Sat, 27 Mar 2004 07:53:47 +0000 (07:53 +0000)]
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
(This used to be commit 1e91cd0cf87b29899641585f46b0dcecaefd848e)

20 years agoMake it clearer that this error refers to the peer, as this code is in both
Andrew Bartlett [Sat, 27 Mar 2004 07:51:31 +0000 (07:51 +0000)]
Make it clearer that this error refers to the peer, as this code is in both
the client and server.

Andrew Bartlett
(This used to be commit 414d3fdc753b44262e9a281170d1058608d01bdf)

20 years agoMerge from HEAD the SMB signing patch that I developed a couple of weeks
Andrew Bartlett [Sat, 27 Mar 2004 07:33:59 +0000 (07:33 +0000)]
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
(This used to be commit e27b5cbe75d89ec839dafd52dd33101885a4c263)

20 years agoEnsure we correctly set cli->nt_pipe_fnum on failure to correctly open the
Andrew Bartlett [Sat, 27 Mar 2004 05:39:19 +0000 (05:39 +0000)]
Ensure we correctly set cli->nt_pipe_fnum on failure to correctly open the
NT session.

Andrew Bartlett
(This used to be commit 01fff20e6e0212e9f70a5a66c3e46f7079b342f1)

20 years agoAs I raised (without objection) on the mailing list a while back, this
Andrew Bartlett [Sat, 27 Mar 2004 05:38:20 +0000 (05:38 +0000)]
As I raised (without objection) on the mailing list a while back, this
patch removes the 'unicode' smb.conf option.

Clients are as always free not to negotiate unicode, but Samba will always
accept unicode in smbd.

Setting 'unicode = no' caused me more client BSODs than any other option
I have seen, and I really want to protect some of our more silly users, who
will, no matter what, select and change every option...

Andrew Bartlett
(This used to be commit 3f9177bd5df68809294335a36919994893ff8ead)

20 years agoWorking (tested) client code for setting EA's by filename and fnum.
Jeremy Allison [Sat, 27 Mar 2004 02:13:58 +0000 (02:13 +0000)]
Working (tested) client code for setting EA's by filename and fnum.
Now for parsing out the retrieved EA's.
Jeremy.
(This used to be commit 5eeeee302cec2cc1f6c130ed44be9df028f73cde)

20 years agoFix bug #1211. Ensure accept socket is in non-blocking state in case of network
Jeremy Allison [Fri, 26 Mar 2004 23:02:53 +0000 (23:02 +0000)]
Fix bug #1211. Ensure accept socket is in non-blocking state in case of network
error after select() returns true. (See accept man page on Linux). Patch from
rabies@meep.org (Richard Garnish).
Jeremy.
(This used to be commit 6ca158291cf1f533ef18b542c84f22e9780c0966)

20 years agoMove the Client-IP based msdfs target expansion to a VFS module.
Volker Lendecke [Fri, 26 Mar 2004 22:26:33 +0000 (22:26 +0000)]
Move the Client-IP based msdfs target expansion to a VFS module.

Volker
(This used to be commit 9cb6a4d76f87b28077861d3f4220541fbf704ddf)

20 years agoAlways use strchr_m, not strchr on unix character sets.
Jeremy Allison [Fri, 26 Mar 2004 20:40:30 +0000 (20:40 +0000)]
Always use strchr_m, not strchr on unix character sets.
Jeremy.
(This used to be commit 8431b985d66e76ab187efb617639e767142b0bb5)

20 years agoAfter briefly talking to jerry, commit this:
Volker Lendecke [Fri, 26 Mar 2004 17:58:30 +0000 (17:58 +0000)]
After briefly talking to jerry, commit this:

Redirect clients to shares based on the the client's IP address. The msdfs
link has the following form:

temp1 -> msdfs:@/data/tmp/redir@\temp

The file /data/tmp/redir has the contents:

192.168.234.128 closest
192.168.234 close
        default

Everything in between the @-signs in the link target is replaced by the
substituion in the file.

Jerry, errors in the filename expansion are now answered with
NT_STATUS_OBJECT_NAME_NOT_FOUND

Volker
(This used to be commit 8e237d533eded8d218cc9c77e056823702f390f8)

20 years agosource code fix for bug 1095 -- honor the '-l' option
Gerald Carter [Fri, 26 Mar 2004 15:40:06 +0000 (15:40 +0000)]
source code fix for bug 1095 -- honor the '-l' option
(This used to be commit ab48af6993b427f525c36aa0ffd57c612c100561)

20 years agoUse timegm, or our already existing replacement instead of timezone, as
Jim McDonough [Thu, 25 Mar 2004 18:25:41 +0000 (18:25 +0000)]
Use timegm, or our already existing replacement instead of timezone, as
some platforms (FreeBSD in this case) don't define timezone according to
posix.  This is what I wanted to do anyway.

Spotted by Andrzej Tobola <san@iem.pw.edu.pl>
(This used to be commit bc13e35db0b8b265f87553d4df1c7326710cb3fa)

20 years agojra's patch -- fix anonymous self referral code to check that a share is an msdfs...
Gerald Carter [Thu, 25 Mar 2004 14:41:56 +0000 (14:41 +0000)]
jra's patch -- fix anonymous self referral code to check that a share is an msdfs root first
(This used to be commit 641c2acd92b358fab4441071df411adbbd934ae8)

20 years agoPath for bugzilla #1152 from Timur Bakeyev. Allow python modules to
Tim Potter [Wed, 24 Mar 2004 23:52:11 +0000 (23:52 +0000)]
Path for bugzilla #1152 from Timur Bakeyev.  Allow python modules to
build despite libraries added to LDFLAGS instead of LDPATH.
(This used to be commit 98a25dcda8e53e22b48930131ff394414056f6a1)

20 years agofixes for prnadmin.dll API
Gerald Carter [Wed, 24 Mar 2004 19:15:17 +0000 (19:15 +0000)]
fixes for prnadmin.dll API

  * force the PRINTER_ATTRIBUTE_LOCAL (nor PRINTER_ATTRIBUTE_NETWORK)
  * ensure that we return the sec_desc in smb_io_printer_info_2
    (allows prnui.dll to restore security descriptors from a data file).
(This used to be commit c335cb80d2e4c687279b7a6038a97518770ccae9)

20 years agoFix bugzilla # 1208
Jim McDonough [Wed, 24 Mar 2004 17:32:55 +0000 (17:32 +0000)]
Fix bugzilla # 1208

Winbind tickets expired.  We now check the expiration time, and acquire
new tickets.  We couln't rely on renewing them, because if we didn't get
a request before they expired, we wouldn't have renewed them.  Also, there
is a one-week limit in MS on renewal life, so new tickets would have been
needed after a week anyway.   Default is 10 hours, so we should only be
acquiring them that often, unless the configuration on the DC is changed (and
the minimum is 1 hour).
(This used to be commit c2436c433afaab4006554a86307f76b6689d6929)

20 years agochange my email address to the samba.org one
Stefan Metzmacher [Wed, 24 Mar 2004 13:41:06 +0000 (13:41 +0000)]
change my email address to the samba.org one

metze
(This used to be commit 5bf8f1b31b7b37317e78bbb9fbf3cd25290027b5)

20 years agoAdded cli_set_ea(), cli_get_ea next...
Jeremy Allison [Wed, 24 Mar 2004 03:48:08 +0000 (03:48 +0000)]
Added cli_set_ea(), cli_get_ea next...
Jeremy.
(This used to be commit b0c109c40335a2f59406e1d2845d676d211faf14)

20 years agoadding commit messages for recent changes
Gerald Carter [Mon, 22 Mar 2004 23:12:07 +0000 (23:12 +0000)]
adding commit messages for recent changes
(This used to be commit ab509c74ba80d4f4e9a7355b8afb3b800825aac0)

20 years agoremove unused variable
Gerald Carter [Mon, 22 Mar 2004 23:05:02 +0000 (23:05 +0000)]
remove unused variable
(This used to be commit 170c443b19604c3ec997ae494954c473e356e59d)

20 years agomissed one on BUG 1195; make sure to set the private * to NULL
Gerald Carter [Mon, 22 Mar 2004 22:57:21 +0000 (22:57 +0000)]
missed one on BUG 1195; make sure to set the private * to NULL
(This used to be commit 97a24d13892e292d31a1a6d7a1c96893508d6222)

20 years agoBUG 1185: use 'winbind cache time' as the reconnect period when seq_num == -1 rather...
Gerald Carter [Mon, 22 Mar 2004 22:50:27 +0000 (22:50 +0000)]
BUG 1185: use 'winbind cache time' as the reconnect period when seq_num == -1 rather than multiplying it by 8 (the default cache time is 5 minutes now)
(This used to be commit 8d6e370313b62556ba13d88e1ab5ff468ac103c8)

20 years agobug 1195: add flag to ADS_STRUCT so we know who owns the main structure's memory...
Gerald Carter [Mon, 22 Mar 2004 22:49:40 +0000 (22:49 +0000)]
bug 1195: add flag to ADS_STRUCT so we know who owns the main structure's memory (not the members though)
(This used to be commit 4449e0e251190b741f51348819669453f0758f36)

20 years agoGiven how often a panic has to do with malloc() problems, don't tempt
Andrew Bartlett [Sun, 21 Mar 2004 08:43:41 +0000 (08:43 +0000)]
Given how often a panic has to do with malloc() problems, don't tempt
things more by calling SAFE_FREE() just before we exit our panic handler.

Andrew Bartlett
(This used to be commit d0b820562b8a7f8e5d0224926d46590b9f1ca9a3)

20 years agoremoving duplicate smbprint example script
Gerald Carter [Sat, 20 Mar 2004 13:50:03 +0000 (13:50 +0000)]
removing duplicate smbprint example script
(This used to be commit 2426bb4906e0ca3b53800706da2e9d1e17a73dc7)

20 years agoFix for #1064 - ensure truncate attribute checking is done correctly on "hidden"...
Jeremy Allison [Fri, 19 Mar 2004 23:46:48 +0000 (23:46 +0000)]
Fix for #1064 - ensure truncate attribute checking is done correctly on "hidden" dot files.
Jeremy.
(This used to be commit a6045c904fbe7df111c520134581bfd4f1ca67a8)

20 years agostarting WHATSNEW for 3.0.3pre2
Gerald Carter [Fri, 19 Mar 2004 22:24:23 +0000 (22:24 +0000)]
starting WHATSNEW for 3.0.3pre2
(This used to be commit f3556724aba52c72ffd34664492cca3979cc1cfc)

20 years agoBUG 417: fix %UuGg variables expansion in include lines setging the current_user_info...
Gerald Carter [Fri, 19 Mar 2004 22:06:54 +0000 (22:06 +0000)]
BUG 417: fix %UuGg variables expansion in include lines setging the current_user_info struct in register_vuid() -- shouldn't be any more broken than we were
(This used to be commit a90c3bd281e7a62bb8482e42aa3b674eeeb5995a)

20 years agoremoving working when install swat since the installswat.sh is fixed now
Gerald Carter [Fri, 19 Mar 2004 18:59:06 +0000 (18:59 +0000)]
removing working when install swat since the installswat.sh is fixed now
(This used to be commit a6ed306d11e011d493b6b484465e4f7d74728d42)

20 years agomissed some of Derrel's changes
Gerald Carter [Fri, 19 Mar 2004 17:48:08 +0000 (17:48 +0000)]
missed some of Derrel's changes
(This used to be commit 3aac1e549eaf4693ded84be432a2c94b6331ef6d)

20 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to...
cvs2svn Import User [Fri, 19 Mar 2004 17:36:57 +0000 (17:36 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 73ffc394b58fa951bca444506cd9d75a159e7f11)

20 years agoApply some more of Derrell Lipman's changes.
Richard Sharpe [Fri, 19 Mar 2004 17:36:56 +0000 (17:36 +0000)]
Apply some more of Derrell Lipman's changes.
(This used to be commit a6457e1c817663cf5f3e77e4dd431ac0d9184dc7)

20 years agoadd --with-libdir and --with-mandir (patch from Guenther Deschner)
Gerald Carter [Fri, 19 Mar 2004 16:59:59 +0000 (16:59 +0000)]
add --with-libdir and --with-mandir (patch from Guenther Deschner)
(This used to be commit 649e1c372e0a407d8283cc1d938376ac4ad8e525)

20 years agoadd --with-libdir and --with-mandir (patch from Guenther Deschner)
Gerald Carter [Fri, 19 Mar 2004 16:58:16 +0000 (16:58 +0000)]
add --with-libdir and --with-mandir (patch from Guenther Deschner)
(This used to be commit a1d6200cd5488ce328c7238b11c54785d64ca447)

20 years agobumping version to 3.0.3pre2
Gerald Carter [Fri, 19 Mar 2004 16:23:54 +0000 (16:23 +0000)]
bumping version to 3.0.3pre2
(This used to be commit 54de60405457bd1fdcbaf6d888969cf6ba897ec4)

20 years agoupdating release notes & merging Derrel Lipman's libsmbclient patch from HEAD
Gerald Carter [Fri, 19 Mar 2004 16:22:47 +0000 (16:22 +0000)]
updating release notes & merging Derrel Lipman's libsmbclient patch from HEAD
(This used to be commit 5fbfaa687a3674287eeadd205f56b2b253a9e2a9)

20 years agocleaning up a few compiler warngings
Gerald Carter [Fri, 19 Mar 2004 16:21:50 +0000 (16:21 +0000)]
cleaning up a few compiler warngings
(This used to be commit 8ceefd5438a1071a262a7db234c9857fbad05147)

20 years agowrap cli_tdis() in check to make sure we have a valid cnum
Gerald Carter [Fri, 19 Mar 2004 15:52:16 +0000 (15:52 +0000)]
wrap cli_tdis() in check to make sure we have a valid cnum
(This used to be commit e54342b062e7736b46f56bcb0e064acc5a7b98ee)

20 years agoadd privileges support to ldapsam too
Simo Sorce [Fri, 19 Mar 2004 14:31:09 +0000 (14:31 +0000)]
add privileges support to ldapsam too
(This used to be commit d940a2f77377dd1560cea4c782823cf9cd97a3aa)

20 years agobackport from head
Simo Sorce [Fri, 19 Mar 2004 11:28:36 +0000 (11:28 +0000)]
backport from head
(This used to be commit e05eb1437054286f14714c46099e867a396dac7d)