cvs2svn Import User [Thu, 24 Feb 2000 03:49:26 +0000 (03:49 +0000)]
This commit was manufactured by cvs2svn to create tag
'release-alpha-0-6'.
Samba Release Account [Thu, 24 Feb 2000 03:49:25 +0000 (03:49 +0000)]
preparing for release of alpha.0.6
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.
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]
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*...
Luke Leighton [Wed, 23 Feb 2000 05:46:33 +0000 (05:46 +0000)]
samrtdb _samr_enum_dom_users. one function at a time...
Luke Leighton [Wed, 23 Feb 2000 01:39:26 +0000 (01:39 +0000)]
update to use secret as a Unicode cleartext NOT NT#
Luke Leighton [Wed, 23 Feb 2000 01:07:07 +0000 (01:07 +0000)]
DOH!
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 :)
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).
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!
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
Luke Leighton [Tue, 22 Feb 2000 07:15:48 +0000 (07:15 +0000)]
surs tdb implementation. only used in samtdbd right now.
Luke Leighton [Tue, 22 Feb 2000 05:31:20 +0000 (05:31 +0000)]
surs tdb implementation.
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.
Luke Leighton [Tue, 22 Feb 2000 03:22:34 +0000 (03:22 +0000)]
surs issues.
Richard Sharpe [Tue, 22 Feb 2000 00:55:49 +0000 (00:55 +0000)]
Fix some messages about possible unititialized variables to make Luke
happy ... :-)
Luke Leighton [Tue, 22 Feb 2000 00:40:10 +0000 (00:40 +0000)]
stub for tdb surs.
Luke Leighton [Mon, 21 Feb 2000 23:37:13 +0000 (23:37 +0000)]
wrapper for surs functions.
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 ...
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 :)
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.
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.
Luke Leighton [Mon, 21 Feb 2000 20:26:14 +0000 (20:26 +0000)]
patch from patrick lopresti to get logon scripts working.
Luke Leighton [Mon, 21 Feb 2000 02:14:12 +0000 (02:14 +0000)]
George Cameron spotted trailing \
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.
Samba Release Account [Sun, 20 Feb 2000 06:15:12 +0000 (06:15 +0000)]
preparing for release of alpha.0.5
Luke Leighton [Sun, 20 Feb 2000 06:12:31 +0000 (06:12 +0000)]
ZERO_STRUCT instead of memset.
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.
Luke Leighton [Sat, 19 Feb 2000 20:57:20 +0000 (20:57 +0000)]
adding debug info, test purposes.
Luke Leighton [Sat, 19 Feb 2000 20:49:00 +0000 (20:49 +0000)]
removed code that used to set trust acct passwd from 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.
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.
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!
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)
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.
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.
Luke Leighton [Fri, 18 Feb 2000 00:18:37 +0000 (00:18 +0000)]
linking samrpassd correctly
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.
Samba Release Account [Thu, 17 Feb 2000 22:57:15 +0000 (22:57 +0000)]
preparing for release of alpha.0.4
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.
Luke Leighton [Thu, 17 Feb 2000 21:11:55 +0000 (21:11 +0000)]
added other programs back in that weren't linking properly.
Luke Leighton [Thu, 17 Feb 2000 21:04:30 +0000 (21:04 +0000)]
fixed samedit link problems.
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.
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)
Luke Leighton [Thu, 17 Feb 2000 03:03:00 +0000 (03:03 +0000)]
trying to get connection reuse working. use \\someserver -U admin%pass
and then createuser someserver$ -j now works.
Luke Leighton [Wed, 16 Feb 2000 20:15:43 +0000 (20:15 +0000)]
From Elrond@Wunder-Nett.org Thu Feb 17 07:13:17 2000
Date: Wed, 16 Feb 2000 20:19:37 +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.
But I fixed api_lsa_close to do the right thing with the
handle-_in/out_-param. :)
Luke Leighton [Wed, 16 Feb 2000 19:05:45 +0000 (19:05 +0000)]
patch for _reg_query_info() conversion.
Luke Leighton [Wed, 16 Feb 2000 06:38:37 +0000 (06:38 +0000)]
removed memsets, they are redundant and causing an exception in gcc (!!!)
Luke Leighton [Wed, 16 Feb 2000 05:01:38 +0000 (05:01 +0000)]
added a stub for what i *think* is SamrRemoveForiegnMemberFromDomain, but
it's known here as _samr_unknown_2d().
Luke Leighton [Wed, 16 Feb 2000 04:25:29 +0000 (04:25 +0000)]
added stub _samr_delete_dom_user to server-side samr daemons.
Luke Leighton [Wed, 16 Feb 2000 02:50:08 +0000 (02:50 +0000)]
fixed deluser command. now to implement it server-side. tomorrow, maybe.
Luke Leighton [Wed, 16 Feb 2000 02:43:06 +0000 (02:43 +0000)]
added deluser command to rpcclient and samedit. not sure if it works!
it don't appear to do anything!
Tim Potter [Tue, 15 Feb 2000 06:14:52 +0000 (06:14 +0000)]
Return "Invalid tdb context" instead of crashing when tdb_error called
with NULL tdb context.
Tim Potter [Tue, 15 Feb 2000 03:17:42 +0000 (03:17 +0000)]
make proto
Tim Potter [Tue, 15 Feb 2000 03:16:12 +0000 (03:16 +0000)]
Misc updates to winbind object list.
Make incluce/winbindd.h from object list.
Tim Potter [Tue, 15 Feb 2000 03:13:32 +0000 (03:13 +0000)]
Removed well-known rid stuff.
Implemented fetching of group info using samr_query_userinfo call.
Added winbindd_proto.h (yuck - probably will get rid of this one)
Convert name lookups to use sids instead of rids so we can use the
lsa_* functions instead of samr_*
Tim Potter [Tue, 15 Feb 2000 03:11:26 +0000 (03:11 +0000)]
Removed perror() calls - engage silent running, captain!
Tim Potter [Tue, 15 Feb 2000 03:06:20 +0000 (03:06 +0000)]
Wrapper for sursalg functions.
Luke Leighton [Tue, 15 Feb 2000 00:33:32 +0000 (00:33 +0000)]
adding delete domain user
Luke Leighton [Tue, 15 Feb 2000 00:11:10 +0000 (00:11 +0000)]
uninitialised variable.
Luke Leighton [Mon, 14 Feb 2000 21:31:23 +0000 (21:31 +0000)]
From Elrond@Wunder-Nett.org Tue Feb 15 07:53:25 2000
Date: Mon, 14 Feb 2000 19:55:42 +0100
From: Elrond <Elrond@Wunder-Nett.org>
To: Luke Kenneth Casson Leighton <lkcl@samba.org>
Subject: srv_file_enum finish
Hi,
- made srv_file_enum dynamic (srv_srvsvc_nt.c, parse_srv.c,
srv_srvsvc.c, cmd_srvsvc.c and display_srv.c)
- fixed readline completion function in cmd_interp.c
- I did fight some bit around with yamd, and:
- fixed memory leak in cmd_interp.c
- fixed memory leak in rpc_client/cli_pipe.c
- cleanup in parse_srv.c:
- added some prs_align
- checked some return values from *_io_*
- srv_srvsvc.c: Filled the returned file_level correctly,
now we can see our own info (not that we have real info)
- cmd_srvsvc.c: some general clean-up (using ZERO_STRUCT
instead of bzero etc.)
- Made some more functions in display_srv.c static
Elrond
Samba Release Account [Sun, 13 Feb 2000 07:33:07 +0000 (07:33 +0000)]
preparing for release of alpha.0.3
Luke Leighton [Sun, 13 Feb 2000 07:28:18 +0000 (07:28 +0000)]
removed some client progs from explicit required makefile support while
i obtain access to a readline system.
Luke Leighton [Sun, 13 Feb 2000 07:26:30 +0000 (07:26 +0000)]
nprocs not set properly
Luke Leighton [Sun, 13 Feb 2000 07:06:43 +0000 (07:06 +0000)]
add connection was ok, delete wasn't. ncacn_np_use_del fixed; _use_ of
this fn fixed.
Luke Leighton [Sun, 13 Feb 2000 06:35:22 +0000 (06:35 +0000)]
hmm, connections being closed, but use-list doesn't show that correctly.
Luke Leighton [Sun, 13 Feb 2000 06:04:31 +0000 (06:04 +0000)]
retired. wasn't a good name anyway.
Luke Leighton [Sun, 13 Feb 2000 05:57:57 +0000 (05:57 +0000)]
hooray, i think i finally have it. couple of bugs (like forgetting to
store the pipe name in the ncacn_np struct so that the re-use search
could FIND the damn thing to actually reuse it).
Luke Leighton [Sun, 13 Feb 2000 01:54:52 +0000 (01:54 +0000)]
debugging.
Luke Leighton [Sun, 13 Feb 2000 01:27:20 +0000 (01:27 +0000)]
ok. this introduces the following structures:
msrpc_local and ncalrpc_l_use.
ncacn_np and ncacn_np_use.
basically, what is happening is that connections can be reused (ncalrpc
for unix socket loop-back and ncacn_np for named pipes over SMB).
so, that's what these are for.
unfortunately, what makes this so stupidly complicated is that ncacn_np
can reuse SMB connections, not just SMB pipes. so it uses the following
structures:
cli_state and cli_use.
Luke Leighton [Sat, 12 Feb 2000 18:31:31 +0000 (18:31 +0000)]
From Elrond@Wunder-Nett.org Sun Feb 13 05:30:09 2000
Date: Sat, 12 Feb 2000 19:00:20 +0100
From: Elrond <Elrond@Wunder-Nett.org>
To: Luke Kenneth Casson Leighton <lkcl@samba.org>
Subject: some cleanups
Some clean-ups, I made this morning:
- Re-added spool- and at-commands to rpcclient
- One of these "automated" xxx_io_xxx-return-checkers went
wrong in srv_lsa.c
- instead of exporting the command-tables in
rpcclient/*_cmds.c, those export now a
add_xxx_commands(), that adds these commands and the
table can now be static const (and so ends up in the
shared readonly-data segment)
Luke Leighton [Sat, 12 Feb 2000 18:30:05 +0000 (18:30 +0000)]
patch from elrond - more srvsvc dynamic memory allocations.
Luke Leighton [Sat, 12 Feb 2000 18:28:26 +0000 (18:28 +0000)]
patch from elrond starting on lsarpcd conversion
Luke Leighton [Sat, 12 Feb 2000 09:53:43 +0000 (09:53 +0000)]
patch from lars (clean-up)
Luke Leighton [Sat, 12 Feb 2000 09:27:46 +0000 (09:27 +0000)]
oops.
Luke Leighton [Sat, 12 Feb 2000 08:28:10 +0000 (08:28 +0000)]
this one serious-attitude bug-fix.
ok.
rpctorture showed that msrpc connections not being reused wasn't good
enough. results: one smbd process taking in several connections
to \PIPE\NETLOGON, and there's a deliberate hard-limit of 64 pipes
at the moment.
so....
i rewrote the msrpc connection code so that if there is a pre-existing
msrpc connection *with the same user-context (vuser_key)*, it is reused
that means NO bind-request because it will already have been done.
what took me so long was that the user-contexts (vuser_key) had to be
checked. the architecture at the moment sends vuser_key on the dce/rpc
bind assoc_gid and dce/rpc header context_id fields. unfortunately,
these were going over-the-wire on SMB connections, which they should NOT
do, it's supposed to only be used on ncalrpc (local rpc) unix-socket
loopback.
oops.
it's dog-slow... BUT IT WORKS!
i now have to find a way to call cli_net_use_add() and then actually
get the damn code to _use_ the client-side connection!
i think what is happening is that _every_ single new msrpc pipe initiated
gets its own SMB session established, which is not very good!
Luke Leighton [Sat, 12 Feb 2000 04:04:55 +0000 (04:04 +0000)]
how to make other people _majorly_ unhappy. i was informed of the existence
of the "indent" command, today :) guess what? i really like it :)
Luke Leighton [Sat, 12 Feb 2000 02:18:41 +0000 (02:18 +0000)]
fix from doug (nazard@dragoninc.on.ca) - deleted extra }
Luke Leighton [Sat, 12 Feb 2000 01:19:21 +0000 (01:19 +0000)]
renamed msrpc_state to msrpc_local.
Luke Leighton [Sat, 12 Feb 2000 00:38:44 +0000 (00:38 +0000)]
lars kneschke's _reg_open_entry() conversion. you missed NT_STATUS_NOPROBLEMO
on the end
Luke Leighton [Fri, 11 Feb 2000 23:51:58 +0000 (23:51 +0000)]
updated rpctorture.
as a result, found a client-connection (non-reuse) problem. it's going
to require a minor redesign of the MSRPC client-connection architecture.
basically, i'm going to have to split "establish-connection-and-rpc-bind"
from "get-me-a-connection". at present, "get-me-a-connection" also
does the rpc-bind bit, thereby producing potentially hundreds of msrpc
connections.
given that the samba msrpcd architecture forks() per connection, this isn't
such a good idea!
Luke Leighton [Fri, 11 Feb 2000 19:33:30 +0000 (19:33 +0000)]
Function* doesn't work as a typecast on some systems.
Luke Leighton [Fri, 11 Feb 2000 18:21:32 +0000 (18:21 +0000)]
patch from lars for copyright update.
Samba Release Account [Fri, 11 Feb 2000 08:23:45 +0000 (08:23 +0000)]
preparing for release of alpha.0.2
Luke Leighton [Fri, 11 Feb 2000 08:16:45 +0000 (08:16 +0000)]
did someone mention a code-freeze? oh well.
this trivial set of cosmetic changes creates a set of client-side rpc commands:
net, regedit, samedit, eventlog, spoolss, lsa, cmdat, svccontrol.
rpcclient is still supported. the -S server option has been dropped
(except on the command-line), in favour of specifying \\servername
or //servername as the first argument.
Tim Potter [Fri, 11 Feb 2000 00:22:51 +0000 (00:22 +0000)]
General cleanup of debugs.
Implemented mapping for well-known RIDs.
Split up into different bits.
Luke Leighton [Fri, 11 Feb 2000 00:13:06 +0000 (00:13 +0000)]
yes, it's a biggie. another semi-automated job, sed script by sander striker.
i had to use :map = /_io_^[bX$xA &&^[^M6ddcf( ^[ in vi to modify what you
did, sander, to change this:
if (!xxx_io_xxx(....))
{
return False;
}
/* ..... */
if (rpc_con_pipe_req(...))
{
....
into this:
if (xxx_io_xxx(....) &&
rpc_con_pipe_req(...))
{
....
because the return False; would have resulted in memory leaks.
Tim Potter [Thu, 10 Feb 2000 23:49:34 +0000 (23:49 +0000)]
Removed debugs.
Added post-processing of calls to winbindd daemon.
Luke Leighton [Thu, 10 Feb 2000 23:30:53 +0000 (23:30 +0000)]
patch from elrond for dynamic UNICODE string management.
Luke Leighton [Thu, 10 Feb 2000 22:57:02 +0000 (22:57 +0000)]
patch from elrond to do [important] dynamic memory allocation of
net_share_enum, client and server.
Luke Leighton [Thu, 10 Feb 2000 22:28:56 +0000 (22:28 +0000)]
patch from lars for reg conversion
Luke Leighton [Thu, 10 Feb 2000 17:25:31 +0000 (17:25 +0000)]
missed one - msrpc_trust_account_passwd takes $MACHINE.ACC as arg.
Luke Leighton [Thu, 10 Feb 2000 17:13:37 +0000 (17:13 +0000)]
patch from lars for _srv_close conversion
Luke Leighton [Thu, 10 Feb 2000 15:25:01 +0000 (15:25 +0000)]
made sure that the secrets tdb was only initialised once!
Luke Leighton [Thu, 10 Feb 2000 15:23:23 +0000 (15:23 +0000)]
moving away from trust_get_passwd(), using lsa_query_secret() on either
$MACHINE.ACC or G$$TRUSTDOMAINNAME, instead.
the DOMAINNAME.SERVERNAME.mac file is pre-loaded into the
domainname.servername.tdb secrets file when it is first created.
Luke Leighton [Thu, 10 Feb 2000 14:57:55 +0000 (14:57 +0000)]
yess :) fixed the client / server reusage mixup by adding code to msrpc_find
that checks the vuser_key. all client-side connections must now be separated
by the client's security context (vuser_key).
Luke Leighton [Thu, 10 Feb 2000 14:13:35 +0000 (14:13 +0000)]
interesting. this is quite a problem, i don't know the solution, yet.
client-side security contexts from msrpc functions *called* in smbd
are being confused with server-side security contexts in pass-through
(loop-back) msrpc functions!
Luke Leighton [Thu, 10 Feb 2000 12:22:48 +0000 (12:22 +0000)]
yess! rpcclient no longer links with libsmbpw.so, which was so grossly
unnecessary.
Luke Leighton [Thu, 10 Feb 2000 11:55:43 +0000 (11:55 +0000)]
patch from lars kneschke for _reg_close conversion