if in the smb.conf the profile path is setting to "\\%L\profiles\%g the profiles from "root" are readed *instead* the users'one. Assume that the uidNumber is 20038 ("999999-9") and the groupNumber is 202 ("prn1") and the server name is bilbo (%L). in the routine init_sam_from_ldap() a extra debug at pdb_set_profile_path like: DEBUG(0, ("init_sam_from_ldap: %s, %s, %d, %d\n",lp_logon_path(), profile_path, uid, gid)); shows in the log: [2003/08/02 20:59:59, 0] passdb/pdb_ldap.c:init_sam_from_ldap(664) init_sam_from_ldap: \\%L\profiles\%g, , -1, 0 so the group is 0 (root) and the uid is -1 instead 20038 and in passdb/pdb_get_set.c| pdb_set_profile_path() routine, the log says: [2003/08/02 20:59:59, 10] passdb/pdb_get_set.c:pdb_set_profile_path(720) pdb_set_profile_path: setting profile path \\bilbo\profiles\root when *must* be "\\bilbo\profiles\prn2" This is related to 208 in beta2.
*** This bug has been marked as a duplicate of 208 ***
originally reported against 3.0.0beta3. CLeaning out non-production release versions.