diff options
author | Raja Andra <Rajagopal.Andra@Sun.COM> | 2009-12-06 01:39:21 -0800 |
---|---|---|
committer | Raja Andra <Rajagopal.Andra@Sun.COM> | 2009-12-06 01:39:21 -0800 |
commit | 36e852a172cba914383d7341c988128b2c667fbd (patch) | |
tree | 6cf9fe61b54ffa5f49f74f8b3ee20249279d5efe /usr/src/lib/libnisdb/ldap_parse.c | |
parent | 560e0ee2bb5791b5efe2cbdc74d0a76f06dbd84d (diff) | |
download | illumos-joyent-36e852a172cba914383d7341c988128b2c667fbd.tar.gz |
6874309 Remove NIS+ from Solaris
Diffstat (limited to 'usr/src/lib/libnisdb/ldap_parse.c')
-rw-r--r-- | usr/src/lib/libnisdb/ldap_parse.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/usr/src/lib/libnisdb/ldap_parse.c b/usr/src/lib/libnisdb/ldap_parse.c index 20a1b4b1c9..9650ee5392 100644 --- a/usr/src/lib/libnisdb/ldap_parse.c +++ b/usr/src/lib/libnisdb/ldap_parse.c @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -20,11 +19,10 @@ * CDDL HEADER END */ /* - * Copyright 2001-2003 Sun Microsystems, Inc. All rights reserved. + * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ -#pragma ident "%Z%%M% %I% %E% SMI" #include <sys/types.h> #include <sys/stat.h> @@ -401,11 +399,6 @@ internal_table_name(nis_name name, char *res) * server and this is a lookup in our namespace. */ if (s) { - strcpy(res, nis_data(s)); - free((void *)s); - } else if (nis_dir_cmp(name, __nis_rpc_domain()) == SAME_NAME) { - strcpy(res, nis_data("ROOT_DIR")); - } else { return (NULL); } |