This module doesn't work on AIX without modifications to its source code. It invoke some methods that are not available with GPFS for AIX (at least with GPFS 3.2.1.25) In Samba 3.3.6, I've been able to make it works by adding several "#ifdef AIX" (which is quite ugly) and a few other modifications. I know William Jojo and Miguel Sanders (which I have lost track of) were doing similar thing a few months/years ago. I'm currently in the process of updating to Samba 3.5.9 I'm looking to get a patch pushed into master, v3-6-test and v3-5-test which would allow this module to work on AIX. I'll inform Christian Ambach that I've opened this bug report and will provide him the patch I'm currently using. I'll also inform William Jojo of this bug report, in which he might have interest. If anyone know how to contact Miguel Sanders, he could also have interest in it. Best regards, Yannick Bergeron
Can you name the functions that are not in libgpfs on AIX?
In modules/gpfs.c Those 3 subroutines had to return True and set errno to ENOSYS set_gpfs_sharemode set_gpfs_lease smbd_gpfs_get_realfilename_path In modules/gpfs.c again In init_gpfs_function_lib, dlopen had to be invoked differently on AIX In modules/gpfs.c again In init_gpfs_function, init_gpfs_function_lib had to be invoked differently on AIX Finally, in modules/vfs_gpfs.c In vfs_gpfs_setlease, the linux*set*lease calls had to be skipped on AIX
I do not have access to AIX machines any more, so no chance to work on this efficiently.
shoud be fixed in master with 4e464fc96ae3b431796223776ded83bcc9d14c6f