[Samba] Unable to connect to shares - Error about 'Domain Controller'

Bruce Lane kyrrin at bluefeathertech.com
Mon Jul 28 19:03:39 GMT 2008


Fellow samba dancers,

	Before I lose it, and teach our server to fly, I think it best if I ask the experts.

	THE SETUP: FreeBSD 7.0-Release, i386 platform (Proliant ML530 to be exact), Samba version 3.0.31,1. Windows domain based on Windows 2000 Advanced Server, with mixed NT-style and Active Directory style security. Domain name is FREEDOM_RIDGE, two active-directory domain controllers called haku and chihiro (bonus points if you get the movie reference). ;-)

	WHAT I'VE DONE: testparm says the config file is fine, and I -think- I've managed to join our existing domain (there was no error from the 'net join' NT4-style command -- quite the contrary. It confirmed that the domain was joined). Shares are established, dump of config file available on request.

	I've also used pdbedit -a -u (insert username here) to add myself into the tdbsam database, and that seemed to work OK.

	THE PROBLEM: I can't connect to any shares, and I keep seeing samba core-dump errors in /var/log/samba/log.smbd.

	When I try connecting to a share from one of our Windows 2000 pro systems, it sits for about 30 seconds, and then I get an error box which says (among other things) that it could not read configuration information from the domain controller.

	Even more worrisome is this stuff from log.smbd. I get it every time I try to access a share.

-=-=-=-=-=-
[2008/07/28 11:41:50, 0] lib/util_tdb.c:tdb_log(664)
  tdb(/var/db/samba/gencache.tdb): tdb_reopen: open failed (No such file or directory)
[2008/07/28 11:41:50, 0] smbd/server.c:open_sockets_smbd(572)
  tdb_reopen_all failed.
[2008/07/28 11:41:50, 0] lib/util.c:smb_panic(1633)
  PANIC (pid 28688): tdb_reopen_all failed.
[2008/07/28 11:41:50, 0] lib/util.c:log_stack_trace(1787)
  unable to produce a stack trace on this platform
[2008/07/28 11:41:50, 0] lib/fault.c:dump_core(181)
  dumping core in /var/log/samba/cores/smbd
[2008/07/28 11:41:50, 0] lib/util_tdb.c:tdb_log(664)
  tdb(/var/db/samba/gencache.tdb): tdb_reopen: open failed (No such file or directory)
[2008/07/28 11:41:50, 0] smbd/server.c:open_sockets_smbd(572)
  tdb_reopen_all failed.
[2008/07/28 11:41:50, 0] lib/util.c:smb_panic(1633)
  PANIC (pid 28689): tdb_reopen_all failed.
[2008/07/28 11:41:50, 0] lib/util.c:log_stack_trace(1787)
  unable to produce a stack trace on this platform
[2008/07/28 11:41:50, 0] lib/fault.c:dump_core(181)
  dumping core in /var/log/samba/cores/smbd

-=-=-=-=-=-=-

	Any thoughts? Granted that I would, at some point, like to implement full active-directory membership, the thought of diving into Windows-side Kerberos is not attractive at this time.

	Thanks.

-=-=-=-=-=-=-=-=-=-=-=-
Bruce Lane, Owner & Head Hardware Heavy,
Blue Feather Technologies -- http://www.bluefeathertech.com
kyrrin (at) bluefeathertech do/t c=o=m
"Quid Malmborg in Plano..."



More information about the samba mailing list