-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm guessing /etc/samba/secrets.tdb but I'm not 100% sure. I'm trying to troubleshoot a problem where a samba server is replaced and WinXP boxes do not accept the new server. I'm inclined to beleive this is caused by the SID being different. These servers do not appear to have a MACHINE.SID file on them, my research into the topic has also turned up that the secrets.tdb file holds the SID. Would it be sufficient to copy this file from the old server to the new server? - -- "UNIX was not designed to stop its users from doing stupid things, as that would also stop them from doing clever things." - Doug Gwyn Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAM1LV94zI/zB2CYURAiToAJ0bWburG85SFpcw3iEHKgxQ65VDFwCgtYiT Ucsvp4FK+KesNkWsgZTWdDo=k784 -----END PGP SIGNATURE-----
> These servers do not appear to have a MACHINE.SID file on them, > my research > into the topic has also turned up that the secrets.tdb file holds > the SID. > > Would it be sufficient to copy this file from the old server to > the new server?I have no clue on how to help you, but I did find three programs in /usr/lib/samba: tdbdump, tdbtest, tdbtool I tried this... /usr/lib/samba/tdbtool /etc/samba/secrets.tdb tdb> ? tdbtool: create dbname : create a database open dbname : open an existing database erase : erase the database dump : dump the database as strings insert key data : insert a record store key data : store a record (replace) show key : show a record by key delete key : delete a record by key list : print the database hash table and freelist free : print the database freelist 1 | first : print the first record n | next : print the next record q | quit : terminate \n : repeat 'next' command tdb> q GOOD LUCK! P.S. I'm running 2.2.8a