tprouty/samba.git
25 years agoThis commit was manufactured by cvs2svn to create tag release-2-0-0beta5
cvs2svn Import User [Thu, 31 Dec 1998 01:52:01 +0000 (01:52 +0000)]
This commit was manufactured by cvs2svn to create tag
'release-2-0-0beta5'.

25 years agopreparing for release of 2.0.0beta5
Samba Release Account [Thu, 31 Dec 1998 01:52:00 +0000 (01:52 +0000)]
preparing for release of 2.0.0beta5

25 years agoWHATSNEW.txt: Updated for beta5.
Jeremy Allison [Thu, 31 Dec 1998 01:40:49 +0000 (01:40 +0000)]
WHATSNEW.txt: Updated for beta5.
source/include/local.h: Changed select look timeouts to 60 seconds (120 to
scan smb.conf file).
source/include/version.h: Updated to beta5.
Jeremy.

25 years agoFixed bug in nttrans call where parameter buffer was not being
Jeremy Allison [Wed, 30 Dec 1998 22:34:04 +0000 (22:34 +0000)]
Fixed bug in nttrans call where parameter buffer was not being
zeroed out before use.
Jeremy.

25 years agoclient/client.c: Fixed comment.
Jeremy Allison [Wed, 30 Dec 1998 20:51:43 +0000 (20:51 +0000)]
client/client.c: Fixed comment.
All others - added checks for the compiler understanding volatile and
the system having sig_atomic_t. Changed sighup code to use this.
Jeremy.

25 years agoAdded BROKEN_NIS_INCLUDE fix here also.
Jeremy Allison [Wed, 30 Dec 1998 01:13:15 +0000 (01:13 +0000)]
Added BROKEN_NIS_INCLUDE fix here also.
Jeremy.

25 years agoReplaced damaged skeleton.tar files with working copy, added warning
John Terpstra [Tue, 29 Dec 1998 23:12:52 +0000 (23:12 +0000)]
Replaced damaged skeleton.tar files with working copy, added warning
to anyone who tries to use any package building tool.

25 years agoAdded autoconf detect tests for broken Solaris 2.6 NIS+ include files.
Jeremy Allison [Tue, 29 Dec 1998 23:01:07 +0000 (23:01 +0000)]
Added autoconf detect tests for broken Solaris 2.6 NIS+ include files.
Jeremy.

25 years agoMakefile.in configure configure.in include/config.h.in: Added -c -o fixes from Tim...
Jeremy Allison [Tue, 29 Dec 1998 22:29:17 +0000 (22:29 +0000)]
Makefile.in configure configure.in include/config.h.in: Added -c -o fixes from Tim Rice.
utils/smbpasswd.c web/swat.c: Added set_auth_parameters() call where needed for OSF1_ENC_SEC.
Jeremy.

25 years agoIn reply_lockread.
Jeremy Allison [Tue, 29 Dec 1998 19:24:07 +0000 (19:24 +0000)]
In reply_lockread.
Discovered by Menny Hamburger at Mainsoft. This is a core+
protocol request that predates the read/write lock concept.
Thus instead of asking for a read lock here we need to ask
for a write lock.
Jeremy.

25 years agopassdb/nispass.c: Fixed compile --with-nisplus (I now have access to a Solaris 2...
Jeremy Allison [Tue, 29 Dec 1998 01:33:33 +0000 (01:33 +0000)]
passdb/nispass.c: Fixed compile --with-nisplus (I now have access to a Solaris 2.6 box:-).
passdb/passdb.c: Fixed reading of machine sid so that we correctly change the (decimal)21
                 to hex 0x21 to be in line with NT.
Jeremy.

25 years agolib/signal.c: Added CatchChildLeaveStatus() call needed in smbd/open.c and smbd/chgpa...
Jeremy Allison [Tue, 29 Dec 1998 00:03:38 +0000 (00:03 +0000)]
lib/signal.c: Added CatchChildLeaveStatus() call needed in smbd/open.c and smbd/chgpasswd.c.
smbd/chgpasswd.c
smbd/open.c: Ensure that we replace SIGCLD handler with CatchChildLeaveStatus()
             *before* we expect to reap a child status - and reset it to CatchChild()
             after we've done the sys_waitpid(). The original CatchChild() code
             would eat the status code from the zombie in the signal handler, meaning
             that the sys_waitpid() calls in check_access_allowed_for_current_user()
             and chgpasswd would never return a status.
smbd/open.c:
smbd/reply.c:
smbd/close.c: Check error return on close() calls - ensure a valid error return
              is sent back to the client. This catches the "file truncated"
              bug when a user has run out of quota (or space) and the ENOSPC
              error is returned on the *close()* call, not the write() (eg. on
              an nfs mounted drive).
smbd/fileio.c: Added check for ESPIPE on sys_lseek() in file_seek() to allow
               people to use Windows clients to communicate with UNIX fifo's
               (like they could in 1.9.18).
Jeremy.

25 years agoModified packaging-prep so as to avoid use of "rm -f *"
John Terpstra [Sun, 27 Dec 1998 22:30:33 +0000 (22:30 +0000)]
Modified packaging-prep so as to avoid use of "rm -f *"

25 years agoFixing the last issue known about....
Jeremy Allison [Wed, 23 Dec 1998 22:47:15 +0000 (22:47 +0000)]
Fixing the last issue known about....
(with a filename of log123.abcd, a dir command of
dir l*.???.?.?.?.?.? should find the file, as it does on NT).
Jeremy.

25 years agoFixed issues with client wildcards. It turns out that NT matches
Jeremy Allison [Wed, 23 Dec 1998 22:12:33 +0000 (22:12 +0000)]
Fixed issues with client wildcards. It turns out that NT matches
wildcards against both long and short filenames in a trans2 wildcard
match. This fix gets us closer to NT compatibility (still not entirely
there yet.... one more issue I know about to fix....).
Jeremy.

25 years agoFixed bug where waitsecs was being ignored.
Jeremy Allison [Wed, 23 Dec 1998 01:43:13 +0000 (01:43 +0000)]
Fixed bug where waitsecs was being ignored.
Jeremy.

25 years agopassdb/pass_check.c: Added log of AFS auth error.
Jeremy Allison [Wed, 23 Dec 1998 00:01:13 +0000 (00:01 +0000)]
passdb/pass_check.c: Added log of AFS auth error.
smbd/password.c: Set debug loglevel of disabled account to 1 (I was bitten by
this recently).
Jeremy.

25 years agoConfigure fixes for QNX and NCR.
Jeremy Allison [Tue, 22 Dec 1998 23:38:37 +0000 (23:38 +0000)]
Configure fixes for QNX and NCR.
Jeremy.

25 years agoFixed missing ';'s in locking_slow code.
Jeremy Allison [Tue, 22 Dec 1998 22:04:06 +0000 (22:04 +0000)]
Fixed missing ';'s in locking_slow code.
Jeremy.

25 years agoSpelling mistake change due to very pick people (you know who you are :-).
Jeremy Allison [Tue, 22 Dec 1998 21:44:04 +0000 (21:44 +0000)]
Spelling mistake change due to very pick people (you know who you are :-).
Changed privilage to privilege.

Also added set_real_uid() call to lib/util_sec.c.
Removed last set[re]uid calls from quotas.c - all such calls now live only
in lib/util_sec.c.

Jeremy.

25 years agoRather large (I'm afraid) tidyup of the setuid handling code.
Jeremy Allison [Tue, 22 Dec 1998 02:53:06 +0000 (02:53 +0000)]
Rather large (I'm afraid) tidyup of the setuid handling code.
All setuid code now resides in the one module lib/util_sec.c.
The interfaces this module exports are :

void gain_root_privilage(void); - Set real/eff/saved uid's to 0.
void gain_root_group_privilage(void); - Set real/eff/saved gid's to 0.
int set_effective_uid(uid_t uid); - Set eff uid *only* to given value.
int set_effective_gid(gid_t gid); - Set eff gid *only* to given value.
BOOL become_user_permanently(uid_t uid, gid_t gid); - Set real/eff/saved uid's and gid's
to uid and gid permanently - with no way back to root.

Most of the quota code now uses these calls (except for a few
special cases).

smbd/chgpasswd.c: Ensured the dochild exits in the fork()'d child.
libsmb/nmblib.c: Fix from Jasper for memory leak.

Jeremy.

25 years agoSplit out all the set[re][e][res]uid() calls into one module that
Jeremy Allison [Tue, 22 Dec 1998 02:26:05 +0000 (02:26 +0000)]
Split out all the set[re][e][res]uid() calls into one module that
(hopefully) should be portable to all sorts of weird systems and
also provide standard interfaces for the rest of the code.
Jeremy.

25 years agoImplementing PHT standard SPEC settings.
John Terpstra [Mon, 21 Dec 1998 10:09:39 +0000 (10:09 +0000)]
Implementing PHT standard SPEC settings.

25 years agoswat.c 1. fixed bug where non-default parameters were not being
Herb Lewis [Fri, 18 Dec 1998 21:26:47 +0000 (21:26 +0000)]
swat.c 1. fixed bug where non-default parameters were not being
shown in basic view of shares and printers pages.

2. Rearranged shares and printers pages so delete button
is near dropdown (since it applies to value in dropdown)
Added Reset Values button when share is selected.

3. Added note at beginning of printers page and flagged
the auto loaded printers in the dropdown. Still need
reference in man page that explains options better.

4. Don't show create and delete options if don't have
write access in printers and shares page.

statuspage.c  Don't show start/stop/restart buttons or kill button if
not root.

25 years agomake browseable and available BASIC parameters for swat
Herb Lewis [Fri, 18 Dec 1998 01:11:09 +0000 (01:11 +0000)]
make browseable and available BASIC parameters for swat

25 years agoFixed tar recursion bug (it was a *.* mask instead of * being used, you
Jeremy Allison [Thu, 17 Dec 1998 22:43:39 +0000 (22:43 +0000)]
Fixed tar recursion bug (it was a *.* mask instead of * being used, you
were right Andrew :-).
Jeremy.

25 years agoinclude/nameserv.h nmbd/nmbd_packets.c nmbd/nmbd_responserecordsdb.c:
Jeremy Allison [Thu, 17 Dec 1998 21:38:13 +0000 (21:38 +0000)]
include/nameserv.h nmbd/nmbd_packets.c nmbd/nmbd_responserecordsdb.c:
Fixed 'nmbd running wild' bug by preventing recursion in retransmit_or_expire_response_records().
tests/crypttest.c: Updated for bigcrypt.
Jeremy.

25 years agomodify message for freeware version
Herb Lewis [Thu, 17 Dec 1998 21:35:21 +0000 (21:35 +0000)]
modify message for freeware version

25 years agomake sure we include sys/mman.h if available
Andrew Tridgell [Thu, 17 Dec 1998 01:01:24 +0000 (01:01 +0000)]
make sure we include sys/mman.h if available

25 years agoinclude/includes.h: Added MAXHOSTNAMELEN in case it wasn't defined.
Jeremy Allison [Thu, 17 Dec 1998 00:25:13 +0000 (00:25 +0000)]
include/includes.h: Added MAXHOSTNAMELEN in case it wasn't defined.
web/swat.c: Re-arranged static function to remove compile warning.
Jeremy.

25 years agoloadparm.c added function to reset number of services (for swat)
Herb Lewis [Wed, 16 Dec 1998 23:37:49 +0000 (23:37 +0000)]
loadparm.c added function to reset number of services (for swat)
swat.c fixed create new share and printer
proto.h new function in loadparm.c

25 years agoacconfig.h configure configure.in include/config.h.in: Added krb5 libs code back,
Jeremy Allison [Wed, 16 Dec 1998 21:48:33 +0000 (21:48 +0000)]
acconfig.h configure configure.in include/config.h.in: Added krb5 libs code back,
       based on 1.9.18 tree.
tests/crypttest.c: Added test for truncated salt in crypt.
passdb/ldap.c: Malloc checks.
passdb/pass_check.c: Added test for truncated salt in crypt. Added OSF1 enhanced
                     security fix.
Jeremy.

25 years agoacconfig.h configure configure.in include/config.h.in
Jeremy Allison [Tue, 15 Dec 1998 21:16:20 +0000 (21:16 +0000)]
acconfig.h configure configure.in include/config.h.in
lib/system.c script/mkproto.awk include/includes.h: Added sys_readdir that
      wraps readdir64.
lib/util.c: Changed gethostname() to use sizeof(hostname) as the second arg
for buffer size.
Jeremy.

25 years agofix globals page broken by my last checkin
Herb Lewis [Tue, 15 Dec 1998 18:59:40 +0000 (18:59 +0000)]
fix globals page broken by my last checkin
(that will teach me to check in anything while I am sick).

25 years agoin 2.0 branch:
Andrew Tridgell [Tue, 15 Dec 1998 03:18:06 +0000 (03:18 +0000)]
in 2.0 branch:

on Linux force fcntl/mmap based shared memory and on other systems
force IPC/shmem based shared memory.

25 years agopreparing for release of 2.0.0beta4
Samba Release Account [Tue, 15 Dec 1998 01:38:53 +0000 (01:38 +0000)]
preparing for release of 2.0.0beta4

25 years agoWHATSNEW.txt source/include/version.h: Updated for beta4.
Jeremy Allison [Tue, 15 Dec 1998 01:30:31 +0000 (01:30 +0000)]
WHATSNEW.txt source/include/version.h: Updated for beta4.
source/include/DesktopDB.h source/lib/streams.c: MAC support won't make it into 2.0,
although 2.0.1 will have it.
Jeremy.

25 years agoRe-created yodl docs.
Jeremy Allison [Mon, 14 Dec 1998 22:41:31 +0000 (22:41 +0000)]
Re-created yodl docs.
Jeremy.

25 years agosmb.h add new FLAG_SHARE to indicate which parameters are used
Herb Lewis [Mon, 14 Dec 1998 21:34:08 +0000 (21:34 +0000)]
smb.h add new FLAG_SHARE to indicate which parameters are used
on share page
loadparm.c added FLAG_SHARE and FLAG_PRINT to various parameters to
tell swat which page these belong to
swat.c only print parameters marked on printers and shares pages

25 years agoFixed debug statements so the name type being looked up is printed.
Jeremy Allison [Mon, 14 Dec 1998 20:23:56 +0000 (20:23 +0000)]
Fixed debug statements so the name type being looked up is printed.
Fixed lmhosts lookup so that -1 means wildcard nametype match.
Jeremy.

25 years agoMakefile.in: script install fix from Tim Rice.
Jeremy Allison [Mon, 14 Dec 1998 19:18:46 +0000 (19:18 +0000)]
Makefile.in: script install fix from Tim Rice.
lib/debug.c: File size check from Jasper.
Jeremy.

25 years agoAdded testparm scripts for invalid unix password sync problems.
Jeremy Allison [Sat, 12 Dec 1998 04:45:46 +0000 (04:45 +0000)]
Added testparm scripts for invalid unix password sync problems.
Jeremy

25 years agoFixed bug in smbpasswd where adding a user and mis-typing the new
Jeremy Allison [Sat, 12 Dec 1998 00:15:15 +0000 (00:15 +0000)]
Fixed bug in smbpasswd where adding a user and mis-typing the new
password a second time would add the user with a potentially random
garbage password.
Jeremy.

25 years agoFixed typo.
John Terpstra [Fri, 11 Dec 1998 22:12:58 +0000 (22:12 +0000)]
Fixed typo.

25 years agoneed to reload auto printer services on a save_reload
Herb Lewis [Fri, 11 Dec 1998 21:38:46 +0000 (21:38 +0000)]
need to reload auto printer services on a save_reload

25 years agoFixed file descriptor limit code for AIX 4.x. AIX doesn't support the
Jeremy Allison [Fri, 11 Dec 1998 21:12:52 +0000 (21:12 +0000)]
Fixed file descriptor limit code for AIX 4.x. AIX doesn't support the
fd limits and always returns RLIM_INFINITY for a RLIMIT_NOFILE query.
Jeremy.

25 years agoFixed missing include of smbw.h.
Jeremy Allison [Fri, 11 Dec 1998 20:50:16 +0000 (20:50 +0000)]
Fixed missing include of smbw.h.
Added strerror print for initgroups fail.
Jeremy.

25 years agoAdded configure fixes for UNIXWare and tidyups for SINIX.
Jeremy Allison [Fri, 11 Dec 1998 18:35:41 +0000 (18:35 +0000)]
Added configure fixes for UNIXWare and tidyups for SINIX.
Jeremy.

25 years agoswat what was called the synonym for "hosts allow" and "hosts deny"
Herb Lewis [Fri, 11 Dec 1998 18:20:49 +0000 (18:20 +0000)]
swat what was called the synonym for "hosts allow" and "hosts deny"

25 years agoAdded fixes from Jasper van der Neut <jasper@Cal005208.student.utwente.nl>
Jeremy Allison [Fri, 11 Dec 1998 02:34:00 +0000 (02:34 +0000)]
Added fixes from Jasper van der Neut <jasper@Cal005208.student.utwente.nl>
who is doing some pretty amazine nmbd work !
Jeremy.

25 years agoFixed name magle bug (PR#11883 based on a patch from xactdata@hotmail.com).
Jeremy Allison [Fri, 11 Dec 1998 02:02:22 +0000 (02:02 +0000)]
Fixed name magle bug (PR#11883 based on a patch from xactdata@hotmail.com).
Extension was being overwritten before use.
Jeremy.

25 years agoFixed configure bug with RedHat 5.1 where it uses setresgid even though
Jeremy Allison [Fri, 11 Dec 1998 00:24:23 +0000 (00:24 +0000)]
Fixed configure bug with RedHat 5.1 where it uses setresgid even though
this is not yet implemented.
Jeremy.

25 years agoHPUX fix. This looks like a big change but isn't actually, most of the
Jeremy Allison [Thu, 10 Dec 1998 23:52:34 +0000 (23:52 +0000)]
HPUX fix. This looks like a big change but isn't actually, most of the
changes are bzero -> memset as the compiler on HPUX is very picky about
bzero (probably a strange define).

The significant changes are in configure.in, to fix the HPUX shadow.h
problem and also move the large file support to the correct place.

passdb/pass_check.c: Added includes for KRB5, DCE and AFS if requested in autoconf.

tests/trapdoor.c: Fix to use setresuid and setresgid if defined.

The rest of the changes are bzero -> memset.

Jeremy.

25 years agoMakefile.in added PRINTER_OBJ to SWAT_OBJ so swat can
Herb Lewis [Thu, 10 Dec 1998 23:43:16 +0000 (23:43 +0000)]
Makefile.in added PRINTER_OBJ to SWAT_OBJ so swat can
enumerate printers
param/loadparm.c added parameter to lp_dump to limit number of items
dumped. Pulled real dump code into new function
lp_dump_one so it can be called by swat
utils/testparm.c extra parameter added for lp_dump call
web/statuspage.c got rid of extra > being printed when smbd not
running
web/swat.c allow auto loaded printers to be enumerated in
printer page
include/proto.h changed number of parameters in lp_dump and new
function lp_dump_one defined.

25 years agoAdded defines for HPUX large file support.
Jeremy Allison [Thu, 10 Dec 1998 19:33:44 +0000 (19:33 +0000)]
Added defines for HPUX large file support.
Jeremy.

25 years agoallow smbd to be started without a STATUS..LCK file
Andrew Tridgell [Thu, 10 Dec 1998 14:31:20 +0000 (14:31 +0000)]
allow smbd to be started without a STATUS..LCK file

25 years agoallow initial creation of smb.conf with SWAT
Andrew Tridgell [Thu, 10 Dec 1998 13:55:21 +0000 (13:55 +0000)]
allow initial creation of smb.conf with SWAT

25 years agoAdded check for invalid wildcard characters '*' and '?'
Jeremy Allison [Thu, 10 Dec 1998 03:05:28 +0000 (03:05 +0000)]
Added check for invalid wildcard characters '*' and '?'
in hosts allow/deny checks.
Jeremy.

25 years agodon't allow users to view the smb.conf unless they have read access
Andrew Tridgell [Thu, 10 Dec 1998 02:27:19 +0000 (02:27 +0000)]
don't allow users to view the smb.conf unless they have read access

25 years agolib/access.c: Added checks for invalid '*' or '?' characters in hosts allow/deny...
Jeremy Allison [Wed, 9 Dec 1998 22:57:42 +0000 (22:57 +0000)]
lib/access.c: Added checks for invalid '*' or '?' characters in hosts allow/deny that could
              silently deny access. Log them if they occur.
smbd/close.c smbd/oplock.c smbd/reply.c: Removed a global oplock variable (hurrah!).
              Removal of the oplocks flags and any kernel oplocks is now done in
              either close() or in reply_locking() by calling release_file_oplock().
Jeremy.

25 years agoI got sick of the debate with luke about the SID and nmbd so I just
Andrew Tridgell [Wed, 9 Dec 1998 06:21:59 +0000 (06:21 +0000)]
I got sick of the debate with luke about the SID and nmbd so I just
went ahead and removed the offending code from nmbd_processlogon().
If luke ever goes back to that dark alley and manages to find the nmbd
packet type which needs a SID in the reply then we can reconsider.

This also means we don't need the password database code linked into
nmbd, which is a blessing, and nmbd will startup without smbd.

while I'm looking at this, why do RPCTORTURE_OBJ and RPCCLIENT_OBJ
include the password database code? Maybe Luke just likes that code a
lot and wants it in as many binaries as possible :)

25 years agoFixed cases where NT clients may send 64 bit requests even if 64 bit
Jeremy Allison [Wed, 9 Dec 1998 01:32:59 +0000 (01:32 +0000)]
Fixed cases where NT clients may send 64 bit requests even if 64 bit
support has not been negotiated. Also log the hex value of the bad request.
Jeremy.

25 years agoconfigure.in: Fixed setresgid check - should use AC_TRY_RUN not AC_TRY_COMPILE.
Jeremy Allison [Tue, 8 Dec 1998 22:38:41 +0000 (22:38 +0000)]
configure.in: Fixed setresgid check - should use AC_TRY_RUN not AC_TRY_COMPILE.
rpc_parse/parse_samr.c: Removed unneeded '&'s.
smbd/blocking.c:
smbd/reply.c: Fix for NT4.x bug where it sends large file lock requests
              *even if Samba did not nogitiate large file support* !
Jeremy.

25 years agoAdding George's Mac extensions.
Jeremy Allison [Tue, 8 Dec 1998 02:26:48 +0000 (02:26 +0000)]
Adding George's Mac extensions.
Jeremy.

25 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_2_0'.
cvs2svn Import User [Tue, 8 Dec 1998 02:25:42 +0000 (02:25 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_2_0'.

25 years agoAdding George's Mac extension code.
Jeremy Allison [Tue, 8 Dec 1998 02:25:41 +0000 (02:25 +0000)]
Adding George's Mac extension code.
Jeremy.

25 years agoAdded George's Mac extension files to the 2.0 branch.
Jeremy Allison [Tue, 8 Dec 1998 02:23:59 +0000 (02:23 +0000)]
Added George's Mac extension files to the 2.0 branch.
Jeremy.

25 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_2_0'.
cvs2svn Import User [Tue, 8 Dec 1998 02:22:57 +0000 (02:22 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_2_0'.

25 years agoAdding George's Mac extension include files.
Jeremy Allison [Tue, 8 Dec 1998 02:22:56 +0000 (02:22 +0000)]
Adding George's Mac extension include files.
Jeremy.

25 years agoldap_getpw() also needs to be (void)
Luke Leighton [Tue, 8 Dec 1998 00:33:05 +0000 (00:33 +0000)]
ldap_getpw() also needs to be (void)

25 years agocompilation warnings due to missing (void) in ldap_close_connection.
Luke Leighton [Tue, 8 Dec 1998 00:30:23 +0000 (00:30 +0000)]
compilation warnings due to missing (void) in ldap_close_connection.

25 years agoadding srvsvc pipe.
Luke Leighton [Tue, 8 Dec 1998 00:25:04 +0000 (00:25 +0000)]
adding srvsvc pipe.

25 years agopreparing for release of 2.0.0beta3
Samba Release Account [Tue, 8 Dec 1998 00:15:24 +0000 (00:15 +0000)]
preparing for release of 2.0.0beta3

25 years agoUpdated to 2.0.0beta3
Jeremy Allison [Tue, 8 Dec 1998 00:13:38 +0000 (00:13 +0000)]
Updated to 2.0.0beta3

25 years agoAdded 'bugs' warning I discussed with John.
Jeremy Allison [Tue, 8 Dec 1998 00:12:48 +0000 (00:12 +0000)]
Added 'bugs' warning I discussed with John.
Jeremy.

25 years agolocking mask fixes from head branch
Andrew Tridgell [Mon, 7 Dec 1998 22:53:05 +0000 (22:53 +0000)]
locking mask fixes from head branch

25 years agoadded ldap files by Matthew Chapman.
Luke Leighton [Mon, 7 Dec 1998 22:52:49 +0000 (22:52 +0000)]
added ldap files by Matthew Chapman.

25 years agoMatthew Chapman spotted that smbpasschange was assuming the existence
Luke Leighton [Mon, 7 Dec 1998 22:52:13 +0000 (22:52 +0000)]
Matthew Chapman spotted that smbpasschange was assuming the existence
of a private/smbpasswd file, this will not be the case for other
database APIs.  removed startsmbdb and endsmbpwdb calls because
add_smbpwd_entry() and mod_smbpwd_entry() don't need them.

25 years agoreran autoconf
Andrew Tridgell [Mon, 7 Dec 1998 22:51:07 +0000 (22:51 +0000)]
reran autoconf

25 years agowe need to use $ac_default_prefix in help, not $(prefix), or bash
Andrew Tridgell [Mon, 7 Dec 1998 22:50:20 +0000 (22:50 +0000)]
we need to use $ac_default_prefix in help, not $(prefix), or bash
gives errors

25 years agofixed warnings (and potential errors) due to integer overflow when
Andrew Tridgell [Mon, 7 Dec 1998 22:43:43 +0000 (22:43 +0000)]
fixed warnings (and potential errors) due to integer overflow when
creating locking masks

25 years agoadded text and html versions of LDAP.yo. smb.conf.5 not generated yet
Luke Leighton [Mon, 7 Dec 1998 21:48:58 +0000 (21:48 +0000)]
added text and html versions of LDAP.yo.  smb.conf.5 not generated yet
because there were parts rejected from the ldap patch file.

25 years agoupdated for Matt Chapman's ldap code
Luke Leighton [Mon, 7 Dec 1998 21:44:37 +0000 (21:44 +0000)]
updated for Matt Chapman's ldap code

25 years agoissues spotted by herb.
Luke Leighton [Mon, 7 Dec 1998 21:40:53 +0000 (21:40 +0000)]
issues spotted by herb.

25 years agomatthew chapman's ldap code, to date. plus docs!
Luke Leighton [Mon, 7 Dec 1998 21:37:17 +0000 (21:37 +0000)]
matthew chapman's ldap code, to date.  plus docs!

25 years agobugs in rpcclient. add_aliasmem uses a DOM_SID2 not a DOM_SID.
Luke Leighton [Mon, 7 Dec 1998 21:32:02 +0000 (21:32 +0000)]
bugs in rpcclient.  add_aliasmem uses a DOM_SID2 not a DOM_SID.

25 years agofirst attempt at making unix setuid/setgid code that is independent of
Luke Leighton [Mon, 7 Dec 1998 20:28:51 +0000 (20:28 +0000)]
first attempt at making unix setuid/setgid code that is independent of
cnums and snums.

25 years agosync with 2.0 tree
Herb Lewis [Mon, 7 Dec 1998 20:27:01 +0000 (20:27 +0000)]
sync with 2.0 tree

25 years agoremoved nt_pipe_fnum from struct cli_state. need to be able to call
Luke Leighton [Mon, 7 Dec 1998 20:23:41 +0000 (20:23 +0000)]
removed nt_pipe_fnum from struct cli_state.  need to be able to call
LsaLookupSids etc from within SamrQueryAliasMembers, for example.
fnum is now a parameter to client functions.  thanks to mike black
for starting the ball rolling.

25 years agoFixed testparm link in smb.conf (as from HEAD).
Jeremy Allison [Mon, 7 Dec 1998 18:35:11 +0000 (18:35 +0000)]
Fixed testparm link in smb.conf (as from HEAD).
Jeremy.

25 years agoFixed stupid typo I added to script.
Jeremy Allison [Mon, 7 Dec 1998 18:33:05 +0000 (18:33 +0000)]
Fixed stupid typo I added to script.
Jeremy.

25 years ago- lib/unix_sec_ctxt.c
Luke Leighton [Mon, 7 Dec 1998 17:23:48 +0000 (17:23 +0000)]
- lib/unix_sec_ctxt.c

attempt at taking lib/uid.c and getting a unix security context
change module that is independent of "cnums" and "snums".
a security context is needed for pipes, not just IPC$ or other
services.

- group database API

added add_group/alias_member, del_group/alias_member,
del_group/alias_entry functions.  del_builtin_entry() is
deliberately set to NULL to cause an exception, you cannot
delete builtin aliases.

- parse_lsa.c srv_lsa.c

fixed lookup_names code, it was a load of trash and didn't do
anything.

- cmd_samr.c rpcclient.c srv_samr.c

added "deletegroup", "deletealias", "delaliasmem", "delgroupmem",
"addgroupmem", "addaliasmem", "createalias", "creategroup", to
both client and server code.

server code calls into unix stubs right now, which don't actually
do anything.  the only instance where they are expected to do
anything is in appliance mode NOT even in the ldap code or anything.

client code modified to call samr_lookup_names() for group code
(because we can) and lsa_lookup_names() for alias code (because
we have to).

- srv_lookup.c

oops, lookup on unsplit name, we got lookup on DOMAIN, DOMAIN\name
instead of DOMAIN, name.

25 years agofixed a link to testparm.1.html
Andrew Tridgell [Mon, 7 Dec 1998 10:37:13 +0000 (10:37 +0000)]
fixed a link to testparm.1.html

25 years agosmb.conf - Clarified syslog only parameter as Chris suggested.
Jeremy Allison [Sun, 6 Dec 1998 22:14:39 +0000 (22:14 +0000)]
smb.conf - Clarified syslog only parameter as Chris suggested.
source/script/makeyodldocs.sh: Don't bother copying html to web directory any more.
Jeremy.

25 years agoOoops. sys_open() always takes 3 args. open() can take 2....
Jeremy Allison [Sun, 6 Dec 1998 22:09:16 +0000 (22:09 +0000)]
Ooops. sys_open() always takes 3 args. open() can take 2....
Jeremy.

25 years agoAdded RELIANTUNIX define for specific header file order includes for large
Jeremy Allison [Sun, 6 Dec 1998 22:01:26 +0000 (22:01 +0000)]
Added RELIANTUNIX define for specific header file order includes for large
file support.
Based on a patch from "Andrej Borsenkow" <borsenkow.msk@sni.de>.
lib/pidfile.c: Changed open() to sys_open().
Jeremy.

25 years agoFixes to get Solaris 2.6/2.7 large file support.
Jeremy Allison [Sun, 6 Dec 1998 20:29:22 +0000 (20:29 +0000)]
Fixes to get Solaris 2.6/2.7 large file support.
Fix test for getresgid.
Jeremy.

25 years agoChanged "Joining a NT Domain" to "Joining an NT Domain" to be gramatically
Jeremy Allison [Sun, 6 Dec 1998 20:14:30 +0000 (20:14 +0000)]
Changed "Joining a NT Domain" to "Joining an NT Domain" to be gramatically
correct. We get more bug reports on bad English than anything else.... :-).
Jeremy.

25 years agoone more try at getting the removeop correct.
Herb Lewis [Sun, 6 Dec 1998 07:26:47 +0000 (07:26 +0000)]
one more try at getting the removeop correct.

25 years agoAdding Andrew's pidfile fix to 2.0.
Jeremy Allison [Sun, 6 Dec 1998 02:01:53 +0000 (02:01 +0000)]
Adding Andrew's pidfile fix to 2.0.
Jeremy.