[Samba] W2k client using "synchronize" on a samba configured RH Linux 9 file server ...

Mogens Kjaer mk at crc.dk
Thu Jan 15 12:54:21 GMT 2004


Krister Ripstrand wrote on December 16, 2003:
> ... does not work.
> 
> I use the W2k  functionality "synchronize" on my laptop to have up2date 
> synchronized copies of  my files both at the laptop and the file server.
> The file server is a P 200 MHz running RH Linux 9.
> When on-line the synchronization of files works, except for my swedish 
> letters "åäö". However when off-line working with my files, then 
> reconnecting to the network and issuing a synchronization it fails. The 
> updating of the files on the server fails.
> 
> Am I doing something wrong here or is the SMB protocol used by samba not 
> up2date to support this W2k functionality?
> My samba version is 3.0.0-2

Did you ever find a solution to the problem of synchronization not
working?

I'm having the same problem here, with w2k clients and
a server running redhat 9 and rh's samba-2.2.7a-8.9.0.

The file system is ext3.

 From the logfile, it looks like W2K is creating a temporary
file for the file being synchronized, and it tries to
set some permissions for this file. This fails. Snip
from the logfile:

[2004/01/15 12:47:12, 10] smbd/posix_acls.c:print_canon_ace_list(146)
   print_canon_ace_list: file ace - before valid
   canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER 
perms ---
   canon_ace index 1. Type = allow SID = 
S-1-5-21-3751359999-3001849456-3904405318-2001 gid 500 (chem) 
SMB_ACL_GROUP_OBJ perms ---
   canon_ace index 2. Type = allow SID = 
S-1-5-21-3751359999-3001849456-3904405318-3002 uid 1001 (pdc1) 
SMB_ACL_USER_OBJ perms rw-
[2004/01/15 12:47:12, 10] smbd/posix_acls.c:print_canon_ace_list(146)
   print_canon_ace_list: dir ace - before valid
[2004/01/15 12:47:12, 3] smbd/dosmode.c:unix_mode(111)
   unix_mode(My Documents/80000019) returning 0640
[2004/01/15 12:47:12, 10] smbd/posix_acls.c:print_canon_ace_list(146)
   print_canon_ace_list: file ace - return
   canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER 
perms ---
   canon_ace index 1. Type = allow SID = 
S-1-5-21-3751359999-3001849456-3904405318-2001 gid 500 (chem) 
SMB_ACL_GROUP_OBJ perms ---
   canon_ace index 2. Type = allow SID = 
S-1-5-21-3751359999-3001849456-3904405318-3002 uid 1001 (pdc1) 
SMB_ACL_USER_OBJ perms rw-
[2004/01/15 12:47:12, 10] smbd/posix_acls.c:print_canon_ace_list(146)
   print_canon_ace_list: dir ace - return
   canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER 
perms ---
   canon_ace index 1. Type = allow SID = 
S-1-5-21-3751359999-3001849456-3904405318-2001 gid 500 (chem) 
SMB_ACL_GROUP_OBJ perms r--
   canon_ace index 2. Type = allow SID = 
S-1-5-21-3751359999-3001849456-3904405318-3002 uid 1001 (pdc1) 
SMB_ACL_USER_OBJ perms rw-
[2004/01/15 12:47:12, 10] smbd/posix_acls.c:set_canon_ace_list(1706)
   canon_ace index 0. Type = allow SID = S-1-1-0 other SMB_ACL_OTHER 
perms ---
[2004/01/15 12:47:12, 10] smbd/posix_acls.c:set_canon_ace_list(1706)
   canon_ace index 1. Type = allow SID = 
S-1-5-21-3751359999-3001849456-3904405318-2001 gid 500 (chem) 
SMB_ACL_GROUP_OBJ perms ---
[2004/01/15 12:47:12, 10] smbd/posix_acls.c:set_canon_ace_list(1706)
   canon_ace index 2. Type = allow SID = 
S-1-5-21-3751359999-3001849456-3904405318-3002 uid 1001 (pdc1) 
SMB_ACL_USER_OBJ perms rw-
[2004/01/15 12:47:12, 2] smbd/posix_acls.c:set_canon_ace_list(1776)
   set_canon_ace_list: conn->vfs_ops.sys_acl_set_file failed for file My 
Documents/80000019 (Operation not supported).
[2004/01/15 12:47:12, 3] smbd/posix_acls.c:set_nt_acl(2285)
   set_nt_acl: failed to set file acl on file My Documents/80000019 
(Operation not supported).


Is there any solution to this problem that doesn't involve
changing the file system or running samba-3 (we are not
quite ready for this yet)?

Mogens


-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: mk at crc.dk Homepage: http://www.crc.dk



More information about the samba mailing list