nixCraft Linux Forum

nixCraft

Linux 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

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 09-21-2007, 06:42 PM
Junior Member
User
 
Join Date: Jul 2007
Location: Hyderabad
My distro: Redhat RHEL, Solaris
Posts: 29
Rep Power: 0
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
Sponsored Links
  #2 (permalink)  
Old 12-25-2007, 07:30 AM
Junior Member
User
 
Join Date: Jul 2007
My distro: Debian
Posts: 8
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 01-08-2008, 07:14 PM
Junior Member
User
 
Join Date: Jan 2008
My distro: Debian
Posts: 1
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

Bookmarks


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 On

Similar Threads

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


All times are GMT +5.5. The time now is 02:12 AM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

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