[Samba] tdb_reopen: failed to obtain active lock

Mike.Robinson mike at ed.ac.uk
Wed Jul 24 10:00:33 GMT 2002

Can anyone help with the following problem?

I installed Samba version 2.2.4 as a PDC for a Windows 2000 client (but also
have running an old version of Samba acting as a PDC for PCs running Windows

I can access the shares but when when I attempt to join the domain I get:

"The remote procedure call failed"


[2002/07/24 15:04:48, 0] tdb/tdbutil.c:tdb_log(492)
  tdb(/usr/local/samba2/private/secrets.tdb): tdb_reopen: failed to obtain
active lock

in log.smbd.

My smbpasswd files contains entries for the machine and user "root". It is user
root with the password as recorded in smbpasswd that I use when prompted. The
machine has an entry in /etc/passwd.

My smb.conf contains: (with actual IP addresses replaced by xxxxxxxxxxxxx and
wins server is the IP address of the original Samba server serving the NT PCs)

   security = user
   workgroup = met-domain2
   allow hosts = localhost,xxxxxxxxxxxxx
   username map = /usr/local/samba2/lib/users.map
   logfile = /usr/local/samba2/var/log.%m
   max log size = 50
   printing = lprng
   printcap name = /etc/printcap
   load printers = yes
   encrypt passwords = yes
   smbpasswd file = /usr/local/samba2/private/smbpasswd
   os level = 65
   domain master = yes
   preferred master = yes
   domain logons = yes
   logon path =
   wins support = no
   wins server = xxxxxxxxxxxxxxx
   dns proxy = no

   comment = Home Directory
   writable = yes
   create mode = 0755

   comment = Home Directories
   path = /home
   writeable = no

<..... other shares .....>

   comment = All Printers
   lpq command=/usr/local/bin/lpq -P%p
   lprm command=/usr/local/bin/lprm -P%p %j
   print command=/usr/local/bin/lpr -b -r -P%p %s
   printable = yes
   public = yes
   writable = no
   create mode = 0700

Hoping that someone can shed some light on this....

Kind regards,

Mike Robinson

Mike Robinson                        Email: mike at ed.ac.uk
EUCS       			     Tel:   0131 650 5015
The University of Edinburgh          Fax:   0131 650 8748
The Kings Buildings
Mayfield Road
Edinburgh EH9 3JZ

More information about the samba mailing list