<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000066">
<font size="-1"><font face="Arial">I have managed (finally!) to mount
my server's SAMBA shares to my kubuntu box so that it is usable with
Openoffice files from the Kubuntu feisty desktop. To achieve this,
special configuration have been done in the samba server, basically:<br>
<br>
<font face="Courier New">[global]<br>
...<br>
<b>kernel oplocks = no</b><br>
<br>
[datos]<br>
   comment = Directorio datos NETPLC/INTRANSYS<br>
   path = /datos<br>
   read only = No<br>
   browseable = yes<br>
   guest ok = no<br>
   printable = no<br>
<br>
   create mask = 0770                   #Esta es una máscara - Quita
los permisos de o+rwx, pero no añade<br>
                                        #Permisos a user ni group<br>
   directory mask = 2770                #Análogo a create mask pero
para directorios<br>
<br>
<b>   oplocks = yes<br>
   share modes = yes<br>
   locking = yes<br>
   strict locking = no<br>
   blocking locks = no<br>
</b></font><br>
With this server's configuration, after installing smbfs package in the
client (!!! important, don't know why, else it does not work), I am
able to mount my server's share with:<br>
<br>
<font face="Courier New">$ <b>sudo mount -t cifs
//espada.netplc.com/datos /home/jferrando/cespada -o
user=jordi,iocharset=utf8</b></font><br>
<br>
And openoffice can read and write files, even locking </font></font><font
 size="-1"><font face="Arial">happens </font></font><font size="-1"><font
 face="Arial">when a file is opened from my linux desktop and some
Windows machine at the same time. In the windows machine it opens the
file as read-only, and in the Linux desktop I get one I/O error (at
least I can't overrite my coleague's opened files!).<br>
<br>
I have one "annoying" feature now, tough:<br>
<br>
I have file and directory creation masks to allow a security policy
based on groups at the SAMBA server (Kubuntu 6.06 LTS), but when I try
to copy and paste files with konqueror, I always get an annoying
message:<br>
<br>
<b>No se pudieron cambiar los permisos de<br>
/home/jferrando/cespada/netplc/users/jferrando/temp/manolo.pdf</b><br>
<br>
Means "Could no change the permissios of the file ...".<br>
Any idea?<br>
<br>
... time to get Linux desktop usable is coming closer ...<br>
<br>
</font></font>
<div class="moz-signature">-- <br>
<meta http-equiv="CONTENT-TYPE" content="text/html; ">
<title></title>
<meta name="GENERATOR" content="OpenOffice.org 2.0  (Win32)">
<meta name="CREATED" content="20040701;16532145">
<meta name="CHANGED" content="20040701;16593493">
<p
 style="border: medium none ; padding: 0cm; margin-left: 0.4cm; margin-bottom: 0cm;">
<font face="Arial, sans-serif"><font style="font-size: 11pt;" size="2"><b>Jordi
Ferrando Fabra</b> </font></font>
</p>
<p
 style="border: medium none ; padding: 0cm; margin-left: 0.4cm; margin-bottom: 0cm;">
<font face="Arial, sans-serif"><font style="font-size: 11pt;" size="2"><font
 size="2"><font color="#0000ff">Director
Técnico</font></font><br>
<font size="2"><font color="#0000ff">NETPLC</font></font><br>
<font size="2"><font color="#0000ff">Camino
Viejo Castellón-Onda SN</font></font><br>
<font size="2"><font color="#0000ff">12540
Vila-real (Castellón) España</font></font><br>
<font size="2"><font color="#0000ff">Tlf:
+34 964 506174 Fax: +34 964 506173</font></font><br>
<font size="2"><font color="#0000ff"><a class="moz-txt-link-abbreviated" href="http://www.netplc.com">www.netplc.com</a></font></font></font></font></p>
</div>
</body>
</html>