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

Re: Total ldap Newbie question, hit me if you want.



add the objectclass that allows the mail attribute.  You're probably
looking for objectclass inetOrgPerson.

eric

-----
Black holes are where God divided by zero.

On Wed, 3 Apr 2002, Sean Rima wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thu, 04 Apr 2002, David Olivier verbalised:
>
>
> >> but when I do ldapadd -f newex I get:
> >> adding new entry "cn=Sean Rima,dc=tcob1,dc=net"
> >> ldap_add: Object class violation
> >>         additional info: attribute 'title' not allowed
> >>
> >> ldif_record() = 65
> >>
> >>
> >> I have gone through the docs and cannot dind out what I am doing wrong
> >>
> >> Sean
> >
> > Error code 65 indicates an InsufficientModestyError. Titles such as "The One and Only", "The Best", "His or Her Highness", etc. are not allowed by RFC2251.
> >
>
>
> Thanks for that, I removed title and mail and it was inserted okay. The
> only problem is that when I tried to change the user entry and add mail
> I get either:
>   modify failed: Insufficient access (50)
>     additional information:
>   Please try again later.
>
> or as the Manager:
> modify failed: Object class violation (65)
>     additional information: attribute 'mail' not allowed
>   Please try again later.
>
> So how do I add an email address for a user
>
> Sean
>
> - --
>   Sean Rima                                http://www.tcob1.net
>   Linux User:      231986          Jabber:   tcobone@jabber.org
>   THE VIEWS EXPRESSED HERE ARE NOT NECESSARILY THOSE OF MY WIFE.
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: Use GPG for Secure Mail
>
> iEUEARECAAYFAjyrf64ACgkQeR/L2ZZp3E/WnQCXQcYjkNHW1TwiCVOxoYhqhOWQ
> QwCgzmQuZgE5oVnjZdfnWh5mvx+GbOU=
> =HhxZ
> -----END PGP SIGNATURE-----
>