Carlos Terrón
2007-Dec-19 14:37 UTC
[Samba] Problems adding a NTSp6a machine to a SAMBA PDC Domain + LDAP: sambaPrimaryGroupSID
Hello everybody I have configure a Samba PDC machine, using LDAP as password backend. The scripts smbldap-tools are used to create the accounts in the LDAP. I can add Windows XP machines to the domain without problems. But today, I tried to add a Windows NT Server SP6a machine to the domain, and there is the next error: smbldap_get_single_attribute: [sambaLogonHours] = [<does not exist>] [2007/12/19 14:38:03, 10] lib/smbldap.c:smbldap_make_mod(528) smbldap_make_mod: adding attribute |sambaLogonHours| value | FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF| [2007/12/19 14:38:03, 10] lib/smbldap.c:smbldap_make_mod(519) smbldap_make_mod: deleting attribute |sambaAcctFlags| values | [DW ]| [2007/12/19 14:38:03, 10] lib/smbldap.c:smbldap_make_mod(528) smbldap_make_mod: adding attribute |sambaAcctFlags| value | [W ]| [2007/12/19 14:38:03, 5] lib/smbldap.c:smbldap_modify(1377) smbldap_modify: dn => [uid=windowsntldap $,ou=machines,ou=samba,dc=itdeusto,dc=local] [2007/12/19 14:38:03, 10] lib/smbldap.c:smbldap_modify(1397) Failed to modify dn: uid=windowsntldap $,ou=machines,ou=samba,dc=xxxxx,dc=local, error: 20 (Type or value exists) (modify/add: sambaPrimaryGroupSID: value #0 already exists) [2007/12/19 14:38:03, 5] rpc_parse/parse_prs.c:prs_debug(84) 000000 samr_io_r_set_userinfo The smbd proccess have a problem trying to modify the LDAP entry that have been created I have been using the Samba version that came with CentOS 5.1 (samba-3.0.25b) I also have a tcpdump file from the Samba <-> LDAP comunication and I can see the same error: attributeOrValueExists (modify/add: sambaPrimaryGroupSID: value #0 already exists) I don't know what is the problem. Can someone help me?. Thank you very much Greetings Carlos
Carlos Terrón
2007-Dec-19 16:03 UTC
[Samba] (UPDATE) Problems adding a NTSp6a machine to a SAMBA PDC Domain + LDAP: sambaPrimaryGroupSID
I have the problem also with 3.0.28. I have attach the relevant log file section El 19/12/2007, a las 15:23, Carlos Terr?n escribi?:> > Hello everybody > > I have configure a Samba PDC machine, using LDAP as password > backend. The scripts smbldap-tools are used to create the accounts > in the LDAP. I can add Windows XP machines to the domain without > problems. But today, I tried to add a Windows NT Server SP6a > machine to the domain, and there is the next error: > > smbldap_get_single_attribute: [sambaLogonHours] = [<does not exist>] > [2007/12/19 14:38:03, 10] lib/smbldap.c:smbldap_make_mod(528) > smbldap_make_mod: adding attribute |sambaLogonHours| value | > FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF| > [2007/12/19 14:38:03, 10] lib/smbldap.c:smbldap_make_mod(519) > smbldap_make_mod: deleting attribute |sambaAcctFlags| values | > [DW ]| > [2007/12/19 14:38:03, 10] lib/smbldap.c:smbldap_make_mod(528) > smbldap_make_mod: adding attribute |sambaAcctFlags| value | > [W ]| > [2007/12/19 14:38:03, 5] lib/smbldap.c:smbldap_modify(1377) > smbldap_modify: dn => [uid=windowsntldap > $,ou=machines,ou=samba,dc=itdeusto,dc=local] > [2007/12/19 14:38:03, 10] lib/smbldap.c:smbldap_modify(1397) > Failed to modify dn: uid=windowsntldap > $,ou=machines,ou=samba,dc=xxxxx,dc=local, error: 20 (Type or value > exists) (modify/add: sambaPrimaryGroupSID: value #0 already exists) > [2007/12/19 14:38:03, 5] rpc_parse/parse_prs.c:prs_debug(84) > 000000 samr_io_r_set_userinfo > > The smbd proccess have a problem trying to modify the LDAP entry > that have been created > > I have been using the Samba version that came with CentOS 5.1 > (samba-3.0.25b) I also have a tcpdump file from the Samba <-> LDAP > comunication and I can see the same error: > attributeOrValueExists (modify/add: sambaPrimaryGroupSID: value #0 > already exists) > > I don't know what is the problem. Can someone help me?. Thank you > very much > > Greetings > Carlos > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba