LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-10-2005, 01:37 PM   #1
yvesg
Member
 
Registered: May 2004
Distribution: SuSe v9.3 Professional
Posts: 33

Rep: Reputation: 15
smbd startup problem


I've upgraded to the latest samba version available and now I get the following error message when starting the smb deamon.

First it seems that smbd and nmbd are starting ok. But when I ask the status it says that smbd is DEAD.

When I look at the log file, I know WHY:

[2005/08/10 00:45:42, 0] groupdb/mapping.c:init_group_mapping(134)
Failed to open group mapping database
[2005/08/10 00:45:42, 0] groupdb/mapping.c:get_group_map_from_gid(275)
failed to initialize group mapping
[2005/08/10 00:45:42, 3] smbd/sec_ctx.cop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/08/10 00:45:42, 3] smbd/sec_ctx.cop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/08/10 00:45:42, 0] lib/account_pol.c:init_account_policy(52)
Failed to open account policy database
[2005/08/10 00:45:42, 0] lib/account_pol.c:init_account_policy(52)
Failed to open account policy database
[2005/08/10 00:45:42, 0] lib/account_pol.c:init_account_policy(52)
Failed to open account policy database


FAILED TO OPEN ....
It seems that samba has no rights to these databases OR they don't exist !
How do I fix this ? Where are these located ?

Winbindd service won't start either (same DEAD error, when asking for status). But I think this has something to do with the smb service not running.
 
Old 08-11-2005, 05:59 PM   #2
yvesg
Member
 
Registered: May 2004
Distribution: SuSe v9.3 Professional
Posts: 33

Original Poster
Rep: Reputation: 15
It seems that I'm not the only one with this fr*** problem.
Anyone a solution to this ?
 
Old 08-11-2005, 06:31 PM   #3
yvesg
Member
 
Registered: May 2004
Distribution: SuSe v9.3 Professional
Posts: 33

Original Poster
Rep: Reputation: 15
Well, I've fixed the problem myself !!

This kept me busy for almost a week !
The only thing I needed to do was to DISABLE the SELinux security feature. This service kept all my config's from gooing wrong !

Everyting works now. VSFTPD, SAMBA, all of it !!

Can you f*** believe it ? Some stupid security feature.
 
Old 09-29-2005, 11:13 PM   #4
James_Ecker
LQ Newbie
 
Registered: Mar 2004
Posts: 9

Rep: Reputation: 0
You need to set the context of the smbpasswd and secrets.tdb files to samba_secrets_t and add samba_enable_home_dirs=1 to the booleans.local file. These changes plus the changes to the iptables will allow the smb service to start and users to connect to their home directories.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
smbd jakublgz Linux - Networking 8 01-03-2011 01:52 AM
Where is smbd? gani *BSD 15 09-26-2004 10:08 PM
smbd (samba) daemon startup question GetCool Debian 3 11-16-2003 03:22 PM
smbd error - 9.0 lappen Slackware 2 10-25-2003 06:29 PM
smbd and nmbd iquadri1 Linux - Networking 0 09-29-2001 01:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration