AIX has a function msleep in libc. #include <sys/mman.h> int msleep (Sem) msemaphore * Sem; Description The msleep subroutine puts a calling process to sleep when a semaphore is busy. Samba also names a function msleep. This does not affect samba itself, but other applications linked with libsmbclient might use the wrong "msleep". Symptom is "timeout connecting to ..." when connecting to remote servers, because AIX msleep does not sleep but fails immediatly with EFAULT. msleep should be renamed.
I have a patch to rename this to smb_msleep()
I've checked in a patch to rename msleep() to smb_msleep().
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.
database cleanup