Mário Gamito wrote:
Hi,
When i try to inser this on LDAP database, i get this error:
"ldapadd: invalid format (line 14) entry:
"uid=spessoa,ou=users,ou=accounts,dc=telbit,dc=pt""
I can't see nothing wrong.
The .ldif file follows my signature.
Any help would be appreciated.
Warm Regards,
Mário Gamito
--
dn: dc=telbit,dc=pt
objectClass: top
(lots of LDIF stuff removed)
dn: uid=spessoa,ou=users,ou=accounts,dc=telbit,dc=pt
objectClass: top
objectClass: person
objectClass: inetOrgPerson
objectClass: qmailUser
mail: spessoa@xxxxxxxxx <mailto:spessoa@xxxxxxxxx>
uid: spessoa
mailAlternateAddress: spessoa@xxxxxxxxxxxxxx
<mailto:spessoa@xxxxxxxxxxxxxx>
mailAlternateAddress: spessoa@xxxxxxxxxxxxxxxxxxxx
<mailto:spessoa@xxxxxxxxxxxxxxxxxxxx>
mailQuotaSize: 1048576
mailMessageStore: /var/qmail/maildirs/spessoa@ telbit.pt
<http://telbit.pt>
o: Telbit
userPassword: {MD5}W58yV6tqehUPIPfU8ihVmw==
sn:: Pessoa
cn:: Silvia
departmentNumber: PTIN/ISS
I think the "sn::" and "cn::" lines look suspicious.
Normally using a double colon would mean that the value that follows a
BASE64 encoded, but in your case it's "Pessoa" and "Silvia". I'd try
importing the same data with:
sn: Pessoa
cn: Silvia
in that last data record.
-Greg
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos