|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Network/Internet Questions about internet applications, network configuration, usage (SAMBA, network printing, NFS) |
![]() |
|
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi! I was following this guide about porting windows forms apps to linux using Mono: Guide: Porting Winforms Applications - Mono
But it uses an older version of OpenSuse (10.2) and the VMWare image that I have is Opensuse 11.1 and I can't find the "Samba server" option in "Network Services". Quote:
Thanks.
|
|
|||
|
You can edit /etc/samba/smb.conf directly via your favorite editor. I prefer using a CLI edtitor like pico, but thats a matter of personal preference. As with many servers, they often run without graphical desktops, so manual configuration is necessary. (I had such a task assigned to me this week). If you have a graphical desktop, you might like to use
kdesu kwrite /etc/samba/smb.conf (KDE Desktop) gnomesu gedit /etc/samba/smb.conf (Gnome Desktop) Swerna's excellent samba guide is a useful reference for configuring smb.conf as required. |
|
|||
|
I did what you told me and I get this:
Code:
[global] workgroup = MONO security = user passdb backend = smbpasswd username map = /etc/samba/smbusers [homes] inherit acls = Yes browseable = No read only = No [htdocs] inherit acls = Yes browseable = Yes path = /srv/www/htdocs/ read only = No |
|
|||
|
You need to add share entries . For example, a publicly shared directory
[shared] path = /path/to/shared/directory public = yes only guest = yes writable = yes printable = no Lots more share examples here. If you explain how you want to set up access (with/without passord, which group(s), r/w access), then someone may be able to help create the exact entry required. I'm sure you'll figure it out if you take the time to read the examples though. ![]() BTW: Don't forget to restart the samba server if you make changes to smb.conf |
|
||||
|
Don't fixate on the old "allow users to share directories....". The wording leads ppl to think that's a good way to share stuff over Samba. It's not much good at all, just a beginning, and better set elsewhere.
Have a read of this: Samba and Suse: HowTo Set up an openSUSE-Windows Home Office LAN/Network. Versions 10, 11
__________________
Drop in and visit some time. |
|
||||
|
Code:
[global]
workgroup = MONO
netbios name = name_of_this_workstation
name resolve order = bcast host lmhosts wins
server string = ""
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
use client driver = yes
map to guest = Bad User
local master = yes
os level = 33
usershare allow guests = Yes
usershare max shares = 100
usershare owner only = False
[homes]
comment = Home Directories
valid users = %S
browseable = No
read only = No
inherit acls = Yes
[htdocs]
path = /srv/www/htdocs/
read only = No
force user = billybob
__________________
Drop in and visit some time. |
|
|||
|
Sorry but I don't use Linux usually and I don't understand half of the things.
Quote:
Quote:
|
|
||||
|
You can do all those steps -- if you're using Gnome Desktop. Are you?
If not using Gnome, there's a different way to do it. And even if using Gnome, there's an optional alternate way to do it. Q1: What are you using, Gnome or KDE? Q2: and is there (in your case) really a directory called NClass on the Desktop? Q3: I'm wondering which Samba RPMs you have installed. Can you run this command and copy the results back here: Code:
rpm -qa | grep samba
__________________
Drop in and visit some time. |
|
|||
|
Q1: I'm using GNOME
Q2: The directorie on my desktop is called "GDH" Q3: Code:
samba-3.2.7-11.3.2 samba-client-3.2.7-11.3.2 |
|
||||
|
AHA -- I think we've found the problem. Go to Yast --> soptware module and install the apps yast2-samba-server and yast2-samba-client. Then try again for the module "samba server" in Yast --> network services. While you're installing software, make sure the nautilus sharing tool is installed. The RPM is nautilus-share.
__________________
Drop in and visit some time. |
![]() |
|
| Bookmarks |
| Tags |
| mono, opensuse, problems, server, smba |
| Thread Tools | |
| Display Modes | |
|
|