<div dir="ltr">Hi Mark,<div><br></div><div>That&#39;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">&lt;<a href="mailto:mareynol@redhat.com" target="_blank">mareynol@redhat.com</a>&gt;</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&#39;am facing this  import issue:</div>
        <div><br>
        </div>
        <div>I can&#39;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 &quot;cn=Directory manager&quot; -f ouservices.ldif
             -W </div>
          <div>Enter LDAP Password: </div>
          <div>adding new entry
&quot;cn=template,ou=services,ou=profiles,ou=Authent,dc=region,dc=enterprise,dc=net&quot;</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 &quot;Directory String&quot; syntax
    instead:  1.3.6.1.4.1.1466.115.121.1.15<br>
    <br>
    attributeTypes: ( rbForwardPolicy-oid NAME <b>&#39;rbForwardPolicy</b>&#39;
    DESC &#39;Redback RADIUS RB-Forward-Policy&#39; SYNTAX <b>1.3.6.1.4.1.1466.115.121.1.15</b>
    SINGLE-VALUE X-ORIGIN &#39;user defined&#39; )<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 &#39;RadAccount&#39; 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 &#39;user defined&#39;
            )</div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div>objectClasses: ( RadiusAccount-oid NAME &#39;RadiusAccount&#39;
            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 &#39;user defined&#39; )</div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div>attributeTypes: ( rbForwardPolicy-oid NAME <b>&#39;rbForwardPolicy</b>&#39;
            DESC &#39;Redback RADIUS RB-Forward-Policy&#39; SYNTAX
            1.3.6.1.4.1.1466.115.121.1.24 SINGLE-VALUE X-ORIGIN &#39;user
            defined&#39; )</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>