[Samba] Problems with ACL jumbo patch

Derek Lewis dlewis at mtu.edu
Mon Nov 8 09:18:40 MST 2010


Yes, I have been able to build samba 3.5.6 and 3-5-test versions without problems up through the "make" command.

I will get the log of the build out today.
----- Original Message -----
From: Michael Wood <esiotrot at gmail.com>
To: Derek Lewis <dlewis at mtu.edu>
Cc: Miguel Medalha <miguelmedalha at sapo.pt>, samba at lists.samba.org
Sent: Mon, 8 Nov 2010 06:35:28 -0500 (EST)
Subject: Re: [Samba] Problems with ACL jumbo patch

On 8 November 2010 10:31, Derek Lewis <dlewis at mtu.edu> wrote:
> I have been able to get the unpatched versions to compile from git
> successfully, though not with the patch implemented.
>
> I followed these steps to compile Samba 3.5.6 with the patch:
>
> 1. sudo git clone git://git.samba.org/samba.git samba102510
> 2. sudo wget http://samba.org/~jra/samba-3-5-x-acl-jumbo-patch.tgz
> 3. sudo tar -xvf samba-3-5-x-acl-jumbo-patch.tgz
> 4. cd samba102510
> 5. sudo git checkout -b my_branch release-3-5-6
> 6. sudo git am -3 ../samba_patches/samba-3-5-x-acl-jumbo-patch/*.patch
> 7. cd source3
> 8. sudo ./autogen.sh
> 9. sudo ./configure.developer --prefix=/usr/local/samba35
> 10. sudo make [The build failed on the error 'cli_krb5_get_ticket', in the
> function 'spnego_gen_negTokenTarg'. Make: *** [libsmb/clispnego.o] Error 1]

You should generally not compile things as root.  You do not need the
"sudo"s above.  Only when you "make install" should you need it,
because then it will need to write to /usr/local/samba35 where a
normal user would not have write access.  This is, however, not the
cause of your problems.

I have just tried the above and it compiled successfully for me.  What
is the full output of the errors you get?  It should provide more
information than you have quoted above.

> I am still learning how to use git, I wondered if the error messages are the
> result of missing a step.  I did not explicitly commit the changes, do I
> need to update the index or pull in remote files?

What you have above should work.  "git am" automatically commits the patches.

> I am searching for references to this make error though I have not found
> much, except the library: libldap2-dev.  I installed it and the problem
> persists.
>
> Could you recommend other debug options?

Post the full error and maybe someone will be able to figure out what
the problem is.  Are you able to build 3.5.6 without the patches
applied?

-- 
Michael Wood <esiotrot at gmail.com>



More information about the samba mailing list