Discussion:
Samba smbd error
(too old to reply)
Hans de Faber
2011-03-22 16:14:17 UTC
Permalink
Hi folks,

On my fresh installed 11.4 I have a problem to start samba.
On a reference partition which is near original I have the same problem
as on my customized version.
smbd will not start.
Doing as root a smbd -i I get the following message:

smbd -i
Unable to setup corepath for smbd: Permission denied
smbd version 3.5.7-1.17.1-2505-SUSE-SL11.4-x86_64 started.
Copyright Andrew Tridgell and the Samba Team 1992-2010
Failed to open /etc/samba/secrets.tdb
Failed to open /etc/samba/secrets.tdb
ERROR: smbd can not open secrets.tdb

What's wrong ?
On the reference partition samba is unconfigured.
Thanks, Hans
--
To unsubscribe, e-mail: opensuse+***@opensuse.org
For additional commands, e-mail: opensuse+***@opensuse.org
Matt Hayes
2011-03-22 16:18:49 UTC
Permalink
Post by Hans de Faber
Hi folks,
On my fresh installed 11.4 I have a problem to start samba.
On a reference partition which is near original I have the same problem
as on my customized version.
smbd will not start.
smbd -i
Unable to setup corepath for smbd: Permission denied
smbd version 3.5.7-1.17.1-2505-SUSE-SL11.4-x86_64 started.
Copyright Andrew Tridgell and the Samba Team 1992-2010
Failed to open /etc/samba/secrets.tdb
Failed to open /etc/samba/secrets.tdb
ERROR: smbd can not open secrets.tdb
What's wrong ?
On the reference partition samba is unconfigured.
Thanks, Hans
There is an issue with the apparmor profile for smbd

If you go into the profiles and set smbd to complain and let it run for
a while, then rerun the wizard it should pick up on the change. Once it
does, you can switch it back to enforce and that should clear it up for you.

-Matt
--
To unsubscribe, e-mail: opensuse+***@opensuse.org
For additional commands, e-mail: opensuse+***@opensuse.org
lynn
2011-03-22 16:53:05 UTC
Permalink
Post by Matt Hayes
Post by Hans de Faber
Hi folks,
On my fresh installed 11.4 I have a problem to start samba.
On a reference partition which is near original I have the same problem
as on my customized version.
smbd will not start.
smbd -i
Unable to setup corepath for smbd: Permission denied
smbd version 3.5.7-1.17.1-2505-SUSE-SL11.4-x86_64 started.
Copyright Andrew Tridgell and the Samba Team 1992-2010
Failed to open /etc/samba/secrets.tdb
Failed to open /etc/samba/secrets.tdb
ERROR: smbd can not open secrets.tdb
What's wrong ?
On the reference partition samba is unconfigured.
Thanks, Hans
There is an issue with the apparmor profile for smbd
If you go into the profiles and set smbd to complain and let it run for
a while, then rerun the wizard it should pick up on the change. Once it
does, you can switch it back to enforce and that should clear it up for
you.
-Matt
Hi

I tried that but had to turn off apparmor completely to make it work. The
opensuse team tell us that a patch is in progress

L x.
--
To unsubscribe, e-mail: opensuse+***@opensuse.org
For additional commands, e-mail: opensuse+***@opensuse.org
Matt Hayes
2011-03-22 17:00:26 UTC
Permalink
Post by lynn
Post by Matt Hayes
Post by Hans de Faber
Hi folks,
On my fresh installed 11.4 I have a problem to start samba.
On a reference partition which is near original I have the same problem
as on my customized version.
smbd will not start.
smbd -i
Unable to setup corepath for smbd: Permission denied
smbd version 3.5.7-1.17.1-2505-SUSE-SL11.4-x86_64 started.
Copyright Andrew Tridgell and the Samba Team 1992-2010
Failed to open /etc/samba/secrets.tdb
Failed to open /etc/samba/secrets.tdb
ERROR: smbd can not open secrets.tdb
What's wrong ?
On the reference partition samba is unconfigured.
Thanks, Hans
There is an issue with the apparmor profile for smbd
If you go into the profiles and set smbd to complain and let it run for
a while, then rerun the wizard it should pick up on the change. Once it
does, you can switch it back to enforce and that should clear it up for
you.
-Matt
Hi
I tried that but had to turn off apparmor completely to make it work. The
opensuse team tell us that a patch is in progress
L x.
Switching nmbd and smbd to complain seems to work for me and you are
right, I've tried to re-run the wizard and then enable enforce and still
fails. Yes, a patch is in the works.

-Matt
--
To unsubscribe, e-mail: opensuse+***@opensuse.org
For additional commands, e-mail: opensuse+***@opensuse.org
Hans de Faber
2011-03-22 18:37:26 UTC
Permalink
Post by Matt Hayes
Post by lynn
Post by Matt Hayes
Post by Hans de Faber
Hi folks,
On my fresh installed 11.4 I have a problem to start samba.
On a reference partition which is near original I have the same problem
as on my customized version.
smbd will not start.
smbd -i
Unable to setup corepath for smbd: Permission denied
smbd version 3.5.7-1.17.1-2505-SUSE-SL11.4-x86_64 started.
Copyright Andrew Tridgell and the Samba Team 1992-2010
Failed to open /etc/samba/secrets.tdb
Failed to open /etc/samba/secrets.tdb
ERROR: smbd can not open secrets.tdb
What's wrong ?
On the reference partition samba is unconfigured.
Thanks, Hans
There is an issue with the apparmor profile for smbd
If you go into the profiles and set smbd to complain and let it run for
a while, then rerun the wizard it should pick up on the change. Once it
does, you can switch it back to enforce and that should clear it up for
you.
-Matt
Hi
I tried that but had to turn off apparmor completely to make it work. The
opensuse team tell us that a patch is in progress
L x.
Switching nmbd and smbd to complain seems to work for me and you are
right, I've tried to re-run the wizard and then enable enforce and still
fails. Yes, a patch is in the works.
-Matt
Thanks for the info. After some fiddeling around without succes, I
decided to wait for the patch.
Hans
--
To unsubscribe, e-mail: opensuse+***@opensuse.org
For additional commands, e-mail: opensuse+***@opensuse.org
Continue reading on narkive:
Loading...