
--_000_209153e2c13f470483d0faab7189aa2alocawebcombr_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I have an OpenDJ LDAP server, and I need some help to do query on a specifi= c filter search. We can't figure out how to create a "aaa/profile1.properties" file with the= se configs. This is how we can filter the users with ldapsearch on our ldap server: -H ldaps://server:port -D uid=3Duser,ou=3DOU,dc=3DSERVER,dc=3Dcom,dc=3Dbr -= W -b ou=3Daa,dc=3Dbb,dc=3Dcc,dc=3Ddd uid=3Djose.fernandes - My configuration does not permit I search the users on base, so I need t= o do this filter on "ou=3Daa,dc=3Dbb,dc=3Dcc,dc=3Ddd" - Port is different from common. Someone can help me to create the config file? Regards, Jos=E9 Fernandes --_000_209153e2c13f470483d0faab7189aa2alocawebcombr_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-= 1"> <style type=3D"text/css" style=3D"display:none;"><!-- P {margin-top:0;margi= n-bottom:0;} --></style> </head> <body dir=3D"ltr"> <div id=3D"divtagdefaultwrapper" style=3D"font-size:12pt;color:#000000;font= -family:Calibri,Arial,Helvetica,sans-serif;" dir=3D"ltr"> <p>Hello,</p> <p><br> </p> <p>I have an OpenDJ LDAP server, and I need some help to do query on a spec= ific filter search.</p> <p><br> </p> <p><span></span></p> <p style=3D"font-family: Calibri, Arial, Helvetica, sans-serif, EmojiFont, = "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, = "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-= size: 16px;"> We can't figure out how to create a "<span style=3D"font-size: 12pt;">= aaa/profile1.properties" file with these configs.</span></p> <div><span style=3D"font-size: 12pt;"><br> </span></div> <p><span style=3D"font-size: 12pt;">This is how we can filter the users wit= h ldapsearch on our ldap server:</span></p> <p><span style=3D"font-size: 12pt;"><br> </span></p> <p><span style=3D"font-size: 12pt;">-H ldaps://server</span><span style=3D"= font-size: 12pt;">:</span><span style=3D"font-size: 12pt;">port</span><span= style=3D"font-size: 12pt;"> -D uid=3D</span><span style=3D"font-size: 12pt= ;">user</span><span style=3D"font-size: 12pt;">,ou=3D</span><span style=3D"= font-size: 12pt;">OU</span><span style=3D"font-size: 12pt;">,dc=3D</span><s= pan style=3D"font-size: 12pt;"></span><span style=3D"font-size: 12pt;">SERV= ER</span><span style=3D"font-size: 12pt;">,dc=3Dcom,dc=3Dbr -W -b ou=3Daa</span><span style=3D"font-size: 12pt;">,dc=3Dbb</span><span = style=3D"font-size: 12pt;">,dc=3Dcc,dc=3Ddd uid=3Djose.fernandes</span><br> </p> <p><br> </p> <p><span style=3D"font-size: 12pt;"> - </span><span style=3D"font= -size: 12pt;">My configuration does not permit I search the users on base, = so I need to do this filter on "ou=3Daa,dc=3Dbb,dc=3Dcc,dc=3Ddd"<= /span><br> </p> <p><span> - Port is different from common.</span></p> <p><br> </p> <p><span style=3D"font-size: 12pt;">Someone can help me to create the confi= g file?</span></p> <p><span style=3D"font-size: 12pt;"><br> </span></p> <p>Regards,</p> <p>Jos=E9 Fernandes</p> </div> </body> </html> --_000_209153e2c13f470483d0faab7189aa2alocawebcombr_--

On 03/16/2018 12:26 AM, Jose Fernandes wrote:
Hello,
I have an OpenDJ LDAP server, and I need some help to do query on a specific filter search.
I remember I used to setup OpenDJ some time ago, please check this blog post: http://machacekondra.blogspot.cz/2015/05/saml-and-ovirt-35.html The important part there for you is the file: /usr/share/ovirt-engine-extension-aaa-ldap/profiles/opendj.properties Then you can use it as 'include = <opendj.properties>' in authz/authn.
We can't figure out how to create a "aaa/profile1.properties" file with these configs.
This is how we can filter the users with ldapsearch on our ldap server:
-H ldaps://server:port-D uid=user,ou=OU,dc=SERVER,dc=com,dc=br -W -b ou=aa,dc=bb,dc=cc,dc=dd uid=jose.fernandes
- My configuration does not permit I search the users on base, so I need to do this filter on "ou=aa,dc=bb,dc=cc,dc=dd"
- Port is different from common.
Someone can help me to create the config file?
Regards,
José Fernandes
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

--_000_7b10a173ef8f4cfd99fe787350060ab6locawebcombr_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Thanks Machacek! ________________________________ De: Ondra Machacek <omachace@redhat.com> Enviado: sexta-feira, 16 de mar=E7o de 2018 12:32:38 Para: Jose Fernandes; users@ovirt.org Assunto: Re: [ovirt-users] Setting up a LDAP conf On 03/16/2018 12:26 AM, Jose Fernandes wrote:
Hello,
I have an OpenDJ LDAP server, and I need some help to do query on a specific filter search.
I remember I used to setup OpenDJ some time ago, please check this blog post: http://machacekondra.blogspot.cz/2015/05/saml-and-ovirt-35.html The important part there for you is the file: /usr/share/ovirt-engine-extension-aaa-ldap/profiles/opendj.properties Then you can use it as 'include =3D <opendj.properties>' in authz/authn.
We can't figure out how to create a "aaa/profile1.properties" file with these configs.
This is how we can filter the users with ldapsearch on our ldap server:
-H ldaps://server:port-D uid=3Duser,ou=3DOU,dc=3DSERVER,dc=3Dcom,dc=3Dbr =
-W -b
ou=3Daa,dc=3Dbb,dc=3Dcc,dc=3Ddd uid=3Djose.fernandes
- My configuration does not permit I search the users on base, so I need to do this filter on "ou=3Daa,dc=3Dbb,dc=3Dcc,dc=3Ddd"
- Port is different from common.
Someone can help me to create the config file?
Regards,
Jos=E9 Fernandes
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--_000_7b10a173ef8f4cfd99fe787350060ab6locawebcombr_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1= 252"> <meta name=3D"Generator" content=3D"Microsoft Exchange Server"> <!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; pad= ding-left: 4pt; border-left: #800000 2px solid; } --></style> </head> <body> <meta content=3D"text/html; charset=3DUTF-8"> <style type=3D"text/css" style=3D""> <!-- p {margin-top:0; margin-bottom:0} --> </style> <div dir=3D"ltr"> <div id=3D"x_divtagdefaultwrapper" dir=3D"ltr" style=3D"font-size:12pt; col= or:#000000; font-family:Calibri,Arial,Helvetica,sans-serif"> <p>Thanks Machacek!</p> </div> <hr tabindex=3D"-1" style=3D"display:inline-block; width:98%"> <div id=3D"x_divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" = color=3D"#000000" style=3D"font-size:11pt"><b>De:</b> Ondra Machacek <om= achace@redhat.com><br> <b>Enviado:</b> sexta-feira, 16 de mar=E7o de 2018 12:32:38<br> <b>Para:</b> Jose Fernandes; users@ovirt.org<br> <b>Assunto:</b> Re: [ovirt-users] Setting up a LDAP conf</font> <div> </div> </div> </div> <font size=3D"2"><span style=3D"font-size:10pt;"> <div class=3D"PlainText">On 03/16/2018 12:26 AM, Jose Fernandes wrote:<br> > Hello,<br> > <br> > <br> > I have an OpenDJ LDAP server, and I need some help to do query on a <b= r> > specific filter search.<br> <br> I remember I used to setup OpenDJ some time ago, please check this blog<br> post:<br> <br> <a href=3D"http://machacekondra.blogspot.cz/2015/05/saml-and-ovirt-3= 5.html">http://machacekondra.blogspot.cz/2015/05/saml-and-ovirt-35.html</a>= <br> <br> The important part there for you is the file:<br> <br> /usr/share/ovirt-engine-extension-aaa-ldap/profiles/opendj.propertie= s<br> <br> Then you can use it as 'include =3D <opendj.properties>' in authz/aut= hn.<br> <br> > <br> > <br> > We can't figure out how to create a "aaa/profile1.properties"= ; file with <br> > these configs.<br> > <br> > <br> > This is how we can filter the users with ldapsearch on our ldap s= erver:<br> > <br> > <br> > -H ldaps://server:port-D uid=3Duser,ou=3DOU,dc=3DSERVER,dc=3Dcom,dc=3D= br -W -b <br> > ou=3Daa,dc=3Dbb,dc=3Dcc,dc=3Ddd uid=3Djose.fernandes<br> > <br> > <br> > - My configuration does not permit I search the users on b= ase, so I <br> > need to do this filter on "ou=3Daa,dc=3Dbb,dc=3Dcc,dc=3Ddd"<= br> > <br> > - Port is different from common.<br> > <br> > <br> > Someone can help me to create the config file?<br> > <br> > <br> > Regards,<br> > <br> > Jos=E9 Fernandes<br> > <br> > <br> > <br> > _______________________________________________<br> > Users mailing list<br> > Users@ovirt.org<br> > <a href=3D"http://lists.ovirt.org/mailman/listinfo/users">http://lists= .ovirt.org/mailman/listinfo/users</a><br> > <br> </div> </span></font> </body> </html> --_000_7b10a173ef8f4cfd99fe787350060ab6locawebcombr_--
participants (2)
-
Jose Fernandes
-
Ondra Machacek