> On 9 Sep 2019, at 09:01, Olivier JUDITH <gnu...@gmail.com> wrote:
> 
> Hi, 
> 
> Great !!
> Do you have documentation regarding this image ? i used  opensuse/leap:15 
> image in kubernetes deployment and i'm wondering if same variables are used 
> for this one.

This is a good point I should add documentation for it! 

At the moment you run it with:

docker run -v 389ds:/data 389ds/dirsrv:latest 

It will bind to port 3389 and 3636, so if you want to expose these, you'd do:

-p 389:389 -p 636:3636

The image respects memory and cpu limits too.

In a *future* image we'll allow setting the directory manager password via 
DS_DM_PASSWORD environment variable, and the dsconf/dsidm command when executed 
in the running instance will "autobind" as directory manager so you can have 
passwordliess admin (but it relies on you have root access to the host, so 
still secure). 

Hope that helps, 


> 
> Regards
> 
> Le lun. 9 sept. 2019 à 00:42, William Brown <wbr...@suse.de> a écrit :
> 
> 
> > On 7 Sep 2019, at 06:38, Olivier JUDITH <gnu...@gmail.com> wrote:
> > 
> > Hi William , 
> > 
> > I'm running docker image FROM opensuse/leap:15 . 
> > I launched the command :
> > dsconf ldap://localhost:3389 -D 'cn=directory manager' -w xxxxxx backend 
> > create --suffix dc=domain,dc=net --be-name UserData
> > 
> > it finished successfully , but i still cannot see the suffix . 
> > 
> > So i added ACI 
> > 
> > dn: dc=thecos,dc=net
> > changetype: add
> > objectClass: domain
> > objectClass: top
> > dc: thecos
> > aci: (targetattr!="userPassword")(version 3.0; acl "Enable anonymous access"
> > ; allow (read, search, compare) userdn="ldap:///anyone";;)
> > aci: (targetattr ="*")(version 3.0;acl "Directory Administrators Group";allo
> > w (all) (groupdn = "ldap:///cn=Directory Administrators, dc=thecos,dc=net")
> > ;)
> > 
> > Now i can see root suffix from Apache Directory Studio
> > Thanks for your help
> 
> No problem. I think that using the opensuse/leap:15 image directly and 
> installing 389 isn't the easiest way any more. We've had a lot of development 
> in this space recently so you could try:
> 
> https://hub.docker.com/r/389ds/dirsrv
> 
> We have some other updates in the pipeline to smooth out some user experience 
> details found in that release candidate. 
> 
> Othewise, glad to have helped get you working with ADS. 
> 
> > 
> > Rgds
> > _______________________________________________
> > 389-users mailing list -- 389-users@lists.fedoraproject.org
> > To unsubscribe send an email to 389-users-le...@lists.fedoraproject.org
> > Fedora Code of Conduct: 
> > https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> > List Archives: 
> > https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org
> 
> —
> Sincerely,
> 
> William Brown
> 
> Senior Software Engineer, 389 Directory Server
> SUSE Labs
> _______________________________________________
> 389-users mailing list -- 389-users@lists.fedoraproject.org
> To unsubscribe send an email to 389-users-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org
> _______________________________________________
> 389-users mailing list -- 389-users@lists.fedoraproject.org
> To unsubscribe send an email to 389-users-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org

—
Sincerely,

William Brown

Senior Software Engineer, 389 Directory Server
SUSE Labs
_______________________________________________
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org

Reply via email to