search for: ktype

Displaying 20 results from an estimated 22 matches for "ktype".

Did you mean: type
2020 Jul 21
11
[RFC PATCH 0/4] PAM module for ssh-agent user authentication
Hi, The main (and probably the only) use case of this PAM module is to let sudo authenticate users via their ssh-agent, therefore without having to type any password and without being tempted to use the NOPASSWD sudo option for such convenience. The principle is originally implemented by an existing module [0][1] and many pages that explain how to use it for such purpose can be found online.
2001 Feb 05
0
Problem compiling openssh on Solaris 2.6 with AFS-krb4
Heelo, I'm trying to copmpile openssh-2.3.0p1 against KTH-KRB dist. (ftp.pdc.kth.se/pub/krb/src) of kerberosIV and AFS 3.6. However, I get two errors: 1. redifinition of types, conflicting with krb.h (which #includes ktypes.h) - removing temporarily the u_int code from ktypes.h helped 2. send_afs_tokens() - in the sshconnect1.c show both problems, although the redefinition problems occured at the early beginning of compilation. Are there any patches available? TIA $ uname -a SunOS pf-i400 5.6 Generic_105181-23 sun...
2010 Sep 24
0
kernlab:ksvm:eps-svr: bug?
...204 K <- 0 205 svindex <- problem <- NULL 206 sigma <- 0.1 207 degree <- offset <- scale <- 1 208 209 switch(is(kernel)[1], 210 "rbfkernel" = 211 { 212 sigma <- kpar(kernel)$sigma 213 ktype <- 2 214 }, 215 "tanhkernel" = 216 { 217 sigma <- kpar(kernel)$scale 218 offset <- kpar(kernel)$offset 219 ktype <- 3 220 }, 221 "polykernel" = 222 {...
2001 Mar 06
0
Problem compiling openssh on Solaris 2.6 with AFS-krb4 (fwd)
...Heide Li <hli at mail2a.jpl.nasa.gov> To: mmokrejs at natur.cuni.cz Subject: openssh on Solaris 2.6 with AFS-krb4 Hello, I saw your post on openssh-unix-dev regarding compilation problems w/ openssh. Did you ever find a solution? I'm getting the same errors (conflicts with typedefs in ktypes.h and then the probs w/ send_afs_tokens). Any tips would be much appreciated. I'm using: openssh-2.5.1p2 openssl-0.9.6 krb4-1.0.6 Solaris 2.6 -- Martin Mokrejs - PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs <mmokrejs at natur.cuni.cz> Faculty of Science, The Charles Univers...
2001 Jun 06
0
Compile error 2.9p1 / Solaris 8 / Kerberos IV
...h/2.9p1/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/opt/local/ssh/2.9p1/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/opt/local/ssh/2.9p1/libexec/sftp-server\" -D_PATH_SSH_PIDDIR=\"/var/run\" -DHAVE_CONFIG_H -c ../openssh-2.9p1/auth-passwd.c "/opt/KTHkrb4/include/ktypes.h", line 14: warning: typedef redeclared: u_int8_t "/opt/KTHkrb4/include/ktypes.h", line 15: warning: typedef redeclared: u_int16_t "/opt/KTHkrb4/include/ktypes.h", line 16: warning: typedef redeclared: u_int32_t "/usr/include/crypt.h", line 23: identifier redecl...
2013 May 15
2
Support for "ssh-rsa-sha256" and "ssh-dss-sha256" ?‏
Functionality request for supporting Digital Signatures for RSA and DSS Public Key Algorithms in alignment with NIST SP800-131A. I assume this has been asked before, but I could not find in the archives. Support of "ssh-rsa-sha256" and "ssh-dss-sha256" public key algorithms for OpenSSH? I know Suite B Algorithms and x509 SSH Extension Algorithms are supported, but not a
2007 Jun 08
0
[git patches] ocfs2 fixes
...memcpy(dst + from, bp->b_src_buf + src_from, bytes); kunmap(wc->w_this_page); diff --git a/fs/ocfs2/cluster/masklog.c b/fs/ocfs2/cluster/masklog.c index a93620c..2b205f5 100644 --- a/fs/ocfs2/cluster/masklog.c +++ b/fs/ocfs2/cluster/masklog.c @@ -144,8 +144,7 @@ static struct kobj_type mlog_ktype = { }; static struct kset mlog_kset = { - .kobj = {.name = "logmask"}, - .ktype = &mlog_ktype + .kobj = {.name = "logmask", .ktype = &mlog_ktype}, }; int mlog_sys_init(struct kset *o2cb_subsys)
2017 Nov 09
2
RSA Signatures using SHA2 provided by different ssh-agent are not properly verified
...5b0b46 The issue can be simply reproduced by running ssh-agent from gnome- keyring (pageant or others should do the same) and connect to the server with the above patch. In the server log, we can notice the following messages (where hash_alg=1 is SSH_DIGEST_SHA1): debug1: Verifying signature with ktype=ssh-rsa and hash_alg=1 debug2: userauth_pubkey: authenticated 1 pkalg rsa-sha2-512 So even though all the current messages say that sha2 is used, something else is going on here. Nor client nor server is verifying that the signature itself is done using the requested algorithm. So how to get arou...
2023 Aug 11
1
Bug in dhcp-dyndns.sh script, A_REC always singleton array
...[@]} > > 1 > > > > I would then suggest instead redirecting the query command right away > > with process substitution > > > > `mapfile -t `A_REC `< <`($SAMBATOOL dns query "${Server}" "${domain}" > > "${name}" A "$KTYPE" 2>/dev/null | grep 'A:' | awk '{print $2}') ` > > `This seems to make it work as intended: > > > > root at dy3:/# mapfile -t A_REC < <(/bin/samba-tool dns query "dy3" > > "poizan.dk" "doesnotexists" A "--use-...
2001 May 15
0
openssh 2.9p1 on Solaris 2.6 with AFS
...PASS_DEFAULT =\"/usr/local/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER =\"/usr/local/libexec/sftp-server\" -D_PATH_SSH_PIDDIR=\"/var/run\" -DHAVE_CONFIG_H -c radix.c In file included from /usr/athena/include/krb.h:17, from radix.c:31: /usr/athena/include/ktypes.h:14: redefinition of `u_int8_t' defines.h:169: `u_int8_t' previously declared here /usr/athena/include/ktypes.h:15: redefinition of `u_int16_t' defines.h:170: `u_int16_t' previously declared here /usr/athena/include/ktypes.h:16: redefinition of `u_int32_t' defines.h:171: `u_in...
2008 Feb 13
2
[PATCH] btrfs: fixes for kobject changes in mainline
...= btrfs_super_release, }; -static struct kset btrfs_kset; +/* /sys/fs/btrfs/ entry */ +static struct kset *btrfs_kset; int btrfs_sysfs_add_super(struct btrfs_fs_info *fs) { @@ -208,14 +209,9 @@ } name[len] = '\0'; - fs->super_kobj.kset = &btrfs_kset; - fs->super_kobj.ktype = &btrfs_super_ktype; - - error = kobject_set_name(&fs->super_kobj, "%s", name); - if (error) - goto fail; - - error = kobject_register(&fs->super_kobj); + fs->super_kobj.kset = btrfs_kset; + error = kobject_init_and_add(&fs->super_kobj, &btrfs_super_ktype...
2023 Aug 11
1
Bug in dhcp-dyndns.sh script, A_REC always singleton array
.../# mapfile -t foo <<< "" root at dy3:/# echo ${#foo[@]} 1 I would then suggest instead redirecting the query command right away with process substitution `mapfile -t `A_REC `< <`($SAMBATOOL dns query "${Server}" "${domain}" "${name}" A "$KTYPE" 2>/dev/null | grep 'A:' | awk '{print $2}') ` `This seems to make it work as intended: root at dy3:/# mapfile -t A_REC < <(/bin/samba-tool dns query "dy3" "poizan.dk" "doesnotexists" A "--use-kerberos=required" 2>/dev/null |...
2023 Aug 11
1
Bug in dhcp-dyndns.sh script, A_REC always singleton array
...ot; > root at dy3:/# echo ${#foo[@]} > 1 > > I would then suggest instead redirecting the query command right away > with process substitution > > `mapfile -t `A_REC `< <`($SAMBATOOL dns query "${Server}" "${domain}" > "${name}" A "$KTYPE" 2>/dev/null | grep 'A:' | awk '{print $2}') ` > `This seems to make it work as intended: > > root at dy3:/# mapfile -t A_REC < <(/bin/samba-tool dns query "dy3" > "poizan.dk" "doesnotexists" A "--use-kerberos=required&qu...
2007 Jun 20
0
[PATCH] linux-2.6.18: utilize SYS_HYPERVISOR config option
...c ssize_t hyp_sysfs_store(struct ko return 0; } -struct sysfs_ops hyp_sysfs_ops = { +static struct sysfs_ops hyp_sysfs_ops = { .show = hyp_sysfs_show, .store = hyp_sysfs_store, }; @@ -52,8 +50,7 @@ static int __init hypervisor_subsys_init return -ENODEV; hypervisor_subsys.kset.kobj.ktype = &hyp_sysfs_kobj_type; - return subsystem_register(&hypervisor_subsys); + return 0; } device_initcall(hypervisor_subsys_init); -EXPORT_SYMBOL_GPL(hypervisor_subsys); Index: head-2007-05-31/include/xen/hypervisor_sysfs.h ==================================================================...
1996 Nov 14
0
Re: Re: t bit and symlinks patch
...st is the local machine. In general, if you have access to a directory you can tamper with almost any file in that directory, even ones you do not own or have write or delete access to. Instead of "host=myhost" you can also use "System=Linux", "machine=i486", or "ktype=_____". This is similar to the problem of symbolic links in /tmp but it has a difference: The permissions of the original file do not matter, the permissions of the substitute file matter. So while the ability to create a file or symlink in a directory only matters when the file you wish to...
2001 Jun 06
2
Failure to compile OpenSSH.
...;configure" #include "confdefs.h" #include <string.h> #include <openssl/rand.h> int main(void) { char a[2048]; memset(a, 0, sizeof(a)); RAND_add(a, sizeof(a), sizeof(a)); return(RAND_status() <= 0); } (4) cc: Info: /usr/athena/include/ktypes.h, line 18: In this declaration, "u_int32_t" has a duplicate typedef at line number 189 in file defines.h. This might not be portable. (duptypedef) typedef unsigned int u_int32_t; /* 32 bits */ ---------------------^ gmake: *** [radix.o] Error 1 (5) cc -Ae -I/afs/bi/p/include -...
2005 May 19
1
ssh-keygen private keys export - new feature
...tdout, blob, len); - fprintf(stdout, "%s\n", SSH_COM_PUBLIC_END); + fprintf(stdout, "%s\n", + private?SSH_COM_PRIVATE_END:SSH_COM_PUBLIC_END); key_free(k); xfree(blob); exit(0); @@ -216,7 +326,6 @@ u_char *sig, data[] = "abcde12345"; int magic, rlen, ktype, i1, i2, i3, i4; u_int slen; - u_long e; buffer_init(&b); buffer_append(&b, blob, blen); @@ -232,8 +341,7 @@ cipher = buffer_get_string(&b, NULL); i2 = buffer_get_int(&b); i3 = buffer_get_int(&b); - i4 = buffer_get_int(&b); - debug("ignore (%d %d %d %...
2008 Sep 27
0
[PATCH 4/9] dom0 PCI: support SR-IOV capability
...len) +{ + struct iov_attr *ia = container_of(attr, struct iov_attr, attr); + + return ia->store ? ia->store(kobj, ia, buf, len) : -EIO; +} + +static struct sysfs_ops iov_attr_ops = { + .show = iov_attr_show, + .store = iov_attr_store, +}; + +static struct kobj_type iov_ktype = { + .sysfs_ops = &iov_attr_ops, +}; + +static inline void vf_rid(struct pci_dev *dev, int vfn, u8 *busnr, u8 *devfn) +{ + u16 rid; + + rid = (dev->bus->number << 8) + dev->devfn + + dev->iov->offset + dev->iov->stride * vfn; + *...
2005 Jul 26
1
Linux in-kernel keys support
...+ openssh-4.1p1-hacked/key.c 2005-07-25 22:13:45.000000000 +0200 @@ -545,6 +545,9 @@ key_ssh_name(const Key *k) { switch (k->type) { + case KEY_RSA1: + return "rsa1"; + break; case KEY_RSA: return "ssh-rsa"; break; @@ -698,6 +701,7 @@ type = key_type_from_name(ktype); switch (type) { + case KEY_RSA1: case KEY_RSA: key = key_new(type); if (buffer_get_bignum2_ret(&b, key->rsa->e) == -1 || @@ -762,6 +766,7 @@ buffer_put_bignum2(&b, key->dsa->g); buffer_put_bignum2(&b, key->dsa->pub_key); break; + case KEY_RSA1:...
2023 Aug 02
2
Configure DHCP to update DNS records problem
Hello all, After several days of working on this, I'm stuck. Hopefully someone can point out what I'm missing here. I'm working with this script to dynamically update my Samba AD DC DNS: https://wiki.samba.org/index.php/Configure_DHCP_to_update_DNS_records Short of it: The script does not update the DNS records due to samba-tool failing for some unknown reason. Long of it: