[Fwd: samba3-3.3.4-39 not joining to ADS]

Rajeesh Kumar rajeesh.kumar at hcl.in
Mon May 25 06:31:22 GMT 2009

Sending it again.

-------- Forwarded Message --------
From: Rajeesh Kumar <rajeesh.kumar at hcl.in>
To: samba-technical at samba.org
Subject: samba3-3.3.4-39 not joining to ADS
Date: Fri, 22 May 2009 18:20:26 +0530

I'm unable to connect to ADS after upgrading to Samba 3.3..3.  This was
working fine earlier.

I'm getting error message "failed to connect to AD: Malformed
representation of principal" while joining domain.

Please find the screen shot below

[root at pstand2 etc]#  net ads  join -U blr.admin at HCLT.CORP.HCL.IN -d1
[2009/05/22 18:17:26,  1] param/loadparm.c:lp_do_parameter(7218)
  WARNING: The "printer admin" option is deprecated
[2009/05/22 18:17:26,  1] param/loadparm.c:lp_do_parameter(7218)
  WARNING: The "printer admin" option is deprecated
Enter blr.admin at HCLT.CORP.HCL.IN's password:
[2009/05/22 18:17:29,  1] libnet/libnet_join.c:libnet_Join(1871)
      libnet_JoinCtx: struct libnet_JoinCtx
          in: struct libnet_JoinCtx
              dc_name                  : NULL
              machine_name             : 'PSTAND2'
              domain_name              : *
                  domain_name              : 'HCLT.CORP.HCL.IN'
              account_ou               : NULL
              admin_account            : 'blr.admin at HCLT.CORP.HCL.IN'
              admin_password           : *
              machine_password         : NULL
              join_flags               : 0x00000023 (35)
                     0: WKSSVC_JOIN_FLAGS_JOIN_WITH_NEW_NAME
                     0: WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT
                     0: WKSSVC_JOIN_FLAGS_DEFER_SPN
                     0: WKSSVC_JOIN_FLAGS_JOIN_UNSECURE
                     0: WKSSVC_JOIN_FLAGS_WIN9X_UPGRADE
                     0: WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE
                     1: WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE
                     1: WKSSVC_JOIN_FLAGS_JOIN_TYPE
              os_version               : NULL
              os_name                  : NULL
              create_upn               : 0x00 (0)
              upn                      : NULL
              modify_config            : 0x00 (0)
              ads                      : NULL
              debug                    : 0x01 (1)
              use_kerberos             : 0x00 (0)
              secure_channel_type      : SEC_CHAN_WKSTA (2)
[2009/05/22 18:17:41,  0] libads/kerberos.c:ads_kinit_password(362)
  kerberos_kinit_password blr.admin at HCLT.CORP.HCL.IN@HCLT.CORP.HCL.IN
failed: Malformed representation of principal
[2009/05/22 18:17:41,  1] libnet/libnet_join.c:libnet_Join(1902)
      libnet_JoinCtx: struct libnet_JoinCtx
          out: struct libnet_JoinCtx
              account_name             : NULL
              netbios_domain_name      : 'HCLTECH'
              dns_domain_name          : 'HCLT.CORP.HCL.IN'
              forest_name              : 'CORP.HCL.IN'
              dn                       : NULL
              domain_sid               : *
                  domain_sid               :
              modified_config          : 0x00 (0)
              error_string             : 'failed to connect to AD:
Malformed representation of principal'
              domain_is_ad             : 0x01 (1)
              result                   : WERR_GENERAL_FAILURE
Failed to join domain: failed to connect to AD: Malformed representation
of principal


The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have 
received this email in error please delete it and notify the sender immediately. Before opening any mail and 
attachments please check them for viruses and defect.

More information about the samba-technical mailing list