Re: 389ds making a local dns server for local web app.

2020-10-15 Thread Samuel Sieb

On 10/15/20 9:36 PM, rodents...@gmail.com wrote:

Still the same sir, installing it on Ubuntu 18.04 desktop (Oracle Virtual Box). 
Following these simple steps.


Then why are you emailing this list?  It's very much the wrong one. 
This is the Fedora development list, nothing to do with Ubuntu or 389ds 
or FreeIPA.  If you're wanting to install it on Fedora, then the Fedora 
users mailing list would be a good option, but not if you're using Ubuntu.



https://computingforgeeks.com/install-and-configure-freeipa-server-on-ubuntu/


One thing I noticed with that guide is that they tell you to disable the 
bind integration which completely defeats the purpose you had for doing 
this in the first place.



Btw, I tried installing it both my non-root and root account sir.


I have no idea what you mean by this.


https://www.freeipa.org/page/Main_Page is the FreeIPA site.
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-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/devel@lists.fedoraproject.org


Re: 389ds making a local dns server for local web app.

2020-10-15 Thread rodentskie
Still the same sir, installing it on Ubuntu 18.04 desktop (Oracle Virtual Box). 
Following these simple steps.

https://computingforgeeks.com/install-and-configure-freeipa-server-on-ubuntu/


Btw, I tried installing it both my non-root and root account sir.
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-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/devel@lists.fedoraproject.org


Re: 389ds making a local dns server for local web app.

2020-10-15 Thread Samuel Sieb

On 10/15/20 4:45 PM, rodents...@gmail.com wrote:

During installation, I encountered these errors.


I don't know.  I've installed it several times with no problems.  I just 
noticed that in your original email you said you were installing 389ds 
on Ubuntu.  What are you trying to install freeipa on?

___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-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/devel@lists.fedoraproject.org


Re: 389ds making a local dns server for local web app.

2020-10-15 Thread rodentskie
Re: Can you use the username and password instead?

That's the only way I tried logging in sir, I can't login even with correct 
credentials.
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-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/devel@lists.fedoraproject.org


Re: 389ds making a local dns server for local web app.

2020-10-15 Thread rodentskie
During installation, I encountered these errors.

● krb5-kdc.service - Kerberos 5 Key Distribution Center
   Loaded: loaded (/lib/systemd/system/krb5-kdc.service; enabled; vendor 
preset: enabled)
  Drop-In: /lib/systemd/system/krb5-kdc.service.d
   └─slapd-before-kdc.conf
   Active: failed (Result: exit-code) since Thu 2020-10-15 11:29:03 PST; 5ms ago
  Process: 9676 ExecStart=/usr/sbin/krb5kdc -P /var/run/krb5-kdc.pid 
$DAEMON_ARGS (code=exited, status=1/FAILURE)

Oct 15 11:29:03 rod.example.com systemd[1]: Starting Kerberos 5 Key 
Distribution Center...
Oct 15 11:29:03 rod.example.com krb5kdc[9676]: Cannot open DB2 database 
'/var/lib/krb5kdc/principal': No such file or directory - while initializing 
database for realm EXAMPLE.COM
Oct 15 11:29:03 rod.example.com krb5kdc[9676]: krb5kdc: cannot initialize realm 
EXAMPLE.COM - see log file for details
Oct 15 11:29:03 rod.example.com systemd[1]: krb5-kdc.service: Control process 
exited, code=exited status=1
Oct 15 11:29:03 rod.example.com systemd[1]: krb5-kdc.service: Failed with 
result 'exit-code'.
Oct 15 11:29:03 rod.example.com systemd[1]: Failed to start Kerberos 5 Key 
Distribution Center.

and


● pki-tomcatd.service - LSB: Start pki-tomcatd at boot time
   Loaded: loaded (/etc/init.d/pki-tomcatd; generated)
   Active: failed (Result: exit-code) since Thu 2020-10-15 11:29:05 PST; 5ms ago
 Docs: man:systemd-sysv-generator(8)
  Process: 9863 ExecStart=/etc/init.d/pki-tomcatd start (code=exited, 
status=1/FAILURE)

Oct 15 11:29:05 rod.example.com systemd[1]: Starting LSB: Start pki-tomcatd at 
boot time...
Oct 15 11:29:05 rod.example.com pki-tomcatd[9863]: 
/usr/share/pki/scripts/config: line 41: break: only meaningful in a `for', 
`while', or `until' loop
Oct 15 11:29:05 rod.example.com pki-tomcatd[9863]: ERROR:  No 'tomcat' 
instances installed!
Oct 15 11:29:05 rod.example.com systemd[1]: pki-tomcatd.service: Control 
process exited, code=exited status=1
Oct 15 11:29:05 rod.example.com systemd[1]: pki-tomcatd.service: Failed with 
result 'exit-code'.
Oct 15 11:29:05 rod.example.com systemd[1]: Failed to start LSB: Start 
pki-tomcatd at boot time.
pki-tomcatd start failed because no instance has been configured yet
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-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/devel@lists.fedoraproject.org


Re: 389ds making a local dns server for local web app.

2020-10-15 Thread Samuel Sieb

On 10/14/20 11:43 PM, rodents...@gmail.com wrote:

Hi sir, I installed and configured successfully freeipa.

The problem now is I can't login my admin account.

No error when running "kinit admin", but when logging in through the web UI, it will 
return an error message saying "Login failed due to an unknown reason. ".


Maybe the browser isn't setup correctly for kerberos.  Can you use the 
username and password instead?

___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-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/devel@lists.fedoraproject.org


Re: 389ds making a local dns server for local web app.

2020-10-15 Thread rodentskie
Hi sir, I installed and configured successfully freeipa. 

The problem now is I can't login my admin account.

No error when running "kinit admin", but when logging in through the web UI, it 
will return an error message saying "Login failed due to an unknown reason. ".
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-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/devel@lists.fedoraproject.org


Re: 389ds making a local dns server for local web app.

2020-10-14 Thread Samuel Sieb

On 10/13/20 10:55 PM, rodents...@gmail.com wrote:

Btw sir, if I use freeipa. I won't be needing 389ds anymore?
I freeipa is made using 389ds. Am I correct?


Yes, freeipa uses 389ds as its backend database.
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-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/devel@lists.fedoraproject.org


Re: 389ds making a local dns server for local web app.

2020-10-13 Thread rodentskie
Btw sir, if I use freeipa. I won't be needing 389ds anymore? 
I freeipa is made using 389ds. Am I correct?
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-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/devel@lists.fedoraproject.org


Re: 389ds making a local dns server for local web app.

2020-10-13 Thread rodentskie
Copy sir, will search and read about freeipa. 
Will try configuring right after. 
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-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/devel@lists.fedoraproject.org


Re: 389ds making a local dns server for local web app.

2020-10-13 Thread Samuel Sieb

On 10/13/20 7:57 PM, rodents...@gmail.com wrote:

Thanks sir. Actually I have done a project which a came up with a local DNS 
example.com using bind9 in ubuntu.
Now my head requires me to do the same using 389ds.


If you're really wanting to use 389ds for this, why don't you just go 
all the way and use freeipa?  That would be easier.

___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-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/devel@lists.fedoraproject.org


Re: 389ds making a local dns server for local web app.

2020-10-13 Thread rodentskie
Hi sir, another inquiry. Can I make use of the 389 Management Console to help 
me regarding my issue?
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-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/devel@lists.fedoraproject.org


Re: 389ds making a local dns server for local web app.

2020-10-13 Thread rodentskie
Thanks sir. Actually I have done a project which a came up with a local DNS 
example.com using bind9 in ubuntu.
Now my head requires me to do the same using 389ds.

foobar.com is not a public DNS sir on my point. I want to make a local DNS with 
that name using 389ds.

https://directory.fedoraproject.org/docs/389ds/howto/howto-bind.html

Is there a further example base on the docs on the link above sir? It is said 
there to use ldap2dns. 
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-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/devel@lists.fedoraproject.org


Re: 389ds making a local dns server for local web app.

2020-10-13 Thread Petr Menšík


On 10/13/20 8:37 AM, rodents...@gmail.com wrote:
> Hello, I'm new in using 389ds. I would like to seek for advice regarding on 
> how to make a local DNS. Like, we have a web app running on 
> http://192.168.0.101:558 and I want to bind that address to a DNS, so that 
> the site will be access now using http://foobar.com:558.

192.168.x.x is private IP only for internal networks.
foobar.com looks like name on public internet.

Main problem is, if you want to run it only on your machine with given
name, the easiest solution would be using /etc/hosts file. In case your
browser ignores it, try running dnsmasq on localhost and use nameserver
127.0.0.1 in /etc/resolv.conf.

If you want others to access your service, public IP adddress is
required in general. Private would only on the same private network - on
home LAN for example.

389ds is a complicated way to run just a DNS server. Is it your requirement?
> 
> I followed the instructions on this guide.
> https://directory.fedoraproject.org/docs/389ds/howto/howto-bind.html
> 
> Somehow I got errors like: 
> [13/Oct/2020:06:26:25.344862514 +] - ERR - oc_check_allowed_sv - Entry 
> "cn=foobar.com,ou=DNS,dc=local" -- attribute "dnstype" not allowed
> [13/Oct/2020:06:26:25.348760695 +] - ERR - setup_internal_backends - 
> Please edit the file to correct the reported problems and then restart the 
> server.
> 
> 
> All of the attribute are not supported.
> 
> I installed 389ds on an ubuntu 18.04 server. Following this guide. 
> https://www.youtube.com/watch?v=HI4u7vQH0EM
> 
> Also, the links of examples on the official docs says "Not found".
> ___
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-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/devel@lists.fedoraproject.org
> 

-- 
Petr Menšík
Software Engineer
Red Hat, http://www.redhat.com/
email: pemen...@redhat.com
PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-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/devel@lists.fedoraproject.org