Can't create a Local Network Share

Asked by James Danko

I can not create a Local Network Share. This did work after installing Ubuntu 14.04 LTS. After numerious update it was noticed that a windows 10 unit nor a Ubuntu 12.04 LTS that both worked at one time.
o I can not open samba. It asks for my password and when entered no error appears no, app opens.
o Nether the windows unit nor the Ububtu laptop can access the Ubuntu 14.04 unit.
o Arp shows it is on the network. Pinging it, works.
o The 14.04 unit can access the 12.04 unit but trying to access the windows unit it asks for a login and password. It never asked that before.

I removed and reinstalled samba without any change in the symptoms?

With Samba removed, when I go to share a directory I get a error:
Samba's testparm returned error 1: Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Error loading services.

This directory was previouslt shared and was working. I noticed the share was lost about the time it could not be seen when browsing the network.

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

use:

sudo smbpasswd -a $USER

as given (no need to edit) and you can then authenticate to the share as your username using the password you specify.

Revision history for this message
James Danko (j-danko) said :
#2

o I re-installed Samba
o ran - sudo apt-get install samba samba-common system-config-samba
python-glade2 gksu
*as per instructions with no errors
o Entered: sudo smbpasswd -a $USER
WARNING: Ignoring invalid value 'share' for parameter 'security'
Can't load /etc/samba/smb.conf - run testparm to debug it
o ran "testparm".
  testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The "syslog only" option is deprecated
WARNING: Ignoring invalid value 'share' for parameter 'security'
Error loading services.
o No idea.
     o syslog only
     /etc/samba/samba.conf entry is:
* syslog only = no *

???
**
On 05/03/2016 12:08 PM, actionparsnip wrote:
> Your question #293203 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/293203
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> use:
>
> sudo smbpasswd -a $USER
>
> as given (no need to edit) and you can then authenticate to the share as
> your username using the password you specify.
>

Revision history for this message
James Danko (j-danko) said :
#3

I reloaded a backup copy of /etc/samba/samba.conf
Now both the Ubuntu 12.04 and the windows 10 units can see the Ubuntu
14.04 unit while browsing...
The only thing is, that it asks for a login and password.
Would it be possible to obtain a clean version of this file... Jim

On 05/03/2016 01:27 PM, James Danko wrote:
> Your question #293203 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/293203
>
> Status: Answered => Open
>
> You are still having a problem:
> o I re-installed Samba
> o ran - sudo apt-get install samba samba-common system-config-samba
> python-glade2 gksu
> *as per instructions with no errors
> o Entered: sudo smbpasswd -a $USER
> WARNING: Ignoring invalid value 'share' for parameter 'security'
> Can't load /etc/samba/smb.conf - run testparm to debug it
> o ran "testparm".
> testparm
> Load smb config files from /etc/samba/smb.conf
> rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
> WARNING: The "syslog only" option is deprecated
> WARNING: Ignoring invalid value 'share' for parameter 'security'
> Error loading services.
> o No idea.
> o syslog only
> /etc/samba/samba.conf entry is:
> * syslog only = no *
>
> ???
> **
> On 05/03/2016 12:08 PM, actionparsnip wrote:
>> Your question #293203 on Ubuntu changed:
>> https://answers.launchpad.net/ubuntu/+question/293203
>>
>> Status: Open => Answered
>>
>> actionparsnip proposed the following answer:
>> use:
>>
>> sudo smbpasswd -a $USER
>>
>> as given (no need to edit) and you can then authenticate to the share as
>> your username using the password you specify.
>>

Revision history for this message
Launchpad Janitor (janitor) said :
#4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.