• Post Reply Bookmark Topic Watch Topic
  • New Topic

SAMBA config. on Linux  RSS feed

 
Frank Lin
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Has anyone setup samba on Linux successfully? I had Red Hat 6.2 and went through the config. in /etc/smb.conf. The daemons of smbd and nmdb started OK, but when I tried smbclient -L locolhost, it came back with error: Can not start smb session. Any ideas?
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was able to get it working on RH 7.1, 7.2 and Mandrake 8.0 and 8.1.
In the smb.conf file, usually be default there is a line commented with a ; that says IP's Allowed. Make sure that is uncommented and you add your IP to the list. You only need the first 3 octets of the IP followed by a dot. i.e. 127.0.0.
That was the key to getting mine to work. What was the error message when you tried it? That would help me help you a little better because in getting it to work, I probably ran across every error possible.
 
Frank Lin
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gregg,
Thanks for the reply. The message that I got when starting smbclient is
session request to localhost failed
session request to *SMBSERVER failed
I wish there were more meaningful message that may hint what is wrong.
If you don't mind, could you list steps and parameters to get samba up and running? At least that could help to rule out any possible installation problem on my machine.
Thanks.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You bet I will. Though it will be later before I can. I need to get my paper from home where I wrote down the entire process. I can give you a link that will help you. This is how I learned to do it.
http://us1.samba.org/samba/samba.html
That is the homepage for the following link:
http://us1.samba.org/samba/docs/Samba-HOWTO-Collection.html
That link is awesome, tells you almost everything you need to know to get it up and running. Let me know if you still need my process, but it is basically taken from that page.
 
Frank Lin
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gregg,
Thank you for your help. It works.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Np problem, glad I could help.
Go Linux!!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!