Results 1 to 8 of 8

Thread: New samba setup, can't access share

  1. #1
    Join Date
    Jan 2010
    Beans
    19

    New samba setup, can't access share

    Hello all, I've been searching through many a posts here and have found some similar threads, but nothing thus far to solve my problem. Here's the low down: I'm running Karmic, newly installed with the lastest version of Samba. Here is my (very basic) smb.conf:

    [global]
    netbios name = MATTSERV-SERVER
    guest account = guest
    writeable = yes
    workgroup = MSHOME
    os level = 20
    username map = /etc/samba/user.map
    encrypt passwords = true
    create mode = 777
    public = yes
    directory mode = 777

    [share]
    path = /home/mattserv/Shared
    comment = Shared files

    Right clicking the "Shared" folder in /home/mattserv/ gives the following error when attempting to setup a share: 'net usershare' returned error 255: net usershare add: cannot convert name 'Everyone' to a SID. Memory allocation error.

    Restarting Samba from the command line (/etc/init.d/samba restart) gives the following messgae:
    *Stopping Samba daemons
    start-syop-daemon: warning: failed to kill 2154: No such process
    *Starting Samba daemons

    /etc/init.d/samba status indicates:
    * nmbd is running
    * smbd is not running

    Webmin indicates everything is running normally, though when attemping to connect to the server through another linux machine, I am able to see the server on the network and see the "Shared" folder. I get this message when attempting to connect: Unable to mount location. Failed to mount Windows share.

    I've set up samba many times usually with minimal problems, though this time I am stumped...

    Matt

  2. #2
    Join Date
    Jan 2010
    Beans
    19

    New samba setup, can't access share

    Posted this in the wrong category initially:

    Hello all, I've been searching through many a posts here and have found some similar threads, but nothing thus far to solve my problem. Here's the low down: I'm running Karmic, newly installed with the lastest version of Samba. Here is my (very basic) smb.conf:

    [global]
    netbios name = MATTSERV-SERVER
    guest account = guest
    writeable = yes
    workgroup = MSHOME
    os level = 20
    username map = /etc/samba/user.map
    encrypt passwords = true
    create mode = 777
    public = yes
    directory mode = 777

    [share]
    path = /home/mattserv/Shared
    comment = Shared files

    Right clicking the "Shared" folder in /home/mattserv/ gives the following error when attempting to setup a share: 'net usershare' returned error 255: net usershare add: cannot convert name 'Everyone' to a SID. Memory allocation error.

    Restarting Samba from the command line (/etc/init.d/samba restart) gives the following messgae:
    *Stopping Samba daemons
    start-syop-daemon: warning: failed to kill 2154: No such process
    *Starting Samba daemons

    /etc/init.d/samba status indicates:
    * nmbd is running
    * smbd is not running

    Webmin indicates everything is running normally, though when attemping to connect to the server through another linux machine, I am able to see the server on the network and see the "Shared" folder. I get this message when attempting to connect: Unable to mount location. Failed to mount Windows share.

    I've set up samba many times usually with minimal problems, though this time I am stumped...

    Matt

  3. #3
    Join Date
    Jan 2010
    Beans
    19

    Re: New samba setup, can't access share

    Also, no firewall running at the moment...

  4. #4
    Join Date
    Jan 2010
    Beans
    19

    Re: New samba setup, can't access share

    Also, no firewall running at the moment...

  5. #5
    Join Date
    Jun 2010
    Beans
    1

    Re: New samba setup, can't access share

    I am having the same problem, any one have any ideas on this?

  6. #6
    Join Date
    Dec 2008
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: New samba setup, can't access share

    Quote Originally Posted by rkd2398 View Post
    I am having the same problem, any one have any ideas on this?
    Is your install configured the same as the OP? It would be best if you start your own thread and explain what you have done so far.

  7. #7
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: New samba setup, can't access share

    Please don't create multiple threads on the same subject, I have merged your two threads.

  8. #8
    Join Date
    Dec 2008
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: New samba setup, can't access share

    Quote Originally Posted by mfcallahan View Post
    Hello all, I've been searching through many a posts here and have found some similar threads, but nothing thus far to solve my problem. Here's the low down: I'm running Karmic, newly installed with the lastest version of Samba. Here is my (very basic) smb.conf:

    [global]
    netbios name = MATTSERV-SERVER
    guest account = guest
    writeable = yes
    workgroup = MSHOME
    os level = 20
    username map = /etc/samba/user.map
    encrypt passwords = true
    create mode = 777
    public = yes
    directory mode = 777

    [share]
    path = /home/mattserv/Shared
    comment = Shared files

    Right clicking the "Shared" folder in /home/mattserv/ gives the following error when attempting to setup a share: 'net usershare' returned error 255: net usershare add: cannot convert name 'Everyone' to a SID. Memory allocation error.

    Restarting Samba from the command line (/etc/init.d/samba restart) gives the following messgae:
    *Stopping Samba daemons
    start-syop-daemon: warning: failed to kill 2154: No such process
    *Starting Samba daemons

    /etc/init.d/samba status indicates:
    * nmbd is running
    * smbd is not running

    Webmin indicates everything is running normally, though when attemping to connect to the server through another linux machine, I am able to see the server on the network and see the "Shared" folder. I get this message when attempting to connect: Unable to mount location. Failed to mount Windows share.

    I've set up samba many times usually with minimal problems, though this time I am stumped...

    Matt
    Matt,

    You are using multiple methods of configuring Samba. Sometimes they conflict. If you are using the GUI then don't configure via the smb.conf file. Usershares are usually configured by using the Nautilus GUI.

    If you want to configure via the smb.conf file then no usershares configuration is needed.

    I have never used Webmin and it is not part of the repos. I know that it can significantly modify how Ubuntu functions.

    My advice is to select one method of configuring Samba and see what happens. This might include you having to reinstall.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •