samba.git
24 years agoThis commit was manufactured by cvs2svn to create tag samba-misc-tags/tng/release-alpha-0-9
cvs2svn Import User [Mon, 6 Mar 2000 10:40:36 +0000 (10:40 +0000)]
This commit was manufactured by cvs2svn to create tag
'release-alpha-0-9'.

24 years agopreparing for release of alpha.0.9
Samba Release Account [Mon, 6 Mar 2000 10:40:35 +0000 (10:40 +0000)]
preparing for release of alpha.0.9

24 years agofascinating: may be the answer to some of the login problems: byte ordering
Luke Leighton [Mon, 6 Mar 2000 10:33:12 +0000 (10:33 +0000)]
fascinating: may be the answer to some of the login problems: byte ordering
in passwords.  AAGH!

24 years agointeresting. had to add code to stop cascade's SMBtconX encrypted password
Luke Leighton [Mon, 6 Mar 2000 09:34:19 +0000 (09:34 +0000)]
interesting.  had to add code to stop cascade's SMBtconX encrypted password
from being used, i have a) no idea if it's valid b) no idea how to decode
it!

24 years agohad to create a table referencing the incoming DCE/RPC context_id to an
Luke Leighton [Mon, 6 Mar 2000 08:16:09 +0000 (08:16 +0000)]
had to create a table referencing the incoming DCE/RPC context_id to an
internal context id.

also fixing issues where i had earlier removed POL_HND_SIZE #define.

24 years agook, got bigendian byte order requests working.
Luke Leighton [Mon, 6 Mar 2000 07:23:36 +0000 (07:23 +0000)]
ok, got bigendian byte order requests working.

24 years agoturns out that POLICY_HND actually contains an RPC_UUID. only found this
Luke Leighton [Mon, 6 Mar 2000 05:13:26 +0000 (05:13 +0000)]
turns out that POLICY_HND actually contains an RPC_UUID.  only found this
out by receiving little-endian DCE/RPC packets and sending big-endian
DCE/RPC packets, of course the POLICY_HND was wrong...

24 years agofixing careful alignment IVAL const issues
Luke Leighton [Mon, 6 Mar 2000 04:09:20 +0000 (04:09 +0000)]
fixing careful alignment IVAL const issues

24 years agofirst connectathon 2000 tests produces results!
Luke Leighton [Mon, 6 Mar 2000 03:25:59 +0000 (03:25 +0000)]
first connectathon 2000 tests produces results!

cascade shows that pipe names are case-insensitive.  they send all uppercase.

24 years agocareful alignment needs const versions of SVAL, IVAL etc.
Luke Leighton [Mon, 6 Mar 2000 03:18:20 +0000 (03:18 +0000)]
careful alignment needs const versions of SVAL, IVAL etc.

24 years agopreparing for release of alpha.0.8
Samba Release Account [Fri, 3 Mar 2000 20:12:15 +0000 (20:12 +0000)]
preparing for release of alpha.0.8

24 years agounbecome_root()( fix - only actually do an unbecome_root
Luke Leighton [Fri, 3 Mar 2000 20:09:04 +0000 (20:09 +0000)]
unbecome_root()( fix - only actually do an unbecome_root
when root depth reaches zero again.

24 years agoCheck for null tdb context in tdb_exists()
Tim Potter [Wed, 1 Mar 2000 01:11:09 +0000 (01:11 +0000)]
Check for null tdb context in tdb_exists()

24 years agoMerge of changes from HEAD branch.
Tim Potter [Tue, 29 Feb 2000 22:52:28 +0000 (22:52 +0000)]
Merge of changes from HEAD branch.

24 years agoallow nested become_root() calls. this is a hack.
Luke Leighton [Tue, 29 Feb 2000 18:04:51 +0000 (18:04 +0000)]
allow nested become_root() calls.  this is a hack.

24 years agoDCE/RPC header - pack type tests
Luke Leighton [Mon, 28 Feb 2000 20:07:44 +0000 (20:07 +0000)]
DCE/RPC header - pack type tests

24 years agoFrom Elrond@Wunder-Nett.org Tue Feb 29 05:53:10 2000
Luke Leighton [Mon, 28 Feb 2000 19:41:09 +0000 (19:41 +0000)]
From Elrond@Wunder-Nett.org Tue Feb 29 05:53:10 2000
Date: Mon, 28 Feb 2000 17:29:48 +0100
From: Elrond <Elrond@Wunder-Nett.org>
To: Luke Kenneth Casson Leighton <lkcl@samba.org>
Subject: _samr_query_sec_obj

Hi Luke,

- moved the SD-generation code out of
  samrd/srv_samr_sam_tdb.c:_samr_query_sec_obj into its own
  samrd/samr_util.c
- updated the SD to have the same order and include
  Builtin\Account Operators, as seen on an nt4sp4 ws.
- used this function in samrpassd (which was broken here
  and usrmgr didn't work) and samrtdbd (for consistency)
  (I can't compile-check samrnt5ldap, so I will send Luke
  Howard a patch to inspect.)
- clean-up: Mainly policy-handles... but also other stuff
- debugging and type-checking of data associated with
  POLICY_HND in samrtdbd
  (I suspect, there's a problem in sam_query_sec_obj, see
  the new WARNING, that appears.)
- rpcclient/samedit: enumaliases has new option:
  [-d Domain], so I could do "enumaliases -d Builtin"

After this patch my usrmgr worked better, but now it looks
like it is thinking, it talks to a WS instead of a server.
I can't see the domain-groups, only aliases, and in the
user-properties, there are only 3 buttons for "Groups",
"Profiles" and "RAS", the others are missing... I tried a
long time to find out about it... I failed, so could you
have a look at this?

[lkcl: this because winregd is returning "i am a wksta"]

Okay, and another thing:

You seemed to look for the bit on the user-objects, that
allows password-changing: I think, it must be 0x0004,
cause:
Everyone has: 0x2035b
Normal user : 0x20044

0x20040 is included in the bits, everyone has, 0x0004 is
left over....

Just some thoughts...

    Elrond

24 years agoreversed irix include standard.h patch because it breaks other irix
Luke Leighton [Mon, 28 Feb 2000 15:56:46 +0000 (15:56 +0000)]
reversed irix include standard.h patch because it breaks other irix
configures.

24 years agopreparing for release of alpha.0.7
Samba Release Account [Mon, 28 Feb 2000 01:00:35 +0000 (01:00 +0000)]
preparing for release of alpha.0.7

24 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_TNG'.
cvs2svn Import User [Mon, 28 Feb 2000 00:51:55 +0000 (00:51 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_TNG'.

24 years agoMakefile for tdb directory.
Tim Potter [Mon, 28 Feb 2000 00:51:53 +0000 (00:51 +0000)]
Makefile for tdb directory.

24 years agoOops - put back filename argument to tdb_open().
Tim Potter [Mon, 28 Feb 2000 00:38:45 +0000 (00:38 +0000)]
Oops - put back filename argument to tdb_open().

24 years agoModifications to tdb_traverse() arguments to remove compile warnings.
Tim Potter [Mon, 28 Feb 2000 00:37:13 +0000 (00:37 +0000)]
Modifications to tdb_traverse() arguments to remove compile warnings.

24 years agoAllow tdb databases to be created "in memory" without having a file
Tim Potter [Mon, 28 Feb 2000 00:25:37 +0000 (00:25 +0000)]
Allow tdb databases to be created "in memory" without having a file
associated with them.  tdb can then be used as a hash table data
structure.

24 years agoAdded tdbtool to .cvsignore list.
Tim Potter [Mon, 28 Feb 2000 00:22:45 +0000 (00:22 +0000)]
Added tdbtool to .cvsignore list.

24 years agoadding pack_type data representation. tested as-was (i.e. not against
Luke Leighton [Mon, 28 Feb 2000 00:00:53 +0000 (00:00 +0000)]
adding pack_type data representation.  tested as-was (i.e. not against
a non-intel-byte-order m/c).

24 years agoadded bind nack to server-side.
Luke Leighton [Sun, 27 Feb 2000 19:12:07 +0000 (19:12 +0000)]
added bind nack to server-side.

jeremy, the majority of "negative" responses are actually "fault" pdus.

the only circumstances in which a bind nack is returned is if there is
something wrong with a bind request.  e.g the NTLMSSP auth bind-request
(negotiate) stage, which contains the client hostname and client domain,
contains an unrecognised name such as NULL.

e.g the NETSEC (netlogon secure channel) auth bind-request stage which
again happens (coincidentally) to contain the client hostname and client
domain, contains a hostname/domainname tuple for which no NetrReqChal+
NetrAuth2 with flags 0x400001ff has just previously been done.

i.e: NetrReqChal("\\myserver", "mydomain", ...);
NetrAuth2("\\myserver", mydomain, 0x400001ff, ...);
[now do netsec]
NetSecBindRequest("\\somestupidservername", "totalgarbagedomainname")
this should be rejected with a bind NACK.

24 years agotrying to track down why setgroups() fails.
Luke Leighton [Sun, 27 Feb 2000 18:11:29 +0000 (18:11 +0000)]
trying to track down why setgroups() fails.

24 years agotesting password change showed up some bugs in NTLMSSP calcs, plus one in
Luke Leighton [Sun, 27 Feb 2000 17:52:19 +0000 (17:52 +0000)]
testing password change showed up some bugs in NTLMSSP calcs, plus one in
cli_samr.c.  from the NetrSamLogon the first 8 bytes of the
LM# are received, i forgot to pass this over.

24 years agoadded enumprintprocessordatatypes
Jean-François Micouleau [Sat, 26 Feb 2000 23:01:02 +0000 (23:01 +0000)]
added enumprintprocessordatatypes
now NT is happy and the "always send data in RAW mode" is checked

J.F.

24 years agorewrote enumprinterdata. still a bug in it but reproducing it hard and
Jean-François Micouleau [Sat, 26 Feb 2000 22:22:24 +0000 (22:22 +0000)]
rewrote enumprinterdata. still a bug in it but reproducing it hard and
borring.

I need a client test program urgently!!!

rewrote setprinter, doesn't coredump anymore, and no memleak.

J.F.

24 years agoclient/client.c:
Jeremy Allison [Fri, 25 Feb 2000 22:25:25 +0000 (22:25 +0000)]
client/client.c:
libsmb/clientgen.c: Fixes for Win2k smbclient browsing.
Other fixes implement smbpasswd -x user to delete users. Also allows swat
to do the same.
Jeremy.

24 years agopatch from michael breuer for irix TCP_NODELAY include
Luke Leighton [Fri, 25 Feb 2000 21:07:31 +0000 (21:07 +0000)]
patch from michael breuer for irix TCP_NODELAY include

24 years agoconst issues
Luke Leighton [Fri, 25 Feb 2000 05:47:45 +0000 (05:47 +0000)]
const issues

24 years agoremove unused var
Luke Leighton [Fri, 25 Feb 2000 05:44:46 +0000 (05:44 +0000)]
remove unused var

24 years agotim, after speaking with andrew he noticed that you were calling become_root()
Luke Leighton [Fri, 25 Feb 2000 05:43:49 +0000 (05:43 +0000)]
tim, after speaking with andrew he noticed that you were calling become_root()
and unbecome_root().  client-side code CANNOT call these functions, it must
only call the *stub* versions of these.

the only circumstances under which it is ok for client-side code to call
become_root() and unbecome_root() is if you are actually calling client-side
code from inside a root process to the msrpc loop-back interface.

this is because you cannot _access_ the msrpc loop-back interface unless you
are root (use a server name of "\\." instead of "\\someservername").

24 years agoconst issues
Luke Leighton [Fri, 25 Feb 2000 05:38:00 +0000 (05:38 +0000)]
const issues

24 years agoattempting to find a bug that wasn't.
Luke Leighton [Fri, 25 Feb 2000 05:23:24 +0000 (05:23 +0000)]
attempting to find a bug that wasn't.

24 years agoset_secret_data() parameter typecast constant (16) to a pointer. nggggh!
Luke Leighton [Fri, 25 Feb 2000 04:45:28 +0000 (04:45 +0000)]
set_secret_data() parameter typecast constant (16) to a pointer.  nggggh!

added decls for setresuid.

const issues.

24 years agotrying to track down login issues.
Luke Leighton [Thu, 24 Feb 2000 23:46:46 +0000 (23:46 +0000)]
trying to track down login issues.

24 years agomade dynamic the Printer struct. No more limits :-)
Jean-François Micouleau [Thu, 24 Feb 2000 23:01:24 +0000 (23:01 +0000)]
made dynamic the Printer struct. No more limits :-)

J.F.

24 years agoadded previously_granted_access parameter to se_access_check(). it
Luke Leighton [Thu, 24 Feb 2000 19:48:17 +0000 (19:48 +0000)]
added previously_granted_access parameter to se_access_check().  it
makes life simpler because this function will need to be called inside
EVERY single msrpc function.

24 years agoimproved ace checking, pseudo-code from todd sabin.
Luke Leighton [Thu, 24 Feb 2000 16:57:31 +0000 (16:57 +0000)]
improved ace checking, pseudo-code from todd sabin.

24 years agoconverted a couple of bzero() to memset()
Jean-François Micouleau [Thu, 24 Feb 2000 16:27:06 +0000 (16:27 +0000)]
converted a couple of bzero() to memset()

rewrote the printer notify code, so now it's compatible with SP5 and fully
dynamic. No more limits on printers and job lists.

removed the make_xxx() functions as they are not used and broken

fixed a bug in the open handle function.

J.F.

24 years agocall to generate well-known SIDs in all programs likely to need them.
Luke Leighton [Thu, 24 Feb 2000 06:40:47 +0000 (06:40 +0000)]
call to generate well-known SIDs in all programs likely to need them.

24 years agoSIDDB_OBJ added to all msrpc daemons.
Luke Leighton [Thu, 24 Feb 2000 06:30:58 +0000 (06:30 +0000)]
SIDDB_OBJ added to all msrpc daemons.

24 years agooops, global_sid_system not global_sid_S_1_5_17.
Luke Leighton [Thu, 24 Feb 2000 06:28:59 +0000 (06:28 +0000)]
oops, global_sid_system not global_sid_S_1_5_17.

24 years agose_access_check function.
Luke Leighton [Thu, 24 Feb 2000 06:27:12 +0000 (06:27 +0000)]
se_access_check function.

24 years agopreparing for release of alpha.0.6
Samba Release Account [Thu, 24 Feb 2000 03:49:25 +0000 (03:49 +0000)]
preparing for release of alpha.0.6

24 years agooops! mapped SEC_RIGHTS_READ (a series of bits) to read instead of just
Luke Leighton [Wed, 23 Feb 2000 23:06:45 +0000 (23:06 +0000)]
oops!  mapped SEC_RIGHTS_READ (a series of bits) to read instead of just
SEC_RIGHTS_READ_CONTROL.

24 years agoMultiple-dot scope handling fix from Greg Bowering gb@pobox.com
Jeremy Allison [Wed, 23 Feb 2000 22:29:27 +0000 (22:29 +0000)]
Multiple-dot scope handling fix from Greg Bowering gb@pobox.com
Jeremy.

24 years agoFrom Elrond@Wunder-Nett.org Thu Feb 24 08:11:57 2000
Luke Leighton [Wed, 23 Feb 2000 21:25:59 +0000 (21:25 +0000)]
From Elrond@Wunder-Nett.org Thu Feb 24 08:11:57 2000
Date: Wed, 23 Feb 2000 19:28:08 +0100
From: Elrond <Elrond@Wunder-Nett.org>
To: Luke Kenneth Casson Leighton <lkcl@samba.org>
Subject: receiving multiple pdus

Hi Luke,

Someone ran rpcclients enumusers against a 2500 user domain
yesterday... and it crashed...

The code to receive multiple pdus is broken...

I fixed most of the things, I could find out myself, but in
rpc_client/cli_connect.c:rpc_api_rcv_pdu() in the
MSRPC_LOCAL-case, I don't know, what you wanted there.
(ret = ...; ret = ...;)

What I did:
- fixed receiving of multiple pdus
  (now you should be able to run rpcclient against your
  favorite 2500 user domain)
- fixed some possible problem in become_guest
  (I realy should write something to samba-technical, this
  one is possibly interesting for HEAD/2.0 too)
- fixed up some copyrights (I know, I modified those)

    Elrond

[lkcl: the code that elrond fixed was to read a dce/rpc header of
 0x18 bytes.  i _thought_ i'd removed this code and replaced it
 with read-an-entire-pdu.  it _is_ ok to do this, because the last
 pdu turns up short when using SMBs.  you request 0x1630 bytes and
 you only get... say.... 0x40, 0x18 of which is the header and the
 rest is the last part of the last PDU]

24 years agosamr_lookup_rids. also, made it possible to read sam user info, anonymously.
Luke Leighton [Wed, 23 Feb 2000 06:10:54 +0000 (06:10 +0000)]
samr_lookup_rids.  also, made it possible to read sam user info, anonymously.

just like NT.

*sigh*...

24 years agosamrtdb _samr_enum_dom_users. one function at a time...
Luke Leighton [Wed, 23 Feb 2000 05:46:33 +0000 (05:46 +0000)]
samrtdb _samr_enum_dom_users.  one function at a time...

24 years agolib/system.c: Fixed gcc warnings.
Jeremy Allison [Wed, 23 Feb 2000 02:02:33 +0000 (02:02 +0000)]
lib/system.c: Fixed gcc warnings.
nmbd/nmbd_processlogon.c: Use "True" and "False" instead of 1 and 0.
Others - preparing for multiple pdu write code.
Jeremy.

24 years agoupdate to use secret as a Unicode cleartext NOT NT#
Luke Leighton [Wed, 23 Feb 2000 01:39:26 +0000 (01:39 +0000)]
update to use secret as a Unicode cleartext NOT NT#

24 years agoDOH!
Luke Leighton [Wed, 23 Feb 2000 01:07:07 +0000 (01:07 +0000)]
DOH!

24 years agoyess, i had the wrong format for the set secret data, you store the
Luke Leighton [Wed, 23 Feb 2000 00:56:33 +0000 (00:56 +0000)]
yess, i had the wrong format for the set secret data, you store the
clear-text trust account password in Unicode, not the NT#.

oops!  oops!  i broke everything!  tee hee :)

24 years agodammit! lsa_set_secret() works DIFFERENTLY depending on the target!
Luke Leighton [Wed, 23 Feb 2000 00:37:07 +0000 (00:37 +0000)]
dammit!  lsa_set_secret() works DIFFERENTLY depending on the target!
nt4, nt4sp4+ and nt5!

adding an lsa querysecretsecobj command (gets a security descriptor
of a secret, e.g $MACHINE.ACC) to see if it's possible to do a SET
SEC_OBJ command, in order to bypass some of the [good] security
settings that microsoft improved on LSA secrets, i.e you can only
set them, you can't _read_ them.

dammit!

i need to know the format of these, and lsadump2 doesn't help very
much because it uses LsarQuerySecret directly in lsass.exe, it doesn't
get data over-the-wire.  (http://razor.bindview.com).

24 years agotrying to track down why createuser -j option doesn't work on nt5, it
Luke Leighton [Tue, 22 Feb 2000 23:02:58 +0000 (23:02 +0000)]
trying to track down why createuser -j option doesn't work on nt5, it
turns out that they use a different format for the $MACHINE.ACC
secrets.

AGH!

24 years agorichard got the short request for GETDC right (hooray!) win9x _and_ nt
Luke Leighton [Tue, 22 Feb 2000 21:00:01 +0000 (21:00 +0000)]
richard got the short request for GETDC right (hooray!)  win9x _and_ nt
now work.

24 years agofixed HAVE_SETUID autoconf problems.
Luke Leighton [Tue, 22 Feb 2000 20:49:16 +0000 (20:49 +0000)]
fixed HAVE_SETUID autoconf problems.

const issues in credentials.c / cli_login.

make proto

24 years agosurs tdb implementation. only used in samtdbd right now.
Luke Leighton [Tue, 22 Feb 2000 07:15:48 +0000 (07:15 +0000)]
surs tdb implementation.  only used in samtdbd right now.

24 years agosurs tdb implementation.
Luke Leighton [Tue, 22 Feb 2000 05:31:20 +0000 (05:31 +0000)]
surs tdb implementation.

24 years agoFrom patl@cag.lcs.mit.edu Tue Feb 22 14:22:35 2000
Luke Leighton [Tue, 22 Feb 2000 03:28:13 +0000 (03:28 +0000)]
From patl@cag.lcs.mit.edu Tue Feb 22 14:22:35 2000
Date: 21 Feb 2000 22:12:43 -0500
From: Patrick J. LoPresti <patl@cag.lcs.mit.edu>
To: Luke Kenneth Casson Leighton <lkcl@samba.org>
Cc: Multiple recipients of list SAMBA-TECHNICAL <samba-technical@samba.org>
Subject: Re: TNG: making %U work again for logon path et. al.

> urr, the problem is that the \PIPE\NETLOGON conncetion is done
> anonymously.

Well, at least the user name is available by the time I need it; see
the patch.

24 years agosurs issues.
Luke Leighton [Tue, 22 Feb 2000 03:22:34 +0000 (03:22 +0000)]
surs issues.

24 years agoFix some messages about possible unititialized variables to make Luke
Richard Sharpe [Tue, 22 Feb 2000 00:55:49 +0000 (00:55 +0000)]
Fix some messages about possible unititialized variables to make Luke
 happy ... :-)

24 years agostub for tdb surs.
Luke Leighton [Tue, 22 Feb 2000 00:40:10 +0000 (00:40 +0000)]
stub for tdb surs.

24 years agowrapper for surs functions.
Luke Leighton [Mon, 21 Feb 2000 23:37:13 +0000 (23:37 +0000)]
wrapper for surs functions.

24 years agoFixing nmbd so that it replys to a Win9X short GETDC request with a short
Richard Sharpe [Mon, 21 Feb 2000 23:31:57 +0000 (23:31 +0000)]
Fixing nmbd so that it replys to a Win9X short GETDC request with a short
GETDC response ...

24 years agocreating a libsurs so we can hide the damn messy uid/gid to sid junk behind
Luke Leighton [Mon, 21 Feb 2000 23:15:14 +0000 (23:15 +0000)]
creating a libsurs so we can hide the damn messy uid/gid to sid junk behind
an excuse-of-an-api (actually only two functions :)

24 years agoreturn ServerNT if role is a PDC, and LanmanNT if role is non-PDC.
Luke Leighton [Mon, 21 Feb 2000 21:26:21 +0000 (21:26 +0000)]
return ServerNT if role is a PDC, and LanmanNT if role is non-PDC.
there should be other types.

24 years agopatch from elrond for rpcclient shareinfo command (netr_share_info) at
Luke Leighton [Mon, 21 Feb 2000 20:45:10 +0000 (20:45 +0000)]
patch from elrond for rpcclient shareinfo command (netr_share_info) at
info level 502 (contains an SD!  cool!)

autoconf update to detect SETUIDX etc.

24 years agopatch from patrick lopresti to get logon scripts working.
Luke Leighton [Mon, 21 Feb 2000 20:26:14 +0000 (20:26 +0000)]
patch from patrick lopresti to get logon scripts working.

24 years agoFix for crash bug from Paul Tyler <pct@ansto.gov.au>.
Jeremy Allison [Mon, 21 Feb 2000 18:47:21 +0000 (18:47 +0000)]
Fix for crash bug from Paul Tyler <pct@ansto.gov.au>.
Jeremy.

24 years agoGeorge Cameron spotted trailing \
Luke Leighton [Mon, 21 Feb 2000 02:14:12 +0000 (02:14 +0000)]
George Cameron spotted trailing \

24 years agomore rewrite ...
Jean-François Micouleau [Mon, 21 Feb 2000 01:58:13 +0000 (01:58 +0000)]
more rewrite ...

comitting before starting on new functions.

J.F.

24 years agoFix up Luke's problems so that Win9X clients can log onto Samba-TNG and can
Richard Sharpe [Sun, 20 Feb 2000 08:20:38 +0000 (08:20 +0000)]
Fix up Luke's problems so that Win9X clients can log onto Samba-TNG and can
use Samba-TNG.

24 years agopreparing for release of alpha.0.5
Samba Release Account [Sun, 20 Feb 2000 06:15:12 +0000 (06:15 +0000)]
preparing for release of alpha.0.5

24 years agoZERO_STRUCT instead of memset.
Luke Leighton [Sun, 20 Feb 2000 06:12:31 +0000 (06:12 +0000)]
ZERO_STRUCT instead of memset.

24 years agoproper job on set secret stuff. added idle function to msrpc fn table.
Luke Leighton [Sun, 20 Feb 2000 05:47:02 +0000 (05:47 +0000)]
proper job on set secret stuff.  added idle function to msrpc fn table.
called during idle or on exit of msrpc daemon.

24 years agoadding debug info, test purposes.
Luke Leighton [Sat, 19 Feb 2000 20:57:20 +0000 (20:57 +0000)]
adding debug info, test purposes.

24 years agoremoved code that used to set trust acct passwd from smbd.
Luke Leighton [Sat, 19 Feb 2000 20:49:00 +0000 (20:49 +0000)]
removed code that used to set trust acct passwd from smbd.

24 years agoupdating trust account password in idle-loop of lsarpcd not smbd.
Luke Leighton [Sat, 19 Feb 2000 20:48:28 +0000 (20:48 +0000)]
updating trust account password in idle-loop of lsarpcd not smbd.

24 years ago- removed smbpassd "remote" commands relating to trust accounts, added
Luke Leighton [Fri, 18 Feb 2000 21:43:53 +0000 (21:43 +0000)]
- removed smbpassd "remote" commands relating to trust accounts, added
references to use samedit instead.

- removed global_machine_password_needs_changing and all code that uses
this: replaced with lsa_query_secret ( pol, NULL, &last_updated_time).

probably better off having this code in lsarpcd, not smbd.  hmm...

- fixing up _samr_lookup_names to the new sam tdb format, lots more work
needed here.

24 years agoFrom Elrond@Wunder-Nett.org Sat Feb 19 06:56:45 2000
Luke Leighton [Fri, 18 Feb 2000 20:23:00 +0000 (20:23 +0000)]
From Elrond@Wunder-Nett.org Sat Feb 19 06:56:45 2000
Date: Fri, 18 Feb 2000 20:31:56 +0100
From: Elrond <Elrond@Wunder-Nett.org>
To: Luke Kenneth Casson Leighton <lkcl@samba.org>
Subject: Re: DCE/RPC over SMB - nt login, code walk-through.

I made a general type field for the state-data of the
handle, so that has nothing to do with pipes.

[elrond also added a name, for debugging purposes].

the intent of the "type" field is to be able to check that the void*
is being type-cast back to the right kind of data!

24 years agoFrom Elrond@Wunder-Nett.org Sat Feb 19 04:14:38 2000
Luke Leighton [Fri, 18 Feb 2000 17:29:32 +0000 (17:29 +0000)]
From Elrond@Wunder-Nett.org Sat Feb 19 04:14:38 2000
Date: Fri, 18 Feb 2000 16:02:28 +0100
From: Elrond <Elrond@Wunder-Nett.org>
To: Luke Kenneth Casson Leighton <lkcl@samba.org>
Subject: POL_HND cleanup 1

Hi,

Since you didn't answer my mail, where I asked, if I should
clean up the POLICY_HND-usage, I just started to do it.

(For CVS, maybe:)
I removed most of the unnecessary references to
POLICY_HND->data, which mostly were something like this:

memcpy(hnd->data, r.pol.data, sizeof(hnd->data));

which I've replaced by this:

*hnd = r.pol;

(which let's the compiler do nice typechecking)

24 years agook. a test previously showed that joining an NT5rtm to a domain with
Luke Leighton [Fri, 18 Feb 2000 05:49:25 +0000 (05:49 +0000)]
ok.  a test previously showed that joining an NT5rtm to a domain with
samrtdbd was failing, because the domain was opened read-only and then
the user was opened read-write for create.

_un_fortunately, i had created an entire domain-user database, which of
course was opened read-only, and then the create-user OF course, failed.

so i had to change this to a system of creating INDIVIDUAL user databases
ARGH.

now, it should be possible to open at the domain-level (which is just a
directory), and then open a user for write-create, and away we go.

24 years agoFix for reporting file system attributes correctly.
Jeremy Allison [Fri, 18 Feb 2000 03:54:26 +0000 (03:54 +0000)]
Fix for reporting file system attributes correctly.
Jeremy.

24 years agoFixes for Eastern Europe code page.
Jeremy Allison [Fri, 18 Feb 2000 03:11:22 +0000 (03:11 +0000)]
Fixes for Eastern Europe code page.
Jeremy.

24 years agooops, have to get make samrpassd work _and_ make samrtdbd work _and_
Luke Leighton [Fri, 18 Feb 2000 01:55:42 +0000 (01:55 +0000)]
oops, have to get make samrpassd work _and_ make samrtdbd work _and_
make ./configure --with-sam-pwdb=xxx.

24 years agolinking samrpassd correctly
Luke Leighton [Fri, 18 Feb 2000 00:18:37 +0000 (00:18 +0000)]
linking samrpassd correctly

24 years agoDon't assume that the (files_struct *) passed to fd_attempt_close()
Tim Potter [Thu, 17 Feb 2000 23:22:26 +0000 (23:22 +0000)]
Don't assume that the (files_struct *) passed to fd_attempt_close()
will be non-NULL.

24 years agoMerge from HEAD branch of missing calls to dos_do_unix() in VFS
Tim Potter [Thu, 17 Feb 2000 23:10:18 +0000 (23:10 +0000)]
Merge from HEAD branch of missing calls to dos_do_unix() in VFS
functions.

24 years agopreparing for release of alpha.0.4
Samba Release Account [Thu, 17 Feb 2000 22:57:15 +0000 (22:57 +0000)]
preparing for release of alpha.0.4

24 years agono need to join samba server to its own domain (this was a pain in the neck).
Luke Leighton [Thu, 17 Feb 2000 22:42:30 +0000 (22:42 +0000)]
no need to join samba server to its own domain (this was a pain in the neck).
netlogond now reads $MACHINE.ACC if a user is logging in on loop-back.

24 years agoadded other programs back in that weren't linking properly.
Luke Leighton [Thu, 17 Feb 2000 21:11:55 +0000 (21:11 +0000)]
added other programs back in that weren't linking properly.

24 years agofixed samedit link problems.
Luke Leighton [Thu, 17 Feb 2000 21:04:30 +0000 (21:04 +0000)]
fixed samedit link problems.

24 years agopatch from michael breuer <mbreuer@siac.com> to fix compile-problems for
Luke Leighton [Thu, 17 Feb 2000 21:04:04 +0000 (21:04 +0000)]
patch from michael breuer <mbreuer@siac.com> to fix compile-problems for
the compiler he was using (thank you!).  michael, i didn't include the
packaging/ because i haven't got that subdir checked out.

24 years agoafter seeing a message where it looked like someone was connection to
Luke Leighton [Thu, 17 Feb 2000 06:54:33 +0000 (06:54 +0000)]
after seeing a message where it looked like someone was connection to
a workgroup not a server with rpcclient, i checked the cli_net_use_add()
codepath.

changed make_nmb_name(..., 32, ...) to make_nmb_name(..., 0x20, 000)