openSUSE Forums > Network/Internet » Problems with samba server

Go Back   openSUSE Forums > Network/Internet
Forums FAQ Members List Search Today's Posts Mark Forums Read


Network/Internet Questions about internet applications, network configuration, usage (SAMBA, network printing, NFS)

Reply
Page 2 of 2 1 2
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 29-Aug-2009, 17:49
Puzzled Penguin
 
Join Date: Aug 2009
Posts: 9
ktix007 hasn't been rated much yet
Default Re: Problems with samba server

Ok now I get the samba server option. But
Quote:
Back on the desktop, Right click the "GDH" folder you created and choose "Sharing Options".
There's no "Sharing options" option...

Do I have to touch anything else in the Samba server configuration



Reply With Quote
  #12 (permalink)  
Old 29-Aug-2009, 18:46
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,883
swerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the rough
Default Re: Problems with samba server

Here's a sure fire (I hope) way of achieving it:
Put this stanza in the file smb.conf, located at /etc/samba/smb.conf. You can open the file with this command in a terminal, and then edit it:
Code:
gnomesu gedit /etc/samba/smb.conf
The stanza goes at the bottom:
Quote:
[GDH]
path = /home/YourUserName/Desktop/GDH
read only = no
guest ok = yes
then run this command to make it accessible to guests:
Code:
sudo chmod 777  /home/YourUserName/Desktop/GDH
Check in the Yast RunLevel editor that smb and nmb are switched on.

That achieves this:
Quote:
* Click the "Computer" menu in the bottom left, choose Control Center.
* Choose "YaST" at the bottom, the password is "mono".
* Choose "Network Services", then "Samba Server".
* Check "Allow Users to Share Their Directories" on the "Shares" tab.
* Choose "Finish".
* Back on the desktop, Right click the "NClass" folder you created and choose "Sharing Options".
* Check "Share this folder" and "Allow other people to write to this folder".
* Click "Modify Share".
PS: Replace YourUserName with your username
__________________
Drop in and visit some time.
Reply With Quote
  #13 (permalink)  
Old 29-Aug-2009, 19:36
Puzzled Penguin
 
Join Date: Aug 2009
Posts: 9
ktix007 hasn't been rated much yet
Default Re: Problems with samba server

I think it didn't work! I do this:

Quote:
Now go back to Windows, and access your new share by typing "\\mono\nclass" into the Run dialog. Copy your NClass project to the Mono image share.
But it says Windows cannot acces \\mono\GDH

I think I did everything you told me.
Reply With Quote
  #14 (permalink)  
Old 29-Aug-2009, 20:45
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,883
swerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the rough
Default Re: Problems with samba server

Please post here the returns ypou get from these two commands:
Code:
testparm
Quote:
cat /etc/samba/smb.conf | egrep "workg|WORKG"
They will show your setup more closely
__________________
Drop in and visit some time.
Reply With Quote
  #15 (permalink)  
Old 30-Aug-2009, 06:31
Puzzled Penguin
 
Join Date: Aug 2009
Posts: 9
ktix007 hasn't been rated much yet
Default Re: Problems with samba server

1:
Code:
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[htdocs]"
Processing section "[GDH]"
Loaded services file OK.
Server role: ROLE_DOMAIN_MEMBER
Press enter to see a dump of your service definitions

[global]
	workgroup = MONO
	security = DOMAIN
	username map = /etc/samba/smbusers
	add machine script = /usr/sbin/useradd  -c Machine -d /var/lib/nobody -s /bin/false %m$
	domain master = No
	usershare allow guests = Yes
	usershare max shares = 100
	usershare owner only = No
	idmap uid = 10000-20000
	idmap gid = 10000-20000

[homes]
	read only = No
	inherit acls = Yes
	browseable = No

[htdocs]
	path = /srv/www/htdocs/
	read only = No
	inherit acls = Yes

[GDH]
	path = /home/rupert/Desktop/GDH
	read only = No
	guest ok = Yes
2:
Code:
workgroup = MONO
Reply With Quote
  #16 (permalink)  
Old 30-Aug-2009, 06:44
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,883
swerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the rough
Default Re: Problems with samba server

You should edit the file smb.conf and put this stanza in the place of the current [global] stanza:
Code:
[global]
       workgroup = MONO
       netbios name = mono
       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
The rest of the smb.conf file is OK for now.

When finished, reboot Suse, pause, reboot windows, pause, reboot Suse, pause, reboot windows. That forces them to start talking.
__________________
Drop in and visit some time.
Reply With Quote
  #17 (permalink)  
Old 30-Aug-2009, 07:31
Puzzled Penguin
 
Join Date: Aug 2009
Posts: 9
ktix007 hasn't been rated much yet
Default Re: Problems with samba server

Quote:
When finished, reboot Suse, pause, reboot windows, pause, reboot Suse, pause, reboot windows. That forces them to start talking.
What does the pause mean?
Reply With Quote
  #18 (permalink)  
Old 30-Aug-2009, 08:46
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,883
swerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the rough
Default Re: Problems with samba server

Quote:
Originally Posted by ktix007 View Post
What does the pause mean?
Completely finish booting + 1/2 minute (fully established network communications).
__________________
Drop in and visit some time.
Reply With Quote
  #19 (permalink)  
Old 30-Aug-2009, 09:41
Puzzled Penguin
 
Join Date: Aug 2009
Posts: 9
ktix007 hasn't been rated much yet
Default Re: Problems with samba server

Hey it worked!!! Yeah! Thank you very much.
Reply With Quote
  #20 (permalink)  
Old 30-Aug-2009, 15:47
swerdna's Avatar
Global Moderator
 
Join Date: Mar 2008
Location: Oz
Posts: 4,883
swerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the roughswerdna is a reputation jewel in the rough
Default Re: Problems with samba server

Quote:
Originally Posted by ktix007 View Post
Hey it worked!!! Yeah! Thank you very much.
Well done. That Samba is one of the harder ones.
__________________
Drop in and visit some time.
Reply With Quote
Reply
Page 2 of 2 1 2

Bookmarks

Tags
mono, opensuse, problems, server, smba


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2