nss-pam-ldapd commit: r1727 - in nss-pam-ldapd-0.7: . nslcd
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r1727 - in nss-pam-ldapd-0.7: . nslcd
- From: Commits of the nss-pam-ldapd project <nss-pam-ldapd-commits [at] lists.arthurdejong.org>
- To: nss-pam-ldapd-commits [at] lists.arthurdejong.org
- Reply-to: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: nss-pam-ldapd commit: r1727 - in nss-pam-ldapd-0.7: . nslcd
- Date: Mon, 23 Jul 2012 22:16:28 +0200 (CEST)
Author: arthur
Date: Mon Jul 23 22:16:28 2012
New Revision: 1727
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1727&view=revision
Log:
grow gecos buffer size and consistency improvements to other buffers (r1540
from 0.8 branch)
Modified:
nss-pam-ldapd-0.7/ (props changed)
nss-pam-ldapd-0.7/nslcd/network.c
nss-pam-ldapd-0.7/nslcd/passwd.c
Modified: nss-pam-ldapd-0.7/nslcd/network.c
==============================================================================
--- nss-pam-ldapd-0.7/nslcd/network.c Sat Jul 21 23:33:58 2012 (r1726)
+++ nss-pam-ldapd-0.7/nslcd/network.c Mon Jul 23 22:16:28 2012 (r1727)
@@ -65,7 +65,7 @@
static int mkfilter_network_byname(const char *name,
char *buffer,size_t buflen)
{
- char safename[1024];
+ char safename[300];
/* escape attribute */
if (myldap_escape(name,safename,sizeof(safename)))
return -1;
Modified: nss-pam-ldapd-0.7/nslcd/passwd.c
==============================================================================
--- nss-pam-ldapd-0.7/nslcd/passwd.c Sat Jul 21 23:33:58 2012 (r1726)
+++ nss-pam-ldapd-0.7/nslcd/passwd.c Mon Jul 23 22:16:28 2012 (r1727)
@@ -297,9 +297,9 @@
int numuids;
char gidbuf[32];
gid_t gid;
- char gecos[100];
- char homedir[100];
- char shell[100];
+ char gecos[1024];
+ char homedir[256];
+ char shell[64];
int i,j;
/* get the usernames for this entry */
usernames=myldap_get_values(entry,attmap_passwd_uid);
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/
- nss-pam-ldapd commit: r1727 - in nss-pam-ldapd-0.7: . nslcd,
Commits of the nss-pam-ldapd project