Re: [389-users] Ou=Hosts usage
by Satish Patel
This is awesome!
Sent from my iPhone
On Dec 1, 2009, at 5:52 PM, Prashanth Sundaram <psundaram(a)wgen.net> wrote:
Dear All,
Has anyone implemented ou=Hosts in their ldap infrastructure? I am planning to implement this for inventory tracking. Here is a sample attributes I am planning to add to it.
dn: cn=ldap.example.com,ou=Host,dc=example,dc=com
hostName: ldap.example.com
hostClass: UtilityServers
hostStatus: live
hostPriority: High
hostSerial: KH9890HLXC
macAddress: 00:09:89:67:L7:8S
ipAddress: 192.168.10.28
IpAddress: 192.168.10.29
ipSubnet: 255.255.0.0
description: Corporate LDAP server
team: unixAdminTeam
contactPerson: Prashanth
What I am trying to do: I want to keep this DB up-to-date and show these items on INTRANET page.
I am looking for other use case scenarios for implementing this. Anyone has any suggestions/opinions for this?
Related Info about OU=Hosts
I read in LDAP System Administration book(by Gerald Carter) about being able to resolve hosts using LDAP i.e refer LDAP as backend DB for DNS(bind 9 only). He talks about ‘Zone2ldap’ to convert the DNS zone file to a format like this RelativeDomainName=<hostname>,dc=example,dc=com
--
389 users mailing list
389-users(a)redhat.com
https://www.redhat.com/mailman/listinfo/fedora-directory-users
The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/
13 years, 10 months
RE: [389-users] OK, so how do I use this thing?
by Prashanth Sundaram
Alan,
I've got a sandbox set up and finally have the centos-ds server
installed and I seem to be able to add users at least. I've been
looking at these docs :
http://www.redhat.com/docs/manuals/dir-server/
The install guide got me that far. Then my next logical step was
"OK, how do I use this now to authenticate LInux users?"
So I just went through the Admin Guide - but nada. Nothing. Negatory.
Take a look at documentation here:
http://directory.fedoraproject.org/wiki/Documentation
To authenticate linux users, you will have to configure you client hosts
to ldap server by configuring /etc/ldap.conf
Which can be done using GUI/cmdline via authconfig-tui/authconfig --help
Looking at the table of contents for the deployment guide, it does not
look to be of any help either.
Look at Administration Guide
http://www.redhat.com/docs/manuals/dir-server/8.1/admin/index.html
So what do I have to read to learn how to set up my Linux boxes to
authenticate from here?
Read Above
Do they need local accounts too?
Local accounts are needed for root and other service accounts
Local disks?
Not sure what this means
What about website? Wikis? All currently using htpasswd. How do I
convert those?
For websites, you can refer to Apache authentication via LDAP
thanks,
-Alan
--
³Don't eat anything you've ever seen advertised on TV²
- Michael Pollan, author of "In Defense of Food"
13 years, 10 months
Ou=Hosts usage
by Prashanth Sundaram
Dear All,
Has anyone implemented ou=Hosts in their ldap infrastructure? I am planning
to implement this for inventory tracking. Here is a sample attributes I am
planning to add to it.
dn: cn=ldap.example.com,ou=Host,dc=example,dc=com
hostName: ldap.example.com
hostClass: UtilityServers
hostStatus: live
hostPriority: High
hostSerial: KH9890HLXC
macAddress: 00:09:89:67:L7:8S
ipAddress: 192.168.10.28
IpAddress: 192.168.10.29
ipSubnet: 255.255.0.0
description: Corporate LDAP server
team: unixAdminTeam
contactPerson: Prashanth
What I am trying to do: I want to keep this DB up-to-date and show these
items on INTRANET page.
I am looking for other use case scenarios for implementing this. Anyone has
any suggestions/opinions for this?
Related Info about OU=Hosts
I read in LDAP System Administration book(by Gerald Carter) about being able
to resolve hosts using LDAP i.e refer LDAP as backend DB for DNS(bind 9
only). He talks about Zone2ldap¹ to convert the DNS zone file to a format
like this RelativeDomainName=<hostname>,dc=example,dc=com
13 years, 10 months
OK, so how do I use this thing?
by Alan McKay
I've got a sandbox set up and finally have the centos-ds server
installed and I seem to be able to add users at least. I've been
looking at these docs :
http://www.redhat.com/docs/manuals/dir-server/
The install guide got me that far. Then my next logical step was
"OK, how do I use this now to authenticate LInux users?"
So I just went through the Admin Guide - but nada. Nothing. Negatory.
Looking at the table of contents for the deployment guide, it does not
look to be of any help either.
So what do I have to read to learn how to set up my Linux boxes to
authenticate from here?
Do they need local accounts too?
Local disks?
What about website? Wikis? All currently using htpasswd. How do I
convert those?
thanks,
-Alan
--
“Don't eat anything you've ever seen advertised on TV”
- Michael Pollan, author of "In Defense of Food"
13 years, 10 months
want to redo new install
by Alan McKay
Hey folks,
I'm making my first foray into DS on Centos 5.4. I got thinks
installed a couple of weeks ago but now want to start from scratch
again. It is a sandbox system running in a VM, so I can fairly easily
just reload Centos in there. However, it would be even quicker if I
could just remove the RPMs and add them back.
Will that give me a clean slate?
[root@sandbox1 ~]# rpm -qa | grep -i centos-ds
centos-ds-8.1.0-1.el5.centos.2
centos-ds-admin-8.1.0-9.el5.centos.1
centos-ds-base-8.1.0-0.14.el5.centos.2
centos-ds-console-8.1.0-5.el5.centos.2
centos-ds-base-devel-8.1.0-0.14.el5.centos.2
thanks,
-Alan
--
“Don't eat anything you've ever seen advertised on TV”
- Michael Pollan, author of "In Defense of Food"
13 years, 10 months