cvs2svn Import User [Mon, 10 Apr 2000 02:35:46 +0000 (02:35 +0000)]
This commit was manufactured by cvs2svn to create tag
'release-alpha-2-2'.
Samba Release Account [Mon, 10 Apr 2000 02:35:45 +0000 (02:35 +0000)]
preparing for release of alpha.2.2
Luke Leighton [Mon, 10 Apr 2000 02:07:42 +0000 (02:07 +0000)]
extra parameter.
Luke Leighton [Mon, 10 Apr 2000 01:48:03 +0000 (01:48 +0000)]
fixing up recursion-problems in netlogond (told you so!)
turns out that standalone mode (sec=user, dm=no, dl=no) was thinking
it was a PDC, so was referring out and therefore back to itself. argh!
Luke Leighton [Sun, 9 Apr 2000 13:53:41 +0000 (13:53 +0000)]
groups being a pain, had to copy them.
also, the usual corruption on trust account password change...
Luke Leighton [Sun, 9 Apr 2000 08:30:26 +0000 (08:30 +0000)]
trying to track down sys_setgroups() problem: an unbecome_root() was
being done, i think on uninitialised current_user_saved.
Luke Leighton [Sun, 9 Apr 2000 08:28:18 +0000 (08:28 +0000)]
lost smbd_pid in initialisation.
Luke Leighton [Sun, 9 Apr 2000 08:02:04 +0000 (08:02 +0000)]
retired
Luke Leighton [Sun, 9 Apr 2000 07:24:44 +0000 (07:24 +0000)]
making sure that a local authentication request (specifying hostname
as domain name) works.
Luke Leighton [Sun, 9 Apr 2000 06:50:03 +0000 (06:50 +0000)]
it's a little unclear where the line is between netlogond processing
incoming samlogon requests and passing requests on up (using client-side
code). added some debug messages in that say BEGIN here and END here.
by the way, i really, really hope i don't get this wrong, it's going to
cause absolute chaos if netlogond ends up calling itself.
Samba Release Account [Sun, 9 Apr 2000 06:23:31 +0000 (06:23 +0000)]
preparing for release of alpha.2.1
Luke Leighton [Sun, 9 Apr 2000 06:11:35 +0000 (06:11 +0000)]
gets really interesting. it's dog-slow (at debug level 100), but
i think i now have security=domain working.
i also think i fixed the bug where NT5 wks fails with an RPC error
when the user password is wrong.
Luke Leighton [Sun, 9 Apr 2000 05:49:34 +0000 (05:49 +0000)]
- fixing cli_pipe.c asserts
- default client NETLOGON Schannel to false, server Schannel to Auto
- netlogond now sub-refers authentication requests if it's not in
its own SAM database. (yes, sounds horrible, doesn't it!)
Luke Leighton [Sun, 9 Apr 2000 04:43:26 +0000 (04:43 +0000)]
i hate this code. (understatement of the year).
Luke Leighton [Sun, 9 Apr 2000 04:13:54 +0000 (04:13 +0000)]
changed ROLE_DOMAIN_NONE to ROLE_STANDALONE.
Luke Leighton [Sun, 9 Apr 2000 04:04:42 +0000 (04:04 +0000)]
lp_server_role() == SERVER_ROLE_NONE was being refused. hmm. i think
i am going to call this SERVER_ROLE_STANDALONE, or maybe SERVER_ROLE_WGRP.
Luke Leighton [Sun, 9 Apr 2000 03:49:03 +0000 (03:49 +0000)]
good grief. sometimes, i can be very stupid. ok, mike, that mode you
wanted (lp_server_role() = SERVER_ROLE_NONE, which is stand-alone
workgroup member) is working:
security = user
domain master = no
domain logons = no
you should check this with lsaquery command, it should give:
Domain: WORKGROUP SID: S-0-0
Domain: WORKSTATIONNAME SID: S-1-5-21-xxx-yyy-zzz
this just leaves security = domain, which is broke, too.
Luke Leighton [Sun, 9 Apr 2000 03:10:13 +0000 (03:10 +0000)]
update version string.
Samba Release Account [Sun, 9 Apr 2000 03:09:45 +0000 (03:09 +0000)]
preparing for release of alpha.2.0
Luke Leighton [Sun, 9 Apr 2000 03:06:53 +0000 (03:06 +0000)]
add cvsignore
Luke Leighton [Sun, 9 Apr 2000 02:41:16 +0000 (02:41 +0000)]
GETDC request short-detection was wrong, explains why the poor win9x people
couldn't do anything (one, two, three, aaahhh).
Luke Leighton [Sun, 9 Apr 2000 02:34:35 +0000 (02:34 +0000)]
added warning about if a cli_net_use_add fails.
Luke Leighton [Sun, 9 Apr 2000 02:34:15 +0000 (02:34 +0000)]
adding debug warning if cli_ulogoff attempted to be called with a fd of -1
Luke Leighton [Sun, 9 Apr 2000 02:04:31 +0000 (02:04 +0000)]
added pam_ntdom. amazingly, it actually works.
Elrond [Sat, 8 Apr 2000 15:09:05 +0000 (15:09 +0000)]
Removed the rpc_client-protos from proto.h
Seems to compile fine for me.
added LC_ALL=C, LC_COLLATE=C to mkproto.sh
Elrond [Fri, 7 Apr 2000 18:26:58 +0000 (18:26 +0000)]
using sambaconfdir for smb.conf and lmhosts.
Which other files in ${LIBDIR} are config-files?
Samba Release Account [Fri, 7 Apr 2000 08:27:50 +0000 (08:27 +0000)]
preparing for release of alpha.1.9
Tim Potter [Fri, 7 Apr 2000 07:41:01 +0000 (07:41 +0000)]
Replaced a whole bunch of 0x02000000's with SEC_RIGHTS_MAXIMUM_ALLOWED
Luke Leighton [Fri, 7 Apr 2000 06:50:16 +0000 (06:50 +0000)]
jf, looks like you put some extra error codes in...
Luke Leighton [Fri, 7 Apr 2000 06:33:10 +0000 (06:33 +0000)]
cut too much across.
Luke Leighton [Fri, 7 Apr 2000 05:48:55 +0000 (05:48 +0000)]
spoolss from cvs main
Luke Leighton [Fri, 7 Apr 2000 05:47:12 +0000 (05:47 +0000)]
open alias permissions were wrong, in msrpc_samr_query_aliasmem.
Luke Leighton [Fri, 7 Apr 2000 05:42:15 +0000 (05:42 +0000)]
domain name not obtained correctly.
Luke Leighton [Fri, 7 Apr 2000 05:34:21 +0000 (05:34 +0000)]
samaliasmem modified to take DOMAINNAME\name.
Tim Potter [Fri, 7 Apr 2000 02:18:04 +0000 (02:18 +0000)]
Same for cmd_sam_create_dom_alias.
Tim Potter [Fri, 7 Apr 2000 02:16:12 +0000 (02:16 +0000)]
Return from cmd_sam_create_dom_group() if not enough or too many arguments
passed.
Elrond [Thu, 6 Apr 2000 17:21:42 +0000 (17:21 +0000)]
Added --with-sambaconfdir, that currently defaults to
${LIBDIR} for backward-compatibility.
Hope to change this soon.
(@sambaconfdir@ not yet used)
Luke Leighton [Thu, 6 Apr 2000 07:54:43 +0000 (07:54 +0000)]
tdbsec_store takes the TDB_xxx flags arg.
Tim Potter [Thu, 6 Apr 2000 05:42:45 +0000 (05:42 +0000)]
General configuration file for DejaGnu.
Luke Leighton [Thu, 6 Apr 2000 02:36:57 +0000 (02:36 +0000)]
From johanh@fusion.kth.se Thu Apr 6 12:34:13 2000
Date: Wed, 5 Apr 2000 12:03:11 +0200 (MET DST)
From: Johan Hedin <johanh@fusion.kth.se>
To: samba-patches@samba.org
Cc: lkcl@samba.org
Subject: More Patch for configure.in in Samba TNG (PATCH#78)
I found another error I made. As long as my old config.cache was used, it
worked, but not with a fresh checkout... This patch will fix it. Again,
patch towards Samba TNG.
Tim Potter [Wed, 5 Apr 2000 22:44:47 +0000 (22:44 +0000)]
fsync returns int rather than void.
Tim Potter [Wed, 5 Apr 2000 22:44:33 +0000 (22:44 +0000)]
Improved clean target.
Tim Potter [Wed, 5 Apr 2000 22:44:24 +0000 (22:44 +0000)]
Added *.lo
Tim Potter [Wed, 5 Apr 2000 22:20:34 +0000 (22:20 +0000)]
Move across example VFS files from HEAD branch.
Jeremy Allison [Wed, 5 Apr 2000 19:52:57 +0000 (19:52 +0000)]
Paranioa purify fixes from HEAD.
Jeremy.
Elrond [Wed, 5 Apr 2000 18:02:05 +0000 (18:02 +0000)]
Another SMB_ASSERT in cli_pipe.c.
This time it got hit by an anonymous enumusers in
rpcclient.
Ohh, don't ask me, what's special about enumusers.
Luke Leighton [Wed, 5 Apr 2000 07:52:31 +0000 (07:52 +0000)]
patch from case for openssl
Luke Leighton [Wed, 5 Apr 2000 07:06:59 +0000 (07:06 +0000)]
case@seattle.gii.net spotted that msdfs.c needs nterr.h because of
NT_STATUS_PATH_NOT_COVERED.
Luke Leighton [Wed, 5 Apr 2000 07:02:12 +0000 (07:02 +0000)]
optimisation of TDB_MODIFY: use tdb_update() to tell us if the attempted
in-place replacement of the record didn't exist (and so failed), and if it
didn't exist, we don't need to check again (don't need to make _another_
call to tdb_exists(), just fail).
Luke Leighton [Wed, 5 Apr 2000 06:37:30 +0000 (06:37 +0000)]
added TDB_MODIFY flag. this says, "if it don't already exist, fail to update".
Tim Potter [Wed, 5 Apr 2000 06:23:02 +0000 (06:23 +0000)]
Added copyright header.
Luke Leighton [Wed, 5 Apr 2000 06:18:43 +0000 (06:18 +0000)]
added tdbsec_delete. i wonder if there are any more of these.
tdbset_store, tdbset_fetch, tdbset_delete.
Luke Leighton [Wed, 5 Apr 2000 05:50:32 +0000 (05:50 +0000)]
added tdbsec_delsec
Luke Leighton [Wed, 5 Apr 2000 04:29:37 +0000 (04:29 +0000)]
tracking down setgroups failed problems, turns out that the order
of fn calls is probably something like this:
become_root()
become_root()
unbecome_root()
become_user()
unbecome_root()
which of course screws up the groups in current_user_saved....
Luke Leighton [Wed, 5 Apr 2000 04:27:29 +0000 (04:27 +0000)]
oops, got domain / name wrong way round. stops some nasty recursion
with security = domain.
Luke Leighton [Wed, 5 Apr 2000 04:26:56 +0000 (04:26 +0000)]
attempting to change NT-access-permisions to find out why create-alias
fails against a workstation's SAM.
Luke Leighton [Wed, 5 Apr 2000 02:32:04 +0000 (02:32 +0000)]
jeremy suggested checking return result from prs_grow().
Jeremy Allison [Wed, 5 Apr 2000 01:26:56 +0000 (01:26 +0000)]
Added strerror at debug level 0 on file create/open fail. Helps catch
problems.
Jeremy.
Jeremy Allison [Tue, 4 Apr 2000 18:55:37 +0000 (18:55 +0000)]
Forgot no-fsync code path :-).
Jeremy.
Jeremy Allison [Tue, 4 Apr 2000 18:55:09 +0000 (18:55 +0000)]
vfs change. POSIX states fsync must return an int, not void.
Jeremy.
Elrond [Tue, 4 Apr 2000 17:12:16 +0000 (17:12 +0000)]
Added LANG=C; export LANG to mkproto.sh.
(Luke's sort seems to sort differently then mine. I guess,
it's got to do with LANG-settings)
Elrond [Tue, 4 Apr 2000 16:59:36 +0000 (16:59 +0000)]
This one isn't as big, as it looks.
I just added #include "rpc_client.h" to 50 files.
and #include "rpcclient.h" to some in rpcclient/.
Oh, and made the readline-function in dfs_cmds.c static
If we're lucky, we can remove the rpc_client-prototypes
from the normal proto.h
Luke Leighton [Tue, 4 Apr 2000 14:09:36 +0000 (14:09 +0000)]
tdb record-level security database (implemented on top of tdb).
designed by andrew and me. coded by andrew.
Elrond [Tue, 4 Apr 2000 13:42:13 +0000 (13:42 +0000)]
Straight from HEAD:
> Fix for compiler warning about invalid structure type.
> jeremy.
Elrond [Tue, 4 Apr 2000 11:54:00 +0000 (11:54 +0000)]
Okay,
this is mostly net_share_del, client-side is complete,
server-side still returns a fault-pdu (will change soon to
"Access denied")
... and some of the things, I tried to commit yesterday.
Elrond [Tue, 4 Apr 2000 11:10:43 +0000 (11:10 +0000)]
Learned from yesterday and now doing the thing in smaller
steps.
- added rpc_client.h as wrapper for rpc_client_proto.h
- added net_share_del-reply to rpc_srvsvc.h
Tim Potter [Tue, 4 Apr 2000 07:27:22 +0000 (07:27 +0000)]
Rearranged "make check" testsuite invocation variables. More on this
later..
Luke Leighton [Tue, 4 Apr 2000 06:37:27 +0000 (06:37 +0000)]
Bruce Tenison <btenison@dibbs.net> wrote a patch for the delete user
functionality from cvs main.
THANK YOU!! :)
Samba Release Account [Tue, 4 Apr 2000 03:05:54 +0000 (03:05 +0000)]
preparing for release of alpha.1.8
Luke Leighton [Tue, 4 Apr 2000 02:55:59 +0000 (02:55 +0000)]
make proto. hey, cool, it doesn't overwrite unless changed! nice one,
elrond!
printing/print_cups not print_cups, in Makefile.in
Luke Leighton [Tue, 4 Apr 2000 02:50:57 +0000 (02:50 +0000)]
i mean, i really hate cvs.
Luke Leighton [Tue, 4 Apr 2000 02:50:26 +0000 (02:50 +0000)]
i hate cvs.
Luke Leighton [Tue, 4 Apr 2000 02:36:00 +0000 (02:36 +0000)]
codepages from cvs main.
Luke Leighton [Tue, 4 Apr 2000 02:34:38 +0000 (02:34 +0000)]
more merge of cvs main printing into tng.
i also missed srv_lsa.c in the remove-rpcsrv_struct frenzy.
Jeremy Allison [Tue, 4 Apr 2000 01:13:30 +0000 (01:13 +0000)]
Removed strange optimisation (paranoia fix maybe ?) that stopped smbd
from returning '.' and '..' in a top level listing of a trans2 directory
scan. NT does return these entries.
Jeremy.
Jeremy Allison [Mon, 3 Apr 2000 23:12:29 +0000 (23:12 +0000)]
Adding codepages needed for unicode mappings.
Jeremy.
cvs2svn Import User [Mon, 3 Apr 2000 22:50:34 +0000 (22:50 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_TNG'.
Jeremy Allison [Mon, 3 Apr 2000 22:50:33 +0000 (22:50 +0000)]
Hmmm - unicode codepages need adding to HEAD. Thought that'd been done ?
Jeremy.
Jeremy Allison [Mon, 3 Apr 2000 18:05:33 +0000 (18:05 +0000)]
Fix for spoolss code from Alan Hourihane <Alan.Hourihane@pinacl.co.uk>.
Jeremy.
Jeremy Allison [Mon, 3 Apr 2000 17:12:25 +0000 (17:12 +0000)]
Additional fix for nmbd and 127.0.0.1 interface.
Jeremy.
Jeremy Allison [Mon, 3 Apr 2000 17:12:12 +0000 (17:12 +0000)]
Additional fix for nmbd and 127.0.0.1 interface.
Jeremy.
Elrond [Mon, 3 Apr 2000 16:12:55 +0000 (16:12 +0000)]
*arg*
My last commit stopped after 3 files:
I haven't got enough permissions in
/data/cvs/samba/include/Attic/.
So I at least commit this part, so the whole thing still
works.
Can someone please fix that?
Elrond
Elrond [Mon, 3 Apr 2000 16:07:18 +0000 (16:07 +0000)]
My first bigger commit with added files.
- added start-stop-script script/samba-init.d; autoconf
fills in the paths in there.
The script is based on the one from Lonnie.
(Does anyone have a mailadress, I want to ask him, if I
can remove the other versions)
- added include/rpc_client.h, that is meant to wrap the
rpc_client_proto.h (I have some bigger patch for that
lieing here.)
- added net_share_del and rpcclient command srvsharedel
- reindented some things by hand
- enhanced make proto
Luke, can you do a cvs add msdfs msdfs/*.c?
(I had to comment the *.o out in Makefile to get make proto
to do useful work)
Elrond [Mon, 3 Apr 2000 14:57:24 +0000 (14:57 +0000)]
IRIX fix straight from HEAD
Luke Leighton [Mon, 3 Apr 2000 12:49:14 +0000 (12:49 +0000)]
tracking down dce/rpc alt-context and bind issues.
Luke Leighton [Mon, 3 Apr 2000 11:31:17 +0000 (11:31 +0000)]
merge from cvs main of jean-francois' spoolss work.
Luke Leighton [Mon, 3 Apr 2000 11:30:14 +0000 (11:30 +0000)]
lock functions in wrong place (and static!)
Luke Leighton [Mon, 3 Apr 2000 08:52:41 +0000 (08:52 +0000)]
merge of cvs main headers.
Luke Leighton [Mon, 3 Apr 2000 07:26:34 +0000 (07:26 +0000)]
removed rpcsrv_struct* argument from server-marshalling routines.
once tim commits the removal of uint16 vuid arg from the same functions
in cvs main, these functions will all have the same function protos
Luke Leighton [Mon, 3 Apr 2000 07:18:51 +0000 (07:18 +0000)]
closing stdin in the readline(""); test
Samba Release Account [Mon, 3 Apr 2000 06:31:24 +0000 (06:31 +0000)]
preparing for release of alpha.1.7
Tim Potter [Mon, 3 Apr 2000 05:00:46 +0000 (05:00 +0000)]
switch_value should be uint32 in make_srv_share_info_ctr()
Luke Leighton [Mon, 3 Apr 2000 02:39:42 +0000 (02:39 +0000)]
merge of smbd and related files, from cvs main.
Herb Lewis [Fri, 31 Mar 2000 22:30:13 +0000 (22:30 +0000)]
fixes for broken IRIX header file merged from 2.0 branch
Jeremy Allison [Fri, 31 Mar 2000 20:44:55 +0000 (20:44 +0000)]
IRIX include fixes.
Jeremy.
Elrond [Fri, 31 Mar 2000 18:13:56 +0000 (18:13 +0000)]
merged sys_popen(), sys_pclose() from HEAD.
haven't run make proto, we don't need them currently, so
any future make proto will catch them.
Elrond [Fri, 31 Mar 2000 17:02:43 +0000 (17:02 +0000)]
rpcclient wanted to open a logfile in /usr/local/samba/var,
when called without -l and as a normal user, you can't
create one there.
time.c: merged some things from HEAD, now "debug hires
timestamp" works.
system.c: merge sys_usleep from HEAD
Luke Leighton [Fri, 31 Mar 2000 05:44:52 +0000 (05:44 +0000)]
updates from main (formatting, as it turns out)
Luke Leighton [Fri, 31 Mar 2000 05:34:33 +0000 (05:34 +0000)]
moving code around to the right places: create_ntlmssp_resp() was in
the wrong place in smbencrypt.c.
Luke Leighton [Fri, 31 Mar 2000 04:38:42 +0000 (04:38 +0000)]
make diffs on cvs main easier to compare!