Cracknames: use krb wrapper functions so it works with MIT
commit87c95e49efbcbdbf76e66a240e769f6cb80a40b4
authorSimo Sorce <idra@samba.org>
Sat, 21 Apr 2012 20:55:35 +0000 (21 16:55 -0400)
committerSimo Sorce <idra@samba.org>
Mon, 23 Apr 2012 23:20:39 +0000 (23 19:20 -0400)
tree298697e2757270df14c39fe126745557b6e50fd5
parentd43c2c094558fcb83aa18358bc724195a9c26001
Cracknames: use krb wrapper functions so it works with MIT

Also avoid a silly game with directly modifying the principal and
then calling krb5_principal_unparse_flags to get out a string.
If we already assume it is a 2 components name and know what outcome we are
going to get, just go ahead and talloc_asprintf the linearized string.
source4/dsdb/samdb/cracknames.c