<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>I would be really happy if anybody could assign an OID for the new objectcalss</div><div>i want to use to store group mail and displayname attributes.</div><div><br></div><div data-marker="__SIG_PRE__"><div><small style="font-size: 10pt; font-family: 'Segoe UI', 'Lucida Sans', sans-serif; background-color: #fdfdfd;" data-mce-style="font-size: 10pt; font-family: 'Segoe UI', 'Lucida Sans', sans-serif; background-color: #fdfdfd;"><span color="#077179" face="Verdana" style="font-size: 10pt; color: #077179; font-family: Verdana;" data-mce-style="font-size: 10pt; color: #077179; font-family: Verdana;"><small style="font-size: 10pt;" data-mce-style="font-size: 10pt;"><b style="font-size: 10pt;" data-mce-style="font-size: 10pt;">Sándor Juhász</b></small></span></small><br style="font-size: 13px; font-family: 'Segoe UI', 'Lucida Sans', sans-serif; background-color: #fdfdfd;" data-mce-style="font-size: 13px; font-family: 'Segoe UI', 'Lucida Sans', sans-serif; background-color: #fdfdfd;"></div><div style="font-size: 13px; font-family: 'Segoe UI', 'Lucida Sans', sans-serif; background-color: #fdfdfd;" data-mce-style="font-size: 13px; font-family: 'Segoe UI', 'Lucida Sans', sans-serif; background-color: #fdfdfd;"><small style="font-size: 10pt;" data-mce-style="font-size: 10pt;"><span face="Verdana" style="font-size: 10pt; font-family: Verdana;" data-mce-style="font-size: 10pt; font-family: Verdana;"><span color="#666666" style="font-size: 10pt; color: #666666;" data-mce-style="font-size: 10pt; color: #666666;"><small style="font-size: 10pt;" data-mce-style="font-size: 10pt;">System Administrator</small></span><br style="font-size: 10pt;" data-mce-style="font-size: 10pt;"></span><span color="#fca311" style="font-size: 10pt; color: #fca311;" data-mce-style="font-size: 10pt; color: #fca311;"><small style="font-size: 10pt;" data-mce-style="font-size: 10pt;"><small style="font-size: 10pt;" data-mce-style="font-size: 10pt;"><span face="Verdana" style="font-size: 10pt; font-family: Verdana;" data-mce-style="font-size: 10pt; font-family: Verdana;"><b style="font-size: 10pt;" data-mce-style="font-size: 10pt;"><big style="font-size: 10pt;" data-mce-style="font-size: 10pt;">ChemAxon</big></b></span></small></small></span><span face="Verdana" style="font-size: 10pt; font-family: Verdana;" data-mce-style="font-size: 10pt; font-family: Verdana;"><span color="#fca311" style="font-size: 10pt; color: #fca311;" data-mce-style="font-size: 10pt; color: #fca311;"><small style="font-size: 10pt;" data-mce-style="font-size: 10pt;"> <b style="font-size: 10pt;" data-mce-style="font-size: 10pt;">Ltd</b>.</small></span><br style="font-size: 10pt;" data-mce-style="font-size: 10pt;"><small style="font-size: 10pt;" data-mce-style="font-size: 10pt;"><span color="#666666" style="font-size: 10pt; color: #666666;" data-mce-style="font-size: 10pt; color: #666666;"></span></small></span></small></div><div style="font-size: 13px; font-family: 'Segoe UI', 'Lucida Sans', sans-serif; background-color: #fdfdfd;" data-mce-style="font-size: 13px; font-family: 'Segoe UI', 'Lucida Sans', sans-serif; background-color: #fdfdfd;"><span style="color: rgb(102, 102, 102); font-size: 10pt; font-family: Verdana;">Building Hx, GraphiSoft Park, Záhony utca 7, Budapest, Hungary, H-1031</span></div><div style="font-size: 13px; font-family: 'Segoe UI', 'Lucida Sans', sans-serif; background-color: #fdfdfd;" data-mce-style="font-size: 13px; font-family: 'Segoe UI', 'Lucida Sans', sans-serif; background-color: #fdfdfd;"><span style="color: rgb(102, 102, 102); font-size: 10pt; font-family: Verdana;"><span style="color: #666666; font-family: Verdana; font-size: 13px; background-color: #fdfdfd;" data-mce-style="color: #666666; font-family: Verdana; font-size: 13px; background-color: #fdfdfd;">Cell: +36704258964</span></span></div></div><br><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>From: </b>"Sandor Juhasz" <sjuhasz@chemaxon.com><br><b>To: </b>"Ludwig Krispenz" <lkrispen@redhat.com><br><b>Cc: </b>freeipa-users@redhat.com<br><b>Sent: </b>Wednesday, December 21, 2016 4:39:32 PM<br><b>Subject: </b>Re: [Freeipa-users] modify schema - add group email and        display        attribute<br></div><br><div data-marker="__QUOTED_TEXT__"><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>That would be perfect solution. </div><br><div>How do i do it? </div><br><div>ldapmodify:</div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;">dn: cn=schema</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;">changetype: modify</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;">add: objectclasses</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;">objectclasses: ( <OID></span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;"> NAME 'googleGroup' SUP groupofnames</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;"> STRUCTURAL</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;"> MAY ( mail $ displayname )</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;">X-ORIGIN 'Extending FreeIPA' )</span></div><br><div>What to use for <OID>?</div><br><div>Then i just </div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;">ipa config-mod --addattr=ipaGroupObjectClasses=googleGroup</span></div><br><div>Then groupmail.py</div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;">from ipalib.plugins import group</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;">from ipalib.parameters import Str</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;">from ipalib import _</span></div><div><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;">group.group.takes_params = group.group.takes_params + (</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;"> Str('mail?',</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;"> cli_name='mail',</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;"> label=_('mail'),</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;"> ),</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;">)</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;">group.group.default_attributes.append('mail')</span></div><br><div><div style="color: #000000; font-family: arial, helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Then groupdisplayname.py</div></div><div><div style="color: #000000; font-family: arial, helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;">from ipalib.plugins import group</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;">from ipalib.parameters import Str</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;">from ipalib import _</span></div><div style="color: #000000; font-family: arial, helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;"><br></span></div><div style="color: #000000; font-family: arial, helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;"><br></span></div><div style="color: #000000; font-family: arial, helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;">group.group.takes_params = group.group.takes_params + (</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;">Str('displayname?',</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;">cli_name='displayname',</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;">label=_('dispalayname'),</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;">),</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;">)</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;">group.group.default_attributes.append('displayname')</span></div></div><br><div>And finally update js somehow...</div><br><div><div><small style="font-size: 10pt; font-family: 'Segoe UI', 'Lucida Sans', sans-serif; background-color: #fdfdfd;"><span style="font-size: 10pt; color: #077179; font-family: Verdana;"><small style="font-size: 10pt;"><b style="font-size: 10pt;">Sándor Juhász</b></small></span></small><br style="font-size: 13px; font-family: 'Segoe UI', 'Lucida Sans', sans-serif; background-color: #fdfdfd;"></div><div style="font-size: 13px; font-family: 'Segoe UI', 'Lucida Sans', sans-serif; background-color: #fdfdfd;"><small style="font-size: 10pt;"><span style="font-size: 10pt; font-family: Verdana;"><span style="font-size: 10pt; color: #666666;"><small style="font-size: 10pt;">System Administrator</small></span><br style="font-size: 10pt;"></span><span style="font-size: 10pt; color: #fca311;"><small style="font-size: 10pt;"><small style="font-size: 10pt;"><span style="font-size: 10pt; font-family: Verdana;"><b style="font-size: 10pt;"><big style="font-size: 10pt;">ChemAxon</big></b></span></small></small></span><span style="font-size: 10pt; font-family: Verdana;"><span style="font-size: 10pt; color: #fca311;"><small style="font-size: 10pt;"> <b style="font-size: 10pt;">Ltd</b>.</small></span><br style="font-size: 10pt;"><small style="font-size: 10pt;"><span style="font-size: 10pt; color: #666666;"></span></small></span></small></div><div style="font-size: 13px; font-family: 'Segoe UI', 'Lucida Sans', sans-serif; background-color: #fdfdfd;"><span style="color: #666666; font-size: 10pt; font-family: Verdana;">Building Hx, GraphiSoft Park, Záhony utca 7, Budapest, Hungary, H-1031</span></div><div style="font-size: 13px; font-family: 'Segoe UI', 'Lucida Sans', sans-serif; background-color: #fdfdfd;"><span style="color: #666666; font-size: 10pt; font-family: Verdana;"><span style="color: #666666; font-family: Verdana; font-size: 13px; background-color: #fdfdfd;">Cell: +36704258964</span></span></div></div><br><hr id="zwchr"><div><b>From: </b>"Ludwig Krispenz" <lkrispen@redhat.com><br><b>To: </b>freeipa-users@redhat.com<br><b>Sent: </b>Wednesday, December 21, 2016 3:34:03 PM<br><b>Subject: </b>Re: [Freeipa-users] modify schema - add group email and display        attribute<br></div><br><div><br>
    <div class="moz-cite-prefix">On 12/21/2016 02:07 PM, Sandor Juhasz
      wrote:<br>
    </div>
    <blockquote cite="mid:795612095.18818.1482325628676.JavaMail.zimbra@chemaxon.com">
      <div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000;">
        <div>Hi,</div>
        <div><br>
        </div>
        <div>i would like to modify schema to have group objects
          extended with email and display name attribute.</div>
        <div>The reason is that we are trying to sync our ldap to our
          google apps.</div>
        <div><br>
        </div>
        <div>I don't know how much this
          doc <a class="moz-txt-link-freetext" href="http://www.freeipa.org/images/5/5b/FreeIPA33-extending-freeipa.pdf" target="_blank">http://www.freeipa.org/images/5/5b/FreeIPA33-extending-freeipa.pdf</a></div>
        <div>can be applied to groups. Neither did i find a supported
          attribute syntax for email, maybe 
          <table class="lt-4-cols gt-14-rows" summary="Supported LDAP
            Attribute Syntaxes" style="box-sizing: border-box; widows: 4; orphans: 4; border-collapse: collapse; border-spacing: 0px; background-color: #ffffff; width: 770px; border: 1px            solid #aaaaaa; table-layout: fixed; word-wrap: break-word; max-width: 100%; font-size: 15.4px; color: #333333; font-family: 'Open Sans', 'liberation sans', 'Myriad ',            'Bitstream Vera Sans', 'Lucida Grande', 'Luxi Sans',            helvetica, verdana, arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" border="1">
            <tbody style="box-sizing: border-box; widows: 4 !important; orphans: 4 !important;">
              <tr style="box-sizing: border-box; widows: 4 !important; orphans: 4 !important; border-radius: 0px; background: #ffffff;">
                <td style="box-sizing: border-box; widows: 4 !important; orphans: 4 !important; padding: 8px; word-wrap: break-word; background: none; text-align: left; vertical-align: top; line-height: 20px; border-top: 1px solid #dddddd;">PrintableString</td>
                <td style="box-sizing: border-box; widows: 4 !important; orphans: 4 !important; padding: 8px; word-wrap: break-word; background: none; text-align: left; vertical-align: top; line-height: 20px; border-top: 1px solid #dddddd;">1.3.6.1.4.1.1466.115.121.1.58</td>
                <td style="box-sizing: border-box; widows: 4 !important; orphans: 4 !important; padding: 8px; word-wrap: break-word; background: none; text-align: left; vertical-align: top; line-height: 20px; border-top: 1px solid #dddddd;">For values which contain strings containing
                  alphabetic, numeral, and select punctuation characters
                  (as defined in <a href="http://tools.ietf.org/html/rfc4517" style="box-sizing: border-box; widows: 4 !important; orphans: 4 !important; background-color: transparent; color: #0085cf !important; text-decoration: none; border-bottom: 0px;" target="_blank">RFC 4517</a>).</td>
              </tr>
            </tbody>
          </table>
          <div>but i am not sure if that could hold email addresses.</div>
        </div>
      </div>
    </blockquote>
    why don't you just use the mail attribute ? only define a new
    auxilliary objectclass allowing mail and displayname <br>
    <blockquote cite="mid:795612095.18818.1482325628676.JavaMail.zimbra@chemaxon.com">
      <div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000;">
        <div>
          <div><br>
          </div>
          <div>It would be pretty to have it exposed via ipalib and js
            plugins as well.</div>
          <div>If someone could help me out on extending schema, i would
            be really happy.</div>
        </div>
        <div><br>
        </div>
        <div>
          <div><small style="font-size: 10pt; font-family: 'Segoe UI',              'Lucida Sans', sans-serif; background-color: #fdfdfd;"><span style="font-size: 10pt; color: #077179; font-family: Verdana;"><small style="font-size: 10pt;"><b style="font-size: 10pt;">Sándor
                    Juhász</b></small></span></small><br style="font-size: 13px; font-family: 'Segoe UI', 'Lucida              Sans', sans-serif; background-color: #fdfdfd;">
          </div>
          <div style="font-size: 13px; font-family: 'Segoe UI', 'Lucida            Sans', sans-serif; background-color: #fdfdfd;"><small style="font-size: 10pt;"><span style="font-size: 10pt; font-family: Verdana;"><span style="font-size: 10pt; color: #666666;"><small style="font-size: 10pt;">System
                    Administrator</small></span><br style="font-size: 10pt;">
              </span><span style="font-size: 10pt; color: #fca311;"><small style="font-size: 10pt;"><small style="font-size: 10pt;"><span style="font-size: 10pt; font-family: Verdana;"><b style="font-size: 10pt;"><big style="font-size: 10pt;">ChemAxon</big></b></span></small></small></span><span style="font-size: 10pt; font-family: Verdana;"><span style="font-size: 10pt; color: #fca311;"><small style="font-size: 10pt;"> <b style="font-size: 10pt;">Ltd</b>.</small></span><br style="font-size: 10pt;">
                <small style="font-size: 10pt;"><span style="font-size: 10pt; color: #666666;"></span></small></span></small></div>
          <div style="font-size: 13px; font-family: 'Segoe UI', 'Lucida            Sans', sans-serif; background-color: #fdfdfd;"><span style="color: #666666; font-size: 10pt; font-family: Verdana;">Building Hx, GraphiSoft Park,
              Záhony utca 7, Budapest, Hungary, H-1031</span></div>
          <div style="font-size: 13px; font-family: 'Segoe UI', 'Lucida            Sans', sans-serif; background-color: #fdfdfd;"><span style="color: #666666; font-size: 10pt; font-family: Verdana;"><span style="color: #666666; font-family: Verdana; font-size: 13px; background-color: #fdfdfd;">Cell:
                +36704258964</span></span></div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
    <pre class="moz-signature">-- 
Red Hat GmbH, <a class="moz-txt-link-freetext" href="http://www.de.redhat.com/" target="_blank">http://www.de.redhat.com/</a>, Registered seat: Grasbrunn, 
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Michael Cunningham, Michael O'Neill, Eric Shander</pre>
  

<br>-- <br>Manage your subscription for the Freeipa-users mailing list:<br>https://www.redhat.com/mailman/listinfo/freeipa-users<br>Go to http://freeipa.org for more info on the project<br></div></div><br>-- <br>Manage your subscription for the Freeipa-users mailing list:<br>https://www.redhat.com/mailman/listinfo/freeipa-users<br>Go to http://freeipa.org for more info on the project<br></div></div></body></html>