Displaying 1 result from an estimated 1 matches for "dmapi_access_capability".
2006 Oct 29
1
dmapi doesn't work on aix; possible fix included
...39;s likely implementation dependent?
Changing the if-condition to (errno != EPERM && errno != EACCES) lets
things continue on. The rest of the problem in dmapi_file_flags() is
that things are running with the effective uid of the user, so dmapi
calls are failing. The posix capability DMAPI_ACCESS_CAPABILITY is
supposed to allow the functions to work, but to my knowledge AIX doesn't
have posix capabilties.
I used become_root/unbecome_root around the dmapi calls, and this
appeared to get things to work. Samba's log messages are indicating
that files are offline, and Windows Explorer is p...