Hi, I have run a FileServer with Samba 2.2.8a and want to upgrade to 3.0.4. I had successfully compile and build the new version and the most of all works fine. Now i want to set my old SID to the new System how is described in this mail (http://lists.samba.org/archive/samba/2003-June/068765.html), that not all clients have to reinclude to the domain, but it does not work. old System ----------------------------- smb:~ # smbpasswd -X mydom SID for domain mydom is: xxx shutdown the old system and boot up the new System ---------------------------- smb:~ # net setlocalsid xxx smb:~ # net getlocalsid mydom SID for mydom is: xyz smb:~ # net getlocalsid SID for smb is: xxx Now the local host has the SID, but not the Domain! What do I wrong or what do i misunderstood? Also I have an error on the TDB-Database: smb:~ # pdbedit -e smbpasswd -i tdbsam Unable to open/create TDB passwd Can't sampwent! For the time being I let both in the smb.conf (passwd backend = tdbsam, smbpasswd). Any instuctions? regards...
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 | For the time being I let both in the smb.conf (passwd backend = tdbsam, | smbpasswd). The lynch pin here is the secrets.tdb file. This is where the SID is stored. The SID is generated by smbpasswd. If you have the old one, you can retrive the SID from it. If you don't, you can try and see if it is in /etc/samba/smbldap_conf.pm It this is also a bust you can try and fake by setting them all to something that looks like an SID. - -- - ----------------------------------------------------------------- | I can be reached on the following Instant Messenger services: | |---------------------------------------------------------------| | MSN: j_c_llings@hotmail.com AIM: WyteLi0n ICQ: 123291844 | |---------------------------------------------------------------| | Y!: j_c_llings Jabber: jcllings@njs.netlab.cz | - ----------------------------------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3-nr1 (Windows XP) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFA6ROD57L0B7uXm9oRAgbAAJ9aX0OYqUByfwlfS2uBcVnlvcCF7QCfUL2y wTRnQaVBCNcsdMBCBDg2FnM=X0X/ -----END PGP SIGNATURE-----
how does i do this? Jim C. wrote: | You'll have to reset all of them later of course. | One thing you might try is setting the new SID and then just giving the | system the new one when it asks. - -- -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Stephan Pfeiffer ICQ: 39844459 http://www.synopex.de/ mailto:stephan@synopex.de -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=