bbaumbach/samba-autobuild/.git
20 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.

20 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

20 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

20 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

20 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.

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

20 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

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

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

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

20 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

20 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 )

20 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.

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

20 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.

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

20 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.

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

20 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.

20 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

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

20 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.

20 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.

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

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

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

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

20 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

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

20 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

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

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

20 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

20 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.

20 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

20 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

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

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

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

20 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

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

20 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

20 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

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

20 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.

20 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

20 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.

20 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.

20 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

20 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.

20 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

20 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.

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

20 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

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

20 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)

20 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.

20 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

20 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

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

20 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

20 years agoApply some const
Volker Lendecke [Mon, 11 Aug 2003 19:11:43 +0000 (19:11 +0000)]
Apply some const

20 years agoFix typos.
Volker Lendecke [Mon, 11 Aug 2003 17:42:17 +0000 (17:42 +0000)]
Fix typos.

Volker

20 years agoMention security=ads in introductory paragraph too
Alexander Bokovoy [Mon, 11 Aug 2003 08:05:59 +0000 (08:05 +0000)]
Mention security=ads in introductory paragraph too

20 years agofix bug #281 by surrounding pdb_getgrgid() with become/unbecome_root()
Gerald Carter [Mon, 11 Aug 2003 07:05:23 +0000 (07:05 +0000)]
fix bug #281 by surrounding pdb_getgrgid() with become/unbecome_root()

20 years agoadding '.' special name to --domain to mean our domain
Gerald Carter [Mon, 11 Aug 2003 06:36:30 +0000 (06:36 +0000)]
adding '.' special name to --domain to mean our domain

20 years agoadding missing options (mine) to wbinfo
Gerald Carter [Mon, 11 Aug 2003 06:30:22 +0000 (06:30 +0000)]
adding missing options (mine) to wbinfo

20 years agoUpdate upgrading docs
Jelmer Vernooij [Mon, 11 Aug 2003 01:41:56 +0000 (01:41 +0000)]
Update upgrading docs

20 years agoImprove MySQL library detection, add support for MySQL 4
Jelmer Vernooij [Mon, 11 Aug 2003 00:31:28 +0000 (00:31 +0000)]
Improve MySQL library detection, add support for MySQL 4

20 years agonot used
Gerald Carter [Sun, 10 Aug 2003 22:11:26 +0000 (22:11 +0000)]
not used

20 years agoadd --domain=DOMAINNAME to wbinfo
Gerald Carter [Sun, 10 Aug 2003 22:01:11 +0000 (22:01 +0000)]
add --domain=DOMAINNAME to wbinfo

Add support for geting the sequence number, list of users, and list
of groups for a specific domain (assuming on reported back by
wbinfo -m)

wbinfo -u --domain=DOA

20 years agoWe get the server and workgroup list only over port 139. Fall back to that
Volker Lendecke [Sun, 10 Aug 2003 21:43:28 +0000 (21:43 +0000)]
We get the server and workgroup list only over port 139. Fall back to that
and if NetBIOS over TCP/IP is disabled, give an error message.

Fixes Bug #284

Volker

20 years agoFix style
Jelmer Vernooij [Sun, 10 Aug 2003 20:41:27 +0000 (20:41 +0000)]
Fix style

20 years agoStore the server domain from the ntlmssp challenge in the client struct
Volker Lendecke [Sun, 10 Aug 2003 20:18:05 +0000 (20:18 +0000)]
Store the server domain from the ntlmssp challenge in the client struct
to be able to ask a LMB for the servers in its workgroup. Against
W2k this only works on port 139....

Volker

20 years agofix MS-DFS (my bug) stupid return code error that cose me more time
Gerald Carter [Sun, 10 Aug 2003 06:45:04 +0000 (06:45 +0000)]
fix MS-DFS (my bug)  stupid return code error that cose me more time
that I would like to admit.

20 years agofix for BUG #267 (problem with supplementary groups).
Gerald Carter [Sat, 9 Aug 2003 23:12:35 +0000 (23:12 +0000)]
fix for BUG #267 (problem with supplementary groups).
Use winbindd to get the group list if possible since we already
know it from netsamlogon_cache.tdb. More effecient than letting
libc call getgrent() to get seconary groups.

Tested by Ken Cross.

20 years agoupdating smb.conf manpage to reflect changes in ./configure options
Gerald Carter [Sat, 9 Aug 2003 23:01:35 +0000 (23:01 +0000)]
updating smb.conf manpage to reflect changes in ./configure options

20 years agofix 2 bugs:
Gerald Carter [Fri, 8 Aug 2003 23:53:13 +0000 (23:53 +0000)]
fix 2 bugs:

  1)  don't ask trusted DC's for a list of trusted domains.  This causes
      us to treat non-transitive ones as if they were transitive.  Not
      needed anyways

  2)  Fix dc lookup bug where we would always try to use DNS to resolve
      the DC's for a domain (even if it was a trusted NT4 domain).

20 years agoFormat tidyup.
Jeremy Allison [Fri, 8 Aug 2003 23:09:09 +0000 (23:09 +0000)]
Format tidyup.
Jeremy.

20 years agoTurn on client ntlmv2 by default.
Jeremy Allison [Fri, 8 Aug 2003 22:19:09 +0000 (22:19 +0000)]
Turn on client ntlmv2 by default.
Jeremy.

20 years agoRPC fix from Ronan Waide <waider@waider.ie>. Tested with rpcecho.
Jeremy Allison [Fri, 8 Aug 2003 17:08:35 +0000 (17:08 +0000)]
RPC fix from Ronan Waide <waider@waider.ie>. Tested with rpcecho.
Jeremy.

20 years agoneed to be able to connect to a domain member as a local account; don't always map...
Gerald Carter [Fri, 8 Aug 2003 05:11:11 +0000 (05:11 +0000)]
need to be able to connect to a domain member as a local account; don't always map to the domain name

20 years agoneed to make sure that the connection struct mem_ctx is initialized and destroyed
Gerald Carter [Fri, 8 Aug 2003 05:10:12 +0000 (05:10 +0000)]
need to make sure that the connection struct mem_ctx is initialized and destroyed

20 years agoAdded by request of "Stefan (metze) Metzmacher" <metze@metzemix.de>.
Jeremy Allison [Fri, 8 Aug 2003 00:53:46 +0000 (00:53 +0000)]
Added by request of "Stefan (metze) Metzmacher" <metze@metzemix.de>.
Jeremy.

20 years agoTest modules for shadow copy by "Stefan (metze) Metzmacher" <metze@metzemix.de>.
Jeremy Allison [Thu, 7 Aug 2003 21:49:01 +0000 (21:49 +0000)]
Test modules for shadow copy by "Stefan (metze) Metzmacher" <metze@metzemix.de>.
Jeremy.

20 years agoShadow copy API - Original work by "Ken Cross" <kcross@nssolutions.com>, adapted
Jeremy Allison [Thu, 7 Aug 2003 21:47:46 +0000 (21:47 +0000)]
Shadow copy API - Original work by "Ken Cross" <kcross@nssolutions.com>, adapted
into a patch by "Stefan (metze) Metzmacher" <metze@metzemix.de>.
Jeremy.

20 years agoAn oplock break reply from the client causes the sequence number to be
Jeremy Allison [Thu, 7 Aug 2003 05:36:08 +0000 (05:36 +0000)]
An oplock break reply from the client causes the sequence number to be
updated by 2 if there is no open reply outstanding, else by one....
Yes - this makes no sense....
Jeremy.

20 years agoadding generic docs for defining VFS module options
Gerald Carter [Thu, 7 Aug 2003 05:00:51 +0000 (05:00 +0000)]
adding generic docs for defining VFS module options

20 years agoTurns out I had my packet sequences wrong for oplock break code.
Jeremy Allison [Thu, 7 Aug 2003 02:59:52 +0000 (02:59 +0000)]
Turns out I had my packet sequences wrong for oplock break code.
I was storing the mid of the oplock break - I should have been
storing the mid from the open. There are thus 2 types of deferred
packet sequence returns - ones that increment the sequence number
(returns from oplock causing opens) and ones that don't (change notify
returns etc). Running with signing forced on does lead to some
interesting tests :-).
Jeremy.

20 years agoCosmetic fix from waider@waider.ie.
Jeremy Allison [Thu, 7 Aug 2003 01:04:57 +0000 (01:04 +0000)]
Cosmetic fix from waider@waider.ie.
Jeremy.

20 years agoPatch from waider@waider.ie to print out Port Type.
Jeremy Allison [Thu, 7 Aug 2003 00:55:35 +0000 (00:55 +0000)]
Patch from waider@waider.ie to print out Port Type.
Jeremy.

20 years agoEnsure smbclient obeys -s smb.conf option.
Jeremy Allison [Wed, 6 Aug 2003 22:45:46 +0000 (22:45 +0000)]
Ensure smbclient obeys -s smb.conf option.
Jeremy.

20 years agoReversed replacement. Oops.
Jeremy Allison [Wed, 6 Aug 2003 21:31:11 +0000 (21:31 +0000)]
Reversed replacement. Oops.
Jeremy.

20 years agoAnal formatting tidyup :-).
Jeremy Allison [Wed, 6 Aug 2003 20:01:31 +0000 (20:01 +0000)]
Anal formatting tidyup :-).
Jeremy.

20 years agoGet rid of MAXPATHLEN, move to standard PATH_MAX.
Jeremy Allison [Wed, 6 Aug 2003 19:30:42 +0000 (19:30 +0000)]
Get rid of MAXPATHLEN, move to standard PATH_MAX.
Jeremy.

20 years agofix bug #208; have to get the gid of the user's primary group for %G
Gerald Carter [Wed, 6 Aug 2003 19:16:17 +0000 (19:16 +0000)]
fix bug #208; have to get the gid of the user's primary group for %G

20 years agorework winbindd_accountdb_init() to reduce error messages in the log
Gerald Carter [Wed, 6 Aug 2003 18:01:39 +0000 (18:01 +0000)]
rework winbindd_accountdb_init() to reduce error messages in the log

20 years agoWhen doing 'net groupmap add', default to algorithmic mapping for the rid.
Volker Lendecke [Wed, 6 Aug 2003 09:24:11 +0000 (09:24 +0000)]
When doing 'net groupmap add', default to algorithmic mapping for the rid.

Volker

20 years agoSpelling.
Tim Potter [Wed, 6 Aug 2003 01:14:51 +0000 (01:14 +0000)]
Spelling.

20 years agooops; fix typo. Noticed by gcc warning
Gerald Carter [Wed, 6 Aug 2003 00:06:37 +0000 (00:06 +0000)]
oops; fix typo.  Noticed by gcc warning