Rechtsanwalt A. Winzer
2014-Jul-09 20:24 UTC
[Samba] W7 and Roaming Profiles on two different PDC
Hello, I use a Samba 3.6.12-59.23.1-3256-SUSE-SL12.3-x86_64 coming with openSUSE 12.3 as a PDC. I also use roaming profiles with Windows 7 Pro clients. This works perfect. Now I need to _move some clients_ / profiles to another server with Samba 4.1.9-3.22.1-3256-SUSE-oS13.1-i386 (openSUSE 13.1). This one works already fine, but with different users. So I can exlude mistakes in my configuration. I also use the same one as with the old PDC - only the domain name is different. First I tried to copy the directories /etc/samba, /var/lib/samba and the files /etc/group, /etc/passwd and /etc/shadow to the new server and set the sid with net setlocalsid. Then I've tried to export and import the user data and get the following error message(s): bdc-server:~/.Skripte # pdbedit -e smbpasswd:/root/samba-users.backup Importing account for FI-06$...ok Importing account for FI-04$...ok Importing account for FI-02$...ok build_sam_pass: Failing attempt to store user with non-uid based user RID. Importing account for advoplex...failed Importing account for admin...ok Importing account for chrissi...ok build_sam_pass: Failing attempt to store user with non-uid based user RID. Importing account for alex...failed What does that mean and how can I repair it? If you need further information, let me know. All users had been added at the same time with a bash script. So I can't explain, why some users are exported without error and other not. Thanks for helping, Alex