From 50ca074832b567ee1440b18c33b1fdbab6a2c25e Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Fri, 14 Sep 2007 21:51:05 +0000 Subject: add note about free()ing the returned value and add logging git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@398 ef36b2f9-881f-0410-afb5-c4e39611909c --- nslcd/common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'nslcd/common.h') diff --git a/nslcd/common.h b/nslcd/common.h index f6a72b9..00dd697 100644 --- a/nslcd/common.h +++ b/nslcd/common.h @@ -85,6 +85,7 @@ int nslcd_service_all(TFILE *fp,MYLDAP_SESSION *session); int nslcd_shadow_byname(TFILE *fp,MYLDAP_SESSION *session); int nslcd_shadow_all(TFILE *fp,MYLDAP_SESSION *session); +/* Note that our caller has to free the returned value with ldap_free() */ char *passwd_username2dn(MYLDAP_SESSION *session,const char *username); #endif /* not _SERVER_COMMON_H */ -- cgit v1.2.3