[Samba] (no subject)

Vaisonet contact at vaisonet.com
Mon Apr 10 07:27:17 GMT 2006


Owner and file permissions seem to be ok.

This my smb.conf :

[global]
      netbios name = CUMULUS
      server string = Serveur de fichiers
      workgroup = RC

      ; domain & local master browser
      ; coz we're dealing with Win2k
      os level = 65
      prefered master = yes
      domain master = yes
      local master = yes
      domain logons = yes

      ; misc options
      socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 
SO_RCVBUF=8192
      time server = yes

      ; do not show files starting with dots
      hide dot files = yes

      ; Central European code page support
      client code page = 852
      character set = ISO8859-2

      ; do not allow guest access, use only local system accounts
      security = user
      guest ok = no
      invalid users = bin deamon sys man postfix mail ftp
      ;admin users = @wheel

      ; domain administrators
      domain admin group = root
      domain admin users = root
   ;add user script = /usr/sbin/useradd -n -g machines -d /dev/null -s 
/bin/false %m$
    add user script = /usr/sbin/useradd -d /dev/null -g machines -c 
'Machine Account' -s /bin/false -M %u

      ; use encrypted passwords
      encrypt passwords = yes

      ; logging (max log size is in kB)
      log level = 2
      log file = /var/log/samba/log.%L
      max log size = 1000
      debug timestamp = yes
      syslog = 1

      ; user roaming profiles path
      logon path = \\%N\profiles\%u

      ; general logon script (in DOS format)
      logon script = logon.bat

   case sensitive = no
   wins support = yes

; share for domain controller
[netlogon]
      path = /home/netlogon
      public = no
      writeable = no
      browsable = no
      valid users = root @ste_varinard

; share for storing user profiles
[profiles]
      path = /home/profiles
      writeable = yes
      create mask = 0700
      directory mask = 0700
      browsable = no
      valid users = root @ste_varinard

[Documents]
   path = /home/Documents
   strict locking = yes
   writeable = yes
   create mode = 0770
      directory mode = 0770
   valid users = root @ste_varinard
      public = yes
   #définition de la Corbeille
   vfs object = recycle
   recycle:repository = ../../non-sauve/Corbeille
   recycle:keeptree = yes
   recycle:versions = yes
   recycle:touch = yes
   recycle:maxsize = 204857600

[Banque images]
   comment = Non sauvegardé
   strict locking = yes
   path = /non-sauve/b_img
   writeable = yes
   create mode = 0770
      directory mode = 0770
   valid users = root @ste_varinard
      public = yes
   #définition de la Corbeille
   vfs object = recycle
   recycle:repository = ../../non-sauve/Corbeille
   recycle:keeptree = yes
   recycle:versions = yes
   recycle:touch = yes
   recycle:maxsize = 204857600

[Partage]
   comment = Pour mettre les fichiers utilisés par les programmes
   path = /home/partage
   strict locking = yes
   writeable = yes
   create mode = 0770
      directory mode = 0770
   valid users = root @ste_varinard
      public = yes

[Mail]
   comment = Mozilla Thunderbird
   path = /home/mail
   strict locking = yes
   writeable = yes
   create mode = 0770
      directory mode = 0770
   valid users = root daubepart mbotteau
      public = yes
   veto oplock files = /*.mab/

[Money]
   path = /home/money
   strict locking = yes
   writeable = yes
   create mode = 0750
      directory mode = 0750
   valid users = root mcvarinard
      public = yes
   #définition de la Corbeille
   vfs object = recycle
   recycle:repository = ../../non-sauve/Corbeille
   recycle:keeptree = yes
   recycle:versions = yes
   recycle:touch = yes
   recycle:maxsize = 204857600

[Devis]
   path = /var/www/html/devis
   strict locking = yes
   oplocks = no
   writeable = yes
   create mode = 0770
      directory mode = 0770
   valid users = root @ste_varinard
      public = yes
   #définition de la Corbeille
   vfs object = recycle
   recycle:repository = ../../../../non-sauve/Corbeille
   recycle:keeptree = yes
   recycle:versions = yes
   recycle:touch = yes
   recycle:maxsize = 204857600

[Corbeille]
   comment = Corbeille Serveur de fichiers
   path = /non-sauve/Corbeille
   writeable = yes
   create mode = 0700
      directory mode = 0770
   valid users = root @ste_varinard
      public = yes

[Applications]
   comment = Logiciels communs
   strict locking = yes
   path = /non-sauve/appli
   writeable = yes
   create mode = 0770
      directory mode = 0770
   valid users = root @ste_varinard
      public = yes

Thanks for your help :-)

Maxime



Gary Dale a écrit :
> Can you go onto the Linux server and look at the actual owner:group 
> and file permissions? Check both the files and the directory they are 
> part of. If they are what you expect to see, then can you post a 
> sample of them and post your smb.conf file?
>
>
> Vaisonet wrote:
>
>> Samba is 3.0.22 on a CentOS 4 box.
>> Only Word and Excel write a temporary file, i have the same problem 
>> with corel draw, and openoffice.
>> Office is 97 and XP. Openoffice is 2.0.
>>
>> It's happening with eall shared folders.
>> All users have this problems.
>> It's happening only with existing files, previously saved.
>> It's not only happen on files that were created by someone else that 
>> you are now editing.
>>
>> Thanks.
>>
>>
>> Gary Dale a écrit :
>>
>>> contact at vaisonet.com wrote:
>>>
>>>> Hi,
>>>>
>>>> I'm using samba, and sometime i can't save excel ou word file.
>>>> Windows tell me :
>>>> i can't save file as 'filename'. A temporary file 'AE751FLM' was 
>>>> created. Close your file and save it with another name.
>>>>
>>>> What's wrong ?
>>>> Why can i not same file sometime ?
>>>>
>>>> Thanks
>>>>
>>>>  
>>>>
>>> Since you say "sometimes", I assume that sometimes you can save 
>>> these files. A few obvious questions, since I don't know what you've 
>>> tried or your level of expertise:
>>> - which version of Samba are you running?
>>> - is this happening with just excel and word files, or do you have 
>>> problems saving other files as well?
>>> - which version of M$ Office are you using?
>>> - is this happening only in particular directories?
>>> - is this happening only for some users?
>>> - is this happening only on new files or does it happen on existing 
>>> files that you had previously saved?
>>> - is this happening only on files that were created by someone else 
>>> that you are now editing?
>>>
>>>
>>
>
>


-- 
Vaisonet
http://www.vaisonet.com

Tél : 04.90.36.09.45
Fax : 04.90.28.83.81

62, avenue Victor Hugo
BP 18
84110 Vaison la Romaine




More information about the samba mailing list