[Samba] smbstatus got error: messaging_tdb_init failed: NT_STATUS_ACCESS_DENIED

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Jan 4 03:53:17 MST 2010


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 records

This has already been fixed for 3.4. The attached patch
should apply to 3.3.

Volker


More information about the samba mailing list