cvs2svn Import User [Fri, 7 Apr 2000 08:27:51 +0000 (08:27 +0000)]
This commit was manufactured by cvs2svn to create tag
'release-alpha-1-9'.
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!
Samba Release Account [Fri, 31 Mar 2000 03:17:10 +0000 (03:17 +0000)]
preparing for release of alpha.1.6
Luke Leighton [Fri, 31 Mar 2000 03:02:40 +0000 (03:02 +0000)]
info printing in pwd change.
Luke Leighton [Fri, 31 Mar 2000 02:41:17 +0000 (02:41 +0000)]
readline function test.
Luke Leighton [Fri, 31 Mar 2000 01:31:53 +0000 (01:31 +0000)]
series of perl scripts (thanks tim!) to replace all calls to bzero:
perl -e 's/bzero\((.*),\s*sizeof\(\*\1\)\)/ZERO_STRUCTP($1)/g' -pi */*.c
perl -e 's/bzero\((.*),\s*sizeof\(\1\)\)/ZERO_STRUCT($1)/g' -pi */*.c
perl -e 's/bzero\(&(.*),\s*sizeof\(\1\)\)/ZERO_STRUCT($1)/g' -pi */*.c
perl -e 's/bzero\((.*),(.*)\)/memset($1, 0, $2)/g' -pi */*.c
Luke Leighton [Fri, 31 Mar 2000 01:26:30 +0000 (01:26 +0000)]
not needed.
Luke Leighton [Fri, 31 Mar 2000 00:48:41 +0000 (00:48 +0000)]
make proto
Luke Leighton [Fri, 31 Mar 2000 00:45:48 +0000 (00:45 +0000)]
more compiler warnings on ultrasparc resolved
Luke Leighton [Fri, 31 Mar 2000 00:44:41 +0000 (00:44 +0000)]
acknowledging where the md5 source comes from (the ssh 1.2.27 sources)
Luke Leighton [Fri, 31 Mar 2000 00:27:21 +0000 (00:27 +0000)]
attempting to get rid of compiler warnings on every _single_ damn module,
because of a declaration of int getopt(), on sparc (which doesn't have
a working getopt()).
Jeremy Allison [Thu, 30 Mar 2000 22:19:35 +0000 (22:19 +0000)]
samba-bugs -> samba.
Jeremy.
Jeremy Allison [Thu, 30 Mar 2000 20:32:33 +0000 (20:32 +0000)]
Fix for coredump in testparm.
Jeremy.
Elrond [Thu, 30 Mar 2000 19:14:08 +0000 (19:14 +0000)]
Tims SMB_ASSERT for checking, that cli_auth_fns functions
are NULL just broke my anonymous lsaq.
I undid two of his things, until at least that worked
again.
(Look at rpc_client/cli_pipe_noauth.c, 3 of 5 functions are
NULL here.)
Luke, can you take a look at the other SMB_ASSERTs?
Elrond
Elrond [Thu, 30 Mar 2000 18:24:43 +0000 (18:24 +0000)]
Trying to fix a problem, Luke has on sun.
this might break others.
Linux works at least for me.
Elrond
Luke Leighton [Thu, 30 Mar 2000 12:58:38 +0000 (12:58 +0000)]
oops...
Luke Leighton [Thu, 30 Mar 2000 09:04:38 +0000 (09:04 +0000)]
ZERO_STRUCT not bzero
Luke Leighton [Thu, 30 Mar 2000 09:02:03 +0000 (09:02 +0000)]
memset not bzero
Luke Leighton [Thu, 30 Mar 2000 09:01:03 +0000 (09:01 +0000)]
modules is a leaf-node, does not require includes.h
Luke Leighton [Thu, 30 Mar 2000 08:29:50 +0000 (08:29 +0000)]
cannot use snprintf, must use slprintf
Luke Leighton [Thu, 30 Mar 2000 08:01:34 +0000 (08:01 +0000)]
renamed spoolss to ntprint
Luke Leighton [Thu, 30 Mar 2000 06:53:21 +0000 (06:53 +0000)]
- fixed SAM_USER_INFO_21 to work in some cases (i hope) and well, we'll
just have to see what happens with the other cases, such as AS/U :)
- added SAM_USER_INFO_21 level to samr_set_userinfo21, it's used by
usrmgr.exe to change non-password user profile info.
Tim Potter [Thu, 30 Mar 2000 06:42:34 +0000 (06:42 +0000)]
Fixed spelling of Andrew's name. (-:
Luke Leighton [Thu, 30 Mar 2000 05:41:28 +0000 (05:41 +0000)]
hmm, experimenting with last part of SAM_USER_INFO_21 and SAM_USER_INFO_23
it's still not right.
Samba Release Account [Thu, 30 Mar 2000 05:22:23 +0000 (05:22 +0000)]
preparing for release of alpha.1.5
Luke Leighton [Thu, 30 Mar 2000 05:12:32 +0000 (05:12 +0000)]
finally got it right. how easy can it be to transfer an array of uint32s
to/from gid_ts?
Luke Leighton [Thu, 30 Mar 2000 04:58:13 +0000 (04:58 +0000)]
bug in uint32* convert to gid_t* issues