[cw-discuss] samba shares > cxoffice-linux

Richard Lemay lemrichard at yahoo.com
Mon Mar 5 19:55:51 CST 2007


That's a pretty comprehensive answer.

I would add that you can make a little script that will mount the 
directory when you open a GNOME or KDE session by putting a script under 
~/.config/autostart or .kde/Autostart.

Richard


Laurent Dinclaux a écrit :
>> Richard, I don't want to sound "stupid" but do you have any better 
>> cleaner
> 
> For ubuntu and kubuntu edgy it is easy! Fusesmb is in the repositories
> maby in universe, not sure.
> 
> Install samba
> 
> sudo apt-get install fuse-utils libfuse2 fusesmb
> 
> sudo adduser youruser fuse
> 
> sudo chgrp fuse /dev/fuse
> 
> mkdir -p Network/SMB
> 
> cd Network/
> 
> fusesmb SMB
> 
> 
> to unmount use:
> 
> fusermount -u SMB
> 
> to start it automaticly add 'fusesmb Network/SMB' to startup apps.
> 
> You mays also create a ~/.smb/fusesmb.conf config file (don't forget
> to chmod 600 ~/.smb/fusesmb.conf). Here is sample content
> 
> ; Global settings
> [global]
> 
> ; Default username and password
> username=user
> password=totallysecret
> 
> ; List hidden shares
> showhiddenshares=true
> 
> ; Connection timeout in seconds
> timeout = 10
> 
> ;Interval for updating new shares in minutes
> interval = 10
> 
> ; Section for servers and/or workgroups to ignore
> [ignore]
> servers=SERVER,SERVER2,SERVER3
> workgroups=WORKGROUP,WG2
> 
> ; Share-specific settings
> [/SERVER/SHARE]
> username=john
> password=doe
> 
> ; Server-specific settings
> [ignore]
> servers=SERVER,SERVER2,SERVER3
> workgroups=WORKGROUP,WG2
> 
> ; Share-specific settings
> [/SERVER/SHARE]
> username=john
> password=doe
> 
> ; Server-specific settings
> [/SERVER]
> username=jane
> password=doe
> showhiddenshares=true
> ignore=true
> 
> 
> 
> 



More information about the discuss mailing list