Author Topic: Re: Help Me Set Up Samba!  (Read 4681 times)

XE1UFO

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: Help Me Set Up Samba!
« on: February 25, 2010, 12:34:38 am »
Dear Friends,

The idea is to have a folder on my Netwalker that that is visible and open (no passwords) to the public, such as my family's WindowsXP and Mac machines, and my own WindowsXP and Ubuntu desktop and latop. The purpose is to move files back and forth, mostly pictures and documents.
 
I have created a folder on my Netwalker's 16-GB microSDHC storage card called "Sharenetwalker", and then installed the proper Samba packages. I also set up the proper sharing options, as I have a trillion times on other Ubuntu installs. Then I was asked to restart session. I did. But when I click on "Create Share", I get an error message: " 'net usershare' returned error 255: cannot convert name "Everyone" to a SID. The connection was refused. Maybe smbd is not running".

HELP!!!!

Thanks in advance!

ptoki

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
    • http://
Re: Help Me Set Up Samba!
« Reply #1 on: February 25, 2010, 02:47:32 am »
Quote from: XE1UFO
Dear Friends,

The idea is to have a folder on my Netwalker that that is visible and open (no passwords) to the public, such as my family's WindowsXP and Mac machines, and my own WindowsXP and Ubuntu desktop and latop. The purpose is to move files back and forth, mostly pictures and documents.
 
I have created a folder on my Netwalker's 16-GB microSDHC storage card called "Sharenetwalker", and then installed the proper Samba packages. I also set up the proper sharing options, as I have a trillion times on other Ubuntu installs. Then I was asked to restart session. I did. But when I click on "Create Share", I get an error message: " 'net usershare' returned error 255: cannot convert name "Everyone" to a SID. The connection was refused. Maybe smbd is not running".

HELP!!!!

Thanks in advance!

Well is smb running?
/etc/init.d/smb status

Then simply put in /etc/samba/smb.conf

[sharename$]
   comment = commentas you wish
   path = /mnt/card/directory
   guest ok = yes
   browseable = yes
   create mask = 0775
   directory mask = 0775
   writeable = yes

The $ sign in sharename means that share will not show up when you browse shares. It will work normally but you will need to type in whole name in form \\computername\sharename$
Thats preferred for security reasons.
If you wish to ignore that simply delete $ sign from sharename

There may be a need for setting workgroup = something in global section but not necessary.

If this fails try to look into logs
/var/log/messages
/var/log/samba
« Last Edit: February 25, 2010, 03:03:03 am by ptoki »

XE1UFO

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: Help Me Set Up Samba!
« Reply #2 on: February 26, 2010, 09:09:01 am »
Thanks a million, Ptoki!

ptoki

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
    • http://
Re: Help Me Set Up Samba!
« Reply #3 on: February 26, 2010, 04:32:44 pm »
Quote from: XE1UFO
Thanks a million, Ptoki!
So i guess it helped
My advice:
Try to master linux from the bottom. GUI overlays are nice but too often dont work properly or not show all useful options.

I will get you to do some test before I will buy netwalker

XE1UFO

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: Help Me Set Up Samba!
« Reply #4 on: February 26, 2010, 08:09:19 pm »
I have tried several times, but even as Root, it won't allow me to save the smb.conf file.
« Last Edit: February 26, 2010, 08:10:14 pm by XE1UFO »

XE1UFO

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: Help Me Set Up Samba!
« Reply #5 on: March 01, 2010, 01:12:10 pm »
Hmmmm!!!! According to this guy, it is NOT possible to set up Samba on the Netwlaker:

http://www.di2.nu/201001/12.htm

 

ptoki

  • Jr. Member
  • **
  • Posts: 90
    • View Profile
    • http://
Re: Help Me Set Up Samba!
« Reply #6 on: March 01, 2010, 02:18:18 pm »
Quote from: XE1UFO
Hmmmm!!!! According to this guy, it is NOT possible to set up Samba on the Netwlaker:

http://www.di2.nu/201001/12.htm

 

Lets clarify situation:
Did you edited files as I suggested? Did it helped?
Can you export directories from netwalker to other computers?
Thats samba.

Other way its mounting network shares. You cant mount shares from other computer? did you read what man mount says about that.

Your problems most likely are not netwalker specific so you can check what other ubuntu users are saying about that.

That guy from your link is having problems with mounting shares from other computers. But he solved it using additional packages for mounting shares as non privileged user.