[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
kadmin rename
kadmin> rename host/acis3.andrew.cmu.edu host/acis3.as.cmu.edu
Usage: rename [--help] [-h] from to
kadmin> help rename
rename rename source target
Renames `source' to `target'.
kadmin> rename host/acis3.andrew.cmu.edu
Usage: rename [--help] [-h] from to
kadmin> rename host/acis3.andrew.cmu.edu host/acis3.as.cmu.edu
Usage: rename [--help] [-h] from to
kadmin> rename host/acis3.andrew.cmu.edu host/acis3.as.cmu.edu foo
kadmin>
I suspect the problem is 3 needs to be 2 in kadmin/rename.c:
if(argc - optind < 3 || help_flag) {
usage ();
return 0;
}