Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* dce_login
@ 1994-11-21  8:38 Matthias Winkler
  1994-11-23 17:26 ` dce_login Rich Salz
  0 siblings, 1 reply; 6+ messages in thread
From: Matthias Winkler @ 1994-11-21  8:38 UTC (permalink / raw)



Hi,

a user who wants to work with DCE Security Services has to
dce_login after logging into the system.  I've heard about
a so called 'integrated login', that will you login into
DCE Security as well as into the system.  As rumours go
there is a problem when using integrated login with the
r commands (rsh, ...).

Has someone heard about this or does someone know how this
ought to be done?

We are running DEC OSF/1 V3.0 (Rev. 358).

Thanx for your help,
  Matthias


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

* Re: dce_login
  1994-11-21  8:38 dce_login Matthias Winkler
@ 1994-11-23 17:26 ` Rich Salz
  1994-11-25  6:47   ` dce_login Pascal Meheut
  1994-12-01 21:38   ` dce_login Hal Lockhart
  0 siblings, 2 replies; 6+ messages in thread
From: Rich Salz @ 1994-11-23 17:26 UTC (permalink / raw)


In <3apma3$lnd@ibch10.inf.tu-dresden.de> winkler@freia.inf.tu-dresden.de (Matthias Winkler) writes:
>a user who wants to work with DCE Security Services has to
>dce_login after logging into the system.  I've heard about
>a so called 'integrated login', that will you login into
>DCE Security as well as into the system.

At the first level, it's a fairly simple matter for a vendor to take their
login program and replace getpwnam()/crypt() calls with
sec_login_setup_identity/sec_login_validate_identity calls.  And make simlar
replacements to the su command, and perhaps change getpwnam() as well.
DCE source provides sample code and even tells how to use it (look at
one of the sec_login manpages I just mentioned).  The individual vendors
have to do this, of course, since OSF doesn't control /bin/login.
I don't know of any good technical reason why people haven't started doing
this as of DCE 1.0.3.

At the next level, you'd like to replace telnet, ftp, rsh, etc., with
equivalents that use DCE identities.  That's harder to do and requires
changing lots more source.
	/r$


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

* Re: dce_login
  1994-11-23 17:26 ` dce_login Rich Salz
@ 1994-11-25  6:47   ` Pascal Meheut
  1994-11-26 20:33     ` dce_login Rich Salz
  1994-12-01 21:38   ` dce_login Hal Lockhart
  1 sibling, 1 reply; 6+ messages in thread
From: Pascal Meheut @ 1994-11-25  6:47 UTC (permalink / raw)


rsalz@osf.org (Rich Salz) writes:

>In <3apma3$lnd@ibch10.inf.tu-dresden.de> winkler@freia.inf.tu-dresden.de (Matthias Winkler) writes:
>>a user who wants to work with DCE Security Services has to
>>dce_login after logging into the system.  I've heard about
>>a so called 'integrated login', that will you login into
>>DCE Security as well as into the system.

>At the first level, it's a fairly simple matter for a vendor to take their
>login program and replace getpwnam()/crypt() calls with
>sec_login_setup_identity/sec_login_validate_identity calls.  

Another solution which works know is to use a yp->dce converter. Each
machine runs as a yp server and binds to itself. But it runs a special ypserv
which redirects your request trough DCE rpc (authentificated and so on) to
a main server. So the passwd and group maps can be gotten from the cds/rgy.
I've wrote most of the code and it works fine. It exports /etc/hosts, /
etc/services and so on as well. This is not as elagant as modifying libc.a
but it works now and is portable.

Instead of changing the login program (not a big job, anyway),  on AIX,
you can use authentification methods which allow you to specify which method 
is used and to give the program which implements it. It will be called by 
login.

>At the next level, you'd like to replace telnet, ftp, rsh, etc., with
>equivalents that use DCE identities.  That's harder to do and requires
>changing lots more source.
>	/r$

Yes, but how can you pass your ticket to another machine without the GSSAPI of 
DCE 1.1 ? And what about the RFC for "kerberized" versions of rlogin, telnet...

These thing are a big lack in DCE. For instance, with integrated login,
you can give "execute" permissions on command on a per-user basis on your
whole network. So the user log in, and can administrate some functions
with central authoriaztion, central logging and auditing without having to 
"su". (Im also writing the code, it works in alpha).

But without a special rlogin, telnet and so on, this rights will be lost  
when he goes to another machine. 

--


					Pascal Meheut
					pascal@cnam.cnam.fr


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

* Re: dce_login
  1994-11-25  6:47   ` dce_login Pascal Meheut
@ 1994-11-26 20:33     ` Rich Salz
  1994-11-28 20:24       ` YP->DCE converter (was dce_login) Pascal Meheut
  0 siblings, 1 reply; 6+ messages in thread
From: Rich Salz @ 1994-11-26 20:33 UTC (permalink / raw)


In <3b419h$qjt@sheckley.cnam.fr> pascal@cnam.cnam.fr (Pascal Meheut) writes:
>Another solution which works know is to use a yp->dce converter.

Neat hack -- can you make the code available?

>But without a special rlogin, telnet and so on, this rights will be lost  
>when he goes to another machine. 

Right, this is what I said in my original posting.  (More accurately, it's
not rights that are lost, but the DCE identity which the server maps into
a set of rights via an ACL.)

These utilities (only a DCE-based telnet would be needed; just require DFS :-)
can be written *now* without even requiring anything from DCE 1.1.  They
won't interoperate with standard telnet -- how could it? -- but it will
do other cool stuff (run over UDP with privacy).

It is not enough that OSF provides GSSAPI with DCE 1.1.  You need to specify
how to name "the telnet service on host foo.bar" (which the IETF draft does),
and then you might want to hack telnetd so that it doesn't prompt for a
password if you get a DCE PAC from the GSSAPI.

These are just some of the issues which make full single sign-on a complicated
issue.  One that OSF can't solve by itself.
	/r$
however, you want them to interoperate
I think that ideally you want to be able to say "host XXX"


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

* Re: YP->DCE converter (was dce_login)
  1994-11-26 20:33     ` dce_login Rich Salz
@ 1994-11-28 20:24       ` Pascal Meheut
  0 siblings, 0 replies; 6+ messages in thread
From: Pascal Meheut @ 1994-11-28 20:24 UTC (permalink / raw)


I can make the code of the YP->DCE converter available but it is not
finished yet. 2 things are missing :

- The transformation of request to the passwd.byname, passwd.byuid 
and groups...  maps into requests to the rgy. Just a week of work.

- The authentification method or the rewriting of "login" to include dce_login.
 a couple of days of work.

But I lack time to do this and some other solutions begins to appear. 
So before continuing, I would like to know if someone is interested.

About the DCEized telnet, I'm interested in writing it but as a DCE beginner 
without good documentation, I lack of informations on "how to do it". 
How can you transfer your login context to another machine without the GSSAPI ?
Is it sufficient to copy the file in KRB5CCNAME ?
--


					Pascal Meheut
					pascal@cnam.cnam.fr


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

* Re: dce_login
  1994-11-23 17:26 ` dce_login Rich Salz
  1994-11-25  6:47   ` dce_login Pascal Meheut
@ 1994-12-01 21:38   ` Hal Lockhart
  1 sibling, 0 replies; 6+ messages in thread
From: Hal Lockhart @ 1994-12-01 21:38 UTC (permalink / raw)


Rich Salz (rsalz@osf.org) wrote:
: At the first level, it's a fairly simple matter for a vendor to take their
: login program and replace getpwnam()/crypt() calls with
: sec_login_setup_identity/sec_login_validate_identity calls.  And make simlar
: replacements to the su command, and perhaps change getpwnam() as well.
: DCE source provides sample code and even tells how to use it (look at
: one of the sec_login manpages I just mentioned).  The individual vendors
: have to do this, of course, since OSF doesn't control /bin/login.
: I don't know of any good technical reason why people haven't started doing
: this as of DCE 1.0.3.

It is my understanding that integrated login is currently, (pre-1.1) available
from most of the vendors of UNIX-based DCE ports.  It is generally optional,
but free.  I know it is available from HP and Transarc.

Can other vendors comment?

Regards,

Hal

====================================================================
Harold W. Lockhart               Onsett International Corporation
Principal Consultant             One Memorial Drive
Hal.Lockhart@Onsett.com          Cambridge, MA 02142
Voice (617)577-9130              USA
Direct (617)577-9196 x208        Fax (617)577-9187
====================================================================



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

end of thread, other threads:[~1994-12-01 21:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-11-21  8:38 dce_login Matthias Winkler
1994-11-23 17:26 ` dce_login Rich Salz
1994-11-25  6:47   ` dce_login Pascal Meheut
1994-11-26 20:33     ` dce_login Rich Salz
1994-11-28 20:24       ` YP->DCE converter (was dce_login) Pascal Meheut
1994-12-01 21:38   ` dce_login Hal Lockhart

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