cvs2svn Import User [Tue, 4 Apr 2000 03:05:55 +0000 (03:05 +0000)]
This commit was manufactured by cvs2svn to create tag
'release-alpha-1-8'.
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
Tim Potter [Thu, 30 Mar 2000 04:45:53 +0000 (04:45 +0000)]
Use SMB_ASSERT when checking cli_auth_fns functions are non-NULL.
Tim Potter [Thu, 30 Mar 2000 02:03:39 +0000 (02:03 +0000)]
Check cli_auth_fns functions are non-NULL before calling them.
Tim Potter [Thu, 30 Mar 2000 01:54:08 +0000 (01:54 +0000)]
Removal of #ifdef SYSLOG cruft and whitespace cleanup.
Luke Leighton [Thu, 30 Mar 2000 01:29:03 +0000 (01:29 +0000)]
make_nmb_name no longer takes scope
Luke Leighton [Thu, 30 Mar 2000 01:27:57 +0000 (01:27 +0000)]
HAVE_CRYPT_DECL causing grief.
Jeremy Allison [Thu, 30 Mar 2000 01:27:29 +0000 (01:27 +0000)]
Adding AIX fix into TNG. Check for compiler support for LL suffix on long long ints.
Jeremy.
Luke Leighton [Thu, 30 Mar 2000 01:21:18 +0000 (01:21 +0000)]
oops! getopt was causing grief for make proto.
Andrew Tridgell [Thu, 30 Mar 2000 00:34:15 +0000 (00:34 +0000)]
I finally got sick of configure being run automaticaly when I run make
clean or in other situations. That then screws up options I pass to
configure and is generally annoying.
Instead the Makefile now emits a warning if configure needs
rerunning, but doesn't actually run it.
don't re-enable the auto running of configure on pain of death :)
Luke Leighton [Thu, 30 Mar 2000 00:27:59 +0000 (00:27 +0000)]
From johanh@fusion.kth.se Thu Mar 30 09:42:56 2000
Date: Wed, 29 Mar 2000 17:20:28 +0200 (MET DST)
From: Johan Hedin <johanh@fusion.kth.se>
To: samba-patches@samba.org
Cc: lkcl@samba.org
Subject: Patch for broken AFS renewable ticket support in Samba TNG
Hi
In the latest CVS version of SAMBA_TNG, the AFS renewable ticket support
is broken due to that some parts of the configure.in regarding the
Kerberos inconsistenty between KTH-KRB and Solaris 2.6 disapeared. The
following patch will put it back in again.
Regards
Johan Hedin
Luke Leighton [Thu, 30 Mar 2000 00:03:37 +0000 (00:03 +0000)]
lonnie noticed that HAVE_PAM needs to be WITH_PAM.
cvs2svn Import User [Wed, 29 Mar 2000 23:03:49 +0000 (23:03 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_TNG'.
Jeremy Allison [Wed, 29 Mar 2000 23:03:48 +0000 (23:03 +0000)]
Added check for LL suffix to long long ints needed by AIX 4.3.x compiler
to allow successful build.
Jeremy.
Jeremy Allison [Wed, 29 Mar 2000 22:19:58 +0000 (22:19 +0000)]
Fixed bug found by JF where if the amount of data to return in the prs_struct
was small enough to pass the SMBtrans max data test we weren't setting the
"more data needed" error. I was fogetting the RPC_HEADER_LEN.... I now
check the correct length (current pdu staging area length). More printer
spool enum stuff works now. This bug does not affect TNG.
Jeremy.
Jeremy Allison [Wed, 29 Mar 2000 21:31:13 +0000 (21:31 +0000)]
Cause nmbd to ignore loopback interface when constructing its interface list. This is done by default when interfaces are probed, but if someone
explicitly adds 127.0.0.1 to the interfaces line for smbd, then nmbd would
start to try and register names on it. This was not good :-(.
Jeremy.
Jeremy Allison [Wed, 29 Mar 2000 21:30:52 +0000 (21:30 +0000)]
Cause nmbd to ignore loopback interface when constructing its interface list. This is done by default when interfaces are probed, but if someone
explicitly adds 127.0.0.1 to the interfaces line for smbd, then nmbd would
start to try and register names on it. This was not good :-(.
Jeremy.
Elrond [Wed, 29 Mar 2000 18:38:49 +0000 (18:38 +0000)]
dropped in HEAD/web/startstop.c
Elrond
Elrond [Wed, 29 Mar 2000 17:22:23 +0000 (17:22 +0000)]
My first cvs commit, so hope, I get it right.
I just dropped in lib/snprintf.c from HEAD, which adds some
fcvt-things
Elrond
Jean-François Micouleau [Wed, 29 Mar 2000 14:49:05 +0000 (14:49 +0000)]
split addprinterex in preparation for level 1 support and to stop it
coredump.
J.F.
Jean-François Micouleau [Wed, 29 Mar 2000 12:36:44 +0000 (12:36 +0000)]
rewrote getprinterdriver level 3, now correctly handle the dependent
files.
A number of memleak fixed
some error return values fixed.
J.F.
Samba Release Account [Wed, 29 Mar 2000 07:46:57 +0000 (07:46 +0000)]
preparing for release of alpha.1.4
Tim Potter [Wed, 29 Mar 2000 07:44:23 +0000 (07:44 +0000)]
More Japanese filename fixes wrt VFS code from
Tomoki AONO <aono@cc.osaka-kyoiku.ac.jp>
Luke Leighton [Wed, 29 Mar 2000 06:54:16 +0000 (06:54 +0000)]
adding getopt.c to Makefile.in
Luke Leighton [Wed, 29 Mar 2000 06:46:34 +0000 (06:46 +0000)]
autoconf update
Luke Leighton [Wed, 29 Mar 2000 06:42:06 +0000 (06:42 +0000)]
adding getopt_long function, 'cos we need it!
Luke Leighton [Wed, 29 Mar 2000 06:24:41 +0000 (06:24 +0000)]
using getopt_long not getopt, turns out getopt don't work when used
several times, on solaris. (optind=0 don't do the job...)
Luke Leighton [Wed, 29 Mar 2000 04:00:29 +0000 (04:00 +0000)]
more typecasts (uid_t) to int
Luke Leighton [Wed, 29 Mar 2000 03:37:55 +0000 (03:37 +0000)]
n_groups needs to be sent as uint32s and converted to gid_ts
Luke Leighton [Wed, 29 Mar 2000 02:14:02 +0000 (02:14 +0000)]
uid_t cast to int.
Luke Leighton [Wed, 29 Mar 2000 00:47:30 +0000 (00:47 +0000)]
man pages from Matthew Geddes. reviewed rpcclient.8.yo, made a couple of
minor mods (e.g samuser command -u, -g and -a descriptions).
Luke Leighton [Tue, 28 Mar 2000 11:19:45 +0000 (11:19 +0000)]
_net_sam_logon: more preparing to get rid of DOM_LOG_INFO etc.
Luke Leighton [Tue, 28 Mar 2000 10:55:12 +0000 (10:55 +0000)]
oops!!!! @LOCKDIR@ needed to be @lockdir@
Luke Leighton [Tue, 28 Mar 2000 10:51:05 +0000 (10:51 +0000)]
committing [one] version of working GETDC / SAMLOGON request processing.
Luke Leighton [Tue, 28 Mar 2000 10:43:07 +0000 (10:43 +0000)]
oops, sys_select() usage bug.
Luke Leighton [Tue, 28 Mar 2000 10:26:37 +0000 (10:26 +0000)]
removed tdb surs option by mistake. oops.
Luke Leighton [Tue, 28 Mar 2000 10:02:15 +0000 (10:02 +0000)]
updating configure.in etc from cvs main.
Tim Potter [Tue, 28 Mar 2000 07:00:40 +0000 (07:00 +0000)]
Changed return value login in sam_query_aliasmem() so it returns false
when querying a non-existent alias name.
Luke Leighton [Tue, 28 Mar 2000 05:56:11 +0000 (05:56 +0000)]
_net_srv_pwset - working towards removal of DOM_LOG_INFO etc.
Luke Leighton [Tue, 28 Mar 2000 05:38:33 +0000 (05:38 +0000)]
more working towards removing DOM_LOG_INFO etc. also, pid is 32-bit not
16-bit.
Luke Leighton [Tue, 28 Mar 2000 05:34:18 +0000 (05:34 +0000)]
_net_auth2 - working towards removing some of the legacy structures
(e.g DOM_LOG_INFO)
Luke Leighton [Tue, 28 Mar 2000 05:20:28 +0000 (05:20 +0000)]
moving some functions that were in parse_misc.c that i've been meaning
to put in the right modules for a long, long time.
Luke Leighton [Tue, 28 Mar 2000 04:52:57 +0000 (04:52 +0000)]
net sam sync back to style suggested by sander, originally, passing
the remote pid over.
i really want to get rid of that remote pid, it causes problems.
some stuff from process_logon_packet that doesn't matter about being
committed because it's due to be replaced in a bit.
Andrew Tridgell [Tue, 28 Mar 2000 03:03:34 +0000 (03:03 +0000)]
damn, the test was the wrong way around for short_resuest