<div dir="ltr">Hi Mark,<div><br></div><div>That's true, you solve my issue.</div><div><br></div><div>Many thanks.</div><div><br></div><div>Regards,</div><div><br></div><div>Jean-Félix</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-01-15 12:21 GMT-04:00 Mark Reynolds <span dir="ltr"><<a href="mailto:mareynol@redhat.com" target="_blank">mareynol@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<br>
<div>On 01/15/2015 11:06 AM, Jean Félix
DESIR wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>I'am facing this import issue:</div>
<div><br>
</div>
<div>I can't add this attribut to a object on my 389 DS:</div>
<div><br>
</div>
<div>
<div>dn:
cn=template,ou=services,ou=profiles,ou=Authent,dc=region,dc=enterprise,dc=net</div>
<div>rbClientDnsPri: XXXXXXX</div>
<div><b>rbForwardPolicy: MYVALUE</b></div>
<div>rbContextName: PPP</div>
<div>objectClass: top</div>
<div>objectClass: radiusaccount</div>
<div>objectClass: costemplate</div>
<div>cn: template</div>
<div>framedRouting: None</div>
<div>framedProtocol: PPP</div>
<div>framedIpNetmask: 255.255.255.255</div>
<div>framedCompression: Van-Jacobson-TCP-IP</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>ldapadd -x -D "cn=Directory manager" -f ouservices.ldif
-W </div>
<div>Enter LDAP Password: </div>
<div>adding new entry
"cn=template,ou=services,ou=profiles,ou=Authent,dc=region,dc=enterprise,dc=net"</div>
<div>ldap_add: Invalid syntax (21)</div>
<div> additional info:<b> rbForwardPolicy</b>: value #0
invalid per syntax</div>
</div>
</div>
</blockquote>
Hi Jean,<br>
<br>
The attribute syntax for <b>rbForwardPolicy</b> is generalized time
(<span>1.3.6.1.4.1.1466.115.121.1.24)</span>, 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<br>
<br>
attributeTypes: ( rbForwardPolicy-oid NAME <b>'rbForwardPolicy</b>'
DESC 'Redback RADIUS RB-Forward-Policy' SYNTAX <b>1.3.6.1.4.1.1466.115.121.1.15</b>
SINGLE-VALUE X-ORIGIN 'user defined' )<br>
<br>
Regards,<br>
Mark<br>
<pre></pre>
<blockquote type="cite">
<div dir="ltr">
<div><br>
</div>
<div><br>
</div>
<div>MY Schema definition</div>
<div><br>
</div>
<div>
<div>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 $<b> rbForwardPolicy </b>$
rbHttpRedirectProfileName $ rbIpAddressPoolName $
rbIpInterface $ rbNatPolicyName $ rbQosMeteringProfileName $
rbQosPolicingProfileName $ rbQosPq $
rbQosQueueingProfileName $ rbQosRateOutbound $
rbSessionTimeout $ rbShapingProfileName $
rbSubscriberProfileName $ TunnelAssignmentID $
tunnelClientEndpoint $ tunnelID $ tunnelMediumType $
tunnelServerEndpoint $ tunnelType ) X-ORIGIN 'user defined'
)</div>
<div><br>
</div>
<div><br>
</div>
<div>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 $ <b>rbForwardPolicy </b>$
rbHttpRedirectProfileName $ rbIpAddressPoolName $
rbIpInterface $ rbNatPolicyName $ rbQosMeteringProfileName $
rbQosPolicingProfileName $ rbQosPq $
rbQosQueueingProfileName $ rbQosRateOutbound $
rbSessionTimeout $ rbShapingProfileName $
rbSubscriberProfileName $ TunnelAssignmentID $
tunnelClientEndpoint $ tunnelID $ tunnelMediumType $
tunnelServerEndpoint $ tunnelType $ uid $ userPassword )
X-ORIGIN 'user defined' )</div>
<div><br>
</div>
<div><br>
</div>
<div>attributeTypes: ( rbForwardPolicy-oid NAME <b>'rbForwardPolicy</b>'
DESC 'Redback RADIUS RB-Forward-Policy' SYNTAX
1.3.6.1.4.1.1466.115.121.1.24 SINGLE-VALUE X-ORIGIN 'user
defined' )</div>
<div><br>
</div>
<div><br>
</div>
<div>What am i doing wrong?</div>
<div><br>
</div>
<div><br>
</div>
<div>Best regards</div>
<div><br>
</div>
</div>
</div>
<br><span class="HOEnZb"><font color="#888888">
<fieldset></fieldset>
<br>
<pre>--
389 users mailing list
<a href="mailto:389-users@lists.fedoraproject.org" target="_blank">389-users@lists.fedoraproject.org</a>
<a href="https://admin.fedoraproject.org/mailman/listinfo/389-users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/389-users</a></pre>
</font></span></blockquote>
<br>
</div>
<br>--<br>
389 users mailing list<br>
<a href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/389-users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/389-users</a><br></blockquote></div><br></div>