nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Samba Server not working

This is a discussion on Samba Server not working within the Getting started tutorials forums, part of the Linux Getting Started category; Yesterday, I was checking the features of winbind using authconfig-tui in RHEL5. it works but I started getting problem in ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Getting started tutorials

Linux answers from nixCraft.


Getting started tutorials So much to read, so little time! If that is your problem, we have solution. Read our FAQ and tutorials to help you cut through the clutter of information overload. Only members of "contributors" group can post new tutorials. Other members can just reply to thread.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 21-09-2007, 05:42 PM
Member
User
 
Join Date: Jul 2007
Location: Hyderabad
OS: Redhat RHEL, Solaris
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 3
vaibhav.kanchan is on a distinguished road
Default Samba Server not working


Yesterday, I was checking the features of winbind using authconfig-tui in RHEL5. it works but I started getting problem in samba server.

I have checked the /etc/samba.smb.conf file . It was fine and it didn't give any error message when I executed the command testparm -s.

Service smb restart was also fine.

When I executed the command findsmb, it took some time to display the listed smb shares in the network.

When I have tried the command smbclient -U username //station1.example.com

It gave me an error message

NT_Server_No_logon found something like this

I have checked the log messages and i got he following error messages

sep 20 23:16:30 station1 nmbd[3084] : [2007/09/20] nmbd/nmbd.c: terminate (5

sep 20 23:16:30 station1 nmbd[3084] : [2007/09/20] GOT SIGTERM : going down

sep 20 23:16:30 station1 smbd[4180] : [2007/09/20] printing/nt_printing.c: nt_printing_init (649)

sep 20 23:16:30 station1 smbd[4180] : [2007/09/20]: nt_printing_init: error checking published printers: WERR_ACCESS_DENIED

I was confused after seeing the error message because there is printer shared through samba at all. I have stopped cups service but the error message still persists.

Please let me know the possible reason behind this and the solution for this issue.

However, I have reinstalled the samba package and issue is no more now but I still would like to know the reason for the error message.
Reply With Quote
  #2 (permalink)  
Old 25-12-2007, 06:30 AM
Junior Member
User
 
Join Date: Jul 2007
OS: Debian
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
vimalgoel is on a distinguished road
Default

as per my knowledge, It's not a Samba problem but a problem with the configuration of your machine.

Edit /etc/sysconfig/network

and change

HOSTNAME=???
Reply With Quote
  #3 (permalink)  
Old 08-01-2008, 06:14 PM
Junior Member
User
 
Join Date: Jan 2008
OS: Debian
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
suhasbansode is on a distinguished road
Default

Dear Vaibhav,
If you are using RHEL5 and configuring samba on the same, you must run selinux command.
use " man 8 samba_selinux"
you get a manual page of selinux with command.

suhas

Quote:
Originally Posted by vaibhav.kanchan View Post

Yesterday, I was checking the features of winbind using authconfig-tui in RHEL5. it works but I started getting problem in samba server.

I have checked the /etc/samba.smb.conf file . It was fine and it didn't give any error message when I executed the command testparm -s.

Service smb restart was also fine.

When I executed the command findsmb, it took some time to display the listed smb shares in the network.

When I have tried the command smbclient -U username //station1.example.com

It gave me an error message

NT_Server_No_logon found something like this

I have checked the log messages and i got he following error messages

sep 20 23:16:30 station1 nmbd[3084] : [2007/09/20] nmbd/nmbd.c: terminate (5

sep 20 23:16:30 station1 nmbd[3084] : [2007/09/20] GOT SIGTERM : going down

sep 20 23:16:30 station1 smbd[4180] : [2007/09/20] printing/nt_printing.c: nt_printing_init (649)

sep 20 23:16:30 station1 smbd[4180] : [2007/09/20]: nt_printing_init: error checking published printers: WERR_ACCESS_DENIED

I was confused after seeing the error message because there is printer shared through samba at all. I have stopped cups service but the error message still persists.

Please let me know the possible reason behind this and the solution for this issue.

However, I have reinstalled the samba package and issue is no more now but I still would like to know the reason for the error message.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Bash not working! Mwalimugini Getting started tutorials 4 24-03-2008 09:52 PM
logrotate not working muks Web servers 2 17-03-2007 04:50 AM
HP Unix Samba to Windows server lmoodley HP-UX 0 23-01-2007 04:31 PM
Server monitoring (samba,NFS,telnet,ssh,ftp) warren Linux software 11 26-06-2006 07:10 PM
Is NTP Working? illtestu Linux software 1 22-05-2006 10:36 PM


All times are GMT +5.5. The time now is 04:14 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38