Jorge Videgain Marquez
2003-Feb-07 08:42 UTC
[Samba] Rare problem with MS Office shared docs
Hello I was working with an old version of Samba (2.0.6) and all was working correctly but i have installed a new version (2.2.3) and problems has started. The smb.conf file is the same that i was using at prior version (i have included it at end of file) The problem seem to be only with MS Office shared files. When an user modify or write a new MS Office file nobody else than the owner can modify it, he can only read it. I have check file permissions and are set to 0777 so i dont understand why this is happening. I have created TXT file and this problem dosent happen. I have chaged permissions to: create mask = 0777 force create mode = 0777 directory mask = 0777 force directory mode = 0777 and even so, problems dosent desapear. Only way i have found to make ir work is to force user and force group to an specific one, but i lose information about who create or modify the file. Can anybody help me? Regards Guanche ------------ smb.conf file --------------------- [global] workgroup = INTER_RED1 netbios name = CACHO1 netbios aliases = VIRTUAL map to guest = Bad User passwd chat = *nuevo*password* %n\n *nuevo*password* %n\n *cambiado* log file = /etc/samba/log.%m time server = Yes keepalive = 30 lm announce = False domain master = False [admon] comment = Directorio de Administracion path = /datos/admon guest account valid users = @ADMON write list = @ADMON read only = No create mask = 0770 force create mode = 0770 directory mask = 0770 force directory mode = 0770 [homes] comment = Directorios de usuario read only = No create mask = 0750 browseable = No [public] comment = Directorio de datos generales path = /datos/public valid users = @general write list = @general read only = No create mask = 0770 force create mode = 0770 directory mask = 0770 force directory mode = 0770 [printers] comment = All Printers path = /tmp create mask = 0700 guest ok = Yes printable = Yes browseable = No ------------- End of smb.conf file ---------------
Jorge Videgain Marquez
2003-Feb-10 07:28 UTC
[Samba] Rare problem with MS Office shared docs (solved)
All problem were solved doing this: smb.conf file was left configured with security=user and write and acces privileges set to @mygroup 1) i change from Plain Text Password to encrypted 2) i use smbpaswd tp add all my users and set password for them (this was not requiered at my previous samba version) 3) i restart all samba services (changes were not readed correctly without doing this) all seems to work fine now. Thank you everybody for your help regards guanche