[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Adding entries



Thanks for that, soon after I sent this message I started looking at those
files and figures out what I needed.

I do have another question. Since I added this entry, I then tested Outlook
by typing the persons name in the To: it doesn't seem to find the name. I
have made sure the entry is in the database using ldapsearch and it is
there.


 Outlook is set up with localserver.com as the directory service. and in the
advanced tab I have put "dc=localserver,dc=com" in the search base section.

I am wondering if it is to do with the port as my ldap.conf has all of its
line remmed out.

Regards

Tim
----- Original Message -----
From: Daniel Tiefnig <openldap@qmail.infonova.at>
To: <openldap-software@OpenLDAP.org>
Sent: Tuesday, September 04, 2001 7:46 AM
Subject: Re: Adding entries


>
> ""Casio"" <tim@casson-smith.freeserve.co.uk> wrote...
> > Here is what I am trying to add:
> >
> > dn: cn=Fred Smith,dc=localserver,dc=com
> > objectclass: person
> > cn: Fred
> > cn: Freddy
> > mail: fred@smith.net
> > 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"
> and "mail"
>
> > 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
> bind-DN/-PW..
>
> daniel
>
>
>