[Freeipa-users] authenticate samba 3 or 4 with freeipa: building ipasam.so on Ubuntu

Petr Spacek pspacek at redhat.com
Fri Mar 28 12:52:37 UTC 2014


On 28.3.2014 12:32, Petr Spacek wrote:
> On 28.3.2014 09:56, Sandor Juhasz wrote:
>> Hello,
>>
>> i am ok to compile it myself, looking for source code. I hope that way i
>> will be able to avoid messing
>> around with the ldap tree. Any help/documentation is appreciated.
>
> Basically, documentation on
> http://www.freeipa.org/page/Contribute/Code and linked pages apply to your
> situation.
>
> You will face dependency problems because you are going to build it on Ubuntu.
> Don't give up and persist :-)
>
> I would recommend you a non-standard procedure:
> - clone the git repo: $ git clone git://git.fedorahosted.org/git/freeipa.git
> - enter the cloned tree: $ cd freeipa.git
> - $ make version-update
> -- This command will fail (for sure) because of dependency problems. However,
> it could be enough to proceed with ipasam build. You just need to generate
> version.h and similar "useless" files.
>
> - Enter "daemons" sub-directory in the cloned tree: $ cd daemons
> - $ autoreconf -fiv
> - $ ./configure
> - $ make
>
> This should build freeipa.git/daemons/ipa-sam/.libs/ipasam.so library without
> building rest of FreeIPA so dependency problems should be limited only to this
> sub-tree.
>
> Note that this procedure is completely untested.
>
> Please let us know if it worked for you or not. I'm curious! :-)

I'm adding output from make running on my Fedora 20 so you can easily find 
include paths you need to cover by packages in your distro etc.

Enjoy :-)

-- 
Petr^2 Spacek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.log
Type: text/x-log
Size: 5512 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20140328/c74a2767/attachment.bin>


More information about the Freeipa-users mailing list