test build(bfu'ed from /net/sekhmet.east/export/smbfs/gate/archives/i386/xattr4 on 2008-06-19)is development build for smbfs xattr function
cifs server : SunOS goldmemory(goldmemory.prc.sun.com) 5.11 snv_92 i86pc i386 i86pc
cifs client : SunOS silverspoon 5.11 gate (silverspoon.prc.sun.com), Workgroup mode,global zone ,64 bit
server(goldmemory.prc.sun.com):login in as root user
client(silverspoon.prc.sun.com):login in as root user
mount -F smbfs //cifs_user:cifs_use@goldmemory/public /export/mnt/
bash-3.2# cd /export/mnt/ //go to mount point
bash-3.2# pwd
/export/mnt
bash-3.2# touch test_file //create a file in mount point
bash-3.2# runat test_file cp /etc/passwd . //create a xattr named "passwd" in file "test_file"
bash-3.2# runat test_file ls //see there is a xattr named "passwd" in the file
passwd
bash-3.2# runat test_file diff passwd /etc/passwd //verified the xattr file is same as "/etc/passwd"
bash-3.2#
bash-3.2# runat test_file rm passwd //delete the xattr file
bash-3.2#
bash-3.2# runat test_file ls //but is also has the xattr file "passwd"
passwd
bash-3.2# runat test_file diff passwd /etc/passwd //and it is same as "/etc/passwd"
bash-3.2#
When create a xattr file in a file in extended attribute name space,But can't delete it!