It's using: AIX linker gcc 2.95.2.1 gawk 3.0.5 bison 1.25 -y flex 2.5.4 I looked at kadmin_ct.c and there are some commands there and the file does not appear to truncate abnormaly, but then I've never looked at this file before :)
After playing around with it more addprinc seems to work (which is present in kadmin_ct.c). I think I'll try upping gawk to 3.0.6 and see what happens. thanks, -avery [EMAIL PROTECTED] (Kevin Rowland) wrote in message news:<[EMAIL PROTECTED]>... > Tom Yu wrote: > > > > >>>>> "daemon2k" == Avery <[EMAIL PROTECTED]> writes: > > > > daemon2k> emu:/usr/krb5/sbin> ./kadmin > > daemon2k> Authenticating as principal avery/admin@XXYYZZ with password. > > daemon2k> Enter password: > > daemon2k> kadmin: ? > > daemon2k> kadmin: Unknown request "?". Type "?" for a request list. > > daemon2k> kadmin: help > > daemon2k> kadmin: Unknown request "help". Type "?" for a request list. > > daemon2k> kadmin: quit > > daemon2k> kadmin: Unknown request "quit". Type "?" for a request list. > > > > That sounds really suspiciously like the command table didn't get > > built properly. I think I recall a similar problem being reported in > > the past. Exactly what environment did you use to compile? What > > compiler, what other tools (e.g. bison vs yacc, etc.)? > > > > I ran into the exact same problem, only running on Solaris. I noticed > that the 'kadmin/cli/kadmin_ct.c' file that gets generated by the > 'util/ss/mk_cmds' script was only getting partially created. Only the > first command was present. Thus in our case, only the 'addprinc' command > worked. > > Once I switched to gawk-3.0.6 from gawk-3.0.5, the problem was > corrected. The command tables are filtered through a sed script and gawk > to build a compilable .c file... ( At least that's what I have written > in my notes) > > I think Tom is right... see what the kadmin_ct.c file has in it (in your > build directory) and maybe check your version of awk, yacc or gnu > counterpart... > > Hope this helps... > > -- kevin > > /-------------------------------------\ > | Kevin Rowland | > | Sr. Systems Engineer | > | Office of Information Technology | > | University of Notre Dame | > \-------------------------------------/
