Donate Share

phpLDAPadmin

Tracker: Bugs

5 Add user account: Undefined attribute type - ID: 992419
Last Update: Comment added ( uugdave )

I tried to add a UserAccount to an existing "People"
OrganizationUnit. The following attributes should be
saved into LDAP but they won't because "LDAP said:
Undefined attribute type, Error number: 0x11
(LDAP_UNDEFINED_TYPE)":

User name: toka
First name: Marcel
Last name: Karras
Password: [secret]
Login Shell: /bin/bash
UID Number: 11617
GID Number: 11600
Container: ou=People,dc=testserver,dc=freebits,dc=de
Home dir: /home/users/toka

I'm using...

phpldapadmin 0.9.4b
apache 2.0.48-3
openldap 2.1.29-1
php 4.3.6-1

What could be the reason for this behaviour?


Marcel Karras ( tokafreebits ) - 2004-07-16 15:50

5

Closed

Works For Me

Nobody/Anonymous

None

0.9.4b

Public


Comments ( 4 )

Date: 2004-08-11 12:52
Sender: uugdave

Logged In: YES
user_id=602471

You need to make sure that your schema supports all the
objectClasses and attributeTypes that the user account
template uses, namely:

'top', 'person', 'posixAccount', 'shadowAccount',
'inetOrgPerson'

And all of their attributeTypes.

--Dave


Date: 2004-08-05 08:22
Sender: nobody

Logged In: NO

Thank you for posting this Problem/Solution. I had the same
error and found the solution here.


Date: 2004-07-18 11:01
Sender: tokafreebits

Logged In: YES
user_id=688111

Thank you! I assumed it has to be something wrong with the
schema but couldn't find the fault immediately.


Date: 2004-07-17 20:08
Sender: nobody

Logged In: NO

LDAP_UNDEFINED_TYPE: Indicates that the attribute specified
in the modify or add operation does not exist in the LDAP
server's schema

I have got the same behavior today after compiling and
starting openldap 2.2.13 but I haven't fully checked my
slapd.conf. After taking a look at my standard slapd.conf
I've noticed that it includes just the core.schema you have
to inlude there the cosine.schema, the inetorgperson.schema
and the nis.schema

regards

Gianni Lisci


Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2004-08-11 12:52 uugdave
resolution_id None 2004-08-11 12:52 uugdave
close_date - 2004-08-11 12:52 uugdave