as sent on samba-tec some weeks ago: Darwin uses a different xattr interfacethan Linux does. This patch checks the interface and uses the right semantic ...
Created attachment 1863 [details] patch
Björn, you know that I want to see this compile first. :-)) Volker
Volker, you and anyone else can apply this patch and compile it, what inhibits you from just doing it? :-)
I don't know if it's the right Bugzilla entry to report this, but samba (with or without the supplied patch) doesn't compile on: server31:~/samba-3.0.23a/source root# uname -a Darwin server31.zim.uni-goettingen.de 8.6.0 Darwin Kernel Version 8.6.0: Tue Mar 7 16:58:48 PST 2006; root:xnu-792.6.70.obj~1/RELEASE_PPC Power Macintosh powerpc I get this error: Compiling lib/system.c lib/system.c: In function 'sys_getxattr': lib/system.c:1421: error: too few arguments to function 'getxattr' lib/system.c: In function 'sys_fgetxattr': lib/system.c:1513: error: too few arguments to function 'fgetxattr' lib/system.c: In function 'sys_listxattr': lib/system.c:1719: error: too few arguments to function 'listxattr' lib/system.c: In function 'sys_flistxattr': lib/system.c:1763: error: too few arguments to function 'flistxattr' lib/system.c: In function 'sys_removexattr': lib/system.c:1786: error: too few arguments to function 'removexattr' lib/system.c: In function 'sys_fremovexattr': lib/system.c:1846: error: too few arguments to function 'fremovexattr' lib/system.c: In function 'sys_setxattr': lib/system.c:1882: error: too few arguments to function 'setxattr' lib/system.c: In function 'sys_fsetxattr': lib/system.c:1987: error: too few arguments to function 'fsetxattr' make: *** [lib/system.o] Error 1
might be #4 forgot calling autogen.sh ? vl/metze - you have access to a darwin machine, can you take a look at this one, please ?
I'd say James should solve this, he works at Apple now ;-) Volker
fixed in revision 19241