tprouty/samba.git
16 years agoget rid of compiler warnings
Herb Lewis [Fri, 15 Aug 2003 02:28:13 +0000 (02:28 +0000)]
get rid of compiler warnings

16 years agoget rid of const as these things really are not const
Herb Lewis [Fri, 15 Aug 2003 02:25:41 +0000 (02:25 +0000)]
get rid of const as these things really are not const

16 years agoFix some memory issues. It is now possible to convert extract packet data
Jelmer Vernooij [Fri, 15 Aug 2003 02:18:20 +0000 (02:18 +0000)]
Fix some memory issues. It is now possible to convert extract packet data
from a samba log file and view it in ethereal, including the DCE/RPC, RAP, etc
calls that are contained in a packet, just like you would with a real
network sniff!

16 years agoget rid of warning on IRIX
Herb Lewis [Fri, 15 Aug 2003 02:01:56 +0000 (02:01 +0000)]
get rid of warning on IRIX

16 years agoDon't ask, it's too embarrassing :-)
Volker Lendecke [Fri, 15 Aug 2003 01:55:06 +0000 (01:55 +0000)]
Don't ask, it's too embarrassing :-)

Actually let the user explicitly specify a rid...

Volker

16 years agoFix memleaks.
Volker Lendecke [Fri, 15 Aug 2003 01:46:09 +0000 (01:46 +0000)]
Fix memleaks.

Currently I'm compiling against MIT Kerberos 1.2.8.

Anthony, you said you have a heimdal installation available. Could you
please compile this stuff with krb and check it with valgrind?

Thanks,

Volker

16 years agoget rid of some sompiler warnings on IRIX
Herb Lewis [Fri, 15 Aug 2003 01:42:30 +0000 (01:42 +0000)]
get rid of some sompiler warnings on IRIX

16 years agoget rid of unused call
Herb Lewis [Fri, 15 Aug 2003 01:36:35 +0000 (01:36 +0000)]
get rid of unused call

16 years agoreturn actual results instead of always OK
Herb Lewis [Fri, 15 Aug 2003 01:33:57 +0000 (01:33 +0000)]
return actual results instead of always OK

16 years agofix type
Herb Lewis [Fri, 15 Aug 2003 01:30:26 +0000 (01:30 +0000)]
fix type

16 years agoGet packet contents correct as well.
Jelmer Vernooij [Fri, 15 Aug 2003 01:30:10 +0000 (01:30 +0000)]
Get packet contents correct as well.

16 years agoadd IRIX EA support
Herb Lewis [Fri, 15 Aug 2003 01:29:08 +0000 (01:29 +0000)]
add IRIX EA support

16 years agoFix attribute set using setfileinfo - Samba4 found.
Jeremy Allison [Fri, 15 Aug 2003 01:22:01 +0000 (01:22 +0000)]
Fix attribute set using setfileinfo - Samba4 found.
Jeremy.

16 years agoIgnore silently set disposition information when set on a path.
Jeremy Allison [Fri, 15 Aug 2003 00:42:16 +0000 (00:42 +0000)]
Ignore silently set disposition information when set on a path.
Samba4 tester.
Jeremy.

16 years agoAdd utility that takes a samba log file (at least level 5 for headers and
Jelmer Vernooij [Fri, 15 Aug 2003 00:04:20 +0000 (00:04 +0000)]
Add utility that takes a samba log file (at least level 5 for headers and
10 for data contents as well) and creates a packet trace readable by
ethereal.

What does not work yet:
 - SMB data contents (log level 5)
 - SMB data contents beyond the 512 byte range (log level 99 or something?)

16 years agoMakefile.in
Jelmer Vernooij [Fri, 15 Aug 2003 00:00:22 +0000 (00:00 +0000)]
Makefile.in

16 years agonlink field should decrement when delete pending is set.
Jeremy Allison [Thu, 14 Aug 2003 23:47:12 +0000 (23:47 +0000)]
nlink field should decrement when delete pending is set.
Found by Samba4.
Jeremy.

16 years agoFix setfileinfo level 1 - it only takes 12 bytes. Found by Samba4
Jeremy Allison [Thu, 14 Aug 2003 23:40:45 +0000 (23:40 +0000)]
Fix setfileinfo level 1 - it only takes 12 bytes. Found by Samba4
torture tester.
Jeremy.

16 years agoFix changing of attributes via setattr. Samba4 test fixes.
Jeremy Allison [Thu, 14 Aug 2003 23:15:02 +0000 (23:15 +0000)]
Fix changing of attributes via setattr. Samba4 test fixes.
Jeremy.

16 years agoget rid of IRIX test as it is wrong.
Herb Lewis [Thu, 14 Aug 2003 22:46:25 +0000 (22:46 +0000)]
get rid of IRIX test as it is wrong.

16 years agojeremy foo
Gerald Carter [Thu, 14 Aug 2003 22:17:07 +0000 (22:17 +0000)]
jeremy foo

16 years agofix build
Gerald Carter [Thu, 14 Aug 2003 22:14:03 +0000 (22:14 +0000)]
fix build

16 years agoDon't ask twice for the password
Volker Lendecke [Thu, 14 Aug 2003 21:57:11 +0000 (21:57 +0000)]
Don't ask twice for the password

16 years agoFix SMBseek and get/set position information SMBs. Works against
Jeremy Allison [Thu, 14 Aug 2003 21:16:06 +0000 (21:16 +0000)]
Fix SMBseek and get/set position information SMBs. Works against
Samba4 tester. You will need a make clean; make all after this !
Jeremy.

16 years agoAttempt at fixing bug #283. There however is no solution.
Gerald Carter [Thu, 14 Aug 2003 21:14:28 +0000 (21:14 +0000)]
Attempt at fixing bug #283.  There however is no solution.
There is a workaround documented in the bug report.

This patch does:

  * add server support for the LSA_DS UUID on the lsarpc pipe
  * store a list of context_ids/api_structs in the pipe_struct
    so that we don't have to lookup the function table for a pipe.
    We just match the context_id.  Note that a dce/rpc alter_context
    does not destroy the previous context so it is possible to
    have multiple bindings active on the same pipe. Observed from
    standalone win2k sp4 client.
  * added server code for DsROleGetPrimaryDOmainInfo() but disabled it
    since it causes problems enumerating users and groups from a 2ksp4
    domain member in a Samba domain.

16 years agoIn ads_verify_realm, all we use in the ADS_STRUCT is the
Volker Lendecke [Thu, 14 Aug 2003 21:07:49 +0000 (21:07 +0000)]
In ads_verify_realm, all we use in the ADS_STRUCT is the
auth.realm. So directly pass that instead of setting up and tearing
down the ADS_STRUCT.

Volker

16 years agoSmall fix to include existing CPPFLAGS when looking for iconv.
Richard Sharpe [Thu, 14 Aug 2003 21:07:30 +0000 (21:07 +0000)]
Small fix to include existing CPPFLAGS when looking for iconv.

16 years agoTry to honor predefined CPPFLAGS when finding correct iconv flags
Alexander Bokovoy [Thu, 14 Aug 2003 20:56:04 +0000 (20:56 +0000)]
Try to honor predefined CPPFLAGS when finding correct iconv flags

16 years agofix bug 294; win9x driver lookups should always use version 0
Gerald Carter [Thu, 14 Aug 2003 20:51:41 +0000 (20:51 +0000)]
fix bug 294; win9x driver lookups should always use version 0

16 years agoFix overflow in vfs_recycle module (and hopefully also bug #291)
Jelmer Vernooij [Thu, 14 Aug 2003 19:57:23 +0000 (19:57 +0000)]
Fix overflow in vfs_recycle module (and hopefully also bug #291)

16 years agoFix the build for non-kerberos environments.
Volker Lendecke [Thu, 14 Aug 2003 17:21:22 +0000 (17:21 +0000)]
Fix the build for non-kerberos environments.

Volker

16 years agontlm_auth should be installed as well. It is now of use by Squid and Midgard and...
Alexander Bokovoy [Thu, 14 Aug 2003 04:53:38 +0000 (04:53 +0000)]
ntlm_auth should be installed as well. It is now of use by Squid and Midgard and is stable enough so it make sense to provide it in a Samba Team's binary packages

16 years agoRemoved -l parameter description to avoid duplication
Rafal Szczesniak [Thu, 14 Aug 2003 01:32:00 +0000 (01:32 +0000)]
Removed -l parameter description to avoid duplication
with common.samba section.

Also found while testing domain trusts (so far it works) :-)

rafal

16 years agoPut 'wins hook' example back in. Fixes bug #268)
Jelmer Vernooij [Thu, 14 Aug 2003 01:15:42 +0000 (01:15 +0000)]
Put 'wins hook' example back in. Fixes bug #268)

16 years agoSmall tweaks to configure.in to support Irix and to remove the changing
Richard Sharpe [Thu, 14 Aug 2003 01:12:12 +0000 (01:12 +0000)]
Small tweaks to configure.in to support Irix and to remove the changing
of LIBS where we don't need to change them, and to ensure that if
--with-iconv was specified we only search the list of locations specified.

16 years agoChange Samba to always use extended security for it's guest logins, (ie,
Andrew Bartlett [Thu, 14 Aug 2003 01:08:00 +0000 (01:08 +0000)]
Change Samba to always use extended security for it's guest logins, (ie,
NTLMSSP with "" username, NULL password), and add --machine-pass (-P) to
all of Samba's clients.

When connecting to an Active Directory DC, you must initiate the CIFS level
session setup with Kerberos, not a guest login.  If you don't, your machine
account is demoted to NT4.

Andrew Bartlett

16 years agoA small tweak to allow IRIX to work by detecting ISO-8859-1 to UTF-8,
Richard Sharpe [Thu, 14 Aug 2003 00:08:42 +0000 (00:08 +0000)]
A small tweak to allow IRIX to work by detecting ISO-8859-1 to UTF-8,
because Samba really only needs CP850 to UTF-8 and ISO-8859-1 seems to be
much the same as 8859.

16 years agoThis file has been in the HOWTO for ages
Jelmer Vernooij [Thu, 14 Aug 2003 00:07:42 +0000 (00:07 +0000)]
This file has been in the HOWTO for ages

16 years agoTest for CP850 and reorder the tests, looking for ASCII, then CP850,
Richard Sharpe [Wed, 13 Aug 2003 23:08:53 +0000 (23:08 +0000)]
Test for CP850 and reorder the tests, looking for ASCII, then CP850,
then IBM850 and lastly ISO-8859-1.

16 years agoThis is an intermediate commit ... we check for three different charsets
Richard Sharpe [Wed, 13 Aug 2003 21:29:59 +0000 (21:29 +0000)]
This is an intermediate commit ... we check for three different charsets
in an iconv_open to be more robust.

However, what we really want to do is find the name for something like CP850,
which can be IBM850 on Solaris, and we might want to also check for
ISO-8859-1.

So, this commit adds a macro to aclocal.m4 that can check for a specific
charset.

16 years agoSmall typo fix found while testing domain trusts.
Rafal Szczesniak [Wed, 13 Aug 2003 20:53:48 +0000 (20:53 +0000)]
Small typo fix found while testing domain trusts.

rafal

16 years agoDon't wrap up anything that is not there. Otherwise upper layers
Volker Lendecke [Wed, 13 Aug 2003 20:27:18 +0000 (20:27 +0000)]
Don't wrap up anything that is not there. Otherwise upper layers
can not figure that we got no ticket.

Volker

16 years agoOnly close anything that is not fid 0. Was very confusing in ethereal...
Volker Lendecke [Wed, 13 Aug 2003 20:26:24 +0000 (20:26 +0000)]
Only close anything that is not fid 0. Was very confusing in ethereal...

Volker

16 years agoHoist the code for checking whether or not iconv actually works up into the
Richard Sharpe [Wed, 13 Aug 2003 19:35:37 +0000 (19:35 +0000)]
Hoist the code for checking whether or not iconv actually works up into the
loop that looks for iconv, because we might have more than one version
of iconv available and the first version might not work like we want, so
we have to keep looking.

We have yet to look for other character conversions as well, but for now,
let's see what the build farm makes of the changes.

16 years agoFix typo
Jelmer Vernooij [Wed, 13 Aug 2003 06:16:06 +0000 (06:16 +0000)]
Fix typo

16 years agoRemove last document in the text docs - it's replaced by Monyo's japanese
Jelmer Vernooij [Wed, 13 Aug 2003 06:09:36 +0000 (06:09 +0000)]
Remove last document in the text docs - it's replaced by Monyo's japanese
samb3 article

16 years agoregenerate
Jelmer Vernooij [Wed, 13 Aug 2003 06:07:10 +0000 (06:07 +0000)]
regenerate

16 years agoRegenerate
Jelmer Vernooij [Wed, 13 Aug 2003 05:58:46 +0000 (05:58 +0000)]
Regenerate

16 years agoregenerate
Jelmer Vernooij [Wed, 13 Aug 2003 05:11:03 +0000 (05:11 +0000)]
regenerate

16 years agoAdd some more new common options
Jelmer Vernooij [Wed, 13 Aug 2003 04:57:28 +0000 (04:57 +0000)]
Add some more new common options

16 years agoCreate symlinks for modules that register multiple functions (fixes bug #91 )
Jelmer Vernooij [Wed, 13 Aug 2003 04:11:50 +0000 (04:11 +0000)]
Create symlinks for modules that register multiple functions (fixes bug #91 )

16 years agofix bug #286.
Gerald Carter [Wed, 13 Aug 2003 03:59:41 +0000 (03:59 +0000)]
fix bug #286.

Fixed by storing the access requested on the anonymous samr connect.
Restricted this to enum_domain|open_domain.

Added become/unbecome_root() around pdb_enum_group_mapping()
enum domain groups samr call.

16 years agoRegenerate docs
Jelmer Vernooij [Wed, 13 Aug 2003 03:57:48 +0000 (03:57 +0000)]
Regenerate docs

16 years agoQuery volume info level 2 fix - found by Samba4 tester.
Jeremy Allison [Wed, 13 Aug 2003 03:49:43 +0000 (03:49 +0000)]
Query volume info level 2 fix - found by Samba4 tester.
Jeremy.

16 years agoRegenerate docs!
Jelmer Vernooij [Wed, 13 Aug 2003 03:32:57 +0000 (03:32 +0000)]
Regenerate docs!

16 years agoBetter path checking for chkpth. We now pass Samba4 chkpath and unlink.
Jeremy Allison [Wed, 13 Aug 2003 03:28:06 +0000 (03:28 +0000)]
Better path checking for chkpth. We now pass Samba4 chkpath and unlink.
Jeremy.

16 years agoRegenerate docs!
Jelmer Vernooij [Wed, 13 Aug 2003 03:27:45 +0000 (03:27 +0000)]
Regenerate docs!

16 years agoMore chkpth fixes from Samba4 tests.
Jeremy Allison [Wed, 13 Aug 2003 02:31:22 +0000 (02:31 +0000)]
More chkpth fixes from Samba4 tests.
Jeremy.

16 years agoFinal update. Links work now as well
Jelmer Vernooij [Wed, 13 Aug 2003 02:12:11 +0000 (02:12 +0000)]
Final update. Links work now as well

16 years agoLast set of syntax fixes
Jelmer Vernooij [Wed, 13 Aug 2003 00:35:58 +0000 (00:35 +0000)]
Last set of syntax fixes

16 years agoEnsure we pass the Samba4 unlink test !
Jeremy Allison [Wed, 13 Aug 2003 00:31:23 +0000 (00:31 +0000)]
Ensure we pass the Samba4 unlink test !
Jeremy.

16 years ago2 fixes
Gerald Carter [Wed, 13 Aug 2003 00:08:28 +0000 (00:08 +0000)]
2 fixes

 * bug #280 (my fault) - initialize sambaNextUserRid and
   sambaNextGroupRid

 * Unix users shared vis LDAP or NIS between a samba domain member
   of a Samba domain are not seen as domain users on the member servers.
   not as local users.

16 years agoConform better to the specs
Jelmer Vernooij [Tue, 12 Aug 2003 23:45:58 +0000 (23:45 +0000)]
Conform better to the specs

16 years agoBetter compatibility with official syntax
Jelmer Vernooij [Tue, 12 Aug 2003 22:36:55 +0000 (22:36 +0000)]
Better compatibility with official syntax

16 years agoBetter compatibility with official syntax
Jelmer Vernooij [Tue, 12 Aug 2003 22:34:09 +0000 (22:34 +0000)]
Better compatibility with official syntax

16 years agoRemove db2latex
Jelmer Vernooij [Tue, 12 Aug 2003 22:31:29 +0000 (22:31 +0000)]
Remove db2latex

16 years agoVFS layer should be TRANSPARENT, not OPAQUE
Alexander Bokovoy [Tue, 12 Aug 2003 22:10:49 +0000 (22:10 +0000)]
VFS layer should be TRANSPARENT, not OPAQUE

16 years agoManpages work now as well
Jelmer Vernooij [Tue, 12 Aug 2003 22:09:48 +0000 (22:09 +0000)]
Manpages work now as well

16 years agoPS and PDF build correctly now
Jelmer Vernooij [Tue, 12 Aug 2003 21:59:02 +0000 (21:59 +0000)]
PS and PDF build correctly now

16 years agoTims' little fix.
John Terpstra [Tue, 12 Aug 2003 21:48:19 +0000 (21:48 +0000)]
Tims' little fix.

16 years agoApply a little const
Volker Lendecke [Tue, 12 Aug 2003 21:30:28 +0000 (21:30 +0000)]
Apply a little const

16 years agoAdd some images from the book
Jelmer Vernooij [Tue, 12 Aug 2003 21:18:53 +0000 (21:18 +0000)]
Add some images from the book

16 years agoThis adds *experimental* kerberos gss spnego client support to ntlm_auth.
Volker Lendecke [Tue, 12 Aug 2003 20:50:56 +0000 (20:50 +0000)]
This adds *experimental* kerberos gss spnego client support to ntlm_auth.

16 years agoSome more shuffling around gss-spnego server
Volker Lendecke [Tue, 12 Aug 2003 19:00:08 +0000 (19:00 +0000)]
Some more shuffling around gss-spnego server

16 years agoUse path relative to source/ for modules/getdate.h
Alexander Bokovoy [Tue, 12 Aug 2003 18:57:33 +0000 (18:57 +0000)]
Use path relative to source/ for modules/getdate.h

16 years agoMore fixes
Jelmer Vernooij [Tue, 12 Aug 2003 18:22:39 +0000 (18:22 +0000)]
More fixes

16 years agoProper dependencies for dev-doc
Jelmer Vernooij [Tue, 12 Aug 2003 18:11:03 +0000 (18:11 +0000)]
Proper dependencies for dev-doc

16 years agoFix syntax error.
Alexander Bokovoy [Tue, 12 Aug 2003 18:02:03 +0000 (18:02 +0000)]
Fix syntax error.

16 years agoNicer layout for the latex stylesheet
Jelmer Vernooij [Tue, 12 Aug 2003 17:58:25 +0000 (17:58 +0000)]
Nicer layout for the latex stylesheet

16 years agoFix some errors
Jelmer Vernooij [Tue, 12 Aug 2003 17:48:24 +0000 (17:48 +0000)]
Fix some errors

16 years agoMerge over book changes into 3_0 CVS
Jelmer Vernooij [Tue, 12 Aug 2003 17:36:25 +0000 (17:36 +0000)]
Merge over book changes into 3_0 CVS

16 years agoAs described in http://davenport.sourceforge.net/ntlm.html add NTLM2
Andrew Bartlett [Tue, 12 Aug 2003 05:53:43 +0000 (05:53 +0000)]
As described in davenport.sourceforge.net/ntlm.html add NTLM2
authentication.

NTLM2 is a version of NTLM, that involves both a client and server challenge,
and the creating of a new (presuable more secure) session key.

Unfortunetly this is not quite the same as NTLMv2, and we don't know how to
get the session key.  I suggest looking very closely at what MSCHAPv2, and
other MS auth protocols do...

Andrew Bartlett

16 years agoFix comment
Andrew Bartlett [Tue, 12 Aug 2003 05:01:24 +0000 (05:01 +0000)]
Fix comment

16 years agoFix another error code return against Samba4 test suite... Don't allow
Jeremy Allison [Tue, 12 Aug 2003 04:52:11 +0000 (04:52 +0000)]
Fix another error code return against Samba4 test suite... Don't allow
a path above root.
Jeremy.

16 years agoAdd vfs_readonly module which allows to enforce periodic read-only limit on a share...
Alexander Bokovoy [Tue, 12 Aug 2003 04:35:47 +0000 (04:35 +0000)]
Add vfs_readonly module which allows to enforce periodic read-only limit on a share based on a specified start and end dates according to date(1) format

16 years agoTest invalid map system, map hidden, create mask, force create mask
Jeremy Allison [Tue, 12 Aug 2003 04:28:22 +0000 (04:28 +0000)]
Test invalid map system, map hidden, create mask, force create mask
parameters. Fix return code for Samba 4 torture tester.
Jeremy.

16 years agoFix for bugid #205 - work by Andrew Bartlet (modified to use
Jeremy Allison [Tue, 12 Aug 2003 04:25:26 +0000 (04:25 +0000)]
Fix for bugid #205 - work by Andrew Bartlet (modified to use
fixed buffer by me).
Jeremy.

16 years agoClarify gss spnego ntlmssp server a bit
Volker Lendecke [Tue, 12 Aug 2003 01:54:26 +0000 (01:54 +0000)]
Clarify gss spnego ntlmssp server a bit

16 years agoMissed one file. Now it's added.
John Terpstra [Tue, 12 Aug 2003 01:31:34 +0000 (01:31 +0000)]
Missed one file. Now it's added.

16 years agoUpdating SuSE build files for Samba3
John Terpstra [Tue, 12 Aug 2003 01:30:40 +0000 (01:30 +0000)]
Updating SuSE build files for Samba3

16 years agoDeleting obsoleted files in preparation for addition of new files.
John Terpstra [Tue, 12 Aug 2003 01:27:23 +0000 (01:27 +0000)]
Deleting obsoleted files in preparation for addition of new files.

16 years agoStylesheet for processing samba docs
Jelmer Vernooij [Tue, 12 Aug 2003 01:19:48 +0000 (01:19 +0000)]
Stylesheet for processing samba docs

16 years agoAdd DTD for the samba-specific docbook tags
Jelmer Vernooij [Tue, 12 Aug 2003 01:18:20 +0000 (01:18 +0000)]
Add DTD for the samba-specific docbook tags

16 years agoFix client autonegotiate signing.
Volker Lendecke [Tue, 12 Aug 2003 01:15:23 +0000 (01:15 +0000)]
Fix client autonegotiate signing.
Jeremy.

16 years agoFix for bug 269. Change wbinfo and ntlm_auth to convert domain, username
Tim Potter [Tue, 12 Aug 2003 00:46:15 +0000 (00:46 +0000)]
Fix for bug 269.  Change wbinfo and ntlm_auth to convert domain, username
and workstation to utf8 before sending the winbindd request.  Also, don't
continue when the call to pull_utf8() fails but rather return a winbind
error.  (This is what was causing the crash)

16 years agoFallback to not using NTLMv2 is extended security not supported.
Jeremy Allison [Mon, 11 Aug 2003 21:44:19 +0000 (21:44 +0000)]
Fallback to not using NTLMv2 is extended security not supported.
Jeremy.

16 years agoI think this is the one to check...
Volker Lendecke [Mon, 11 Aug 2003 21:00:13 +0000 (21:00 +0000)]
I think this is the one to check...

Volker

16 years agoRevert the latest fix. Need to investigate further.
Volker Lendecke [Mon, 11 Aug 2003 20:51:47 +0000 (20:51 +0000)]
Revert the latest fix. Need to investigate further.

Volker

16 years agoMake client signing auto.
Jeremy Allison [Mon, 11 Aug 2003 20:50:42 +0000 (20:50 +0000)]
Make client signing auto.
Jeremy.

16 years agoFix a segfault in ntlm_auth when we can't find a domain or hostname.
Volker Lendecke [Mon, 11 Aug 2003 20:40:39 +0000 (20:40 +0000)]
Fix a segfault in ntlm_auth when we can't find a domain or hostname.

Volker