[OpenAFS] pts create cross realm users

Jeffrey Altman jaltman@secure-endpoints.com
Thu, 29 Jul 2010 10:21:41 -0400


This is a cryptographically signed message in MIME format.

--------------ms020602070108060407080409
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 7/29/2010 7:48 AM, Gunnar Krull wrote:
> Hi all,
>=20
> I have run into a problem creating cross realm users for our cell. It a=
ll goes=20
> fine until the username exceeds a certain length. For example:
>=20
> pts createuser -name asdfasdf@student.uni-goettingen.de -cell informati=
k.uni-
> goettingen.de
> User asdfasdf@student.uni-goettingen.de has id 1638879
>=20
> pts createuser -name asdfasdfa@student.uni-goettingen.de -cell informat=
ik.uni-
> goettingen.de
> pts: Badly formed name (group prefix doesn't match owner?) ; unable to =
create=20
> user asdfasdfa@student.uni-goettingen.de
>=20
> The documentation states that the username can consists of up to 63=20
> characters. Thus I presume that the cell name is added to the username =
which=20
> indeed would exactly reach the length limit. Is that presumption correc=
t?

It is roughly correct.  The cell name is not transmitted as part of the
RPC to the pt server but when the foreign cell group entry is
constructed the name ends up exceeding the limit.

There is no workaround with the existing design of the pt server
database.  An alternative pt server database schema could be devised and
implemented that would permit the full 63 characters to be used for
foreign users.

Jeffrey Altman




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

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJeTCC
AxcwggKAoAMCAQICEAMF9RTCGOz151fTpHLih+cwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE
BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT
I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA5MDgyODA0MDExOVoX
DTEwMDgyODA0MDExOVow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