ODSEE 11g - How To Add Samba Schema

(Doc ID 2364039.1)

Last updated on FEBRUARY 21, 2018

Applies to:

Oracle Directory Server Enterprise Edition - Version 11.1.1.5.0 and later
Information in this document applies to any platform.

Goal

On : ODSEE 11.1.1.5

When attempting to to add samba.ldif to their schema and is getting an error, unable to add
the following error occurs.

ERROR
-----------------------
./../dsee7/dsrk/bin/ldapmodify -p 3893 -D "cn=directory manager" -w Welcome1 -a -f sambaSchema1.ldif
bin_ldapmodify: no attributes to change or add (entry attributetype ( 1.3.6.1.4.1.7165.2.1.24 NAME 'sambaLMPassword'DESC 'LanManager Password'EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{32} SINGLE-VALUE ))


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. ./../dsee7/dsrk/bin/ldapmodify -p 3893 -D "cn=directory manager" -w Welcome1 -a -f sambaSchema1.ldif
bin_ldapmodify: no attributes to change or add (entry attributetype ( 1.3.6.1.4.1.7165.2.1.24 NAME 'sambaLMPassword'DESC 'LanManager Password'EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{32} SINGLE-VALUE ))

2. celvpvm07095.us.oracle.com-/refresh/ds11-1/config/schema$ mv samba.schema 98samba.ldif

celvpvm07095.us.oracle.com-/$ dsadm start /refresh/ds11-2 | more
[21/Feb/2018:21:27:23 +0000] - ERROR<5390> - Entry - conn=-1 op=-1 msgId=-1 - Entry error str2entry_dupcheck: entry has no dn
[21/Feb/2018:21:27:23 +0000] - ERROR<4132> - Bootstrap config  - conn=-1 op=-1 msgId=-1 - System error  Cannot parse dse entry: ##
## schema file for OpenLDAP 2.x
## Schema for storing Samba user accounts and group maps in LDAP
## OIDs are owned by the Samba Team
##
## Prerequisite schemas - uid         (cosine.schema)
##                      - displayName (inetorgperson.schema)
##                      - gidNumber   (nis.schema)
##

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms