<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi , In reference to the following thread, I already have an entry for AD sever in the /etc/hosts file of ipaserver but the issue still remains. Both my DNS servers are resolving the records from the opposite side. Any other suggestionsto remove this error ?<BR>
root@ipaserver <mailto:root@ipaserver># ipa trust-add --type=ad<BR> adexample.com --admin Administrator --password<BR><BR>
ipa: ERROR: CIFS server communication error: code "-1073741801",<BR>message "Memory allocation error" (both may be "None")<BR>
 <BR>
Thanks<BR>
Zulkifal Ahmad<BR><BR>
 <BR>
On 01/17/2014 06:29 PM, Zulkifal Ahmad wrote:<BR>> Hi List , Just wanted to find out if anyone has setup an ipa-AD trust<BR>> successfully, According to the instructions in the following link<BR>> <A href="https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Identity_Management_Guide/trust-ipa-subdomain.html" target=_blank><FONT color=#5c9e00>https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Identity_Management_Guide/trust-ipa-subdomain.html</FONT></A><BR>> everything went well until I hit the point where I had to check the<BR>> samba configuration, by typing the command<BR>> root@ipaserver <mailto:root@ipaserver># smbclient -L<BR>> ipaserver.ipaexample.com -k<BR>> smbclient: command not found<BR>> and similar for<BR>> root@ipaserver <mailto:root@ipaserver># wbinfo --online-status<BR>> wbinfo: command not found<BR>> <BR>> I am pretty sure that the command "ipa-trust-install" command did<BR>> install samba4 packages as dependencies, anyways I thought these<BR>> packages were not necessary and went forward until I got really stuck<BR>> when I typed the command .<BR>> root@ipaserver <mailto:root@ipaserver># ipa trust-add --type=ad<BR>> adexample.com --admin Administrator --password<BR>> This gave me a very cruel message<BR>> ipa: ERROR: CIFS server communication error: code "-1073741801",<BR>> message "Memory allocation error" (both may be "None")<BR>> If its this bug " <A href="https://bugzilla.redhat.com/show_bug.cgi?id=878168" target=_blank><FONT color=#5c9e00>https://bugzilla.redhat.com/show_bug.cgi?id=878168</FONT></A> "<BR> <BR>Yes. The solution is:<BR> <BR>If configured, the Active Directory (AD) DNS server returns IPv4 and<BR>IPv6 addresses of an AD server. If the FreeIPA server cannot connect to<BR>the AD server with an IPv6 address, running the ipa trust-add command<BR>will fail even if it would be possible to use IPv4. To work around this<BR>problem, add the IPv4 address of the AD server to the /etc/hosts file.<BR>In this case, the FreeIPA server will use only the IPv4 address and<BR>executing ipa trust-add will be successful.<BR> <BR>> has anyone worked it out. Secondly cifs-utils has dependency on samba3<BR>> packages and ipa-ad-trust needs samba4 but samba3 and samba4 don't<BR>> like each other , so this is the story of my experience with ipa. Any<BR>> suggestions ?<BR> <BR>Why do you need cifs-utils on the same server?<BR>cifs-utils to make a system a client to MSFT file server, AFAIU you cant<BR>make IPA server to be a cifs client.<BR> <BR>SSSD 1.12 (in works) if going to be capable to work with cifs-utils<BR>instead of samba winbind thus the limitation will be lifted. <BR> <BR> <BR>> My ipa server server OS : CentOS 6.5<BR>> ipa server version : 3<BR>> Active directory: server 2008 R2 Standard<BR>> <BR>> Thank you<BR>> */ Best Regards/*<BR>> //<BR>> /Sahibzada .Z. Ahmad/<BR>> /System Administrator/*<BR>> *<BR><BR><BR><FONT style="FONT-SIZE: 12pt" size=3><B><FONT style="FONT-SIZE: 20pt" face=Garamond><I><FONT style="FONT-SIZE: 12pt"><FONT color=#4f6128> Best Regards</FONT></FONT></I></FONT></B></FONT><BR><I><SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Californian FB','serif'; COLOR: rgb(79,97,40); FONT-SIZE: 16pt"></SPAN></I><BR><I><SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Californian FB','serif'; COLOR: rgb(79,97,40); FONT-SIZE: 16pt">Sahibzada .Z. Ahmad</SPAN></I><BR><I><SPAN style="LINE-HEIGHT: 115%; FONT-FAMILY: 'Californian FB','serif'; COLOR: rgb(79,97,40); FONT-SIZE: 16pt">System Administrator</SPAN></I><FONT style="FONT-SIZE: 12pt" size=3><FONT face="Times New Roman"><FONT color=#4f6128><STRONG><BR>cell: 1(678)267-0265 (US)</STRONG></FONT></FONT></FONT><BR><STRONG><FONT color=#4f6128 size=3 face="Times New Roman">cell: 1(647)339-5434  (Canada)</FONT></STRONG><FONT style="FONT-SIZE: 12pt"><FONT face="Times New Roman"><FONT color=#4f6128><BR><BR><BR><BR><BR><BR><BR></FONT></FONT></FONT><BR> <BR>                                      </div></body>
</html>