Hi!
I've tried to compile samba 3.0.23rc2 --with-vfs-afsacl --fake-kaserver,
but I've got errors.
The first error and its solution is: I've to add -lssl to the LIBS line
in the top level Makefile.
Then I've got this:
Compiling modules/vfs_afsacl.c with -fPIC
modules/vfs_afsacl.c: In function `new_afs_ace':
modules/vfs_afsacl.c:145: warning: passing arg 2 of `lookup_sid' from
incompatible pointer type
modules/vfs_afsacl.c:145: warning: passing arg 3 of `lookup_sid' from
incompatible pointer type
modules/vfs_afsacl.c:145: warning: passing arg 4 of `lookup_sid' from
incompatible pointer type
modules/vfs_afsacl.c:145: error: too few arguments to function `lookup_sid'
modules/vfs_afsacl.c:153: warning: passing arg 2 of `strchr_m' makes
integer from pointer without a cast
modules/vfs_afsacl.c:158: error: `LOOKUP_NAME_FULL' undeclared (first
use in this function)
modules/vfs_afsacl.c:158: error: (Each undeclared identifier is reported
only once
modules/vfs_afsacl.c:158: error: for each function it appears in.)
modules/vfs_afsacl.c:159: warning: passing arg 1 of `lookup_name'
discards qualifiers from pointer target type
modules/vfs_afsacl.c:159: warning: passing arg 3 of `lookup_name' makes
integer from pointer without a cast
modules/vfs_afsacl.c:159: warning: passing arg 4 of `lookup_name' from
incompatible pointer type
modules/vfs_afsacl.c:159: warning: passing arg 5 of `lookup_name' from
incompatible pointer type
modules/vfs_afsacl.c:159: warning: passing arg 6 of `lookup_name' from
incompatible pointer type
modules/vfs_afsacl.c:159: error: too few arguments to function `lookup_name'
modules/vfs_afsacl.c: In function `nt_to_afs_acl':
modules/vfs_afsacl.c:754: warning: passing arg 2 of `lookup_sid' from
incompatible pointer type
modules/vfs_afsacl.c:754: warning: passing arg 3 of `lookup_sid' from
incompatible pointer type
modules/vfs_afsacl.c:754: warning: passing arg 4 of `lookup_sid' from
incompatible pointer type
modules/vfs_afsacl.c:754: error: too few arguments to function `lookup_sid'
modules/vfs_afsacl.c: In function `afsacl_connect':
modules/vfs_afsacl.c:1012: warning: assignment discards qualifiers from
pointer target type
make: *** [modules/vfs_afsacl.po] Error 1
Then I added to lookup_sid in line 145 and to lookup_name in line 159
the mem_ctx argument, and changed LOOKUP_NAME_FULL to LOOKUP_NAME_ALL.
Now I should add the mystic mem_ctx argument in line 754, but it's not
defined in this (nt_to_afs_acl) function, so I've stucked.
I've tried to pass a NULL instead of it to check for further build
problems, but it has been compiled. (And made funny things with acls, if
you tried to change them :) )
So the question is, how can I get a mem_ctx variable in that function,
where can I learn more about mem_ctx, because now I don't know what is it.
The other purpose of this mail is to inform you about these problems. I
hope this is the right place for it, and I can see the solution for
these problems in the final 3.0.23 at least, if I can't get over this
problem with your help.
Thanks for any help in advance!
Szilard