Сергей
2010-Jan-04 10:43 UTC
[Samba] smbstatus got error: messaging_tdb_init failed: NT_STATUS_ACCESS_DENIED
Hello, All! When I run smbstatus as usual user I got error: smbstatus ERROR: Failed to initialise messages database: Permission denied messaging_tdb_init failed: NT_STATUS_ACCESS_DENIED messaging_init failed ll /var/db/samba/messages.tdb -rw------- 1 root wheel 16384 4 ??? 12:58 /var/db/samba/messages.tdb Does this permissions correctly? smbclient -V Version 3.3.9 sudo tdbbackup -v /var/db/samba/messages.tdb /var/db/samba/messages.tdb : 0 records Happy New Year. Serg
Volker Lendecke
2010-Jan-04 10:53 UTC
[Samba] smbstatus got error: messaging_tdb_init failed: NT_STATUS_ACCESS_DENIED
On Mon, Jan 04, 2010 at 01:43:32PM +0300, ?????? wrote:> When I run smbstatus as usual user I got error: > smbstatus > ERROR: Failed to initialise messages database: Permission denied > messaging_tdb_init failed: NT_STATUS_ACCESS_DENIED > messaging_init failed > > ll /var/db/samba/messages.tdb > -rw------- 1 root wheel 16384 4 ??? 12:58 /var/db/samba/messages.tdb > > Does this permissions correctly? > > > smbclient -V > Version 3.3.9 > > sudo tdbbackup -v /var/db/samba/messages.tdb > /var/db/samba/messages.tdb : 0 recordsThis has already been fixed for 3.4. The attached patch should apply to 3.3. Volker
Volker Lendecke
2010-Jan-04 10:57 UTC
[Samba] smbstatus got error: messaging_tdb_init failed: NT_STATUS_ACCESS_DENIED
On Mon, Jan 04, 2010 at 11:53:17AM +0100, Volker Lendecke wrote:> This has already been fixed for 3.4. The attached patch > should apply to 3.3.Forgot that the list strips attachments. Volker
Сергей
2010-Jan-04 17:38 UTC
[Samba] smbstatus got error: messaging_tdb_init failed: NT_STATUS_ACCESS_DENIED
Hello, Volker!> This has already been fixed for 3.4. The attached patch > should apply to 3.3. >Thank you, now usual user can run smbstatus without problem. I will send PR to FreeBSD port.> > ATTACHMENT: text/x-diff (0001-s3-smbstatus-Fix-bug-6703-allow-smbstatus-as-non-r.patch) >I have got attachment. Happy New Year! Serg.