@ character in username

Markus Moeller huaraz at moeller.plus.com
Tue May 15 15:27:03 EDT 2007

Try to use kinit user\\@mailaddress.com.

I use a modified kinit(deals with @ and set the principal type to 
enterprise) to use email addresses stored in AD under the userprincipalname. 
You get

 ./mkinit huaraz at moeller.plus.com
Password for huaraz\@moeller.plus.com at WINDOWS2003.HOME:
markus at OpenSuse:~/mysources/kinit_email> klist -e
Ticket cache: FILE:/tmp/krb5cc_1000
Default principal: huaraz\@moeller.plus.com at WINDOWS2003.HOME

Valid starting     Expires            Service principal
05/15/07 20:21:09  05/16/07 06:21:04 
        renew until 05/16/07 20:21:09, Etype (skey, tkt): ArcFour with 
HMAC/md5, ArcFour with HMAC/md5


"Arati Desai" <artipdesai at yahoo.com> wrote in message 
news:396126.1881.qm at web61011.mail.yahoo.com...
> Hi All,
> My user name contains '@' character as I need to host multiple domains on 
> a single box.
> I have created a user's principal as username\@domain at REALM. First @' 
> character is escaped with a '\' while creating principal and generating a 
> ticket.
> But I am getting 'Invalid user' error when I try to login with this user 
> while the kerb5 authentication succeeds for normal users. (I am using 
> heimdal at the service's end for authentication, while the KDC is from 
> MIT.)
> Is '@' character supported in user name? If so, is there any special 
> precaution to be taken while using such user names?
> Thanks,
> Arati
> ____________________________________________________________________________________Get 
> the Yahoo! toolbar and be alerted to new email wherever you're surfing.
> http://new.toolbar.yahoo.com/toolbar/features/mail/index.php
> ________________________________________________
> Kerberos mailing list           Kerberos at mit.edu
> https://mailman.mit.edu/mailman/listinfo/kerberos

More information about the Kerberos mailing list