On Wed, 18 Mar 2015, Ben .T.George wrote:
ok thanks now the output is something different

[root@kwtpocpbis02 ~]# ldapsearch -h 172.16.107.250 -D
administra...@infra.com -W -b dc=infra,dc=com '(serviceprincipalname=*
solaris.com)' dn
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base <dc=infra,dc=com> with scope subtree
# filter: (serviceprincipalname=*solaris.com)
# requesting: dn
#

# search reference
ref: ldap://ForestDnsZones.infra.com/DC=ForestDnsZones,DC=infra,DC=com

# search reference
ref: ldap://DomainDnsZones.infra.com/DC=DomainDnsZones,DC=infra,DC=com

# search reference
ref: ldap://infra.com/CN=Configuration,DC=infra,DC=com

# search result
search: 2
result: 0 Success

# numResponses: 4
# numReferences: 3
You have new mail in /var/spool/mail/root


but there is no solaris.com in this output
Ok. Send me privately error_log after 'ipa trust-add'. Don't forget to
set 'log level = 100' in /usr/share/ipa/smb.conf.empty before doing
that.




On Wed, Mar 18, 2015 at 1:38 PM, Alexander Bokovoy <aboko...@redhat.com>
wrote:

On Wed, 18 Mar 2015, Ben .T.George wrote:

did that and the result is

[root@kwtpocpbis02 ~]# ldapsearch -D administra...@infra.com -W -b
dc=infra,dc=com '(serviceprincipalname=*solaris.com)' dn
Enter LDAP Password:
ldap_bind: No such object (32)
You have new mail in /var/spool/mail/root

Ah, sorry, you need to add -h option to specify LDAP server host (your
AD DC).




On Wed, Mar 18, 2015 at 12:59 PM, Alexander Bokovoy <aboko...@redhat.com>
wrote:

 On Wed, 18 Mar 2015, Ben .T.George wrote:

 no,

this is new host-name i am choosed.

anyway how to check is there any existing solaris.com in AD, under DNS
management, i cannot see anything

 You can search with ldapsearch, something like this, from IPA master:

ldapsearch -D administra...@infra.com -W -b dc=infra,dc=com
'(serviceprincipalname=*solaris.com)' dn

--
/ Alexander Bokovoy


--
/ Alexander Bokovoy


--
/ Alexander Bokovoy

--
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org for more info on the project

Reply via email to