kcc: fixed program name
authorAndrew Tridgell <tridge@samba.org>
Sun, 6 Nov 2011 22:55:01 +0000 (09:55 +1100)
committerAndrew Tridgell <tridge@samba.org>
Sun, 6 Nov 2011 23:02:45 +0000 (10:02 +1100)
kcccompute -> samba_kcc

source4/scripting/bin/samba_kcc

index be6c925b95aef4d904f16afaeb3ffdf6dba3e140..30e66870664ababe32572b3c3a6c14d0c60d1ee1 100755 (executable)
@@ -655,10 +655,10 @@ def sort_replica_by_dsa_guid(rep1, rep2):
     return cmp(rep1.rep_dsa_guid, rep2.rep_dsa_guid)
 
 ##################################################
-# kcccompute entry point
+# samba_kcc entry point
 ##################################################
 
-parser    = optparse.OptionParser("kcccompute [options]")
+parser    = optparse.OptionParser("samba_kcc [options]")
 sambaopts = options.SambaOptions(parser)
 credopts  = options.CredentialsOptions(parser)
 
@@ -669,7 +669,7 @@ parser.add_option_group(options.VersionOptions(parser))
 parser.add_option("--debug", help="debug output", action="store_true")
 parser.add_option("--seed",  help="random number seed")
 
-logger = logging.getLogger("kcccompute")
+logger = logging.getLogger("samba_kcc")
 logger.addHandler(logging.StreamHandler(sys.stdout))
 
 lp     = sambaopts.get_loadparm()