diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2012-09-21 10:24:20 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2012-09-21 10:24:20 +0200 |
commit | 87505e69a19e3a544e4a18b5a236a79a89ca050c (patch) | |
tree | 33e99eb9f2811f456e394f2906cfdbb38bbc5449 | |
parent | a64cf12a336fe33d0e2d2ddd4c28981a78cae9c7 (diff) |
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
-rw-r--r-- | nslcd/passwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |