[OpenAFS] Re: Build samba 3.2.2 with openafs 1.4.7

Gémes Géza geza@kzsdabas.hu
Sun, 07 Sep 2008 12:16:56 +0200

Volker Lendecke írta:
> On Sat, Sep 06, 2008 at 03:32:25PM +0200, Gémes Géza 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)
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'
collect2: ld returned 1 exit status
make: *** [bin/smbd] Error 1

Thanks for any idea!