CVS update: samba/source/msrpc (fwd)

Greg Dickie greg at discreet.com
Fri Jan 21 01:10:25 GMT 2000


sounds spiffy!

Greg

On 21-Jan-00 Luke Kenneth Casson Leighton wrote:
> god, this is a horrible one.  if microsoft... never mind :)  it's a design
> issue, and there's not much that can be done about it.  *sigh*.
> 
> hopefully, the pid i had to use can be used for _other_ purposes, such as
> a refernce key into other databases to maintain consistency between smbd
> and msrpc daemons' view / usage of standard_sub_basic().
> 
> i have an idea.  create a system to store the standard_sub_basic()
> parameters in a tdb database under the pid of the smbd process.  the msrpc
> daemon reads the same parameters using the smbd pid id, and does any
> standard_sub_basic() substitutions with the same values as the smbd
> process.
> 
> cool, huh?  what do ppl think?
> 
> ---------- Forwarded message ----------
> Date: Fri, 21 Jan 2000 11:56:36 +1100
> From: Luke Leighton <lkcl at samba.anu.edu.au>
> To: Multiple recipients of list SAMBA-CVS <samba-cvs at samba.org>
> Subject: CVS update: samba/source/msrpc
> 
> 
> Date: Friday January 21, 2000 @ 11:55
> Author:       lkcl
> 
> Update of /data/cvs/samba/source/msrpc
> In directory samba:/tmp/cvs-serv18982/msrpc
> 
> Modified Files:
>       Tag: SAMBA_TNG
>       msrpcd_process.c 
> Log Message:
> a fairly drastic code commit to add "process id" as an extra identification
> method in the NETLOGON credential database.
> 
> dammit, this is so wide-reaching, it had to percolate _right_ up through
> msrpc_use_add() and into the pipes setup, through the msrpc loop-back
> setup.
> 
> grr!
> 
> the idea is that an individual process (smbd, for example) can do NETLOGON
> logins independently of another smbd process, without there being any
> conflicts in the NETLOGON credential database.  the creds database key
> is now <(uint32)pid_t><workstation_name>\0<domain_name>\0.
> 
> previously, it was just wksta/domain, and of course if two smbd processes
> did simultaneous NETLOGON logins, one of them overwrote the other's
> credentials because the database key was the same!  oops!
> 
> *obscure*.
> 
> BTW I STILL HAVEN'T COMMITTED THIS TO CVS MAIN, SO CVS MAIN / SAMBA_TNG
> WON'T WORK UNTIL I DO AN UPDATE!
> 
> <a href="mailto:lkcl at samba.org"   > Luke Kenneth Casson Leighton    </a>
> <a href="http://www.cb1.com/~lkcl"> Samba and Network Development   </a>
> <a href="http://samba.org"        > Samba Web site                  </a>
> <a href="http://www.iss.net"      > Internet Security Systems, Inc. </a>
> <a href="http://mcp.com"          > Macmillan Technical Publishing  </a>
> 
>  ISBN1578701503 DCE/RPC over SMB: Samba and Windows NT Domain Internals

----------------------------------
Greg Dickie
just a  guy*
*from Discreet (the Logic is gone)
----------------------------------


More information about the samba-technical mailing list