12-14-2011
NIS-to-LDAP translation tools (yp2ldap)
I've recently published a set of tools that allow you to continue to use the
ypwhich,
ypcat and
ypmatch tools in an environment where NIS maps have been migrated to LDAP using the RFC2307 schema.
Traditionally in such an environment, only the NSS functionality is LDAP-enabled, meaning that legacy scripts you may have written that rely on the 'yp' tools have to be re-written to use
getent or
ldapsearch.
With
yp2ldap, this requirement goes away, and those legacy scripts can be left alone.
I hope this is of use to the wider community:
http://sf.net/projects/yp2ldap/
Best regards,
Mark.
Moderator's Comments:
|
|
Font size 2?... changed that.
|
|
Last edited by zaxxon; 12-14-2011 at 07:31 AM..
Reason: font size problem
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, I am a solaris administrator who is currently working in a solaris 2.6,7,8,9 environment. We are using NIS for centralised account authentication, groups, host name resolution and most importantly automounting. NIS , over the last few months has been rearing its notorious ugly head, and to be... (1 Reply)
Discussion started by: hcclnoodles
1 Replies
2. UNIX for Dummies Questions & Answers
Hi all,
I just took over the admin role from someone and I wanna setup sendmail (just to send mail from the host) however, after I config all the resolv.conf, nssitch.conf, hosts file and when I try to send a mail out, after I punched ctl-D, it returned he following,
"NIS map mail.aliases... (2 Replies)
Discussion started by: stancwong
2 Replies
3. UNIX for Advanced & Expert Users
We have a RedHat 8.0 NIS master, with a RedHat 8.0 NIS Slave.
We also have a small number of SUSE 9.1 and SUSE 10 machines here for evaluation.
However, no matter what i do, the SUSE machines will not talk to the NIS Servers.
If i broadcast for NIS Servers for the specified NIS domain, it... (1 Reply)
Discussion started by: fishsponge
1 Replies
4. Solaris
Hi, all.
I have a Solaris client here needs to bind to NIS server in another subnet. Following is the configuration i made on the client,
1) edit /etc/inet/hosts to add an entry of the NIS server -- nserver01
2) execute `domainname` to set local NIS domain to the domain of the NIS server.... (1 Reply)
Discussion started by: sn_wukong
1 Replies
5. HP-UX
Hello All,
I am a newbee in HP UX wanted to know how to configure DNS,NFS,NIS,LDAP and LVM(mirror,sparing and multipathing) in HP UX 11iv2 and v3 and i did go through some of the docs on hp.com but i think those are for experience UX users and i am new to this so if some one could just mention... (1 Reply)
Discussion started by: coolsami
1 Replies
6. Shell Programming and Scripting
I'm creating a scrip for auditing our AIX box's to ensure that they are built according to our system standards. I'm not sure on the logic for checking to see if the NIS and NIS+ services are disabled. any idea's? (2 Replies)
Discussion started by: sport
2 Replies
7. UNIX for Advanced & Expert Users
After months of threats, we're finally migrating servers from NIS+ to LDAP. :eek: I'm happy using niscat, nisgrep etc and now it seems I have to use ldapsearch which is far from being a simple CLI!
Are there any easy (easier?) ways to interrogate the LDAP directory? :confused:
Jerry (2 Replies)
Discussion started by: JerryHone
2 Replies
8. Cybersecurity
Hi guys,
we are implementing new ldap in our organization exclusively for Linux authentication purposes. As we are new to the subject, I would appreciate help regarding which schema to use to create group of users and accounts / passwords entries? I see both schemas listed in subject above... (0 Replies)
Discussion started by: Lastminute
0 Replies
9. UNIX for Advanced & Expert Users
I have some scripts where I go and do some LDAP/NIS queries to report on users on Unix servers. What I am trying to figure out is, how do I know which server is the LDAP? The configs have been in place long before I took over so was hoping someone had some insight on how to figure this out. I must... (1 Reply)
Discussion started by: dagamier
1 Replies
10. Solaris
I have very limited knowledge on LDAP configuration and have been trying fix one issue, but unsuccessful.
The server, I am working on, is Solaris-10 zone. sudoers is configured on LDAP (its not on local server). I have access to login directly on server with root, but somehow sudo is not working... (9 Replies)
Discussion started by: solaris_1977
9 Replies
LEARN ABOUT OPENSOLARIS
ypcat
ypcat(1) User Commands ypcat(1)
NAME
ypcat - print values in a NIS database
SYNOPSIS
ypcat [-kx] [-d ypdomain] mname
DESCRIPTION
The ypcat command prints out values in the NIS name service map specified by mname, which may be either a map name or a map nickname. Since
ypcat uses the NIS network services, no NIS server is specified.
Refer to ypfiles(4) for an overview of the NIS name service.
OPTIONS
-k Display the keys for those maps in which the values are null or the key is not part of the value. None of the maps derived
from files that have an ASCII version in /etc fall into this class.
-d ypdomain Specify a domain other than the default domain.
-x Display map nicknames.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------------------------------------+
|ATTRIBUTE TYPE ATTRIBUTE VALUE |
|Availability SUNWnisu |
+-----------------------------------------------------------+
SEE ALSO
ypmatch(1), ypfiles(4), attributes(5)
SunOS 5.11 23 Jan 1995 ypcat(1)