[Date Prev][Date Next]
Re: Adding entries
""Casio"" <email@example.com> wrote...
> Here is what I am trying to add:
> dn: cn=Fred Smith,dc=localserver,dc=com
> objectclass: person
> cn: Fred
> cn: Freddy
> mail: firstname.lastname@example.org
> uid: fsmith
> sn: Smith
> I type the following to add it :
> # ldapadd -x -D "cn=Manager,dc=localserver,dc=com" -w secret <manager
> and this gives me:
> adding new entry "cn=Mark Stancill,dc=localserver,dc=com"
> ldap_add: Object class violation
> additional info: attribute not allowed
have a look at the schema definition/syntax in ~/etc/openldap/schema/,
objectclass "person" (defined in core.schema) doesn't allow attributes "uid"
> Also when trying to access an entry by using Outlook in windows, I have
> set up a directory server, gave it the name localserver.com
> (dc=localserver,dc=com). If I have access * to * read do I need to have
> a login in outlook and if so is it Manager and the password?.
don't think so.. if you specified read acces to * by * outlook can
browse/search/read the directory as anonymous, without specifying a