diff options
Diffstat (limited to 'usr/src/lib/libshare/common')
-rw-r--r-- | usr/src/lib/libshare/common/libshare.c | 11 | ||||
-rw-r--r-- | usr/src/lib/libshare/common/libshare.h | 4 |
2 files changed, 2 insertions, 13 deletions
diff --git a/usr/src/lib/libshare/common/libshare.c b/usr/src/lib/libshare/common/libshare.c index 5716ef931c..74bb0af7e9 100644 --- a/usr/src/lib/libshare/common/libshare.c +++ b/usr/src/lib/libshare/common/libshare.c @@ -20,7 +20,7 @@ */ /* - * Copyright 2007 Sun Microsystems, Inc. All rights reserved. + * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -217,15 +217,6 @@ sa_errorstr(int err) case SA_PATH_IS_PARENTDIR: ret = dgettext(TEXT_DOMAIN, "path is parent of a share"); break; - case SA_KRB_KEYTAB_ERR: - ret = dgettext(TEXT_DOMAIN, "unable to remove the old keys" - " from the Kerberos keytab. Please manually remove" - " the old keys for your host principal prior to setting" - " the ads_domain property"); - break; - case SA_NO_SERVICE: - ret = dgettext(TEXT_DOMAIN, "service is not running"); - break; default: (void) snprintf(errstr, sizeof (errstr), dgettext(TEXT_DOMAIN, "unknown %d"), err); diff --git a/usr/src/lib/libshare/common/libshare.h b/usr/src/lib/libshare/common/libshare.h index af6e2db2f8..b45b747d9a 100644 --- a/usr/src/lib/libshare/common/libshare.h +++ b/usr/src/lib/libshare/common/libshare.h @@ -20,7 +20,7 @@ */ /* - * Copyright 2007 Sun Microsystems, Inc. All rights reserved. + * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -85,8 +85,6 @@ typedef void *sa_handle_t; /* opaque handle to access core functions */ #define SA_MULTIPLE_ERROR 26 /* multiple protocols reported error */ #define SA_PATH_IS_SUBDIR 27 /* check_path found path is subdir */ #define SA_PATH_IS_PARENTDIR 28 /* check_path found path is parent */ -#define SA_KRB_KEYTAB_ERR 29 /* fail to delete old keytab entries */ -#define SA_NO_SERVICE 30 /* service isn't running */ /* API Initialization */ #define SA_INIT_SHARE_API 0x0001 /* init share specific interface */ |