AFS options when running configure in source3: ./configure --help |grep AFS --with-afs Include AFS clear-text auth support (default=no) --with-fake-kaserver Include AFS fake-kaserver support (default=no) --with-vfs-afsacl Include AFS to NT ACL mapping module (default=no) When used in the top level: ./configure --with-fake-kaserver ./buildtools/wafsamba/samba_utils.py:397: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 waf [command] [options] Main commands (example: ./waf build -j4) build : build all targets clean : removes the build files configure : configures the project ctags : build 'tags' file using ctags dist : makes a tarball for distribution distcheck : test that distribution tarball builds and installs distclean : removes the build directory etags : build TAGS file using etags install : installs the build files pep8 : run pep8 validator pydoctor : build python apidocs reconfigure : reconfigure if config scripts have changed test : Run the test suite (see test options below) testonly : run tests without doing a build first uninstall : removes the installed files wafdocs : build wafsamba apidocs wildcard_cmd: called on a unknown command waf: error: no such option: --with-fake-kaserver ./buildtools/wafsamba/samba_utils.py:397: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 waf [command] [options] Main commands (example: ./waf build -j4) build : build all targets clean : removes the build files configure : configures the project ctags : build 'tags' file using ctags dist : makes a tarball for distribution distcheck : test that distribution tarball builds and installs distclean : removes the build directory etags : build TAGS file using etags install : installs the build files pep8 : run pep8 validator pydoctor : build python apidocs reconfigure : reconfigure if config scripts have changed test : Run the test suite (see test options below) testonly : run tests without doing a build first uninstall : removes the installed files wafdocs : build wafsamba apidocs wildcard_cmd: called on a unknown command waf: error: no such option: --with-vfs-afsacl
Last time I worked on building with AFS, I also found that those options are missing in the waf build, but didn't find the time to add them. At least --with-vfsacl is kind of redundant, as you can use --with-shared-modules=vfs_afsacl, so the only matter is adding the --with-fake-kaserver option
I've got a patchset that is still in a rough state. While working on it, I recognized that OpenAFS 1.6 headers are broken and need fixing. Will post polished patch here in the next days
Any update? If not can I have the rough patch mentioned in the last update to use as a starting point so I can try building 4.1.0?
Still working on it.. now as 9911 got fixed, I'll continue with this one.
Sent patchset for master to samba-technical a few minutes ago. Let's see if it gets accepted. Once it is in master, it can be backported for at least 4.1.
Fixed in master (and hence in 4.2 as well)