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

Re: OpenLDAP in Solaris 8



Ernie,

A typo perhaps in your ldif file??
posixAcccount should be:
posixAccount (only two "c"s in Account!!)

Later

Donal

Ernie Chu wrote:
> 
> thanks.  But still the same.  And for the link, I already have this
> before, printed out a hard copy, and read it many times.
> 
> when I tried starting slapd using -d1000 and tried doing the ldapadd
> command, I noticed this error: (cut and paste the output from the screen
> directly)
> <start of extract>
> conn=2 op=0 BIND dn="CN=ERNIE,DC=TESTDOMAIN,DC=EDU" method=128
> ber_flush: 14 bytes to sd 7
> conn=2 op=0 RESULT tag=97 err=0 text=
> daemon: select: listen=6 active_threads=1 tvp=NULL
> daemon: activity on 1 descriptors
> daemon: activity on: 7r
> daemon: read activity on 7
> conn=2 op=1 ADD dn="UID=HIGUGMAT,OU=PEOPLE,DC=TESTDOMAIN,DC=EDU"
> entry_check_schema(uid=higugmat,ou=People,dc=barnard,dc=columbia,dc=edu):
> object
> Class "posixAcccount" not defined
> ber_flush: 14 bytes to sd 7
> conn=2 op=1 RESULT tag=105 err=65 text=
> daemon: select: listen=6 active_threads=1 tvp=NULL
> daemon: activity on 1 descriptors
> daemon: activity on: 7r
> daemon: read activity on 7
> conn=2 op=2 UNBIND
> daemon: removing 7
> conn=-1 fd=7 closed
> daemon: select: listen=6 active_threads=1 tvp=NULL
> daemon: activity on 1 descriptors
> daemon: select: listen=6 active_threads=1 tvp=NULL
> <end of extract>
> 
> What the heck does this error 'object Class "posixAcccount" not defined'
> mean?  I checked my slapd.conf to make sure that nis.schema is included
> and it's there alright.   Please note that the same error message
> 'ldap_add: Object class violation' still occur.
> 
> Please help...
> 
> Ernie.
> 
> --- "Mayers, Philip J" <p.mayers@ic.ac.uk> wrote:
> > objectClass: account isn't needed
> > userid isn't needed
> > description may help
> >
> > Try: http://blacklotus.cc.ic.ac.uk/~pjm3
> >
> > Regards,
> > Phil
> >
> > +----------------------------------+
> > | Phil Mayers, Network Support     |
> > | Centre for Computing Services    |
> > | Imperial College                 |
> > +----------------------------------+
> >
> > -----Original Message-----
> > From: Ernie Chu [mailto:epchu@yahoo.com]
> > Sent: 07 June 2001 19:30
> > To: openldap-software@OpenLDAP.org
> > Subject: OpenLDAP in Solaris 8
> >
> >
> > Hi,
> >
> > Has anybody had success in having Solaris 8 user login/authentication
> > work
> > with OpenLDAP?  Could you please give me a sample ldif entry for a user
> > id?
> >
> > My configuration is:
> > OpenLDAP version 2.0.11
> > Solaris 8 01/01 edition with the latest patches installed
> >
> > I have tried the following ldif entry:
> > dn: uid=higugmat,ou=People,dc=testdomain,dc=edu
> > cn: higugmat
> > userid: higugmat
> > uid: higugmat
> > uidNumber: 110
> > gidNumber: 100
> > homeDirectory: /export/home/higugmat
> > userPassword: {crypt}46KTPMHam0J9Y
> > gecos: Test User
> > loginshell: /bin/ksh
> > objectClass: top
> > objectClass: account
> > objectClass: posixAcccount
> > objectClass: posixShadow
> >
> > However, when I do an 'ldapadd', I get an error message "ldap_add:
> > Object
> > class violation"  Could somebody please tell me what's wrong?
> >
> > How do you enable debugging on slapd to generate logs?  What values
> > shoud
> > I supply to the -d option in slapd?
> >
> > Thanks in advance.
> >
> > Ernie.
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Get personalized email addresses from Yahoo! Mail - only $35
> > a year!  http://personal.mail.yahoo.com/
> 
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail - only $35
> a year!  http://personal.mail.yahoo.com/