Samba Guy
2002-Nov-26 23:04 UTC
[Samba] samba3.0+pdc+ldap adding machines to domain[someone help]
More logs, this time from smbpasswd. Although smbpasswd shouldnt be used, it does only error on machine accounts, not user accounts. Furthermore when using pam_ldap version, I can not get a machine on to the domain at all. Even If I create the machine account myself, i get "parameter is incorrect". Again, I was able to get all this to work using samba 3.0pdc+ldap, but when using samba 3.0pdc+ldap+pam_ldap no go. Does anyone have any advice/help? ldap_connect_system: succesful connection to the LDAP server The LDAP server is succesful connected Entry found for user: csupport5$ pdb_set_username: setting username csupport5$, was element 13 -> now SET pdb_set_domain: setting domain NEWDOMAIN, was element 15 -> now DEFAULT pdb_set_nt_username: setting nt username csupport5$, was element 16 -> now SET pdb_set_user_sid: setting user sid S-1-5-21-4066850712-1492136468-764959491-3002 element 19 -> now SET pdb_set_user_sid_from_rid: setting user sid S-1-5-21-4066850712-1492136468-764959491-3002 from rid 3002 pdb_set_group_sid: setting group sid S-1-5-21-4066850712-1492136468-764959491-0 element 20 -> now SET pdb_set_group_sid_from_rid: setting group sid S-1-5-21-4066850712-1492136468-764959491-0 from rid 0 pdb_set_uid: setting uid 1001, was -1 element 1 -> now SET pdb_set_gid: setting gid 553, was -1 element 2 -> now SET pdb_set_unix_homedir: setting home dir /dev/null, was NULL element 23 -> now SET element 2: SET tdb_pack(ddffd, 1024) -> 28 tdb_pack(d, 996) -> 4 tdb_pack(ddd, 992) -> 12 tdb_pack(ddd, 980) -> 12 tdb_pack(ddd, 968) -> 12 tdb_pack(ddffd, 1024) -> 19 tdb_pack(d, 1005) -> 4 tdb_pack(ddffd, 1024) -> 20 tdb_pack(d, 1004) -> 4 tdb_pack(ddffd, 1024) -> 25 tdb_pack(d, 999) -> 4 tdb_pack(ddffd, 1024) -> 31 tdb_pack(d, 993) -> 4 tdb_pack(ddffd, 1024) -> 30 tdb_pack(d, 994) -> 4 tdb_pack(ddffd, 1024) -> 29 tdb_pack(d, 995) -> 4 tdb_pack(ddd, 991) -> 12 tdb_pack(ddffd, 1024) -> 30 tdb_pack(d, 994) -> 4 tdb_pack(ddffd, 1024) -> 25 tdb_pack(d, 999) -> 4 tdb_pack(ddffd, 1024) -> 27 tdb_pack(d, 997) -> 4 tdb_pack(ddd, 993) -> 12 tdb_pack(ddd, 981) -> 12 tdb_pack(ddd, 969) -> 12 tdb_pack(ddffd, 1024) -> 26 tdb_pack(d, 998) -> 4 tdb_pack(ddffd, 1024) -> 27 tdb_pack(d, 997) -> 4 tdb_unpack(ddffd, 34) -> 30 tdb_unpack(d, 4) -> 4 free_privilege: count=0, nothing to clear ? tdb_unpack(ddffd, 29) -> 25 tdb_unpack(d, 4) -> 4 free_privilege: count=0, nothing to clear ? tdb_unpack(ddffd, 24) -> 20 tdb_unpack(d, 4) -> 4 free_privilege: count=0, nothing to clear ? tdb_unpack(ddffd, 67) -> 27 tdb_unpack(d, 40) -> 4 tdb_unpack(ddd, 36) -> 12 tdb_unpack(ddd, 24) -> 12 tdb_unpack(ddd, 12) -> 12 tdb_unpack(ddffd, 31) -> 27 tdb_unpack(d, 4) -> 4 free_privilege: count=0, nothing to clear ? tdb_unpack(ddffd, 30) -> 26 tdb_unpack(d, 4) -> 4 free_privilege: count=0, nothing to clear ? tdb_unpack(ddffd, 29) -> 25 tdb_unpack(d, 4) -> 4 free_privilege: count=0, nothing to clear ? tdb_unpack(ddffd, 45) -> 29 tdb_unpack(d, 16) -> 4 tdb_unpack(ddd, 12) -> 12 tdb_unpack(ddffd, 68) -> 28 tdb_unpack(d, 40) -> 4 tdb_unpack(ddd, 36) -> 12 tdb_unpack(ddd, 24) -> 12 tdb_unpack(ddd, 12) -> 12 tdb_unpack(ddffd, 35) -> 31 tdb_unpack(d, 4) -> 4 free_privilege: count=0, nothing to clear ? tdb_unpack(ddffd, 34) -> 30 tdb_unpack(d, 4) -> 4 free_privilege: count=0, nothing to clear ? tdb_unpack(ddffd, 23) -> 19 tdb_unpack(d, 4) -> 4 free_privilege: count=0, nothing to clear ? pdb_set_group_sid: setting group sid S-1-5-21-4066850712-1492136468-764959491-2107 element 20 -> now SET pdb_set_group_sid_from_rid: setting group sid S-1-5-21-4066850712-1492136468-764959491-2107 from rid 2107 element 22 -> now SET element 7 -> now SET element 8 -> now SET element 9 -> now SET element 10 -> now SET element 11 -> now SET pdb_set_full_name: setting full name csupport5$, was element 14 -> now SET get_single_attribute: [homeDrive] = [<does not exist>] pdb_set_dir_drive: setting dir drive , was NULL element 5 -> now DEFAULT get_single_attribute: [smbHome] = [<does not exist>] pdb_set_homedir: setting home dir , was element 3 -> now DEFAULT get_single_attribute: [scriptPath] = [<does not exist>] pdb_set_logon_script: setting logon script , was element 6 -> now DEFAULT get_single_attribute: [profilePath] = [<does not exist>] pdb_set_profile_path: setting profile path , was element 4 -> now DEFAULT element 24 -> now SET get_single_attribute: [userWorkstations] = [<does not exist>] element 32 -> now SET element 33 -> now SET element 21 -> now SET element 17 -> now SET element 18 -> now SET element 27 -> now SET element 28 -> now SET element 21 -> now CHANGED element 21 -> now CHANGED Failed to set password for user csupport5$. Failed to modify password entry for user csupport5$