On 01/15/2015 11:06 AM, Jean Félix
DESIR wrote:
Hi,
I'am facing this import issue:
I can't add this attribut to a object on my 389 DS:
dn:
cn=template,ou=services,ou=profiles,ou=Authent,dc=region,dc=enterprise,dc=net
rbClientDnsPri: XXXXXXX
rbForwardPolicy: MYVALUE
rbContextName: PPP
objectClass: top
objectClass: radiusaccount
objectClass: costemplate
cn: template
framedRouting: None
framedProtocol: PPP
framedIpNetmask: 255.255.255.255
framedCompression: Van-Jacobson-TCP-IP
ldapadd -x -D "cn=Directory manager" -f ouservices.ldif
-W
Enter LDAP Password:
adding new entry
"cn=template,ou=services,ou=profiles,ou=Authent,dc=region,dc=enterprise,dc=net"
ldap_add: Invalid syntax (21)
additional info: rbForwardPolicy: value #0
invalid per syntax
Hi Jean,
The attribute syntax for rbForwardPolicy is generalized time
(1.3.6.1.4.1.1466.115.121.1.24), so the
value you are using is NOT a generalized time - hence the syntax
error. You probably wanted to use a "Directory String" syntax
instead: 1.3.6.1.4.1.1466.115.121.1.15
attributeTypes: ( rbForwardPolicy-oid NAME 'rbForwardPolicy'
DESC 'Redback RADIUS RB-Forward-Policy' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE X-ORIGIN 'user defined' )
Regards,
Mark
MY Schema definition
objectClasses: ( RadAccount-oid NAME 'RadAccount' SUP top
STRUCTURAL MAY( checkTunnelType $ filterID $
framedCompression $ framedIpAddress $ framedIpNetmask $
framedMtu $ framedProtocol $ framedRoute $ framedRouting $
msvBwProfile $ ServiceProfile $ rbAgentCircuitId $
rbClientDnsPri $ rbClientDnsSec $ rbContextName $
rbDhcpMaxLeases $ rbForwardPolicy $
rbHttpRedirectProfileName $ rbIpAddressPoolName $
rbIpInterface $ rbNatPolicyName $ rbQosMeteringProfileName $
rbQosPolicingProfileName $ rbQosPq $
rbQosQueueingProfileName $ rbQosRateOutbound $
rbSessionTimeout $ rbShapingProfileName $
rbSubscriberProfileName $ TunnelAssignmentID $
tunnelClientEndpoint $ tunnelID $ tunnelMediumType $
tunnelServerEndpoint $ tunnelType ) X-ORIGIN 'user defined'
)
objectClasses: ( RadiusAccount-oid NAME 'RadiusAccount'
SUP top STRUCTURAL MUST cn MAY ( checkTunnelType $ filterID
$ framedCompression $ framedIpAddress $ framedIpNetmask $
framedMtu $ framedProtocol $ framedRoute $ framedRouting $
msvBwProfile $ msvServiceProfile $ rbAgentCircuitId $
rbClientDnsPri $ rbClientDnsSec $ rbContextName $
rbDhcpMaxLeases $ rbForwardPolicy $
rbHttpRedirectProfileName $ rbIpAddressPoolName $
rbIpInterface $ rbNatPolicyName $ rbQosMeteringProfileName $
rbQosPolicingProfileName $ rbQosPq $
rbQosQueueingProfileName $ rbQosRateOutbound $
rbSessionTimeout $ rbShapingProfileName $
rbSubscriberProfileName $ TunnelAssignmentID $
tunnelClientEndpoint $ tunnelID $ tunnelMediumType $
tunnelServerEndpoint $ tunnelType $ uid $ userPassword )
X-ORIGIN 'user defined' )
attributeTypes: ( rbForwardPolicy-oid NAME 'rbForwardPolicy'
DESC 'Redback RADIUS RB-Forward-Policy' SYNTAX
1.3.6.1.4.1.1466.115.121.1.24 SINGLE-VALUE X-ORIGIN 'user
defined' )
What am i doing wrong?
Best regards
--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users
|
--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users