[OpenAFS] Re: Build samba 3.2.2 with openafs 1.4.7

Derrick Brashear shadow@gmail.com
Sun, 7 Sep 2008 08:21:15 -0400


2008/9/7 G=E9mes G=E9za <geza@kzsdabas.hu>:
> Volker Lendecke =EDrta:
>> On Sat, Sep 06, 2008 at 03:32:25PM +0200, G=E9mes G=E9za wrote:
>>
>>> Sorry, does it mean, that running a nonguest samba share on top of an
>>> afs mounted directory require the use of plaintext passwords?!
>>> Is there no way to "impersonate" the  user connected via smb/cifs and
>>> obtain the afs tokens on behalf of he/she?
>>>
>>
>> No, but you need to use the fake kaserver.
>>
>> Volker
>>
> With a patched afs/afs.h and afs/com_err.h (added #include "afs/param.h"
> on the top of both)

which is still wrong, but whatever.

> samba 3.2.3 builds with a configure line :
>
> ./configure --with-fake-kaserver --with-vfs-afsacl
>
> The build process (invoked by make) fails at:
>
> Compiling smbd/server.c
> Linking bin/smbd
> bin/smbd.a(afs.o): In function `afs_createtoken':
> afs.c:(.text+0x2b7): undefined reference to `DES_key_sched'
> afs.c:(.text+0x2e9): undefined reference to `DES_pcbc_encrypt'

Either the linker is failing to try to link the openssl libraries or
you have a version which is too new.