Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* DCE RPC source code ?
@ 1995-03-24  5:37 Dreamer
  1995-03-24 15:26 ` Rich Salz
  0 siblings, 1 reply; 2+ messages in thread
From: Dreamer @ 1995-03-24  5:37 UTC (permalink / raw)


Where I can find DCE RPC source code ?

--Dreamer, jlou@cs.uml.edu


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: DCE RPC source code ?
  1995-03-24  5:37 DCE RPC source code ? Dreamer
@ 1995-03-24 15:26 ` Rich Salz
  0 siblings, 0 replies; 2+ messages in thread
From: Rich Salz @ 1995-03-24 15:26 UTC (permalink / raw)


In <3ktlra$pg7@ulowell.uml.edu> jlou@cs.uml.edu (Dreamer) writes:
>Where I can find DCE RPC source code ?

Here's an old canned message I have.

The following is *not an official statement.*  It is my personal opinion,
based on looking at the distribution.

The free DCE RPC is available as
	ftp.dec.com:/pub/DEC/DCE/PD-DCE-RPC.tar.Z
	ftp.dec.com:/pub/DEC/DCE/rpc_internals.ps.Z
and
	http://www.wsg.hp.com/wsg/Global/Products/PD/PD-DCE-RPC.tar.Z
The sources are 2.3 meg compressed, 7meg uncompressed.


The distribution includes some extensions to pthreads need by DCE, the
RPC client and server runtime, the IDL compiler, the rpcd endpoint mapper,
and a test program called "perf."  The runtime only supports the dummy
"no authentication" RPC; standard DCE security features (authentication,
authorization, privacy, etc.) are not provided in this free release.  The
NSI interface to the DCE namespace (e.g., that lets you map names like
/.:/printers/mine to a particular printer) is not provided.

The code appears to be based on the DCE 1.1 codebase.  I ran a few diffs
to compare some files with what's going out on the 1.1 tapes and found
no differences (other then copyright).

DCE needs threads, specifically it is based on Posix threads, Draft 4.
The RPC runtime isolates threads use pretty well to a handful of macros,
so if you don't have DCE threads it should be possible to port to your
own threads.  Full details on the semantics of DCE threads are available
in the Threads AES, which will soon be available from OSF (contact
direct@osf.org).

You can also buy the DCE Porting and Testing Guide from OSF (<direct@osf.org>)
which covers threads and may help with general building issues such as
all the CPP #define's.

The IDL compiler sources "recursively" call lex and yacc.  To do this they
need to save and restore the lex and yacc state.  You will need to know
something about the internals of your lex/yacc generated code.

Once you've solved those problems, the free DCE package provides you with
a free DCE-compatible package for doing unauthenticated RPCs across clients
and servers.

The distribution is covered by the following copyright:
 * (c) Copyright 1994 OPEN SOFTWARE FOUNDATION, INC.
 * (c) Copyright 1994 HEWLETT-PACKARD COMPANY
 * (c) Copyright 1991 DIGITAL EQUIPMENT CORPORATION
 * To anyone who acknowledges that this file is provided "AS IS"
 * without any express or implied warranty:
 *                 permission to use, copy, modify, and distribute this
 * file for any purpose is hereby granted without fee, provided that
 * the above copyright notices and this notice appears in all source
 * code copies, and that none of the names of Open Software
 * Foundation, Inc., Hewlett-Packard Company, or Digital Equipment
 * Corporation be used in advertising or publicity pertaining to
 * distribution of the software without specific, written prior
 * permission.  Neither Open Software Foundation, Inc., Hewlett-
 * Packard Company, nor Digital Equipment Corporation makes any
 * representations about the suitability of this software for any
 * purpose.

Hope you find this article *OF MY OPINION* useful.
	/rich $alz



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1995-03-24 15:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-03-24  5:37 DCE RPC source code ? Dreamer
1995-03-24 15:26 ` Rich Salz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox