Re: Getting started

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks 4 the quick response, I appreciate it :)

Working for my company, migrating rhds10 -> 11, I will try your recommendations (using default user/ group).
Maybe this will also answer my SELinux related questions. ^^

Thanks a lot!

Am So., 4. Okt. 2020 um 01:22 Uhr schrieb William Brown <wbrown@xxxxxxx>:


> On 4 Oct 2020, at 03:18, Hendrik Steiner <hendrik.steiner@xxxxxxxxx> wrote:
>
> Hi guys!
> Being an absolute NOOB, mailing the first time to this group, I hope you're patient with my lack of knowledge ...

It's not problem at all - welcome to 389-ds, we hope we can help out :)

>
> I have an issue with following documentation (is this the right place for issues?):

Yep it is :)

>
> https://directory.fedoraproject.org/docs/389ds/howto/quickstart.html
>
> My company works with RHDS11 (RHEL8) so I tried to recreate some stuff (Fedora 32):
> useradd -c "RedHat Directory Server" -u 389 -g 389 -s /sbin/nologin slapd
> groupadd -g 389 ds
> Needs to be done before the installation of "389-base", or user and group will be created automatically (dirsrv.dirsrv).
>
> Adapting basic configuration as described (instance.inf):
> [general]
> group = ds
> user = slapd

I don't think you should change this username/group. By default you should probably rely on the dirsrv user and group created by the rpm. Especially if you are using RHDS, Red Hat support will probably prefer you to use the "way it's tested" so that means using the shipped dirsrv username and group. Is there some reason you want to change this?


>
> leads to
> ERR - dse_read_one_file - The configuration file /etc/dirsrv/slapd-example/schema//usr/share/dirsrv/schema/60trust.ldif could not be accessed,
> error -1
>
> after a copy:
> cp /usr/share/dirsrv/schema/60trust.ldif /etc/dirsrv/schema/
> instance creation works like a charm ...

I suspect that this is a permissions problem with the files, as instance creation (probably) assumes dirsrv:dirsrv and you've changed that. Can you show us the ls -al of /etc/dirsrv/slapd-example/schema and /usr/share/dirsrv/schema/ ?

>
> Sorry again for being annoying, but ...
>
> where am I doing wrong?
> also having some SELinux related questions,
> is this the right place for such kind of issues?

Yep, please ask them :)

Hope that helps,


Sincerely,

William Brown

Senior Software Engineer, 389 Directory Server
SUSE Labs, Australia
_______________________________________________
389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux