cvs2svn Import User [Sat, 8 Jun 2002 13:40:17 +0000 (13:40 +0000)]
This commit was manufactured by cvs2svn to create tag
'prerelease-2-2-5pre1'.
Gerald Carter [Sat, 8 Jun 2002 13:40:16 +0000 (13:40 +0000)]
samba-2.2.5-pre1
Gerald Carter [Sat, 8 Jun 2002 13:38:42 +0000 (13:38 +0000)]
typo on recycle.conf
John Terpstra [Sat, 8 Jun 2002 08:33:28 +0000 (08:33 +0000)]
All fixes are done so they can befixed again later. Oops - this is a fix for a typo.
John Terpstra [Sat, 8 Jun 2002 08:09:37 +0000 (08:09 +0000)]
Adding more configure options for test - NOTE: Do NOT use in production!
John Terpstra [Sat, 8 Jun 2002 07:48:34 +0000 (07:48 +0000)]
Updating for VFS changes.
John Terpstra [Sat, 8 Jun 2002 07:44:10 +0000 (07:44 +0000)]
Updating VFS installation stuff.
John Terpstra [Sat, 8 Jun 2002 07:31:45 +0000 (07:31 +0000)]
Fixed typo and replaced some more hashes with semi-colons.
Gerald Carter [Fri, 7 Jun 2002 23:39:20 +0000 (23:39 +0000)]
new example config file. Added some of the more recent
parameters.
Jeremy Allison [Fri, 7 Jun 2002 23:18:05 +0000 (23:18 +0000)]
Ensure when allowing fchown with write access and dos filemodes that
we leave the gid alone.
Jeremy.
Gerald Carter [Fri, 7 Jun 2002 22:30:02 +0000 (22:30 +0000)]
added notice printed to stderr about this tool going away.
Gerald Carter [Fri, 7 Jun 2002 22:22:23 +0000 (22:22 +0000)]
fix for using gcc with Sun's ld on Solaris
Gerald Carter [Fri, 7 Jun 2002 20:04:26 +0000 (20:04 +0000)]
missing $
Jeremy Allison [Fri, 7 Jun 2002 19:37:07 +0000 (19:37 +0000)]
Merge ... new Linux quota code from Christoph Hellwig <hch@infradead.org>.
Designed to work on any Linux 2.2.x and above kernel - mainly by including
all sorts of system header stuff in the evil include/samba_linux_quota.h
file. The sooner we can remove this file the better.
Jeremy.
Gerald Carter [Fri, 7 Jun 2002 19:11:27 +0000 (19:11 +0000)]
get rid of annoying "change your password now" message
caused by non-extistent attributes in sambaAccount entry.
This occurred after I imported a fresh smbpasswd file to the
directory.
Move TIME_T_MAX to smb.h for use in pdb_ldap.c as well as time.c
Gerald Carter [Fri, 7 Jun 2002 19:06:15 +0000 (19:06 +0000)]
fix typo
Gerald Carter [Fri, 7 Jun 2002 18:31:12 +0000 (18:31 +0000)]
added some useful comments
Gerald Carter [Fri, 7 Jun 2002 18:27:07 +0000 (18:27 +0000)]
fix compiler warnings....thought I had already checked this in....
Gerald Carter [Fri, 7 Jun 2002 18:09:35 +0000 (18:09 +0000)]
fix a few typos. Works again :-)
Gerald Carter [Fri, 7 Jun 2002 17:44:02 +0000 (17:44 +0000)]
&& nor ||
Gerald Carter [Fri, 7 Jun 2002 17:37:40 +0000 (17:37 +0000)]
fix inverted logic
Gerald Carter [Fri, 7 Jun 2002 17:15:25 +0000 (17:15 +0000)]
Checking in some changes from Buchan Milne
(plus a few chanegs as a result of some testing).
Gerald Carter [Fri, 7 Jun 2002 16:18:50 +0000 (16:18 +0000)]
removing outdated PerLDAP scripts. Only supporting the
Net::LDAP ones now
Gerald Carter [Fri, 7 Jun 2002 15:25:22 +0000 (15:25 +0000)]
include example configuration files with VFS modules
Gerald Carter [Fri, 7 Jun 2002 15:22:04 +0000 (15:22 +0000)]
* incldue block.so when building VFS modules
* update to coorespond with some build changes to VFS modules
Gerald Carter [Fri, 7 Jun 2002 15:19:17 +0000 (15:19 +0000)]
modified Makefile.in so that all VFS modules will
be built from top level makefile instead of each having its own.
Gerald Carter [Fri, 7 Jun 2002 15:18:28 +0000 (15:18 +0000)]
Added updated recycle bin code from Juergen Hasch.
Should be backwards compatible with previous version
but needs sufficient testing to be sure.
Gerald Carter [Fri, 7 Jun 2002 14:42:03 +0000 (14:42 +0000)]
remove compiler warnings from Richard Bollinger
Gerald Carter [Fri, 7 Jun 2002 14:40:44 +0000 (14:40 +0000)]
another patch from Toomas. Ctrl-Z is offensive to 2k/xp clients
apparently.
Gerald Carter [Fri, 7 Jun 2002 14:27:34 +0000 (14:27 +0000)]
only one cup of coffee so far. I should never touch cvs without at
least 2 - 3. :-\ mistyped command ended up checking in wrong configure
script. Regenerated out of current configure.in
Gerald Carter [Fri, 7 Jun 2002 14:22:33 +0000 (14:22 +0000)]
lib/charcnv.c
Gerald Carter [Fri, 7 Jun 2002 13:22:56 +0000 (13:22 +0000)]
Patch from Toomas Soome ....
Indexed nisnane syntax is wrong in current code, there is patch. the
syntax is: [colname=value, ... ],tablename. Also, make_nisname_from_uid()
is not in use.
John Terpstra [Fri, 7 Jun 2002 08:21:29 +0000 (08:21 +0000)]
Update to build 2.2.5pre and to add VFS modules.
John Terpstra [Fri, 7 Jun 2002 08:18:43 +0000 (08:18 +0000)]
Fix for cases where PATH_MAX is not defined.
Gerald Carter [Fri, 7 Jun 2002 04:48:45 +0000 (04:48 +0000)]
create pidfile after forking
Gerald Carter [Fri, 7 Jun 2002 04:43:18 +0000 (04:43 +0000)]
remove winbindd from status
Gerald Carter [Fri, 7 Jun 2002 04:39:28 +0000 (04:39 +0000)]
setting run levels for chkconfig
Gerald Carter [Fri, 7 Jun 2002 04:18:33 +0000 (04:18 +0000)]
build pam_smbpass.so library
Gerald Carter [Fri, 7 Jun 2002 03:49:15 +0000 (03:49 +0000)]
missing return statement; Jeremy please check
Gerald Carter [Fri, 7 Jun 2002 03:39:17 +0000 (03:39 +0000)]
make the sambaAccount AUXILARY
Gerald Carter [Fri, 7 Jun 2002 02:41:31 +0000 (02:41 +0000)]
document the -S option
Jeremy Allison [Fri, 7 Jun 2002 01:36:21 +0000 (01:36 +0000)]
Allow zero length sd_len for NTcreate_transact, but not NTset_sd.
Aparently helps Novell client.
Jeremy.
Jeremy Allison [Fri, 7 Jun 2002 00:43:04 +0000 (00:43 +0000)]
Missing STR_CONVERT's. Think I have them all now.
Jeremy.
Jeremy Allison [Fri, 7 Jun 2002 00:39:31 +0000 (00:39 +0000)]
Add more missing STR_CONVERT's.
Jeremy.
Jeremy Allison [Fri, 7 Jun 2002 00:29:28 +0000 (00:29 +0000)]
When using new cli_push interface, we must use STR_CONVERT to convert from
UNIX to DOS codepage on the wire....
Jeremy.
Jeremy Allison [Thu, 6 Jun 2002 23:55:37 +0000 (23:55 +0000)]
Overly complex but neccessary fix for kernel oplock problems. The issue
is that there are some times when we should return an EINTR from a select,
some times when we should not. As we can take a signal at any time, we
have to eat EINTR's in some selects. This means we need to check for
kernel oplock breaks more often in the main loop, as well as add the
queuing mechanism needed for the changenotify code (due to the mistake
in understanding POSIX semantics w.r.t. setting a signal mask in a
signal handler). This code now passes all my tests.
However, (and IMHO and I know tridge disagrees) - the correct way to
fix this is to run with RT signals blocked and explicitly unblock
them just before the main select, block them after and then process
them all in one place. Just my 2cents :-).
Jeremy.
Gerald Carter [Thu, 6 Jun 2002 21:55:21 +0000 (21:55 +0000)]
use global_myname and not domain for storing domain sid
Gerald Carter [Thu, 6 Jun 2002 21:38:47 +0000 (21:38 +0000)]
added -S option to set the domain sid from a domain controller.
Useful for setting the domain sid on a Samba BDC from a Samba PDC
(or for migrating from an NT PDC to a Samba PDC).
Jeremy Allison [Thu, 6 Jun 2002 21:12:48 +0000 (21:12 +0000)]
More fixes from Juergen Hasch for I18N - slightly modified.
Jeremy.
Gerald Carter [Thu, 6 Jun 2002 17:28:56 +0000 (17:28 +0000)]
fix permissions on libsmbclient librariesw
Gerald Carter [Thu, 6 Jun 2002 17:09:35 +0000 (17:09 +0000)]
fixes for libsmbclient and winbind init
Gerald Carter [Thu, 6 Jun 2002 14:25:02 +0000 (14:25 +0000)]
fixes for building smbclient and installing winbind init scripts
Gerald Carter [Thu, 6 Jun 2002 13:58:21 +0000 (13:58 +0000)]
separate init script for winbind
Gerald Carter [Thu, 6 Jun 2002 13:46:25 +0000 (13:46 +0000)]
allow root as well as domain admins to open an LDAP connection
John Terpstra [Thu, 6 Jun 2002 07:31:11 +0000 (07:31 +0000)]
Updated SPEC files for change of smb-block.conf to samba-block.conf in examples/VFS/block
Jeremy Allison [Thu, 6 Jun 2002 01:25:35 +0000 (01:25 +0000)]
Getting ready to add nasty quota support.... We need all this system
header *crap* that should be in glibc. I'm not happy :-(.
Jeremy.
Jeremy Allison [Wed, 5 Jun 2002 23:18:39 +0000 (23:18 +0000)]
Remember to convert pdb_XXX strings to DOS codepage before passing them
to unistr function - this expects DOS cp. Should fix germam umlaut problem
when returning ACL entries.
Jeremy.
Jeremy Allison [Wed, 5 Jun 2002 21:48:17 +0000 (21:48 +0000)]
Modified version of patch from Juergen Hasch <Hasch@t-online.de> to code
with returning UNIX codepages from winbindd. Adds new function
unistr2_to_unix and renames old unistr2_to_ascii to unistr2_to_dos
as it explicitly returns DOS codepages.
Moved unistr2_tdup into winbindd_rpc as it isn't used anywhere else.
Jeremy.
Herb Lewis [Wed, 5 Jun 2002 20:24:14 +0000 (20:24 +0000)]
set initial debug level to 0
Shirish Kalele [Wed, 5 Jun 2002 18:35:02 +0000 (18:35 +0000)]
Fix typo.
Gerald Carter [Wed, 5 Jun 2002 18:27:18 +0000 (18:27 +0000)]
fix for checking for sockio.h
Volker Lendecke [Wed, 5 Jun 2002 14:45:23 +0000 (14:45 +0000)]
Though shalt always compile before commit ;-)
Volker
Jim McDonough [Wed, 5 Jun 2002 14:24:17 +0000 (14:24 +0000)]
Disable kernel change notification for s390 architecture, as a kernel bug
causes it to crash when modifying anything on a share via an explorer
window. Bug has been submitted to the 390 kernel team.
Tim Potter [Wed, 5 Jun 2002 04:26:23 +0000 (04:26 +0000)]
Merge from HEAD:
>Store cache entry keys that have RID values in decimal to be
>consistent with other keys.
Jeremy Allison [Wed, 5 Jun 2002 01:47:26 +0000 (01:47 +0000)]
Remove blocksignals call as it's never going to bloody work right...
Jeremy.
Jeremy Allison [Tue, 4 Jun 2002 23:53:39 +0000 (23:53 +0000)]
Fix for Linux kernel bug where signal mask set within a signal handler
is being ignored on sighandler exit. This means we have to have a small
array of fd's, not a single one.
Jeremy.
Gerald Carter [Tue, 4 Jun 2002 22:25:39 +0000 (22:25 +0000)]
check in Idealx tools after talking with Olivier Lemaire at idealx dot org.
Still have some more LDAP fixes for 2.2.x
jerry
Gerald Carter [Tue, 4 Jun 2002 21:45:09 +0000 (21:45 +0000)]
compile fix for AIX compiler. Patch from Juergen H.
Gerald Carter [Tue, 4 Jun 2002 21:42:28 +0000 (21:42 +0000)]
remove some compiler warnings. Patch from Juergen H.
Gerald Carter [Tue, 4 Jun 2002 20:59:03 +0000 (20:59 +0000)]
allow domain admin group to open connection to ldap server
Gerald Carter [Tue, 4 Jun 2002 20:57:39 +0000 (20:57 +0000)]
back out part of Paul's POSIX-96 patch to fix compile.
Herb Lewis [Tue, 4 Jun 2002 18:07:35 +0000 (18:07 +0000)]
fix non-winbind Makefile
Gerald Carter [Tue, 4 Jun 2002 14:29:36 +0000 (14:29 +0000)]
make sure to include config.h so that the #ifdef tests work
Gerald Carter [Tue, 4 Jun 2002 05:58:55 +0000 (05:58 +0000)]
typo in LDAP check
Gerald Carter [Tue, 4 Jun 2002 05:11:50 +0000 (05:11 +0000)]
apparently there is no ssl support in the ldap client libraries
on Solaris 8. Not even sure we should build, but anyways...
We do now...
Tim Potter [Tue, 4 Jun 2002 03:47:16 +0000 (03:47 +0000)]
Merge from HEAD:
>Store the key for a name to sid cache entry in upper case rather than
>whatever case the request was made in. This gets rid of duplicate
>cache entries.
>
>Also when doing a sid to name, prime the cache with the name to sid
>mapping result. We can't do the reverse as we don't know the correct
>case of the name to store in the cache.
Gerald Carter [Mon, 3 Jun 2002 21:48:24 +0000 (21:48 +0000)]
trying to fix some linking issues with Solaris LDAP libraries.
Jeremy Allison [Mon, 3 Jun 2002 20:37:43 +0000 (20:37 +0000)]
Fixes from Paul_GreenVOS@vos.stratus.com for POSIX comformance.
Jeremy.
Gerald Carter [Mon, 3 Jun 2002 20:27:36 +0000 (20:27 +0000)]
reran autoconf
Gerald Carter [Mon, 3 Jun 2002 20:25:58 +0000 (20:25 +0000)]
backout incorrect change
Gerald Carter [Mon, 3 Jun 2002 20:06:51 +0000 (20:06 +0000)]
remove popt from REPLACE_GETPASS test as it appears to be unneeded
Gerald Carter [Mon, 3 Jun 2002 19:49:57 +0000 (19:49 +0000)]
typo on solaris when using GCC
Jeremy Allison [Mon, 3 Jun 2002 19:04:17 +0000 (19:04 +0000)]
Merge SAMR fix, VA_COPY fixes from HEAD.
Jeremy.
Gerald Carter [Mon, 3 Jun 2002 16:50:37 +0000 (16:50 +0000)]
(char) to remove compiler warning
Gerald Carter [Mon, 3 Jun 2002 16:11:48 +0000 (16:11 +0000)]
* install VFS moduels in /usr/lib/samba/vfs
* prevent VFS modules from being installed
in with examples/ as well.
John Terpstra [Mon, 3 Jun 2002 05:54:32 +0000 (05:54 +0000)]
Fix spelling glitch.
John Terpstra [Mon, 3 Jun 2002 05:46:37 +0000 (05:46 +0000)]
Added auto versioning.
John Terpstra [Mon, 3 Jun 2002 05:44:53 +0000 (05:44 +0000)]
Added VFS configure step.
John Terpstra [Mon, 3 Jun 2002 05:41:59 +0000 (05:41 +0000)]
Added VFS Modules
John Terpstra [Mon, 3 Jun 2002 05:34:13 +0000 (05:34 +0000)]
Fixing build for VFS modules
John Terpstra [Mon, 3 Jun 2002 05:22:05 +0000 (05:22 +0000)]
Updates from Evan Hunt <ehunt@caldera.com>
John Terpstra [Mon, 3 Jun 2002 05:17:17 +0000 (05:17 +0000)]
Updated build of VFS Modules
Gerald Carter [Mon, 3 Jun 2002 04:51:58 +0000 (04:51 +0000)]
VFS patches for building on Solaris and AIX from Juergen Hasch
Gerald Carter [Mon, 3 Jun 2002 04:44:20 +0000 (04:44 +0000)]
including VFS modules in /usr/lib/samba/
Tim Potter [Sun, 2 Jun 2002 23:34:35 +0000 (23:34 +0000)]
Merge from HEAD:
>The last element of the definitions of enums can't have a trailing
>comma. Only initialisers can have this in ANSI C.
Gerald Carter [Sun, 2 Jun 2002 22:24:10 +0000 (22:24 +0000)]
fix form Samuel Leo to correct problem in libnss_wins.so
and GLIBC. Corrects problem with telnet and wins resolution
on Redhat 7.3 text box.
Gerald Carter [Sun, 2 Jun 2002 21:01:21 +0000 (21:01 +0000)]
fix typo spotted by Ryan Frantz
Gerald Carter [Sun, 2 Jun 2002 20:20:41 +0000 (20:20 +0000)]
send SIGTERM to all smbd processes not just the parent.
Jeremy Allison [Fri, 31 May 2002 19:11:14 +0000 (19:11 +0000)]
Move SAFE_FREE to where it will allways be found. Pointed out by R.Nieuwenhuizen@cpb.nl.
Jeremy.
Jeremy Allison [Fri, 31 May 2002 18:13:13 +0000 (18:13 +0000)]
Added definitions for strndup and strnlen if the system doesn't have them.
Jeremy.