AW: [OpenAFS] Why do I get "pts: Permission denied" ??

Stefan Michael Guenther s.guenther@in-put.de
Mon, 23 Apr 2012 14:47:48 +0200


------=_Part_3432_15687312.1335185268787
Subject: AW: [OpenAFS] Why do I get "pts: Permission denied" ??
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi,

> -noauth means "Make the connection to the ptserver without any authentication=20
> at all". It will only work if the ptserver is running in NoAuth mode (which you=20
> do by starting the bosserver with the -noauth flag).
>=20
> You're getting this error because, in normal operation, the anonymous user=20
> doesn't have permission to create users or groups.
>=20
okay, thanks for this explanation.

> Does it work if you try these commands without the -noauth flag=3F
>=20
root@intranet:~# pts adduser stefan system:administrators -cell in-put.de=20
libprot: unable to build security class (getting token)
libprot: Could not get afs tokens, running unauthenticated
pts: Permission denied ; unable to add user stefan to group system:administrators=20

Hm, some problem with the token=3F Let's check it:

root@intranet:~# tokens
Tokens held by the Cache Manager:

   --End of list--


What happened to the token=3F
Well after issuing "aklog -d " I have a token and I can add the new user (GREAT!)

But why did the token disappear=3F The output for the current token is=20

User's (AFS ID 1) tokens for afs@in-put.de [Expires Apr 23 23:31]

which is the same as for the token before and therefore it should be valid for a number of hours.

Stefan

------=_Part_3432_15687312.1335185268787
Content-Type: application/pkcs7-signature; name=smime.p7s; smime-type=signed-data
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIAwggP6MIIC
4qADAgECAhABMT7oG0zXVZFanLKqoitQMA0GCSqGSIb3DQEBBQUAMD0xGTAXBgNVBAMMEHphcmFm
YS5pbi1wdXQuZGUxIDAeBgkqhkiG9w0BCQEWEWtvbnRha3RAaW4tcHV0LmRlMB4XDTExMDcxNzIw
MjAyNFoXDTE2MDcxNjIwMjAyNFowUTEqMCgGA1UEAwwhaW4tcHV0IEdiUiAtIERhcyBMaW51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