OpenSolaris

Printable Version Enter a New Search
Bug ID 6787343
Synopsis kclient's site lookups fail in certain network environments
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kerberosv5_bundled:interop
Keywords ksh93
Responsible Engineer Shawn Emery
Reported Against snv_105
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_118
Fixed In snv_118
Release Fixed solaris_nevada(snv_118)
Related Bugs 6814352
Submit Date 19-December-2008
Last Update Date 1-July-2009
Description
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.
Work Around
kclient is a ksh93 script. Making it a ksh script seems to workaround the issue.
Comments
N/A