after I added "-d 1000" I got the following: (only the last lines shown, after that program hangs): pdb_getsampwent getsmbfilepwent: returning passwd entry for user statt, uid 1022 pdb_set_username: setting username statt, was element 12 -> now SET pdb_set_full_name: setting full name ????? ???????, was element 13 -> now SET pdb_set_unix_homedir: setting home dir /home/statt, was NULL element 22 -> now SET pdb_set_domain: setting domain SOLAR, was element 14 -> now DEFAULT pdb_set_user_sid: setting user sid S-1-5-21-1906877464-905504629-2230954338-3044 element 18 -> now SET pdb_set_user_sid_from_rid: setting user sid S-1-5-21-1906877464-905504629-2230954338-3044 from rid 3044 tdb_unpack(ddff, 26) -> 26 tdb_unpack(ddff, 22) -> 22 tdb_unpack(ddff, 21) -> 21 tdb_unpack(ddff, 16) -> 16 tdb_unpack(ddff, 23) -> 23 tdb_unpack(ddff, 23) -> 23 tdb_unpack(ddff, 21) -> 21 tdb_unpack(ddff, 25) -> 25 tdb_unpack(ddff, 24) -> 24 tdb_unpack(ddff, 27) -> 27 tdb_unpack(ddff, 26) -> 26 tdb_unpack(ddff, 15) -> 15 pdb_set_group_sid: setting group sid S-1-5-21-1906877464-905504629-2230954338-1201 element 19 -> now SET pdb_set_group_sid_from_rid: setting group sid S-1-5-21-1906877464-905504629-2230954338-1201 from rid 1201 pdb_set_profile_path: setting profile path \\sol\statt\profile, was element 2 -> now DEFAULT pdb_set_homedir: setting home dir \\sol\statt, was element 1 -> now DEFAULT pdb_set_dir_drive: setting dir drive Z:, was NULL element 3 -> now DEFAULT pdb_set_logon_script: setting logon script s.bat, was element 4 -> now DEFAULT element 20 -> now DEFAULT element 33 -> now SET element 32 -> now SET element 20 -> now SET element 21 -> now SET element 9 -> now SET getsampwent (smbpasswd): done element 21: SET xmlsam_add_sam_account called! element 5: DEFAULT element 6: DEFAULT element 7: DEFAULT element 9: SET element 10: DEFAULT