summaryrefslogtreecommitdiff
path: root/usr/src/lib/passwdutil/ldap_attr.c
diff options
context:
space:
mode:
authorRaja Andra <Rajagopal.Andra@Sun.COM>2009-12-06 01:39:21 -0800
committerRaja Andra <Rajagopal.Andra@Sun.COM>2009-12-06 01:39:21 -0800
commit36e852a172cba914383d7341c988128b2c667fbd (patch)
tree6cf9fe61b54ffa5f49f74f8b3ee20249279d5efe /usr/src/lib/passwdutil/ldap_attr.c
parent560e0ee2bb5791b5efe2cbdc74d0a76f06dbd84d (diff)
downloadillumos-joyent-36e852a172cba914383d7341c988128b2c667fbd.tar.gz
6874309 Remove NIS+ from Solaris
Diffstat (limited to 'usr/src/lib/passwdutil/ldap_attr.c')
-rw-r--r--usr/src/lib/passwdutil/ldap_attr.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/usr/src/lib/passwdutil/ldap_attr.c b/usr/src/lib/passwdutil/ldap_attr.c
index c0bb113ec0..43d6b7dd19 100644
--- a/usr/src/lib/passwdutil/ldap_attr.c
+++ b/usr/src/lib/passwdutil/ldap_attr.c
@@ -74,8 +74,7 @@ int ldap_getattr(char *name, attrlist *item, pwu_repository_t *rep);
int ldap_getpwnam(char *name, attrlist *items, pwu_repository_t *rep,
void **buf);
int ldap_update(attrlist *items, pwu_repository_t *rep, void *buf);
-int ldap_putpwnam(char *name, char *oldpw, char *dummy,
- pwu_repository_t *rep, void *buf);
+int ldap_putpwnam(char *name, char *oldpw, pwu_repository_t *rep, void *buf);
int ldap_user_to_authenticate(char *name, pwu_repository_t *rep,
char **auth_user, int *privileged);
@@ -1130,16 +1129,13 @@ out:
/*
- * ldap_putpwnam(name, oldpw, dummy, rep, buf)
+ * ldap_putpwnam(name, oldpw, rep, buf)
*
* update the LDAP server with the attributes contained in 'buf'.
- * The dummy parameter is a placeholder for NIS+ where the old
- * RPC password is passwd.
*/
/*ARGSUSED*/
int
-ldap_putpwnam(char *name, char *oldpw, char *dummy,
- pwu_repository_t *rep, void *buf)
+ldap_putpwnam(char *name, char *oldpw, pwu_repository_t *rep, void *buf)
{
int res;
char *dn; /* dn of user whose attributes we are changing */