amitay/samba.git
24 years agoThis commit was manufactured by cvs2svn to create tag release-alpha-1-6 samba-misc-tags/tng/release-alpha-1-6
cvs2svn Import User [Fri, 31 Mar 2000 03:17:11 +0000 (03:17 +0000)]
This commit was manufactured by cvs2svn to create tag
'release-alpha-1-6'.

24 years agopreparing for release of alpha.1.6
Samba Release Account [Fri, 31 Mar 2000 03:17:10 +0000 (03:17 +0000)]
preparing for release of alpha.1.6

24 years agoinfo printing in pwd change.
Luke Leighton [Fri, 31 Mar 2000 03:02:40 +0000 (03:02 +0000)]
info printing in pwd change.

24 years agoreadline function test.
Luke Leighton [Fri, 31 Mar 2000 02:41:17 +0000 (02:41 +0000)]
readline function test.

24 years agoseries of perl scripts (thanks tim!) to replace all calls to bzero:
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

24 years agonot needed.
Luke Leighton [Fri, 31 Mar 2000 01:26:30 +0000 (01:26 +0000)]
not needed.

24 years agomake proto
Luke Leighton [Fri, 31 Mar 2000 00:48:41 +0000 (00:48 +0000)]
make proto

24 years agomore compiler warnings on ultrasparc resolved
Luke Leighton [Fri, 31 Mar 2000 00:45:48 +0000 (00:45 +0000)]
more compiler warnings on ultrasparc resolved

24 years agoacknowledging where the md5 source comes from (the ssh 1.2.27 sources)
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)

24 years agoattempting to get rid of compiler warnings on every _single_ damn module,
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()).

24 years agoTims SMB_ASSERT for checking, that cli_auth_fns functions
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

24 years agoTrying to fix a problem, Luke has on sun.
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

24 years agooops...
Luke Leighton [Thu, 30 Mar 2000 12:58:38 +0000 (12:58 +0000)]
oops...

24 years agoZERO_STRUCT not bzero
Luke Leighton [Thu, 30 Mar 2000 09:04:38 +0000 (09:04 +0000)]
ZERO_STRUCT not bzero

24 years agomemset not bzero
Luke Leighton [Thu, 30 Mar 2000 09:02:03 +0000 (09:02 +0000)]
memset not bzero

24 years agomodules is a leaf-node, does not require includes.h
Luke Leighton [Thu, 30 Mar 2000 09:01:03 +0000 (09:01 +0000)]
modules is a leaf-node, does not require includes.h

24 years agocannot use snprintf, must use slprintf
Luke Leighton [Thu, 30 Mar 2000 08:29:50 +0000 (08:29 +0000)]
cannot use snprintf, must use slprintf

24 years agorenamed spoolss to ntprint
Luke Leighton [Thu, 30 Mar 2000 08:01:34 +0000 (08:01 +0000)]
renamed spoolss to ntprint

24 years ago- fixed SAM_USER_INFO_21 to work in some cases (i hope) and well, we'll
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.

24 years agohmm, experimenting with last part of SAM_USER_INFO_21 and SAM_USER_INFO_23
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.

24 years agopreparing for release of alpha.1.5
Samba Release Account [Thu, 30 Mar 2000 05:22:23 +0000 (05:22 +0000)]
preparing for release of alpha.1.5

24 years agofinally got it right. how easy can it be to transfer an array of uint32s
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?

24 years agobug in uint32* convert to gid_t* issues
Luke Leighton [Thu, 30 Mar 2000 04:58:13 +0000 (04:58 +0000)]
bug in uint32* convert to gid_t* issues

24 years agoUse SMB_ASSERT when checking cli_auth_fns functions are non-NULL.
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.

24 years agoCheck cli_auth_fns functions are non-NULL before calling them.
Tim Potter [Thu, 30 Mar 2000 02:03:39 +0000 (02:03 +0000)]
Check cli_auth_fns functions are non-NULL before calling them.

24 years agoRemoval of #ifdef SYSLOG cruft and whitespace cleanup.
Tim Potter [Thu, 30 Mar 2000 01:54:08 +0000 (01:54 +0000)]
Removal of #ifdef SYSLOG cruft and whitespace cleanup.

24 years agomake_nmb_name no longer takes scope
Luke Leighton [Thu, 30 Mar 2000 01:29:03 +0000 (01:29 +0000)]
make_nmb_name no longer takes scope

24 years agoHAVE_CRYPT_DECL causing grief.
Luke Leighton [Thu, 30 Mar 2000 01:27:57 +0000 (01:27 +0000)]
HAVE_CRYPT_DECL causing grief.

24 years agoAdding AIX fix into TNG. Check for compiler support for LL suffix on long long ints.
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.

24 years agooops! getopt was causing grief for make proto.
Luke Leighton [Thu, 30 Mar 2000 01:21:18 +0000 (01:21 +0000)]
oops!  getopt was causing grief for make proto.

24 years agoFrom johanh@fusion.kth.se Thu Mar 30 09:42:56 2000
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

24 years agolonnie noticed that HAVE_PAM needs to be WITH_PAM.
Luke Leighton [Thu, 30 Mar 2000 00:03:37 +0000 (00:03 +0000)]
lonnie noticed that HAVE_PAM needs to be WITH_PAM.

24 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_TNG'.
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'.

24 years agoAdded check for LL suffix to long long ints needed by AIX 4.3.x compiler
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.

24 years agoFixed bug found by JF where if the amount of data to return in the prs_struct
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.

24 years agoCause nmbd to ignore loopback interface when constructing its interface ...
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.

24 years agoCause nmbd to ignore loopback interface when constructing its interface ...
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.

24 years agodropped in HEAD/web/startstop.c
Elrond [Wed, 29 Mar 2000 18:38:49 +0000 (18:38 +0000)]
dropped in HEAD/web/startstop.c

    Elrond

24 years agoMy first cvs commit, so hope, I get it right.
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

24 years agosplit addprinterex in preparation for level 1 support and to stop it
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.

24 years agorewrote getprinterdriver level 3, now correctly handle the dependent
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.

24 years agopreparing for release of alpha.1.4
Samba Release Account [Wed, 29 Mar 2000 07:46:57 +0000 (07:46 +0000)]
preparing for release of alpha.1.4

24 years agoMore Japanese filename fixes wrt VFS code from
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>

24 years agoadding getopt.c to Makefile.in
Luke Leighton [Wed, 29 Mar 2000 06:54:16 +0000 (06:54 +0000)]
adding getopt.c to Makefile.in

24 years agoautoconf update
Luke Leighton [Wed, 29 Mar 2000 06:46:34 +0000 (06:46 +0000)]
autoconf update

24 years agoadding getopt_long function, 'cos we need it!
Luke Leighton [Wed, 29 Mar 2000 06:42:06 +0000 (06:42 +0000)]
adding getopt_long function, 'cos we need it!

24 years agousing getopt_long not getopt, turns out getopt don't work when used
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...)

24 years agomore typecasts (uid_t) to int
Luke Leighton [Wed, 29 Mar 2000 04:00:29 +0000 (04:00 +0000)]
more typecasts (uid_t) to int

24 years agon_groups needs to be sent as uint32s and converted to gid_ts
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

24 years agouid_t cast to int.
Luke Leighton [Wed, 29 Mar 2000 02:14:02 +0000 (02:14 +0000)]
uid_t cast to int.

24 years agoman pages from Matthew Geddes. reviewed rpcclient.8.yo, made a couple of
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).

24 years ago_net_sam_logon: more preparing to get rid of DOM_LOG_INFO etc.
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.

24 years agooops!!!! @LOCKDIR@ needed to be @lockdir@
Luke Leighton [Tue, 28 Mar 2000 10:55:12 +0000 (10:55 +0000)]
oops!!!!  @LOCKDIR@ needed to be @lockdir@

24 years agocommitting [one] version of working GETDC / SAMLOGON request processing.
Luke Leighton [Tue, 28 Mar 2000 10:51:05 +0000 (10:51 +0000)]
committing [one] version of working GETDC / SAMLOGON request processing.

24 years agooops, sys_select() usage bug.
Luke Leighton [Tue, 28 Mar 2000 10:43:07 +0000 (10:43 +0000)]
oops, sys_select() usage bug.

24 years agoremoved tdb surs option by mistake. oops.
Luke Leighton [Tue, 28 Mar 2000 10:26:37 +0000 (10:26 +0000)]
removed tdb surs option by mistake.  oops.

24 years agoupdating configure.in etc from cvs main.
Luke Leighton [Tue, 28 Mar 2000 10:02:15 +0000 (10:02 +0000)]
updating configure.in etc from cvs main.

24 years agoChanged return value login in sam_query_aliasmem() so it returns false
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.

24 years ago_net_srv_pwset - working towards removal of DOM_LOG_INFO etc.
Luke Leighton [Tue, 28 Mar 2000 05:56:11 +0000 (05:56 +0000)]
_net_srv_pwset - working towards removal of DOM_LOG_INFO etc.

24 years agomore working towards removing DOM_LOG_INFO etc. also, pid is 32-bit not
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.

24 years ago_net_auth2 - working towards removing some of the legacy structures
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)

24 years agomoving some functions that were in parse_misc.c that i've been meaning
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.

24 years agonet sam sync back to style suggested by sander, originally, passing
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.

24 years agodamn, the test was the wrong way around for short_resuest
Andrew Tridgell [Tue, 28 Mar 2000 03:03:34 +0000 (03:03 +0000)]
damn, the test was the wrong way around for short_resuest

24 years agoWin2k will only accept volume labels in UNICODE. Fixed.... :-(.
Jeremy Allison [Tue, 28 Mar 2000 02:38:59 +0000 (02:38 +0000)]
Win2k will only accept volume labels in UNICODE. Fixed.... :-(.
Jeremy.

24 years agoMoved common code to set parameter offset field correctly oout of 'if'
Jeremy Allison [Tue, 28 Mar 2000 02:20:57 +0000 (02:20 +0000)]
Moved common code to set parameter offset field correctly oout of 'if'
statement into main function code path.
Jeremy.

24 years agofinally got a compile/link. the nmbd_processlogon.c module doesn't use
Luke Leighton [Tue, 28 Mar 2000 01:21:02 +0000 (01:21 +0000)]
finally got a compile/link.  the nmbd_processlogon.c module doesn't use
length-limited functions.  i started adding the non-length-limited
versions, got fed up and instead started restoring the use of the length-
limited unicode string processing routines.

those length-limited string processing routines need to have dos-code-page
equivalents created, in TNG.

24 years agoFrom Elrond@Wunder-Nett.org Tue Mar 28 09:28:32 2000
Luke Leighton [Mon, 27 Mar 2000 23:48:52 +0000 (23:48 +0000)]
From Elrond@Wunder-Nett.org Tue Mar 28 09:28:32 2000
Date: Mon, 27 Mar 2000 20:37:20 +0200
From: Elrond <Elrond@Wunder-Nett.org>
To: Luke Kenneth Casson Leighton <lkcl@samba.org>
Subject: lsarpcd: more lookupsids

- lib/set_uid.c some reindenting.
- libsmb/clientgen.c:get_any_dc_name():
  "We" are also responsible for "Builtin", right?
- parse_lsa, cli_lsa.c: The dom_refs were marshalled
  incorrectly (the names and sids were put in the wrong
  slot.)
- minor cleanup
- lib/util_sid.c: minor try to merge from HEAD, please
  don't indent it!

    Elrond

24 years agomake proto for winbindd.
Tim Potter [Mon, 27 Mar 2000 22:36:45 +0000 (22:36 +0000)]
make proto for winbindd.

24 years agoFixed crash bug in new handle_netbios_name code.
Jeremy Allison [Mon, 27 Mar 2000 20:25:34 +0000 (20:25 +0000)]
Fixed crash bug in new handle_netbios_name code.
Jeremy.

24 years agonmbd merge, all the bits that were needed from andrew's merging
Luke Leighton [Mon, 27 Mar 2000 12:52:44 +0000 (12:52 +0000)]
nmbd merge, all the bits that were needed from andrew's merging
nmbd/*.c over.  a few issues left to deal with...

24 years agolast pieces of code from the head branch nmbd to go into TNG
Andrew Tridgell [Mon, 27 Mar 2000 12:41:22 +0000 (12:41 +0000)]
last pieces of code from the head branch nmbd to go into TNG

24 years agochanged the definition of dos_PutUniCode
Andrew Tridgell [Mon, 27 Mar 2000 12:38:45 +0000 (12:38 +0000)]
changed the definition of dos_PutUniCode

the previous definition could result is us overflowing a buffer. The
null termination was always added yet the size returned did not
include the null termination.

the new function takes a BOOL null_terminate, and always returns the
total number of bytes consumed by the string.

24 years agothe final part of the nmbd merge between head and tng - this gets the
Andrew Tridgell [Mon, 27 Mar 2000 12:19:58 +0000 (12:19 +0000)]
the final part of the nmbd merge between head and tng - this gets the
GETDC stuff sorted out

24 years agoremoved dgram_unique, it not needed in GETDC processing any more.
Luke Leighton [Mon, 27 Mar 2000 08:54:26 +0000 (08:54 +0000)]
removed dgram_unique, it not needed in GETDC processing any more.

24 years agofixed the hanlding of recursion desired when sending packets from
Andrew Tridgell [Mon, 27 Mar 2000 08:34:26 +0000 (08:34 +0000)]
fixed the hanlding of recursion desired when sending packets from
nmbd. It does NOT follow the rule that packets to the wins server have
rec_des set (I know that we have postulated this in the past). Please
don't screw with this unless you do careful testing from WinXX
clients.

Luke and I spent a couple of hours today getting this right (it was
wrong in both TNG and HEAD)

24 years agoCleaned up winbindd stuff.
Tim Potter [Mon, 27 Mar 2000 07:20:29 +0000 (07:20 +0000)]
Cleaned up winbindd stuff.

24 years agoChanged extern of global_sid_S_1_5_20 to global_sid_S_1_5_32.
Tim Potter [Mon, 27 Mar 2000 07:18:13 +0000 (07:18 +0000)]
Changed extern of global_sid_S_1_5_20 to global_sid_S_1_5_32.

24 years agomake proto
Luke Leighton [Mon, 27 Mar 2000 06:42:56 +0000 (06:42 +0000)]
make proto

24 years agoatomic_t type missing (needed by nmbd.c)
Luke Leighton [Mon, 27 Mar 2000 06:42:33 +0000 (06:42 +0000)]
atomic_t type missing (needed by nmbd.c)

24 years agoCheckin of remaining nss ntdom prototype code.
Tim Potter [Mon, 27 Mar 2000 06:35:34 +0000 (06:35 +0000)]
Checkin of remaining nss ntdom prototype code.

24 years agocompile error
Luke Leighton [Mon, 27 Mar 2000 06:30:02 +0000 (06:30 +0000)]
compile error

24 years agomore merging of head code into tng (under lukes supervision!)
Andrew Tridgell [Mon, 27 Mar 2000 06:24:35 +0000 (06:24 +0000)]
more merging of head code into tng (under lukes supervision!)

only 2 files left in source/nmbd/ ...

24 years agoremoved client's server name from cli_session_setup, it can be set to
Luke Leighton [Mon, 27 Mar 2000 05:17:48 +0000 (05:17 +0000)]
removed client's server name from cli_session_setup, it can be set to
global_myname

24 years agoadded talloc.h
Luke Leighton [Mon, 27 Mar 2000 04:45:49 +0000 (04:45 +0000)]
added talloc.h

24 years agoadded a few more well-known SIDs, NT Authority, System, Authenticated
Luke Leighton [Mon, 27 Mar 2000 04:16:12 +0000 (04:16 +0000)]
added a few more well-known SIDs, NT Authority, System, Authenticated
Users etc etc.

24 years agomoved nmblib-specific code from util.c to nmblib.c.
Luke Leighton [Mon, 27 Mar 2000 01:33:43 +0000 (01:33 +0000)]
moved nmblib-specific code from util.c to nmblib.c.

24 years agonmbd update. doesn't compile at the moment.
Luke Leighton [Mon, 27 Mar 2000 01:21:54 +0000 (01:21 +0000)]
nmbd update.  doesn't compile at the moment.

make proto to remove make_share_info_1

24 years agorename static reload_services function to reload_nmbd_services because
Luke Leighton [Mon, 27 Mar 2000 00:52:36 +0000 (00:52 +0000)]
rename static reload_services function to reload_nmbd_services because
it clashes with other reload_services definitions.

24 years agorename static reload_services function to reload_nmbd_services because
Luke Leighton [Mon, 27 Mar 2000 00:52:33 +0000 (00:52 +0000)]
rename static reload_services function to reload_nmbd_services because
it clashes with other reload_services definitions.

24 years agoelrond, there already exists a make_srv_share_info_1 function. made
Luke Leighton [Mon, 27 Mar 2000 00:49:37 +0000 (00:49 +0000)]
elrond, there already exists a make_srv_share_info_1 function.  made
it static temporarily.

24 years agouid and gid are not necessarily 32-bit (may be 16, let's hope they
Luke Leighton [Mon, 27 Mar 2000 00:43:40 +0000 (00:43 +0000)]
uid and gid are not necessarily 32-bit (may be 16, let's hope they
are never 64-bit because there _is_ no marshalling function for 64-bit
ints).

24 years agoremoved initial_uid/gid, not used.
Luke Leighton [Mon, 27 Mar 2000 00:39:28 +0000 (00:39 +0000)]
removed initial_uid/gid, not used.

24 years agoGETDC request - finally settled on a length-detecting algorithm to see if
Luke Leighton [Sun, 26 Mar 2000 23:42:43 +0000 (23:42 +0000)]
GETDC request - finally settled on a length-detecting algorithm to see if
there is a domain name in the GETDC request.  this, after hand-editing
the fields in netmon to see if there was any way to detect differences
in various fields (DGRAM_UNIQUE to DGRAM_GROUP; type of NetBIOS name tried
0x1c and 0x1b) and there wasn't.

24 years agowhen doing a "secure nbns" wack response and check with owner for a
Andrew Tridgell [Sun, 26 Mar 2000 23:16:07 +0000 (23:16 +0000)]
when doing a "secure nbns" wack response and check with owner for a
multihomed registration we were sending the packet to the wrong host!
We sent it to the person trying to register rather than to the person
who currently holds the name. That means we were not secure and we
could allow two people to register the same name.

Jeremy, you may wish to merge this change into 2.0.X

24 years agomerge from tng ...
Andrew Tridgell [Sun, 26 Mar 2000 23:13:12 +0000 (23:13 +0000)]
merge from tng ...

reload services can be static

24 years agoLuke has arrived in Canberra and we are doing the first stage of
Andrew Tridgell [Sun, 26 Mar 2000 23:11:04 +0000 (23:11 +0000)]
Luke has arrived in Canberra and we are doing the first stage of
merging code between tng and head. This is the easiest bit - some of
the nmbd changes.

There is still some more nmbd merging to do - watch this space.

24 years agoFrom Elrond@Wunder-Nett.org Sun Mar 26 19:22:00 2000
Luke Leighton [Sun, 26 Mar 2000 11:24:07 +0000 (11:24 +0000)]
From Elrond@Wunder-Nett.org Sun Mar 26 19:22:00 2000
Date: Sat, 25 Mar 2000 19:38:34 +0100
From: Elrond <Elrond@Wunder-Nett.org>
To: Luke Kenneth Casson Leighton <lkcl@samba.org>
Subject: lsa_lookup_sids

I got lsa_lookup_sids somehow better for well known SIDs.
Now even the icons in those "add user" dialogs next to
"SYSTEM" etc. are right.

The most important part in getting this was returning the
correct sid_name_use. BTW: 2.0.5 returns the wrong
sid_name_use for S-1-5-2 etc...

Minor thing:
made global_sid_S_1_5 static, it wasn't used anywhere
outside sids.c

    Elrond

24 years agoload smb.conf and interfaces in masktest (to allow for netbios name
Andrew Tridgell [Sun, 26 Mar 2000 09:20:47 +0000 (09:20 +0000)]
load smb.conf and interfaces in masktest (to allow for netbios name
resolution)

24 years agorpc_parse/parse_spoolss.c: Added checks on mallocs/overflow checks on all prs_xx
Jeremy Allison [Sat, 25 Mar 2000 01:37:08 +0000 (01:37 +0000)]
rpc_parse/parse_spoolss.c: Added checks on mallocs/overflow checks on all prs_xx
calls.
smbd/connection.c: Fix from David Lee <T.D.Lee@durham.ac.uk>.
Jeremy.