John Terpstra [Wed, 27 Aug 2003 02:31:06 +0000 (02:31 +0000)]
patch from Guenther Deschner <gd@suse.de>
Jeremy Allison [Wed, 27 Aug 2003 01:25:01 +0000 (01:25 +0000)]
Fix the character set handling properly in nmbd. Also fix bug where
iconv wasn't re-initialised on reading of "charset" parameters. This
caused workgroup name to be set incorrectly if it contained an
extended character.
Jeremy.
Alexander Bokovoy [Tue, 26 Aug 2003 19:48:16 +0000 (19:48 +0000)]
Fix for #150.
We now fallback to Samba-provided CP850 charset module if CP850 or IBM850 does not exist on target system at runtime.
1. Introduce CP850 charset module based on charmaps table from GNU libc 2.2.5
2. Make CP850 charset module shared and build it by default
Should fix Solaris run-time
Gerald Carter [Tue, 26 Aug 2003 04:36:27 +0000 (04:36 +0000)]
sync with changes from Jerome Tournier @ IDEALX; should now work with sambaSamAccount schema
Gerald Carter [Tue, 26 Aug 2003 04:17:05 +0000 (04:17 +0000)]
include enhancements from Buchan Milne to generate LDIF modify output in addition to add
Gerald Carter [Tue, 26 Aug 2003 03:13:39 +0000 (03:13 +0000)]
adding some debugs while tracking down a bug
Gerald Carter [Mon, 25 Aug 2003 21:45:57 +0000 (21:45 +0000)]
make sure we keep the trusted domain cache up to date
Gerald Carter [Mon, 25 Aug 2003 21:16:17 +0000 (21:16 +0000)]
update python libraries for new cli_spoolss_getprinterdriver() call
Gerald Carter [Mon, 25 Aug 2003 21:08:46 +0000 (21:08 +0000)]
run autogen when making a tarball
Gerald Carter [Mon, 25 Aug 2003 21:08:06 +0000 (21:08 +0000)]
ignore generated smbadduser
Gerald Carter [Mon, 25 Aug 2003 20:42:24 +0000 (20:42 +0000)]
fix bug 289; make sure to reset the offset into a string when reallocating space
Gerald Carter [Mon, 25 Aug 2003 19:09:24 +0000 (19:09 +0000)]
fix bugs 327 & 340; make sure pam_smbpass.so gets linked with all the neccessary files & libs
Gerald Carter [Mon, 25 Aug 2003 17:55:33 +0000 (17:55 +0000)]
fix bug #39; save the -W value and restore it after lp_load()
Gerald Carter [Mon, 25 Aug 2003 13:05:48 +0000 (13:05 +0000)]
make sure the printer data value exists before saying you deleted it
Volker Lendecke [Mon, 25 Aug 2003 09:13:54 +0000 (09:13 +0000)]
Fix memleak.
Volker Lendecke [Mon, 25 Aug 2003 09:13:20 +0000 (09:13 +0000)]
Fix segfault. krb5_free_ticket does not check if it got a NULL ticket.
Gerald Carter [Sat, 23 Aug 2003 03:34:24 +0000 (03:34 +0000)]
it never amazes me when some new things crawls out of the windows
spooler. :-(
When installing the Adobe PS driver onto a Samba printer via cupsaddsmb,
I noticed a WIN2k client sending DeletePrinterData("DependentFiles")
pver and over. I also noticed that we never checked to see if the
value was valid. No now we do and return WERR_BADFILE which I think
is correct.
Next, I noticed that we never wrote the updated printer out to disk
after a succesfully DeletePrinterData[Ex]().
Finally, I found a driver (Canon BJC 1000 using the Adobe PS drivers
and foomatic PPD file) that was destroying the device name string
in the devmode. So now get_a_printer_2() always writes out the
device name in \\server\share form.
I think these changes might fix bug 294.
Jeremy Allison [Sat, 23 Aug 2003 01:59:14 +0000 (01:59 +0000)]
Half-way though the big conversion of all nmbd access to wire elements being
converted to pull/push_ascii. This will not work right at the moment for non
English codepages, but compiles - I will finish the work over the weekend.
Then nmbd should be completely codepage correct.
Jeremy.
Jeremy Allison [Fri, 22 Aug 2003 22:45:34 +0000 (22:45 +0000)]
struct nmb_name should have 16 byte namestrings, not 17.
Jeremy.
Jeremy Allison [Fri, 22 Aug 2003 21:41:50 +0000 (21:41 +0000)]
Use correct size (17 not 16) when doing a push_ascii(). Ensure that
wins hook is called with unix charset.
Jeremy.
Gerald Carter [Fri, 22 Aug 2003 18:00:17 +0000 (18:00 +0000)]
* Fix for bug 290:
smbadduser must obeys the paths from configure options
* Try to get libsmbclient files installed during 'make install'
Still one outstanding problem with static lib. INSTALLCLIENTCMD_A
is not getting set correctly.
Gerald Carter [Fri, 22 Aug 2003 16:57:00 +0000 (16:57 +0000)]
add a quick script to create a tarball for CVS snapshots
Gerald Carter [Fri, 22 Aug 2003 16:53:17 +0000 (16:53 +0000)]
fixing some packaging stuff for Solaris
Gerald Carter [Fri, 22 Aug 2003 16:23:56 +0000 (16:23 +0000)]
don't complain if the using_samba book is not in the tree
Gerald Carter [Fri, 22 Aug 2003 14:24:38 +0000 (14:24 +0000)]
revert abartet's change that removed the check for CAP_EXTENDED_SECURITY when decidiing whether or not use ntlmv2 in client connections
Gerald Carter [Fri, 22 Aug 2003 13:39:49 +0000 (13:39 +0000)]
fix compile problem (stray character)
Gerald Carter [Fri, 22 Aug 2003 12:50:53 +0000 (12:50 +0000)]
ensure that 'available = no' works for [homes]; reported by Walter Haidinger
Jeremy Allison [Fri, 22 Aug 2003 00:26:37 +0000 (00:26 +0000)]
Ensure nmb_namestr() converts back from CH_DOS to CH_UNIX.
Jeremy.
Jeremy Allison [Fri, 22 Aug 2003 00:13:42 +0000 (00:13 +0000)]
Ensure nmblookup correctly converts from CH_DOS to CH_UNIX when displaying
a printable name on node status.
Jeremy.
Jeremy Allison [Thu, 21 Aug 2003 23:55:29 +0000 (23:55 +0000)]
Shut conversion errors up when initialising tables.
Jeremy.
Herb Lewis [Thu, 21 Aug 2003 22:48:58 +0000 (22:48 +0000)]
define SYSV for IRIX
Gerald Carter [Thu, 21 Aug 2003 21:09:29 +0000 (21:09 +0000)]
fix bug 327; make sure to link SMBLDAP_OBJ with PAM_SMBPASS_OBJ
Gerald Carter [Thu, 21 Aug 2003 21:05:01 +0000 (21:05 +0000)]
fix for BUG 245; make sure we set the sid type when falling back to the rid algorithm stuff
Herb Lewis [Thu, 21 Aug 2003 19:27:01 +0000 (19:27 +0000)]
update for new version.h format
Jelmer Vernooij [Thu, 21 Aug 2003 18:49:01 +0000 (18:49 +0000)]
Keep list of ignored and shared modules
Gerald Carter [Thu, 21 Aug 2003 15:31:18 +0000 (15:31 +0000)]
adding note about change in 'unix extensions' behavior
Gerald Carter [Thu, 21 Aug 2003 15:07:43 +0000 (15:07 +0000)]
packaging fix for winbind NSS libraries from Brian King
Gerald Carter [Thu, 21 Aug 2003 13:05:09 +0000 (13:05 +0000)]
remove unneedced script
Gerald Carter [Thu, 21 Aug 2003 13:04:42 +0000 (13:04 +0000)]
actually check in the fix for make torture
Alexander Bokovoy [Thu, 21 Aug 2003 08:46:48 +0000 (08:46 +0000)]
Ignore only getdate.* in modules/, not the whole directory. Fixes static builds of modules
Steve French [Thu, 21 Aug 2003 04:45:11 +0000 (04:45 +0000)]
Checkin cifs vfs manpage
Jeremy Allison [Thu, 21 Aug 2003 01:49:59 +0000 (01:49 +0000)]
Unix extensions now default to on.
Jeremy.
Jeremy Allison [Thu, 21 Aug 2003 01:38:48 +0000 (01:38 +0000)]
Turn UNIX extensions on by default. Yes I will change the docs :-).
Jeremy.
Jeremy Allison [Wed, 20 Aug 2003 22:06:19 +0000 (22:06 +0000)]
Attempt to fix the charcnv issues causing nmbd to crash. If we get a failed
conversion simply copy as is. Also fixed the horrid malloc-twice-copy code
in the convert alloc path.
Jeremy.
Gerald Carter [Wed, 20 Aug 2003 21:53:18 +0000 (21:53 +0000)]
adding old NDS schema so I can update it
Gerald Carter [Wed, 20 Aug 2003 21:52:52 +0000 (21:52 +0000)]
checlking in initial version of 2.2 scripts so I can start updating them
Gerald Carter [Wed, 20 Aug 2003 17:13:38 +0000 (17:13 +0000)]
metze's autogenerate patch for version.h
Gerald Carter [Wed, 20 Aug 2003 16:08:39 +0000 (16:08 +0000)]
fix comments about schema dependencies
Gerald Carter [Wed, 20 Aug 2003 16:07:19 +0000 (16:07 +0000)]
Fix bug #252. Implement missing SAMR_REMOVE_USER_FOREIGN_DOMAIN
call.
Jelmer Vernooij [Wed, 20 Aug 2003 14:33:08 +0000 (14:33 +0000)]
Add log2pcap to ignorefile
Jelmer Vernooij [Wed, 20 Aug 2003 08:21:39 +0000 (08:21 +0000)]
Add W2k Deploy HOWTO
Jelmer Vernooij [Wed, 20 Aug 2003 08:20:14 +0000 (08:20 +0000)]
Make compiling vfs_readonly static possible
Andrew Bartlett [Wed, 20 Aug 2003 04:49:48 +0000 (04:49 +0000)]
We now know a lot more about SMB signing, and this comment no longer applies
We can join Win2k with default settings.
Andrew Bartlett
Gerald Carter [Wed, 20 Aug 2003 04:25:09 +0000 (04:25 +0000)]
fix small logic error in cm_open_connection() to work with non-krb5 connections
Gerald Carter [Tue, 19 Aug 2003 22:59:45 +0000 (22:59 +0000)]
missing backtic
Andrew Bartlett [Tue, 19 Aug 2003 22:47:10 +0000 (22:47 +0000)]
- Make 'net' use a single funciton for setting the 'use machine account' code.
- Make winbindd try to use kerberos for connections to DCs, so that it can
access RA=2 servers, particularly for netlogon.
- Make rpcclient follow the new flags for the NETLOGON pipe
- Make all the code that uses schannel use the centralised functions for doing so.
Andrew Bartlett
Alexander Bokovoy [Tue, 19 Aug 2003 21:52:33 +0000 (21:52 +0000)]
Ignore modules/*.c in make proto
Gerald Carter [Tue, 19 Aug 2003 21:36:00 +0000 (21:36 +0000)]
removing using_samba docs from samba cvs module (not are in a separate cvs module)
Andrew Bartlett [Tue, 19 Aug 2003 20:39:32 +0000 (20:39 +0000)]
- Fix the kerberos downgrade problem:
- When connecting to the NETOGON pipe, we make a call to auth2, in order
to verify our identity. This call was being made with negotiation flags
of 0x1ff. This caused our account to be downgraded. If we instead make
the call with flags > 1ff (such as 0x701ff), then this does not occour.
- This is *not* related to the use of kerberos for the CIFS-level connection
My theory is that Win2k has a test to see if we are sending *exactly* what
NT4 sent - setting any other flags seems to cause us to remain intact.
Also ensure that we only have 'setup schannel' code in a few places, not
scattered around cmd_netlogon too.
Andrew Bartlett
Gerald Carter [Tue, 19 Aug 2003 18:42:28 +0000 (18:42 +0000)]
updating README a little; (bug 214)
Andrew Bartlett [Tue, 19 Aug 2003 17:47:44 +0000 (17:47 +0000)]
Break up 'cli_full_connection' to allow for the session setups to be done
elsewhere in the code. This will allow us to try kerberos, then another user
then guest in the winbindd code.
Also, re-introduce the seperate, NT1 'guest' session setup code, as I found
some problems with doing guest under NTLMSSP.
Andrew Bartlett
Gerald Carter [Tue, 19 Aug 2003 16:56:53 +0000 (16:56 +0000)]
working on fix for BUG #294. Not done yet, but this at least clears
up some of the false positives in "rpcclient -c getdriver".
Also make sure that we ask for version2 and 3 drivers on x86.
Jelmer Vernooij [Tue, 19 Aug 2003 15:46:17 +0000 (15:46 +0000)]
Add log2pcap
Jelmer Vernooij [Tue, 19 Aug 2003 15:18:27 +0000 (15:18 +0000)]
- Update 'preload modules' documention (bug #304)
- Fix WINS Server List in SWAT (bug #197)
- Don't segfault SWAT when adding shares (bug #254)
Gerald Carter [Tue, 19 Aug 2003 04:32:56 +0000 (04:32 +0000)]
no maintainer for TurboLinux either
Gerald Carter [Tue, 19 Aug 2003 04:31:44 +0000 (04:31 +0000)]
removing outdated README
Gerald Carter [Tue, 19 Aug 2003 04:30:07 +0000 (04:30 +0000)]
missed one caldera packaging file
Gerald Carter [Tue, 19 Aug 2003 04:28:16 +0000 (04:28 +0000)]
no maintainer. Will be in the Attic if ever needed. No point
in claiming support for these packagaing files if we don't
even know if they build.
Gerald Carter [Tue, 19 Aug 2003 04:17:21 +0000 (04:17 +0000)]
Fix BUG #314: api_netUserGetGRoups() was failing prematurely
(also fixed the call to return the real groups and not a mocked
up list)
Fixed simple compiler warning in srv_lsa_ds.c
Jeremy Allison [Tue, 19 Aug 2003 01:53:45 +0000 (01:53 +0000)]
Implement SMBexit properly. Found by Samba4 tester. You must do a make
clean proto all; after this commit.
Jeremy.
Jeremy Allison [Tue, 19 Aug 2003 01:26:43 +0000 (01:26 +0000)]
Fix flush of 0xFFFF - found by Samba4 tester.
Jeremy.
Jeremy Allison [Tue, 19 Aug 2003 01:02:41 +0000 (01:02 +0000)]
Don't return DOS error on SMBsearch return if using NT error codes (NT1
protocol level). Fix for Samba4 tester.
Jeremy.
Andrew Bartlett [Mon, 18 Aug 2003 23:48:03 +0000 (23:48 +0000)]
Win2k never returns 'no such user' here, so when we do it, the clients freak
out. Return the standard 'logon failure' instead.
Andrew Bartlett
Jeremy Allison [Mon, 18 Aug 2003 21:54:42 +0000 (21:54 +0000)]
Added level 262. Found by Samba4 torture tester.
Jeremy.
Jeremy Allison [Mon, 18 Aug 2003 21:38:33 +0000 (21:38 +0000)]
Add level 261 to search. Found using Samba4 tester.
Jeremy.
Jelmer Vernooij [Mon, 18 Aug 2003 18:17:24 +0000 (18:17 +0000)]
Document -q
Jelmer Vernooij [Mon, 18 Aug 2003 17:58:01 +0000 (17:58 +0000)]
Add log2pcap manpage
Jelmer Vernooij [Mon, 18 Aug 2003 17:57:20 +0000 (17:57 +0000)]
- Small fix in smbsh.1.xml
- Add manpage for log2pcap
Jelmer Vernooij [Mon, 18 Aug 2003 17:53:56 +0000 (17:53 +0000)]
Update SWAT documentation
Gerald Carter [Mon, 18 Aug 2003 16:25:18 +0000 (16:25 +0000)]
fixing typo
Steve French [Sat, 16 Aug 2003 03:32:45 +0000 (03:32 +0000)]
Fixes to all mount.cifs to run more safely setuid
Jeremy Allison [Sat, 16 Aug 2003 02:34:03 +0000 (02:34 +0000)]
Implemented the level 1010 NT rename level. Many fixes for Samba4 test
correctness.
Jeremy.
Gerald Carter [Sat, 16 Aug 2003 01:40:38 +0000 (01:40 +0000)]
stupid...stupid...stupid....fix bug 294 by looking at the right arch string
Gerald Carter [Fri, 15 Aug 2003 23:45:13 +0000 (23:45 +0000)]
packagaing fixes from Buchan
Rafal Szczesniak [Fri, 15 Aug 2003 21:57:59 +0000 (21:57 +0000)]
In case of 'net rpc trustdom add' without domain name we were silently
asking for password without a piece of error message or explanation.
rafal
Jelmer Vernooij [Fri, 15 Aug 2003 21:57:57 +0000 (21:57 +0000)]
document 'kernel change notify', 'acl compatibility' and 'ldap idmap suffix'. All smb.conf options are documented now.
Jelmer Vernooij [Fri, 15 Aug 2003 21:32:44 +0000 (21:32 +0000)]
Document 'server schannel', 'client schannel', 'client signing', 'server signing', 'client plaintext auth'
Tim Potter [Fri, 15 Aug 2003 21:23:25 +0000 (21:23 +0000)]
Don't print out error in ads_do_search_retry() when it suceeds.
Gerald Carter [Fri, 15 Aug 2003 21:19:34 +0000 (21:19 +0000)]
s/OM_uint32//uint32/g
Alexander Bokovoy [Fri, 15 Aug 2003 21:14:35 +0000 (21:14 +0000)]
Fallback to our defaults (CP850/ASCII/UTF8) if there is no native iconv on the platform. This allows to compile and complain about it at runtime
Herb Lewis [Fri, 15 Aug 2003 21:05:45 +0000 (21:05 +0000)]
fix some typos
Gerald Carter [Fri, 15 Aug 2003 20:34:10 +0000 (20:34 +0000)]
more change to release notes
Alexander Bokovoy [Fri, 15 Aug 2003 20:30:52 +0000 (20:30 +0000)]
Do not cache iconv checks because we are looking for it now in different places and negative result does not mean we don't have iconv unless we checked everything
Gerald Carter [Fri, 15 Aug 2003 20:14:46 +0000 (20:14 +0000)]
working draft of release notes
Gerald Carter [Fri, 15 Aug 2003 20:12:40 +0000 (20:12 +0000)]
possible fix for bug 288 to repcent using an uninitialized cli_state struct
Alexander Bokovoy [Fri, 15 Aug 2003 20:09:12 +0000 (20:09 +0000)]
Fix charset detection code in configure.
Now we are:
1. Try to find correct name for default character sets for the platform
2. Use DEFAULT_{DOS|DISPLAY|UNIX}_CHARSET defines set during configure phase as defaults
This should fix CP850 problem on Solaris (at least) because it actually has IBM850 which
is the same but under different name
Rafal Szczesniak [Fri, 15 Aug 2003 19:47:10 +0000 (19:47 +0000)]
Give a temporary hint on how to delete trust account.
rafal
Volker Lendecke [Fri, 15 Aug 2003 19:29:08 +0000 (19:29 +0000)]
Latest heimdal snapshot has a krb5_set_real_time with a slightly
different (but by implicit conversion hopefully compatible... ;-)
prototype. Fix the build for that.
Jelmer Vernooij [Fri, 15 Aug 2003 18:41:17 +0000 (18:41 +0000)]
Regenerate docs
Jelmer Vernooij [Fri, 15 Aug 2003 18:26:34 +0000 (18:26 +0000)]
Regenerate docs