Home › Forums › AFP548 Community › Open Mike › Kerberos sso_util configure
- This topic has 3 replies, 3 voices, and was last updated 19 years, 6 months ago by
sagejon.
-
AuthorPosts
-
July 7, 2005 at 8:18 pm #362260
cooper
ParticipantHi everybody,
I’m trying to setup kerberos single signon on my 10.4 server. I’ve been trying to do things as suggested in https://www.afp548.com/articles/Panther/kerberos2.html (which has been extremely helpful!). Everything seems to work perfectly up until the line:
sudo sso_util configure -r REALM -a admin_name [-p password] service
I get the following:
******************************************************
Contacting the directory server
Creating the service list
Creating the service principals
WARNING: no policy specified for xgrid/@INDRA.UOREGON.EDU; defaulting to no policy
WARNING: no policy specified for vpn/@INDRA.UOREGON.EDU; defaulting to no policy
WARNING: no policy specified for ipp/@INDRA.UOREGON.EDU; defaulting to no policy
WARNING: no policy specified for XMPP/@INDRA.UOREGON.EDU; defaulting to no policy
WARNING: no policy specified for host/@INDRA.UOREGON.EDU; defaulting to no policy
WARNING: no policy specified for smtp/@INDRA.UOREGON.EDU; defaulting to no policy
WARNING: no policy specified for http/@INDRA.UOREGON.EDU; defaulting to no policy
WARNING: no policy specified for pop/@INDRA.UOREGON.EDU; defaulting to no policy
WARNING: no policy specified for imap/@INDRA.UOREGON.EDU; defaulting to no policy
WARNING: no policy specified for ftp/@INDRA.UOREGON.EDU; defaulting to no policy
WARNING: no policy specified for afpserver/@INDRA.UOREGON.EDU; defaulting to no policy
Creating the keytab file
kadmin: Error writing to key table while adding key to keytab
kadmin: Error writing to key table while adding key to keytab
kadmin: Error writing to key table while adding key to keytab
kadmin: Error writing to key table while adding key to keytab
kadmin: Error writing to key table while adding key to keytab
kadmin: Error writing to key table while adding key to keytab
kadmin: Error writing to key table while adding key to keytab
kadmin: Error writing to key table while adding key to keytab
kadmin: Error writing to key table while adding key to keytab
kadmin: Error writing to key table while adding key to keytab
kadmin: Error writing to key table while adding key to keytab
Configuring services
WriteSetupFile: setup file path = /temp.fgf2/setup
Unable to configure service http error = 2
Cleaning up
****************************************************One thing that I notice is that these service principle names are along the lines of xgrid/@INDRA.UOREGON.EDU, but I think they should be more like xgrid/[email protected] after seeing a healthy system. I don’t know why it’s doing this. Should the admin_name be the OpenDirectory admin?
I am able to use kadmin, I can get a ticket with kinit and view it with klist. The little graphical kerberos utility shows my tickets, and it all seems pretty happy. The thing is I can’t do ssh without being asked for a password, xgrid won’t accept the kerberos sso (which is really what i’m after here), and basically nothing useful seems to work even though I’m getting tickets. I’m pretty sure it comes down to this sso_util command, and that the service principals aren’t being created properly, but I have no clue what to do about it. Does anybody know how to get this to work??
Thanks!
–Cooper
August 15, 2005 at 5:26 am #362793matthew
ParticipantI am having what seems to be the same problem. Have you found any way to fix this?
Something to work with….
cuhsmacbu-ucsc-edu:~ mruno$ sudo klist -kt
Keytab name: FILE:/etc/krb5.keytab
KVNO Timestamp Principal
—- —————– ——————————————————–
cuhsmacbu-ucsc-edu:~….it’s empty??
September 9, 2005 at 8:51 pm #363196Anonymous
GuestI just saw this same issue and not only do I think it’s specifically related to sso_util, I think it’s specifically related to sso_util coming from a 10.4 box. I successfully ran it with the same configure command listed above from a 10.3.9 OS X server box and the principals were all created correctly in the format host/[email protected] etc, but from a 10.4.2 server upgraded from 10.3 got the odd generic host/@foobar.com type principals and an error writing to keytab. As a workaround until this is addressed I’ll create the princs I need by hand and sftp them over after exporting to a separate keytab but that’s a lot of work in comparison to the slick sso_util command…
MD
September 23, 2005 at 5:28 pm #363350sagejon
Participantany fix for this found? I don’t have access to a 10.3 server to make these entries elsewhere…
thoughts or suggestions?
thanks!
-
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed