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

Re: help, openldap-2.1.xx, host attribute - I try, try, try....and nothing :( WORKING :) !!!



Solution:

1. I added ldapns.schema (from pam_ldap) to slapd.conf:

# $Id: ldapns.schema,v 1.3 2003/05/29 12:57:29 lukeh Exp $

# LDAP Name Service Additional Schema

# http://www.iana.org/assignments/gssapi-service-names

attributetype ( 1.3.6.1.4.1.5322.17.2.1 NAME 'authorizedService'
        DESC 'IANA GSS-API authorized service name'
        EQUALITY caseIgnoreMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )

objectclass ( 1.3.6.1.4.1.5322.17.1.1 NAME 'authorizedServiceObject'
        DESC 'Auxiliary object class for adding authorizedService attribute'
        SUP top
        AUXILIARY
        MAY authorizedService )

objectclass ( 1.3.6.1.4.1.5322.17.1.2 NAME 'hostObject'
        DESC 'Auxiliary object class for adding host attribute'
        SUP top
        AUXILIARY
        MAY host )

2. First host attribute I added from ldif file:
dn:uid=matulewi,ou=People,dc=ctlm,dc=pl
changetype:modify
objectClass:hostObject
host:proxy

3. Next attributes I added from ldif file:
dn:uid=matulewi,ou=People,dc=ctlm,dc=pl
changetype:modify
add:host
host:proxy1

There id one problem, directory_administrator doesn't work host attribute, that where created in the solution described above :(

Sorry for my poor english ;)

regards
Toper