Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* Possible bug:  CDSD / Digital DCE 13 for OSF1
@ 1994-12-14 23:08 Jim Doyle
  1994-12-15 14:37 ` Weidong Wang
  0 siblings, 1 reply; 2+ messages in thread
From: Jim Doyle @ 1994-12-14 23:08 UTC (permalink / raw)



I think I have found a bug in CDS for OSF1 3.0 (DEC DCE 1.3).
It appears that my DCE identity is not being properly
honored for operations on objects in the CDS.

Briefly, what I've done is this:

As cell_admin:		create dir /.:/scratch
			acls on /.:/scratch are:

				user:doyle:rwditca
				any_other:rwdtcia

			In addition, the initial container and
			initial object ACLs are set as above too.

This directory is now permitted with wide-open access.
Now, as an authenticated user 'doyle', I cannot create objects
or directories underneath.

Please see below:


As the authenticated user 'doyle', I cannot create directories
under scratch.

See the real facts below:
Create the directory and set perms as cell admin:

	doyle@scratchy:~\> dce_login cell_admin
	Enter Password: 
	doyle@scratchy:~\> 
	doyle@scratchy:~\> cdscp create dir /.:/scratch
	doyle@scratchy:~\> acl_edit /.:/scratch -c -m user:doyle:rwditca
	doyle@scratchy:~\> acl_edit /.:/scratch -ic -m user:doyle:rwditca
	doyle@scratchy:~\> acl_edit /.:/scratch -io -m user:doyle:rwditca
	doyle@scratchy:~\> acl_edit /.:/scratch any_other:rwditca        
	doyle@scratchy:~\> acl_edit /.:/scratch -c -m any_other:rwditca
	doyle@scratchy:~\> acl_edit /.:/scratch -l
	# SEC_ACL for /.:/scratch:
	# Default cell = /.../corp.boston.oec.com
	unauthenticated:r--t---
	user:cell_admin:rwdtcia
	user:hosts/scratchy/cds-server:rwdtcia
	user:doyle:rwdtcia
	group:subsys/dce/cds-admin:rwdtcia
	group:subsys/dce/cds-server:rwdtcia
	any_other:rwdtcia


Now try to do things in the directory:

	doyle@scratchy:~\> dce_login doyle
	Enter Password: 
FAILS:	doyle@scratchy:~\> cdscp create dir /.:/scratch/jimbo
	Error on entity: /.../corp.boston.oec.com/scratch/jimbo
	Insufficient rights to perform requested operation (dce / cds)
	Function: dnsCreateDir
WORKS:	doyle@scratchy:~\> cdscp create obj /.:/scratch/jimbo



Just to prove that I am not high:

doyle@scratchy:~\> klist
DCE Identity Information:
        Warning: Identity information is not certified
        Global Principal: /.../corp.boston.oec.com/doyle
        Cell:      28c96062-08b4-11ce-b5c6-08002b32b23b /.../corp.boston.oec.com
        Principal: 00005469-08b5-21ce-9600-08002b32b23b doyle
        Group:     00005460-08b5-21ce-9601-08002b32b23b mis
        Local Groups:
                00005460-08b5-21ce-9601-08002b32b23b mis
                00005461-16e0-21ce-aa01-08002b32b23b mis-systems


Identity Info Expires: 94/12/15:17:50:42
Account Expires:       never
Passwd Expires:        never

Kerberos Ticket Information:
Ticket cache: /opt/dcelocal/var/security/creds/dcecred_41ffffcf
Default principal: doyle@corp.boston.oec.com
Server: krbtgt/corp.boston.oec.com@corp.boston.oec.com
        valid 94/12/14:17:50:42 to 94/12/15:17:50:42
Server: dce-rgy@corp.boston.oec.com
        valid 94/12/14:17:50:44 to 94/12/15:17:50:42
Server: dce-ptgt@corp.boston.oec.com
        valid 94/12/14:17:50:45 to 94/12/14:19:50:45
Client: dce-ptgt@corp.boston.oec.com    Server: krbtgt/corp.boston.oec.com@corp.boston.oec.com
        valid 94/12/14:17:50:45 to 94/12/14:19:50:45
Client: dce-ptgt@corp.boston.oec.com    Server: dce-rgy@corp.boston.oec.com
        valid 94/12/14:17:50:45 to 94/12/14:19:50:45
Client: dce-ptgt@corp.boston.oec.com    Server: hosts/scratchy/dfs-server@corp.boston.oec.com
        valid 94/12/14:17:50:45 to 94/12/14:19:50:45
Client: dce-ptgt@corp.boston.oec.com    Server: hosts/scratchy/cds-server@corp.boston.oec.com
        valid 94/12/14:17:51:00 to 94/12/14:19:50:45
doyle@scratchy:~\> 


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

* Re: Possible bug:  CDSD / Digital DCE 13 for OSF1
  1994-12-14 23:08 Possible bug: CDSD / Digital DCE 13 for OSF1 Jim Doyle
@ 1994-12-15 14:37 ` Weidong Wang
  0 siblings, 0 replies; 2+ messages in thread
From: Weidong Wang @ 1994-12-15 14:37 UTC (permalink / raw)


In article <3cnttm$h3s@exile.oec.com>, doyle@scratchy.oec.com (Jim Doyle) writes:
|> 
|> I think I have found a bug in CDS for OSF1 3.0 (DEC DCE 1.3).
|> It appears that my DCE identity is not being properly
|> honored for operations on objects in the CDS.
|> 
|> Briefly, what I've done is this:
|> 
|> As cell_admin:		create dir /.:/scratch
|> 			acls on /.:/scratch are:
|> 
|> 				user:doyle:rwditca
|> 				any_other:rwdtcia
|> 
|> 			In addition, the initial container and
|> 			initial object ACLs are set as above too.
|> 
|> This directory is now permitted with wide-open access.
|> Now, as an authenticated user 'doyle', I cannot create objects
|> or directories underneath.
|> 
|> Please see below:
|> 

Are you sure you cannot create objects?

It is not a surprise that you could not create a directory, since that action
requires you to have the write permission to the clearing house. But you should 
have sufficient permission to create an object. Your example below only shows
the failure of creating a directory.

Check out the section 7.7 of OSF DCE Admin Guide for the needed permissions for
doing various actions.


Weidong Wang
DCE Systems Engineering, OSF


|> 
|> As the authenticated user 'doyle', I cannot create directories
|> under scratch.
|> 
|> See the real facts below:
|> Create the directory and set perms as cell admin:
|> 
|> 	doyle@scratchy:~\> dce_login cell_admin
|> 	Enter Password: 
|> 	doyle@scratchy:~\> 
|> 	doyle@scratchy:~\> cdscp create dir /.:/scratch
|> 	doyle@scratchy:~\> acl_edit /.:/scratch -c -m user:doyle:rwditca
|> 	doyle@scratchy:~\> acl_edit /.:/scratch -ic -m user:doyle:rwditca
|> 	doyle@scratchy:~\> acl_edit /.:/scratch -io -m user:doyle:rwditca
|> 	doyle@scratchy:~\> acl_edit /.:/scratch any_other:rwditca        
|> 	doyle@scratchy:~\> acl_edit /.:/scratch -c -m any_other:rwditca
|> 	doyle@scratchy:~\> acl_edit /.:/scratch -l
|> 	# SEC_ACL for /.:/scratch:
|> 	# Default cell = /.../corp.boston.oec.com
|> 	unauthenticated:r--t---
|> 	user:cell_admin:rwdtcia
|> 	user:hosts/scratchy/cds-server:rwdtcia
|> 	user:doyle:rwdtcia
|> 	group:subsys/dce/cds-admin:rwdtcia
|> 	group:subsys/dce/cds-server:rwdtcia
|> 	any_other:rwdtcia
|> 
|> 
|> Now try to do things in the directory:
|> 
|> 	doyle@scratchy:~\> dce_login doyle
|> 	Enter Password: 
|> FAILS:	doyle@scratchy:~\> cdscp create dir /.:/scratch/jimbo
|> 	Error on entity: /.../corp.boston.oec.com/scratch/jimbo
|> 	Insufficient rights to perform requested operation (dce / cds)
|> 	Function: dnsCreateDir
|> WORKS:	doyle@scratchy:~\> cdscp create obj /.:/scratch/jimbo
|> 
-- 
    +--------------------------------------------------------------------+
    |  Weidong Wang                   |  Open Software Foundation        |
    |  wwang@osf.org                  |  11 Cambridge Center             |
    |  (617) 621-7272                 |  Cambridge, MA 02142             |
    +--------------------------------------------------------------------+




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

end of thread, other threads:[~1994-12-15 14:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-12-14 23:08 Possible bug: CDSD / Digital DCE 13 for OSF1 Jim Doyle
1994-12-15 14:37 ` Weidong Wang

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