[Samba] smbstatus not working as non-root user

Laurent Blume laurent.blume at infores.com
Mon Jan 24 15:47:58 GMT 2005


Hello all,

This is for HP CIFS Server A.01.11.03 / Samba 2.2.12, on HP-UX 11.0.

I've got a problem with smbstatus: if run as root, it displays 
everything as expected.
If run as a regular user, it displays only the following:

$ smbstatus
tdb(/var/opt/samba/locks/connections.tdb): Failed to create active lock file
tdb(/var/opt/samba/locks/connections.tdb): Failed to create active lock file
/var/opt/samba/locks/connections.tdb not initialized.
This is normal if an SMB client has never connected to your server.

Of course, plenty of Windows clients have been connecting to that box.
The permissions on the tdb file are the same as the ones on another box, 
where it works.
And it used to work on that same system, after it was installed.
So I'm not sure where to look...

There is nothing in the log.smbd file since Samba was started, 10 days ago.

Any idea?

TIA,

Laurent




More information about the samba mailing list