In certain network environments when trying to join an AD domain kclient reports errors of the following: # kclient -T ms_ad -a somepassword Starting client setup --------------------------------------------------- Setting up /etc/krb5/krb5.conf. Attempting to join 'NETREP-U40A-GMP03' to the 'IDMAP.UK.SUN.COM' domain. Password for xxxxx@xxxxx.COM: Forest name found: idmap.uk.sun.com /usr/sbin/kclient[1727]: join_domain[1207]: getSite[1019]: getSubnets[1011]: print: -1: unknown option /usr/sbin/kclient[1727]: join_domain[1207]: getSite[1019]: getSubnets[1011]: print: -2: unknown option /usr/sbin/kclient[1727]: join_domain[1207]: getSite[1019]: getSubnets[1011]: print: -7: unknown option /usr/sbin/kclient[1727]: join_domain[1207]: getSite[1019]: getSubnets[1011]: print: -.: unknown option /usr/sbin/kclient[1727]: join_domain[1207]: getSite[1019]: getSubnets[1011]: print: -1: unknown option /usr/sbin/kclient[1727]: join_domain[1207]: getSite[1019]: getSubnets[1011]: print: -5: unknown option /usr/sbin/kclient[1727]: join_domain[1207]: getSite[1019]: getSubnets[1011]: print: -6: unknown option /usr/sbin/kclient[1727]: join_domain[1207]: getSite[1019]: getSubnets[1011]: print: -.: unknown option /usr/sbin/kclient[1727]: join_domain[1207]: getSite[1019]: getSubnets[1011]: print: -2: unknown option /usr/sbin/kclient[1727]: join_domain[1207]: getSite[1019]: getSubnets[1011]: print: -0: unknown option /usr/sbin/kclient[1727]: join_domain[1207]: getSite[1019]: getSubnets[1011]: print: -8: unknown option /usr/sbin/kclient[1727]: join_domain[1207]: getSite[1019]: getSubnets[1011]: print: -.: unknown option /usr/sbin/kclient[1727]: join_domain[1207]: getSite[1019]: getSubnets[1011]: print: -0: unknown option /usr/sbin/kclient[1727]: join_domain[1207]: getSite[1019]: getSubnets[1011]: print: -/: unknown option /usr/sbin/kclient[1727]: join_domain[1207]: getSite[1019]: getSubnets[1011]: print: -2: unknown option /usr/sbin/kclient[1727]: join_domain[1207]: getSite[1019]: getSubnets[1011]: print: -1: unknown option Usage: print [-enprs] [-f format] [-u fd] [string ...] Site name not found. Local DCs/GCs will not be discovered. Computer account 'NETREP-U40A-GMP03' already exists in the 'IDMAP.UK.SUN.COM' domain. Do you wish to recreate this computer account ? [y/n]: Would you like to delete any sub-object found for this computer account ? [y/n]: Looking to see if the machine account contains other objects... Creating the machine account in AD via LDAP. --------------------------------------------------- Setup COMPLETE.
kclient is a ksh93 script. Making it a ksh script seems to workaround the issue.
N/A
Terms of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines | Site Map | HelpYour use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.Copyright © 1995-2009 Sun Microsystems, Inc.