amitay/samba.git
22 years agoThis commit was manufactured by cvs2svn to create tag prerelease-2-2-5pre1 samba-2.2.5pre1
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'.

22 years agosamba-2.2.5-pre1
Gerald Carter [Sat, 8 Jun 2002 13:40:16 +0000 (13:40 +0000)]
samba-2.2.5-pre1

22 years agotypo on recycle.conf
Gerald Carter [Sat, 8 Jun 2002 13:38:42 +0000 (13:38 +0000)]
typo on recycle.conf

22 years agoAll fixes are done so they can befixed again later. Oops - this is a fix for a typo.
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.

22 years agoAdding more configure options for test - NOTE: Do NOT use in production!
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!

22 years agoUpdating for VFS changes.
John Terpstra [Sat, 8 Jun 2002 07:48:34 +0000 (07:48 +0000)]
Updating for VFS changes.

22 years agoUpdating VFS installation stuff.
John Terpstra [Sat, 8 Jun 2002 07:44:10 +0000 (07:44 +0000)]
Updating VFS installation stuff.

22 years agoFixed typo and replaced some more hashes with semi-colons.
John Terpstra [Sat, 8 Jun 2002 07:31:45 +0000 (07:31 +0000)]
Fixed typo and replaced some more hashes with semi-colons.

22 years agonew example config file. Added some of the more recent
Gerald Carter [Fri, 7 Jun 2002 23:39:20 +0000 (23:39 +0000)]
new example config file.  Added some of the more recent
parameters.

22 years agoEnsure when allowing fchown with write access and dos filemodes that
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.

22 years agoadded notice printed to stderr about this tool going away.
Gerald Carter [Fri, 7 Jun 2002 22:30:02 +0000 (22:30 +0000)]
added notice printed to stderr about this tool going away.

22 years agofix for using gcc with Sun's ld on Solaris
Gerald Carter [Fri, 7 Jun 2002 22:22:23 +0000 (22:22 +0000)]
fix for using gcc with Sun's ld on Solaris

22 years agomissing $
Gerald Carter [Fri, 7 Jun 2002 20:04:26 +0000 (20:04 +0000)]
missing $

22 years agoMerge of new Linux quota code from Christoph Hellwig <hch@infradead.org>.
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.

22 years agoget rid of annoying "change your password now" message
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

22 years agofix typo
Gerald Carter [Fri, 7 Jun 2002 19:06:15 +0000 (19:06 +0000)]
fix typo

22 years agoadded some useful comments
Gerald Carter [Fri, 7 Jun 2002 18:31:12 +0000 (18:31 +0000)]
added some useful comments

22 years agofix compiler warnings....thought I had already checked this in....
Gerald Carter [Fri, 7 Jun 2002 18:27:07 +0000 (18:27 +0000)]
fix compiler warnings....thought I had already checked this in....

22 years agofix a few typos. Works again :-)
Gerald Carter [Fri, 7 Jun 2002 18:09:35 +0000 (18:09 +0000)]
fix a few typos.  Works again :-)

22 years ago&& nor ||
Gerald Carter [Fri, 7 Jun 2002 17:44:02 +0000 (17:44 +0000)]
&& nor ||

22 years agofix inverted logic
Gerald Carter [Fri, 7 Jun 2002 17:37:40 +0000 (17:37 +0000)]
fix inverted logic

22 years agoChecking in some changes from Buchan Milne
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).

22 years agoremoving outdated PerLDAP scripts. Only supporting the
Gerald Carter [Fri, 7 Jun 2002 16:18:50 +0000 (16:18 +0000)]
removing outdated PerLDAP scripts.  Only supporting the
Net::LDAP ones now

22 years agoinclude example configuration files with VFS modules
Gerald Carter [Fri, 7 Jun 2002 15:25:22 +0000 (15:25 +0000)]
include example configuration files with VFS modules

22 years ago* incldue block.so when building 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

22 years agomodified Makefile.in so that all VFS modules will
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.

22 years agoAdded updated recycle bin code from Juergen Hasch.
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.

22 years agoremove compiler warnings from Richard Bollinger
Gerald Carter [Fri, 7 Jun 2002 14:42:03 +0000 (14:42 +0000)]
remove compiler warnings from Richard Bollinger

22 years agoanother patch from Toomas. Ctrl-Z is offensive to 2k/xp clients
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.

22 years agoonly one cup of coffee so far. I should never touch cvs without at
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

22 years agolib/charcnv.c
Gerald Carter [Fri, 7 Jun 2002 14:22:33 +0000 (14:22 +0000)]
lib/charcnv.c

22 years agoPatch from Toomas Soome ....
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.

22 years agoUpdate to build 2.2.5pre and to add VFS modules.
John Terpstra [Fri, 7 Jun 2002 08:21:29 +0000 (08:21 +0000)]
Update to build 2.2.5pre and to add VFS modules.

22 years agoFix for cases where PATH_MAX is not defined.
John Terpstra [Fri, 7 Jun 2002 08:18:43 +0000 (08:18 +0000)]
Fix for cases where PATH_MAX is not defined.

22 years agocreate pidfile after forking
Gerald Carter [Fri, 7 Jun 2002 04:48:45 +0000 (04:48 +0000)]
create pidfile after forking

22 years agoremove winbindd from status
Gerald Carter [Fri, 7 Jun 2002 04:43:18 +0000 (04:43 +0000)]
remove winbindd from status

22 years agosetting run levels for chkconfig
Gerald Carter [Fri, 7 Jun 2002 04:39:28 +0000 (04:39 +0000)]
setting run levels for chkconfig

22 years agobuild pam_smbpass.so library
Gerald Carter [Fri, 7 Jun 2002 04:18:33 +0000 (04:18 +0000)]
build pam_smbpass.so library

22 years agomissing return statement; Jeremy please check
Gerald Carter [Fri, 7 Jun 2002 03:49:15 +0000 (03:49 +0000)]
missing return statement; Jeremy please check

22 years agomake the sambaAccount AUXILARY
Gerald Carter [Fri, 7 Jun 2002 03:39:17 +0000 (03:39 +0000)]
make the sambaAccount AUXILARY

22 years agodocument the -S option
Gerald Carter [Fri, 7 Jun 2002 02:41:31 +0000 (02:41 +0000)]
document the -S option

22 years agoAllow zero length sd_len for NTcreate_transact, but not NTset_sd.
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.

22 years agoMissing STR_CONVERT's. Think I have them all now.
Jeremy Allison [Fri, 7 Jun 2002 00:43:04 +0000 (00:43 +0000)]
Missing STR_CONVERT's. Think I have them all now.
Jeremy.

22 years agoAdd more missing STR_CONVERT's.
Jeremy Allison [Fri, 7 Jun 2002 00:39:31 +0000 (00:39 +0000)]
Add more missing STR_CONVERT's.
Jeremy.

22 years agoWhen using new cli_push interface, we must use STR_CONVERT to convert from
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.

22 years agoOverly complex but neccessary fix for kernel oplock problems. The issue
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.

22 years agouse global_myname and not domain for storing domain sid
Gerald Carter [Thu, 6 Jun 2002 21:55:21 +0000 (21:55 +0000)]
use global_myname and not domain for storing domain sid

22 years agoadded -S option to set the domain sid from a domain controller.
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).

22 years agoMore fixes from Juergen Hasch for I18N - slightly modified.
Jeremy Allison [Thu, 6 Jun 2002 21:12:48 +0000 (21:12 +0000)]
More fixes from Juergen Hasch for I18N - slightly modified.
Jeremy.

22 years agofix permissions on libsmbclient librariesw
Gerald Carter [Thu, 6 Jun 2002 17:28:56 +0000 (17:28 +0000)]
fix permissions on libsmbclient librariesw

22 years agofixes for libsmbclient and winbind init
Gerald Carter [Thu, 6 Jun 2002 17:09:35 +0000 (17:09 +0000)]
fixes for libsmbclient and winbind init

22 years agofixes for building smbclient and installing winbind init scripts
Gerald Carter [Thu, 6 Jun 2002 14:25:02 +0000 (14:25 +0000)]
fixes for building smbclient and installing winbind init scripts

22 years agoseparate init script for winbind
Gerald Carter [Thu, 6 Jun 2002 13:58:21 +0000 (13:58 +0000)]
separate init script for winbind

22 years agoallow root as well as domain admins to open an LDAP connection
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

22 years agoUpdated SPEC files for change of smb-block.conf to samba-block.conf in examples/VFS...
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

22 years agoGetting ready to add nasty quota support.... We need all this system
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.

22 years agoRemember to convert pdb_XXX strings to DOS codepage before passing them
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.

22 years agoModified version of patch from Juergen Hasch <Hasch@t-online.de> to code
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.

22 years agoset initial debug level to 0
Herb Lewis [Wed, 5 Jun 2002 20:24:14 +0000 (20:24 +0000)]
set initial debug level to 0

22 years agoFix typo.
Shirish Kalele [Wed, 5 Jun 2002 18:35:02 +0000 (18:35 +0000)]
Fix typo.

22 years agofix for checking for sockio.h
Gerald Carter [Wed, 5 Jun 2002 18:27:18 +0000 (18:27 +0000)]
fix for checking for sockio.h

22 years agoThough shalt always compile before commit ;-)
Volker Lendecke [Wed, 5 Jun 2002 14:45:23 +0000 (14:45 +0000)]
Though shalt always compile before commit ;-)

Volker

22 years agoDisable kernel change notification for s390 architecture, as a kernel bug
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.

22 years agoMerge from HEAD:
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.

22 years agoRemove blocksignals call as it's never going to bloody work right...
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.

22 years agoFix for Linux kernel bug where signal mask set within a signal handler
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.

22 years agocheck in Idealx tools after talking with Olivier Lemaire at idealx dot org.
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

22 years agocompile fix for AIX compiler. Patch from Juergen H.
Gerald Carter [Tue, 4 Jun 2002 21:45:09 +0000 (21:45 +0000)]
compile fix for AIX compiler.  Patch from Juergen H.

22 years agoremove some compiler warnings. 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.

22 years agoallow domain admin group to open connection to ldap server
Gerald Carter [Tue, 4 Jun 2002 20:59:03 +0000 (20:59 +0000)]
allow domain admin group to open connection to ldap server

22 years agoback out part of Paul's POSIX-96 patch to fix compile.
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.

22 years agofix non-winbind Makefile
Herb Lewis [Tue, 4 Jun 2002 18:07:35 +0000 (18:07 +0000)]
fix non-winbind Makefile

22 years agomake sure to include config.h so that the #ifdef tests work
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

22 years agotypo in LDAP check
Gerald Carter [Tue, 4 Jun 2002 05:58:55 +0000 (05:58 +0000)]
typo in LDAP check

22 years agoapparently there is no ssl support in the ldap client libraries
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...

22 years agoMerge from HEAD:
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.

22 years agotrying to fix some linking issues with Solaris LDAP libraries.
Gerald Carter [Mon, 3 Jun 2002 21:48:24 +0000 (21:48 +0000)]
trying to fix some linking issues with Solaris LDAP libraries.

22 years agoFixes from Paul_GreenVOS@vos.stratus.com for POSIX comformance.
Jeremy Allison [Mon, 3 Jun 2002 20:37:43 +0000 (20:37 +0000)]
Fixes from Paul_GreenVOS@vos.stratus.com for POSIX comformance.
Jeremy.

22 years agoreran autoconf
Gerald Carter [Mon, 3 Jun 2002 20:27:36 +0000 (20:27 +0000)]
reran autoconf

22 years agobackout incorrect change
Gerald Carter [Mon, 3 Jun 2002 20:25:58 +0000 (20:25 +0000)]
backout incorrect change

22 years agoremove popt from REPLACE_GETPASS test as it appears to be unneeded
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

22 years agotypo on solaris when using GCC
Gerald Carter [Mon, 3 Jun 2002 19:49:57 +0000 (19:49 +0000)]
typo on solaris when using GCC

22 years agoMerge SAMR fix, VA_COPY fixes from HEAD.
Jeremy Allison [Mon, 3 Jun 2002 19:04:17 +0000 (19:04 +0000)]
Merge SAMR fix, VA_COPY fixes from HEAD.
Jeremy.

22 years ago(char) to remove compiler warning
Gerald Carter [Mon, 3 Jun 2002 16:50:37 +0000 (16:50 +0000)]
(char) to remove compiler warning

22 years ago* install VFS moduels in /usr/lib/samba/vfs
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.

22 years agoFix spelling glitch.
John Terpstra [Mon, 3 Jun 2002 05:54:32 +0000 (05:54 +0000)]
Fix spelling glitch.

22 years agoAdded auto versioning.
John Terpstra [Mon, 3 Jun 2002 05:46:37 +0000 (05:46 +0000)]
Added auto versioning.

22 years agoAdded VFS configure step.
John Terpstra [Mon, 3 Jun 2002 05:44:53 +0000 (05:44 +0000)]
Added VFS configure step.

22 years agoAdded VFS Modules
John Terpstra [Mon, 3 Jun 2002 05:41:59 +0000 (05:41 +0000)]
Added VFS Modules

22 years agoFixing build for VFS modules
John Terpstra [Mon, 3 Jun 2002 05:34:13 +0000 (05:34 +0000)]
Fixing build for VFS modules

22 years agoUpdates from Evan Hunt <ehunt@caldera.com>
John Terpstra [Mon, 3 Jun 2002 05:22:05 +0000 (05:22 +0000)]
Updates from Evan Hunt <ehunt@caldera.com>

22 years agoUpdated build of VFS Modules
John Terpstra [Mon, 3 Jun 2002 05:17:17 +0000 (05:17 +0000)]
Updated build of VFS Modules

22 years agoVFS patches for building on Solaris and AIX from Juergen Hasch
Gerald Carter [Mon, 3 Jun 2002 04:51:58 +0000 (04:51 +0000)]
VFS patches for building on Solaris and AIX from Juergen Hasch

22 years agoincluding VFS modules in /usr/lib/samba/
Gerald Carter [Mon, 3 Jun 2002 04:44:20 +0000 (04:44 +0000)]
including VFS modules in /usr/lib/samba/

22 years agoMerge from HEAD:
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.

22 years agofix form Samuel Leo to correct problem in libnss_wins.so
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.

22 years agofix typo spotted by Ryan Frantz
Gerald Carter [Sun, 2 Jun 2002 21:01:21 +0000 (21:01 +0000)]
fix typo spotted by Ryan Frantz

22 years agosend SIGTERM to all smbd processes not just the parent.
Gerald Carter [Sun, 2 Jun 2002 20:20:41 +0000 (20:20 +0000)]
send SIGTERM to all smbd processes not just the parent.

22 years agoMove SAFE_FREE to where it will allways be found. Pointed out by R.Nieuwenhuizen...
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.

22 years agoAdded definitions for strndup and strnlen if the system doesn't have them.
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.