nss-pam-ldapd commit: r1750 - in nss-pam-ldapd-0.7.15+squeeze: . nslcd
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r1750 - in nss-pam-ldapd-0.7.15+squeeze: . 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: r1750 - in nss-pam-ldapd-0.7.15+squeeze: . nslcd
- Date: Sat, 8 Sep 2012 15:06:33 +0200 (CEST)
Author: arthur
Date: Sat Sep 8 15:06:33 2012
New Revision: 1750
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1750&view=revision
Log:
grow gecos buffer size and consistency improvements to other buffers (r1540
from 0.8 branch, r1727 from 0.7 branch)
Modified:
nss-pam-ldapd-0.7.15+squeeze/ (props changed)
nss-pam-ldapd-0.7.15+squeeze/nslcd/network.c
nss-pam-ldapd-0.7.15+squeeze/nslcd/passwd.c
Modified: nss-pam-ldapd-0.7.15+squeeze/nslcd/network.c
==============================================================================
--- nss-pam-ldapd-0.7.15+squeeze/nslcd/network.c Mon Sep 3 23:15:28
2012 (r1749)
+++ nss-pam-ldapd-0.7.15+squeeze/nslcd/network.c Sat Sep 8 15:06:33
2012 (r1750)
@@ -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.15+squeeze/nslcd/passwd.c
==============================================================================
--- nss-pam-ldapd-0.7.15+squeeze/nslcd/passwd.c Mon Sep 3 23:15:28 2012
(r1749)
+++ nss-pam-ldapd-0.7.15+squeeze/nslcd/passwd.c Sat Sep 8 15:06:33 2012
(r1750)
@@ -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: r1750 - in nss-pam-ldapd-0.7.15+squeeze: . nslcd,
Commits of the nss-pam-ldapd project