summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-08-23 22:14:17 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2008-08-23 22:14:17 +0000
commitb67dbea674b302117febac5a6ec14270f5db0e73 (patch)
treeed06fc5c0595b376ab6eca674cd99d27f34cf246 /net-misc/openssh/files
parentForward-port the X509/hpn glue patch per bug #235086. (diff)
downloadhistorical-b67dbea674b302117febac5a6ec14270f5db0e73.tar.gz
historical-b67dbea674b302117febac5a6ec14270f5db0e73.tar.bz2
historical-b67dbea674b302117febac5a6ec14270f5db0e73.zip
Update the LDAP patches, also mailed to upstream.
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.27-rc1-10246-gca5de40 x86_64
Diffstat (limited to 'net-misc/openssh/files')
-rw-r--r--net-misc/openssh/files/openssh-5.1_p1-ldap-hpn-glue.patch55
1 files changed, 55 insertions, 0 deletions
diff --git a/net-misc/openssh/files/openssh-5.1_p1-ldap-hpn-glue.patch b/net-misc/openssh/files/openssh-5.1_p1-ldap-hpn-glue.patch
new file mode 100644
index 000000000000..e6e22e865da6
--- /dev/null
+++ b/net-misc/openssh/files/openssh-5.1_p1-ldap-hpn-glue.patch
@@ -0,0 +1,55 @@
+diff -Nuar --exclude '*.rej' --exclude '*.orig' openssh-5.1p1+lpk/servconf.c openssh-5.1p1+lpk+glue/servconf.c
+--- openssh-5.1p1+lpk/servconf.c 2008-08-23 14:37:18.000000000 -0700
++++ openssh-5.1p1+lpk+glue/servconf.c 2008-08-23 14:52:19.000000000 -0700
+@@ -111,6 +111,25 @@
+ options->num_allow_groups = 0;
+ options->num_deny_groups = 0;
+ options->ciphers = NULL;
++#ifdef WITH_LDAP_PUBKEY
++ /* XXX dirty */
++ options->lpk.ld = NULL;
++ options->lpk.on = -1;
++ options->lpk.servers = NULL;
++ options->lpk.u_basedn = NULL;
++ options->lpk.g_basedn = NULL;
++ options->lpk.binddn = NULL;
++ options->lpk.bindpw = NULL;
++ options->lpk.sgroup = NULL;
++ options->lpk.filter = NULL;
++ options->lpk.fgroup = NULL;
++ options->lpk.l_conf = NULL;
++ options->lpk.tls = -1;
++ options->lpk.b_timeout.tv_sec = -1;
++ options->lpk.s_timeout.tv_sec = -1;
++ options->lpk.flags = FLAG_EMPTY;
++#endif
++
+ options->macs = NULL;
+ options->protocol = SSH_PROTO_UNKNOWN;
+ options->gateway_ports = -1;
+@@ -131,25 +150,6 @@
+ options->num_permitted_opens = -1;
+ options->adm_forced_command = NULL;
+ options->chroot_directory = NULL;
+-#ifdef WITH_LDAP_PUBKEY
+- /* XXX dirty */
+- options->lpk.ld = NULL;
+- options->lpk.on = -1;
+- options->lpk.servers = NULL;
+- options->lpk.u_basedn = NULL;
+- options->lpk.g_basedn = NULL;
+- options->lpk.binddn = NULL;
+- options->lpk.bindpw = NULL;
+- options->lpk.sgroup = NULL;
+- options->lpk.filter = NULL;
+- options->lpk.fgroup = NULL;
+- options->lpk.l_conf = NULL;
+- options->lpk.tls = -1;
+- options->lpk.b_timeout.tv_sec = -1;
+- options->lpk.s_timeout.tv_sec = -1;
+- options->lpk.flags = FLAG_EMPTY;
+-#endif
+-
+ }
+
+ void