cvs2svn Import User [Tue, 15 Dec 1998 01:38:54 +0000 (01:38 +0000)]
This commit was manufactured by cvs2svn to create tag
'release-2-0-0beta4'.
Samba Release Account [Tue, 15 Dec 1998 01:38:53 +0000 (01:38 +0000)]
preparing for release of 2.0.0beta4
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.
Jeremy Allison [Mon, 14 Dec 1998 22:41:31 +0000 (22:41 +0000)]
Re-created yodl docs.
Jeremy.
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
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.
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.
Jeremy Allison [Sat, 12 Dec 1998 04:45:46 +0000 (04:45 +0000)]
Added testparm scripts for invalid unix password sync problems.
Jeremy
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.
John Terpstra [Fri, 11 Dec 1998 22:12:58 +0000 (22:12 +0000)]
Fixed typo.
Herb Lewis [Fri, 11 Dec 1998 21:38:46 +0000 (21:38 +0000)]
need to reload auto printer services on a save_reload
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.
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.
Jeremy Allison [Fri, 11 Dec 1998 18:35:41 +0000 (18:35 +0000)]
Added configure fixes for UNIXWare and tidyups for SINIX.
Jeremy.
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"
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.
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.
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.
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.
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.
Jeremy Allison [Thu, 10 Dec 1998 19:33:44 +0000 (19:33 +0000)]
Added defines for HPUX large file support.
Jeremy.
Andrew Tridgell [Thu, 10 Dec 1998 14:31:20 +0000 (14:31 +0000)]
allow smbd to be started without a STATUS..LCK file
Andrew Tridgell [Thu, 10 Dec 1998 13:55:21 +0000 (13:55 +0000)]
allow initial creation of smb.conf with SWAT
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.
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
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.
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 :)
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.
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.
Jeremy Allison [Tue, 8 Dec 1998 02:26:48 +0000 (02:26 +0000)]
Adding George's Mac extensions.
Jeremy.
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'.
Jeremy Allison [Tue, 8 Dec 1998 02:25:41 +0000 (02:25 +0000)]
Adding George's Mac extension code.
Jeremy.
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.
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'.
Jeremy Allison [Tue, 8 Dec 1998 02:22:56 +0000 (02:22 +0000)]
Adding George's Mac extension include files.
Jeremy.
Luke Leighton [Tue, 8 Dec 1998 00:33:05 +0000 (00:33 +0000)]
ldap_getpw() also needs to be (void)
Luke Leighton [Tue, 8 Dec 1998 00:30:23 +0000 (00:30 +0000)]
compilation warnings due to missing (void) in ldap_close_connection.
Luke Leighton [Tue, 8 Dec 1998 00:25:04 +0000 (00:25 +0000)]
adding srvsvc pipe.
Samba Release Account [Tue, 8 Dec 1998 00:15:24 +0000 (00:15 +0000)]
preparing for release of 2.0.0beta3
Jeremy Allison [Tue, 8 Dec 1998 00:13:38 +0000 (00:13 +0000)]
Updated to 2.0.0beta3
Jeremy Allison [Tue, 8 Dec 1998 00:12:48 +0000 (00:12 +0000)]
Added 'bugs' warning I discussed with John.
Jeremy.
Andrew Tridgell [Mon, 7 Dec 1998 22:53:05 +0000 (22:53 +0000)]
locking mask fixes from head branch
Luke Leighton [Mon, 7 Dec 1998 22:52:49 +0000 (22:52 +0000)]
added ldap files by Matthew Chapman.
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.
Andrew Tridgell [Mon, 7 Dec 1998 22:51:07 +0000 (22:51 +0000)]
reran autoconf
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
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
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.
Luke Leighton [Mon, 7 Dec 1998 21:44:37 +0000 (21:44 +0000)]
updated for Matt Chapman's ldap code
Luke Leighton [Mon, 7 Dec 1998 21:40:53 +0000 (21:40 +0000)]
issues spotted by herb.
Luke Leighton [Mon, 7 Dec 1998 21:37:17 +0000 (21:37 +0000)]
matthew chapman's ldap code, to date. plus docs!
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.
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.
Herb Lewis [Mon, 7 Dec 1998 20:27:01 +0000 (20:27 +0000)]
sync with 2.0 tree
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.
Jeremy Allison [Mon, 7 Dec 1998 18:35:11 +0000 (18:35 +0000)]
Fixed testparm link in smb.conf (as from HEAD).
Jeremy.
Jeremy Allison [Mon, 7 Dec 1998 18:33:05 +0000 (18:33 +0000)]
Fixed stupid typo I added to script.
Jeremy.
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.
Andrew Tridgell [Mon, 7 Dec 1998 10:37:13 +0000 (10:37 +0000)]
fixed a link to testparm.1.html
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.
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.
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.
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.
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.
Herb Lewis [Sun, 6 Dec 1998 07:26:47 +0000 (07:26 +0000)]
one more try at getting the removeop correct.
Jeremy Allison [Sun, 6 Dec 1998 02:01:53 +0000 (02:01 +0000)]
Adding Andrew's pidfile fix to 2.0.
Jeremy.
Herb Lewis [Sat, 5 Dec 1998 16:51:23 +0000 (16:51 +0000)]
post installation instructions
Herb Lewis [Sat, 5 Dec 1998 16:50:34 +0000 (16:50 +0000)]
fix removeop and add post inst instructions
Andrew Tridgell [Sat, 5 Dec 1998 08:19:42 +0000 (08:19 +0000)]
oops - lock test was the wrong way around
Andrew Tridgell [Sat, 5 Dec 1998 08:09:59 +0000 (08:09 +0000)]
fixed pidfile handling to check for a lock on the file, so we can be
sure it is a samba process that is running.
Andrew Tridgell [Sat, 5 Dec 1998 07:01:53 +0000 (07:01 +0000)]
new icons from head branch
Andrew Tridgell [Sat, 5 Dec 1998 06:54:10 +0000 (06:54 +0000)]
replaced the icons in SWAT with real icons
Jeremy Allison [Sat, 5 Dec 1998 01:03:42 +0000 (01:03 +0000)]
Sync up critical kernel oplock bugfix. I don't want to lose
this....
Jeremy.
Jeremy Allison [Sat, 5 Dec 1998 01:01:47 +0000 (01:01 +0000)]
Fixed critical bug with kernel oplock interface.....
This one was *nasty* to find... (sigh)
Jeremy.
Luke Leighton [Fri, 4 Dec 1998 23:06:27 +0000 (23:06 +0000)]
added delete domain group and local group and delete domain group member.
Luke Leighton [Fri, 4 Dec 1998 22:00:39 +0000 (22:00 +0000)]
fixing "addgroupmem" and "enumgroups -m" commands, samr_open_group()
needed a flags fields as you get 0x0000 0010 and 0x0000 001f unknown
values for different purposes, no-one's going to tell us what they
are and i don't CARE!
Luke Leighton [Fri, 4 Dec 1998 21:48:06 +0000 (21:48 +0000)]
- oops, i got "add alias member" and "delete alias member" swapped.
- samr_enum_dom_users, the first 4 bytes is some sort of garbage,
nt5-beta2 clears them out to zeros whereas nt4 does not.
fixed bug where we were assuming that the first 4 bytes of a
response _had_ to be non-zero.
- cli_lsarpc.c: forgot to append the rid on the lsa_lookup_names()
client call.
- added in "addaliasmem" and "addgroupmem" commands. the addaliasmem
command actually turned out to be a "delaliasmem" :-) :-)
- parse_lsa.c: moved assert array check to after the size of useable
array space is set...
Luke Leighton [Fri, 4 Dec 1998 16:30:00 +0000 (16:30 +0000)]
- renamed do_samr_xxx to samr_xxx
- renamed do_lsa_xxx to lsa_xxx
- added "enumgroups [-m]" command, enumerates groups, shows members.
- added cmd_sam_add_groupmem(), need to call these in rpcclient.c
- added cmd_sam_add_aliasmem(), need to call these in rpcclient.c
- modified "enumaliases [-m]" command
- improved "enumgroups" and "enumaliases" to display names not just RIDS/SIDs.
- renamed "samr_unknown_12" to "samr_lookup_rids".
- added the following client-side functions:
get_samr_query_groupmem()
get_samr_query_aliasmem()
get_samr_query_groupinfo()
samr_enum_dom_groups()
samr_enum_dom_aliases()
samr_add_aliasmem()
samr_add_groupmem()
- improved display output (display.c)
Jeremy Allison [Fri, 4 Dec 1998 00:50:34 +0000 (00:50 +0000)]
Fix for non-termination of string in osf1_bigcrypt.
Jeremy.
John Terpstra [Fri, 4 Dec 1998 00:13:12 +0000 (00:13 +0000)]
Updated packaging files from 2.0.0 branch - NOTE: Not yet operative.
I will update these when 2.0.0beta3 has shipped. <John H Terpstra>
John Terpstra [Fri, 4 Dec 1998 00:00:59 +0000 (00:00 +0000)]
Remove unused file from swat help area - incorrectly added previously.
Jeremy Allison [Thu, 3 Dec 1998 23:43:08 +0000 (23:43 +0000)]
Samba 2.0 wasn't building on Linux-alpha - so I added
HAVE_SETRESGID and HAVE_SETRESGID_DECL defines, based
on the HAVE_SETRESUID checks.
I also updated the places that setresgid was being called
based on HAVE_SETRESUID being defined and made sure *both*
were defined before allowing the call.
Jeremy.
John Terpstra [Thu, 3 Dec 1998 23:14:52 +0000 (23:14 +0000)]
Updated version info and date in document headers.
John Terpstra [Thu, 3 Dec 1998 23:05:59 +0000 (23:05 +0000)]
Updated domain documentation to remove some ambiguities.
John Terpstra [Thu, 3 Dec 1998 22:35:49 +0000 (22:35 +0000)]
Fixed typo and added use of "valid users".
Luke Leighton [Thu, 3 Dec 1998 22:20:30 +0000 (22:20 +0000)]
added createalias command to rpcclient
Jeremy Allison [Thu, 3 Dec 1998 20:53:48 +0000 (20:53 +0000)]
config.guess: UNIXWARE fix.
lib/util.c: Debug messages for getrlim/setrlim calls.
libsmb/clientgen.c: Added session redirect code back in.
smbd/nttrans.c smbd/pipes.c: Correct fix for NT printer problem - catches
openX as well as nttrans open.
Jeremy.
Luke Leighton [Thu, 3 Dec 1998 20:50:33 +0000 (20:50 +0000)]
create domain group command (creategroup) added to rpcclient.
renamed do_samr_xxxx to samr_xxxx.
Luke Leighton [Thu, 3 Dec 1998 17:41:14 +0000 (17:41 +0000)]
moved get_unixgroups it will be needed by the unix instance of the group
DB API
Luke Leighton [Thu, 3 Dec 1998 17:38:20 +0000 (17:38 +0000)]
jean-f spotted race condition on generation of sam sid, from starting
nmbd and smbd. nmbd is now client: smbd is solely responsible for
creating sam_name.SID
Luke Leighton [Thu, 3 Dec 1998 17:34:05 +0000 (17:34 +0000)]
jean-f spotted bug in test for existence of MACHINE.SID and SAM_NAME.SID.
Luke Leighton [Thu, 3 Dec 1998 17:29:03 +0000 (17:29 +0000)]
adding group parsing: add/modify/delete/add members.
John Terpstra [Thu, 3 Dec 1998 11:04:12 +0000 (11:04 +0000)]
Oops, missed one typo.
John Terpstra [Thu, 3 Dec 1998 11:03:35 +0000 (11:03 +0000)]
More tidy up activity.
John Terpstra [Thu, 3 Dec 1998 09:43:20 +0000 (09:43 +0000)]
Added help files for SWAT. Oops type fixup.
Jeremy Allison [Thu, 3 Dec 1998 02:01:12 +0000 (02:01 +0000)]
client/clientutil.c: Changed workgroup to "" for smbmount (only code
that still uses clientutil.c).
passdb/passdb.c: Changed dos_mkdir to mkdir. Changed fchmod to chmod for
some UNIX's that don't have fchmod.
passdb/smbpass.c: Added test for uid with leading '-'.
smbd/ipc.c: Added fix for invalid info level from Scott Moomaw <scott@bridgewater.edu>.
Jeremy.
Jeremy Allison [Thu, 3 Dec 1998 01:01:14 +0000 (01:01 +0000)]
This file is not used in this branch.
Jeremy.
Luke Leighton [Wed, 2 Dec 1998 22:48:00 +0000 (22:48 +0000)]
jeremy's going to do me in, again.
jean-francois' going to get annoyed, again.
andrew's going to threaten to take cvs access away, again.
missed compilation of this file when updating sam_unknown_12 call.
Luke Leighton [Wed, 2 Dec 1998 22:37:29 +0000 (22:37 +0000)]
updating smb.conf from yodl
Luke Leighton [Wed, 2 Dec 1998 22:13:48 +0000 (22:13 +0000)]
spotted the mistake in group_info1 parsing.