[samba-jp:20918] 「vfs objects のshadow_copyについて」

加島 義人 y-kashima @ plathome.co.jp
2009年 11月 25日 (水) 15:52:09 JST


sambaのバージョン   smbd version 3.0.37 

このバージョンでvfs objects = shadow_copyを設定すると
Windowsからの共有が見えなくなります。

何か設定はあるのでしょうか?

ログレベルを10に設定したログは以下で、vfs objectsもロードされています。

[2009/11/25 15:32:30, 1] smbd/service.c:(1239)
  plat-ad582644b5 (192.168.10.92) closed connection to service share1
[2009/11/25 15:32:33, 2] auth/auth.c:(309)
  check_ntlm_password:  authentication for user [Administrator] -> [Administrator] -> [administrator] succeeded
[2009/11/25 15:32:33, 2] auth/auth.c:(309)
  check_ntlm_password:  authentication for user [Administrator] -> [Administrator] -> [administrator] succeeded
[2009/11/25 15:32:35, 2] lib/module.c:(64)
  Module '/usr/sfw/lib/vfs/shadow_copy.so' loaded
[2009/11/25 15:32:35, 1] smbd/service.c:(1042)
  plat-ad582644b5 (192.168.10.92) connect to service share1 initially as user administrator (uid=103, gid=102) (pid 1284)
[2009/11/25 15:32:37, 2] auth/auth.c:(309)
  check_ntlm_password:  authentication for user [Administrator] -> [Administrator] -> [administrator] succeeded
[2009/11/25 15:32:38, 1] smbd/service.c:(1042)
  plat-ad582644b5 (192.168.10.92) connect to service administrator initially as user administrator (uid=103, gid=102) (pid 1284)
[2009/11/25 15:32:40, 2] auth/auth.c:(309)
  check_ntlm_password:  authentication for user [Administrator] -> [Administrator] -> [administrator] succeeded
[2009/11/25 15:32:44, 1] smbd/service.c:(1239)
  plat-ad582644b5 (192.168.10.92) closed connection to service share1
[2009/11/25 15:32:44, 1] smbd/service.c:(1239)
  plat-ad582644b5 (192.168.10.92) closed connection to service administrator

現在の設定smb.confは以下です。
[share1]が対象のエリアとなります。



#======================= Global Settings =====================================
[global]
   dos charset = cp932
   browseable = yes
   unix charset = eucJP-ms
   display charset = cp932
   workgroup = PLATDC
   netbios name = solaris
   server string = Samba Server %v on %h
   null passwords = Yes
   security = user
   load printers = No
   log file = /var/samba/log/log.%m
   log level = 10
   max log size = 50
   encrypt passwords = yes
   passdb backend = tdbsam
   passwd program = /usr/bin/passwd %u
   passwd chat = * %n\n * %n\n *  
   unix password sync = Yes
   log level = 2
   dead time = 15
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   domain master = yes 
   preferred master = yes
   domain logons = yes
   logon script = %U.bat
   logon path = 
   wins support = yes
  add user script = /usr/sbin/useradd %u
  add group script = /usr/sbin/groupadd %g
  add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
  delete user script = /usr/sbin/userdel %u
  delete user from group script = /usr/sbin/deluser %u %g
  delete group script = /usr/sbin/groupdel %g
  add user to group script = /usr/sbin/gpasswd -a %u %g 
  delete user from group script = /usr/sbin/gpasswd -d %u %g 
  set primary group script = usr/sbin/usermod -g %g %u
  domain logons = Yes
  os level = 65
  domain master = Yes
  preferred master = Yes
  idmap uid = 10000-20000
  idmap gid = 10000-20000
  vfs object = solarisacl
#============================ Share Definitions ==============================
[homes]
   comment = Home Directories
   browseable = no
   writable = yes
   profile acls = yes
   valid users = %S
   vfs objects = shadow_copy

 [netlogon]
   comment = Network Logon Service
   path = /var/samba/netlogon
   guest ok = yes
   writable = no
   share modes = no

[Profiles$]
    path = /usr/local/samba/profiles
    browseable = no
    guest ok = yes

[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   guest ok = no
   writable = no
   printable = yes

[share1]
path = /test/shadow
guest ok = Yes
writable = yes
vfs objects = shadow_copy
public = yes

アドバイスを頂きたくお願いします。

かしま よしひと





samba-jp メーリングリストの案内