you have this error when typing smbstatus?

Samba version 2.2.5
Service      uid      gid      pid     machine

Failed to open byte range locking database
ERROR: Failed to initialise locking database
Can't initialise locking module - exiting

I was using Samba 3.x.x and had the same error, I've solved it like this :
1. get the latest samba-client [yum install samba-client]
2. smbclient -L host -U user
3. smbclient //server/share -U user
4. ls
5. quit

type again smbstatus and everything is working now smile.gif

Robert B