Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nslcd/common.h
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2007-09-14 23:51:05 +0200
committerArthur de Jong <arthur@arthurdejong.org>2007-09-14 23:51:05 +0200
commit50ca074832b567ee1440b18c33b1fdbab6a2c25e (patch)
tree54a8ffde9669ad1f2121936899a985e390f3c8ed /nslcd/common.h
parent9657e75d4ca83bb95976ba8e43145c51b11e00ff (diff)
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
Diffstat (limited to 'nslcd/common.h')
-rw-r--r--nslcd/common.h1
1 files changed, 1 insertions, 0 deletions
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 */