#3193 ipa trust-add fails when IPA NetBIOS name misconfigured
Closed: Fixed None Opened 11 years ago by mkosek.

https://bugzilla.redhat.com/show_bug.cgi?id=867442 (Red Hat Enterprise Linux 6)

Description of problem:

When running ipa-adtrust-install, if you enter the AD server's NetBIOS name
instead of a new one for the IPA Domain, you will see this error when trying to
add a trust:

[root@f18-1 ~]# ipa trust-add --type=ad adtestdom.com --admin Administrator
--password
Active directory domain administrator's password:
ipa: ERROR: CIFS server communication error: code "-1073741079",
                  message "NT_STATUS_CURRENT_DOMAIN_NOT_ALLOWED" (both may be
"None")

Should this instead check that the IPA NetBIOS name is misconfigured?

Version-Release number of selected component (if applicable):
IPA v3

How reproducible:
always

Steps to Reproduce:
1.  Setup IPA Master
2.  Setup AD Server
3.  ipa-adtrust-install
- when prompted for NetBIOS name, enter the AD one
4.  ipa trust-add --type=ad <AD domain> --admin Administrator --password

Actual results:

error shown above

Expected results:

detect misconfiguration and provide a clear error.



Additional info:

Changing 3.2 priority

needed for CIFS support

Patch freeipa-mkosek-349-test-netbios-name-clash-before-creating-a-trust.patch sent for review

Rename "trusts" component to "Trusts" to achieve correct sorting.

Metadata Update from @mkosek:
- Issue assigned to mkosek
- Issue set to the milestone: FreeIPA 3.2 - 2013/02

7 years ago

Login to comment on this ticket.

Metadata