diff options
Diffstat (limited to 'nslcd/common.h')
-rw-r--r-- | nslcd/common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nslcd/common.h b/nslcd/common.h index 87d6298..8d91a2c 100644 --- a/nslcd/common.h +++ b/nslcd/common.h @@ -76,8 +76,8 @@ int read_address(TFILE *fp,char *addr,int *addrlen,int *af); if (read_address(fp,addr,&(len),&(af))) \ return -1; -/* checks to see if the specified string is a valid username */ -MUST_USE int isvalidusername(const char *name); +/* checks to see if the specified string is a valid user or group name */ +MUST_USE int isvalidname(const char *name); /* transforms the DN info a uid doing an LDAP lookup if needed */ MUST_USE char *dn2uid(MYLDAP_SESSION *session,const char *dn,char *buf,size_t buflen); |