Dr. Harry Knitter
2008-Aug-25 14:41 UTC
[Samba] Problems with migration from SuSE 10.0 to debian etch
Hello, after a total crash of hardware, we had to reconstruct our Samba PDC from tape. Since the old installation was already pretty old (SuSE 10.0) we moved to Debian etch. I did the following. I migrated the machines from the old passwd and shadow files to the new ones. Then I copied all data and the whole directory /etc/samba to the new machine. Then I set the permissions of the data to those of the unix and smbusers respectively. The uids in /etc/passwd and those in smbpasswd for machines and users are the same as they where in the old system. Now to the problems: (1) If I change the password of a user the user cannot log in anymore. The same is if I create a new Samba user. (2) Some times, however not allways, the user profiles cannot be loaded from the server. On the other hand all users can access their data from the shares as they could on the old system. Does anyone have any hint for me to solve the two problems above? Thanks Harry
Ryan Novosielski
2008-Sep-03 19:15 UTC
[Samba] Problems with migration from SuSE 10.0 to debian etch
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dr. Harry Knitter wrote:> Hello, > > after a total crash of hardware, we had to reconstruct our Samba PDC from > tape. > > Since the old installation was already pretty old (SuSE 10.0) we moved to > Debian etch. > > I did the following. > > I migrated the machines from the old passwd and shadow files to the new ones. > Then I copied all data and the whole directory /etc/samba to the new machine. > Then I set the permissions of the data to those of the unix and smbusers > respectively. The uids in /etc/passwd and those in smbpasswd for machines and > users are the same as they where in the old system.Sounds like you are missing all of the persistent TDB's. Look in the manual and you can gauge which you'll need.> Now to the problems: > > (1) > If I change the password of a user the user cannot log in anymore. The same is > if I create a new Samba user. > > (2) > Some times, however not allways, the user profiles cannot be loaded from the > server. > > On the other hand all users can access their data from the shares as they > could on the old system. > > Does anyone have any hint for me to solve the two problems above? > > Thanks > > > Harry- -- ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer II |$&| |__| | | |__/ | \| _| |novosirj@umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIvuI7mb+gadEcsb4RAmIMAKDAFECeQf6Melzavfrps6C9YaJKMQCfU1Fo gQSUZnvnb7V1TCO9EK9n8RQ=2jW3 -----END PGP SIGNATURE-----