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.
Rafal Szczesniak [Wed, 13 Aug 2003 20:53:48 +0000 (20:53 +0000)]
Small typo fix found while testing domain trusts.
rafal
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
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
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.
Jelmer Vernooij [Wed, 13 Aug 2003 06:16:06 +0000 (06:16 +0000)]
Fix typo
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
Jelmer Vernooij [Wed, 13 Aug 2003 06:07:10 +0000 (06:07 +0000)]
regenerate
Jelmer Vernooij [Wed, 13 Aug 2003 05:58:46 +0000 (05:58 +0000)]
Regenerate
Jelmer Vernooij [Wed, 13 Aug 2003 05:11:03 +0000 (05:11 +0000)]
regenerate
Jelmer Vernooij [Wed, 13 Aug 2003 04:57:28 +0000 (04:57 +0000)]
Add some more new common options
Jelmer Vernooij [Wed, 13 Aug 2003 04:11:50 +0000 (04:11 +0000)]
Create symlinks for modules that register multiple functions (fixes bug #91 )
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.
Jelmer Vernooij [Wed, 13 Aug 2003 03:57:48 +0000 (03:57 +0000)]
Regenerate docs
Jeremy Allison [Wed, 13 Aug 2003 03:49:43 +0000 (03:49 +0000)]
Query volume info level 2 fix - found by Samba4 tester.
Jeremy.
Jelmer Vernooij [Wed, 13 Aug 2003 03:32:57 +0000 (03:32 +0000)]
Regenerate docs!
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.
Jelmer Vernooij [Wed, 13 Aug 2003 03:27:45 +0000 (03:27 +0000)]
Regenerate docs!
Jeremy Allison [Wed, 13 Aug 2003 02:31:22 +0000 (02:31 +0000)]
More chkpth fixes from Samba4 tests.
Jeremy.
Jelmer Vernooij [Wed, 13 Aug 2003 02:12:11 +0000 (02:12 +0000)]
Final update. Links work now as well
Jelmer Vernooij [Wed, 13 Aug 2003 00:35:58 +0000 (00:35 +0000)]
Last set of syntax fixes
Jeremy Allison [Wed, 13 Aug 2003 00:31:23 +0000 (00:31 +0000)]
Ensure we pass the Samba4 unlink test !
Jeremy.
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.
Jelmer Vernooij [Tue, 12 Aug 2003 23:45:58 +0000 (23:45 +0000)]
Conform better to the specs
Jelmer Vernooij [Tue, 12 Aug 2003 22:36:55 +0000 (22:36 +0000)]
Better compatibility with official syntax
Jelmer Vernooij [Tue, 12 Aug 2003 22:34:09 +0000 (22:34 +0000)]
Better compatibility with official syntax
Jelmer Vernooij [Tue, 12 Aug 2003 22:31:29 +0000 (22:31 +0000)]
Remove db2latex
Alexander Bokovoy [Tue, 12 Aug 2003 22:10:49 +0000 (22:10 +0000)]
VFS layer should be TRANSPARENT, not OPAQUE
Jelmer Vernooij [Tue, 12 Aug 2003 22:09:48 +0000 (22:09 +0000)]
Manpages work now as well
Jelmer Vernooij [Tue, 12 Aug 2003 21:59:02 +0000 (21:59 +0000)]
PS and PDF build correctly now
John Terpstra [Tue, 12 Aug 2003 21:48:19 +0000 (21:48 +0000)]
Tims' little fix.
Volker Lendecke [Tue, 12 Aug 2003 21:30:28 +0000 (21:30 +0000)]
Apply a little const
Jelmer Vernooij [Tue, 12 Aug 2003 21:18:53 +0000 (21:18 +0000)]
Add some images from the book
Volker Lendecke [Tue, 12 Aug 2003 20:50:56 +0000 (20:50 +0000)]
This adds *experimental* kerberos gss spnego client support to ntlm_auth.
Volker Lendecke [Tue, 12 Aug 2003 19:00:08 +0000 (19:00 +0000)]
Some more shuffling around gss-spnego server
Alexander Bokovoy [Tue, 12 Aug 2003 18:57:33 +0000 (18:57 +0000)]
Use path relative to source/ for modules/getdate.h
Jelmer Vernooij [Tue, 12 Aug 2003 18:22:39 +0000 (18:22 +0000)]
More fixes
Jelmer Vernooij [Tue, 12 Aug 2003 18:11:03 +0000 (18:11 +0000)]
Proper dependencies for dev-doc
Alexander Bokovoy [Tue, 12 Aug 2003 18:02:03 +0000 (18:02 +0000)]
Fix syntax error.
Jelmer Vernooij [Tue, 12 Aug 2003 17:58:25 +0000 (17:58 +0000)]
Nicer layout for the latex stylesheet
Jelmer Vernooij [Tue, 12 Aug 2003 17:48:24 +0000 (17:48 +0000)]
Fix some errors
Jelmer Vernooij [Tue, 12 Aug 2003 17:36:25 +0000 (17:36 +0000)]
Merge over book changes into 3_0 CVS
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
Andrew Bartlett [Tue, 12 Aug 2003 05:01:24 +0000 (05:01 +0000)]
Fix comment
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.
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
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.
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.
Volker Lendecke [Tue, 12 Aug 2003 01:54:26 +0000 (01:54 +0000)]
Clarify gss spnego ntlmssp server a bit
John Terpstra [Tue, 12 Aug 2003 01:31:34 +0000 (01:31 +0000)]
Missed one file. Now it's added.
John Terpstra [Tue, 12 Aug 2003 01:30:40 +0000 (01:30 +0000)]
Updating SuSE build files for Samba3
John Terpstra [Tue, 12 Aug 2003 01:27:23 +0000 (01:27 +0000)]
Deleting obsoleted files in preparation for addition of new files.
Jelmer Vernooij [Tue, 12 Aug 2003 01:19:48 +0000 (01:19 +0000)]
Stylesheet for processing samba docs
Jelmer Vernooij [Tue, 12 Aug 2003 01:18:20 +0000 (01:18 +0000)]
Add DTD for the samba-specific docbook tags
Volker Lendecke [Tue, 12 Aug 2003 01:15:23 +0000 (01:15 +0000)]
Fix client autonegotiate signing.
Jeremy.
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)
Jeremy Allison [Mon, 11 Aug 2003 21:44:19 +0000 (21:44 +0000)]
Fallback to not using NTLMv2 is extended security not supported.
Jeremy.
Volker Lendecke [Mon, 11 Aug 2003 21:00:13 +0000 (21:00 +0000)]
I think this is the one to check...
Volker
Volker Lendecke [Mon, 11 Aug 2003 20:51:47 +0000 (20:51 +0000)]
Revert the latest fix. Need to investigate further.
Volker
Jeremy Allison [Mon, 11 Aug 2003 20:50:42 +0000 (20:50 +0000)]
Make client signing auto.
Jeremy.
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
Volker Lendecke [Mon, 11 Aug 2003 19:11:43 +0000 (19:11 +0000)]
Apply some const
Volker Lendecke [Mon, 11 Aug 2003 17:42:17 +0000 (17:42 +0000)]
Fix typos.
Volker
Alexander Bokovoy [Mon, 11 Aug 2003 08:05:59 +0000 (08:05 +0000)]
Mention security=ads in introductory paragraph too
Gerald Carter [Mon, 11 Aug 2003 07:05:23 +0000 (07:05 +0000)]
fix bug #281 by surrounding pdb_getgrgid() with become/unbecome_root()
Gerald Carter [Mon, 11 Aug 2003 06:36:30 +0000 (06:36 +0000)]
adding '.' special name to --domain to mean our domain
Gerald Carter [Mon, 11 Aug 2003 06:30:22 +0000 (06:30 +0000)]
adding missing options (mine) to wbinfo
Jelmer Vernooij [Mon, 11 Aug 2003 01:41:56 +0000 (01:41 +0000)]
Update upgrading docs
Jelmer Vernooij [Mon, 11 Aug 2003 00:31:28 +0000 (00:31 +0000)]
Improve MySQL library detection, add support for MySQL 4
Gerald Carter [Sun, 10 Aug 2003 22:11:26 +0000 (22:11 +0000)]
not used
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
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
Jelmer Vernooij [Sun, 10 Aug 2003 20:41:27 +0000 (20:41 +0000)]
Fix style
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
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.
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.
Gerald Carter [Sat, 9 Aug 2003 23:01:35 +0000 (23:01 +0000)]
updating smb.conf manpage to reflect changes in ./configure options
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).
Jeremy Allison [Fri, 8 Aug 2003 23:09:09 +0000 (23:09 +0000)]
Format tidyup.
Jeremy.
Jeremy Allison [Fri, 8 Aug 2003 22:19:09 +0000 (22:19 +0000)]
Turn on client ntlmv2 by default.
Jeremy.
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.
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
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
Jeremy Allison [Fri, 8 Aug 2003 00:53:46 +0000 (00:53 +0000)]
Added by request of "Stefan (metze) Metzmacher" <metze@metzemix.de>.
Jeremy.
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.
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.
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.
Gerald Carter [Thu, 7 Aug 2003 05:00:51 +0000 (05:00 +0000)]
adding generic docs for defining VFS module options
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.
Jeremy Allison [Thu, 7 Aug 2003 01:04:57 +0000 (01:04 +0000)]
Cosmetic fix from waider@waider.ie.
Jeremy.
Jeremy Allison [Thu, 7 Aug 2003 00:55:35 +0000 (00:55 +0000)]
Patch from waider@waider.ie to print out Port Type.
Jeremy.
Jeremy Allison [Wed, 6 Aug 2003 22:45:46 +0000 (22:45 +0000)]
Ensure smbclient obeys -s smb.conf option.
Jeremy.
Jeremy Allison [Wed, 6 Aug 2003 21:31:11 +0000 (21:31 +0000)]
Reversed replacement. Oops.
Jeremy.
Jeremy Allison [Wed, 6 Aug 2003 20:01:31 +0000 (20:01 +0000)]
Anal formatting tidyup :-).
Jeremy.
Jeremy Allison [Wed, 6 Aug 2003 19:30:42 +0000 (19:30 +0000)]
Get rid of MAXPATHLEN, move to standard PATH_MAX.
Jeremy.
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
Gerald Carter [Wed, 6 Aug 2003 18:01:39 +0000 (18:01 +0000)]
rework winbindd_accountdb_init() to reduce error messages in the log
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
Tim Potter [Wed, 6 Aug 2003 01:14:51 +0000 (01:14 +0000)]
Spelling.
Gerald Carter [Wed, 6 Aug 2003 00:06:37 +0000 (00:06 +0000)]
oops; fix typo. Noticed by gcc warning