OOo and smb

O. Sinclair o.sinclair at gmail.com
Tue Jan 2 10:28:59 UTC 2007


Michael W. Holdeman wrote:
> On Wednesday 27 December 2006 01:27, O. Sinclair wrote:
>> Chris Miller wrote:
>>> I wasn't aware it didn't work.  Are there any other more detailed
>>> symptoms you can give me?  So far I have two mysterious black boxes in
>>> my head with a beige Cat5e cable strung between them suspended in the
>>> swirling mists of my mind's eye (on the familar, soft velvety black
>>> backdrop).
>>>
>>> On 12/26/06, Michael W. Holdeman <lists at ptfd.org> wrote:
>>>> I srill must solve this issue, How can I get OOo to open and save files
>>>> on smb shares?
>>>>
>>>> I have installed openoffice-gnome nd gnome-vfs, but still no go?
>>>>
>>>> Mike
>> The problem is with Win2003 boxes, Chris. I am the one who tipped about
>> the gnome-vfs that I have had working before. Ooo only opens in
>> read-only on Win2003 shares unless you trick it by using cifs instead of
>> smb or load the gnome-vfs that does not have the problem.
>>
>> Mike - I am home on Xmas leave, when I get back in office I will do a
>> proper check on the boxes I have working.
>>
>> Sinclair
> 
> Sinclair,
> 
> Here is what I have done, I try with just OOo-2.0.4 running and it won't even 
> open the docs, After installing openoffice-gnome, and gnome-vfs it will open 
> read only.
> 
> I am now also considering that the department wants to mount everyone's home 
> directopries on this w2003 server, then they could login from any desktop in 
> the department and have the same home. Is this working? Can I just add the 
> parent share to fstab and mount it then just link to the various users homes? 
> I take it I would have to assign each user account on each desktop the same 
> UID, and then set it up to authenticate somehow with kde to the appropriate 
> home upon login.
> 
> Mike
> 
Here is the full string for mounting r/w an smb-share on a Win2003 
server (running fine on Kubuntu Dapper 6.06 and Edgy 6.10)
Create a file "whatever.sh" with this string

'mount -t cifs //server-ipnumber/validservershare /mnt/validmntfolder -o 
username=validuseronserver,password=passwordforthatuseronserver,user, 
fmask=0111,dmask=0000'

then make the file executable. Then you have to include it in the users 
loginscript by copying it to /etc/init.d and run some command I can't 
remember at this moment.

Alternatively have the user run the script with sudo when they want to 
mount their shares.

Sinclair




More information about the kubuntu-users mailing list