Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba does not start
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3610

PostPosted: Fri Apr 18, 2014 5:26 am    Post subject: Samba does not start Reply with quote

Hi, ALL,
I am trying to make a use of Samba.
What I have here is the wireless network with Windows XP and Gentoo.

The point of me using Samba is to access some files on the Samba share from Windows XP.

I followed the instructions described here.

Now when I tried to do the step: "Starting the Samba service" I have the following output:

Code:

IgorReinCloud igor # /usr/bin/testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[printers]"
WARNING: The security=share option is deprecated
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
   workgroup = MSHOME
   server string = Samba Server
   interfaces = lo, wlan0
   bind interfaces only = Yes
   security = SHARE
   log file = /var/log/samba/log.%m
   max log size = 50
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   local master = No
   dns proxy = No
   idmap config * : backend = tdb
   hosts allow = 192.168.1.9
   hosts deny = 0.0.0.0/0

[homes]
   comment = Home Directories
   read only = No
   browseable = No

[printers]
   comment = All Printers
   path = /var/spool/samba
   printable = Yes
   print ok = Yes
   browseable = No
IgorReinCloud igor # rc-update add samba default
 * service samba added to runlevel default
IgorReinCloud igor # /etc/init.d/samba start
 * WARNING: samba is scheduled to start when net.eth0 has started
IgorReinCloud igor # ls -la /var/log/samba
total 8
drwxr-xr-x  2 root root 4096 Apr 13 20:34 .
drwxr-xr-x 10 root root 4096 Apr 17 03:11 ..
-rw-r--r--  1 root root    0 Apr 13 20:34 .keep_net-fs_samba-0
IgorReinCloud igor # smbclient -L localhost
WARNING: The security=share option is deprecated
Enter root's password:
Connection to localhost failed (Error NT_STATUS_CONNECTION_REFUSED)


What confuses me is the phrase

Code:

 * WARNING: samba is scheduled to start when net.eth0 has started


as I bound to wlan0 interface and not eth0.
Also I presume that this is why I have a connection failure on the smbclient.

Can someone sched some light on this please?

Thank you.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3610

PostPosted: Fri Apr 18, 2014 5:43 am    Post subject: Reply with quote

OK, the first issue is solved by thisthread.

But second one still stands.
Entering root password, results in:

Code:

protocol negotiation failed:NT_STATUS_INVALID_NETWORK_RESPONCE


Thank you.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum