From 87505e69a19e3a544e4a18b5a236a79a89ca050c Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Fri, 21 Sep 2012 08:24:20 +0000 Subject: don't shrink the buffer for passwd shell value (was part of r1750) git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd-0.7.15+squeeze@1774 ef36b2f9-881f-0410-afb5-c4e39611909c --- nslcd/passwd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nslcd/passwd.c b/nslcd/passwd.c index ec2d38b..ddbe8ce 100644 --- a/nslcd/passwd.c +++ b/nslcd/passwd.c @@ -299,7 +299,7 @@ static int write_passwd(TFILE *fp,MYLDAP_ENTRY *entry,const char *requser, gid_t gid; char gecos[1024]; char homedir[256]; - char shell[64]; + char shell[100]; int i,j; /* get the usernames for this entry */ usernames=myldap_get_values(entry,attmap_passwd_uid); -- cgit v1.2.3