Displaying 20 results from an estimated 5722 matches for "principal".
2025 Apr 29
1
Multiple allowed signer files in `ssh-keygen -Y verify`
...+static char **identity_files;
+static size_t nidentity_files;
+
/* This is set to the passphrase if given on the command line. */
static char *identity_passphrase = NULL;
@@ -2803,16 +2807,17 @@ done:
static int
sig_verify(const char *signature, const char *sig_namespace,
- const char *principal, const char *allowed_keys, const char *revoked_keys,
- char * const *opts, size_t nopts)
+ const char *principal, char **allowed_keys, size_t nallowed_keys,
+ const char *revoked_keys, char * const *opts, size_t nopts)
{
- int r, ret = -1;
+ int r, ret = -1, matched = 0;
int print_pubke...
2025 Apr 23
1
Multiple allowed signer files in `ssh-keygen -Y verify`
Hello,
I'm currently evaluating using `ssh-keygen -Y verify` to check OS
artifacts (e.g. packages) and I noticed that the `-f
allowed_signers_file` option can be passed only once. A side remark:
technically it can be passed multiple times without a warning but the
last invocation overrides all previous ones. Tested using:
$ ssh-keygen -Y verify -f allowed_signers -f /dev/null -n file -s
2015 Oct 09
5
kerberos nfs4's principals and root access
...lo samba team !
I have some NFS4 exports managed by a Samba's Kerberos realm. All the
standard user accesses work fine.
I try now to setup an NFS4 root access to administer the share from
another server (the two host are DC, one PDC and one SDC). But I have
trouble understanding the kerberos/principals layer.
------------
Actually I do
-------------
-> on the server I create an nfs principal and export it to the keytab
$ samba-tool user add nfs-myserver --random-password
$ samba-tool spn add nfs/myserver.samdom.com nfs-myserver
$ samba-tool domain exportkeytab --principal=nfs/myserver.samdo...
2015 Feb 22
3
PKI host based principal
Hello,
Maybe I did not understand correctly the PKI trust, so forgive me if I am wrong.
For example, I have multiple hosts that all serves as monitoring
server, I would like to trust only these hosts, so I enrol a
certificate for these using "monitoring" principal, so I can connect
only to these.
At first I thought we can do Match statement at ssh_config, however,
the Match is being evaluated before connection, so remove principal
name is not available at this stage.
>From what I do understand the known_hosts format enables CA key and
DNS mask of matche...
2015 Oct 09
1
kerberos nfs4's principals and root access
Thanks you very much Louis !
I have tried your setup and I can't mount the share neither from the
server itself or the client.
On /var/log/syslog I have :
rpc.gssd : ERROR : no credentials found for connecting to server myserver
This is because the machine principal is not present in the keytab :
$ klist -k
1 nfs/myclient.samdom.com at SAMDOM.COM
1 nfs/myclient.samdom.com at SAMDOM.COM
1 nfs/myclient.samdom.com at SAMDOM.COM
If I add the machine principal. I can mount the share but root user
write as "machine" not as "root".
Can you chec...
2015 Oct 09
3
kerberos nfs4's principals and root access
...ost-on-ubuntu
im testing this now.
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens Prunk Dump
> Verzonden: vrijdag 9 oktober 2015 11:34
> Aan: samba at lists.samba.org
> Onderwerp: Re: [Samba] kerberos nfs4's principals and root access
>
> Thanks you very much Louis !
>
> I have tried your setup and I can't mount the share neither from the
> server itself or the client.
>
> On /var/log/syslog I have :
>
> rpc.gssd : ERROR : no credentials found for connecting to server myserver...
2015 Oct 09
0
kerberos nfs4's principals and root access
...ur exports file on the server configured?
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens Prunk Dump
> Verzonden: vrijdag 9 oktober 2015 8:59
> Aan: samba at lists.samba.org
> Onderwerp: [Samba] kerberos nfs4's principals and root access
>
> Hello samba team !
>
> I have some NFS4 exports managed by a Samba's Kerberos realm. All the
> standard user accesses work fine.
>
> I try now to setup an NFS4 root access to administer the share from
> another server (the two host are DC, one PDC...
2010 Nov 30
3
pca analysis: extract rotated scores?
Dear all
I'm unable to find an example of extracting the rotated scores of a
principal components analysis. I can do this easily for the un-rotated
version.
data(mtcars)
.PC <- princomp(~am+carb+cyl+disp+drat+gear+hp+mpg, cor=TRUE, data=mtcars)
unclass(loadings(.PC)) # component loadings
summary(.PC) # proportions of variance
mtcars$PC1 <- .PC$scores[,1] # extract un-rotated...
2015 Feb 13
1
Samba4 kinit issue with principal and keytab file
Hi Rowland,
Hi looks like the "-c" option is optional.
My
problem is not really the kerberos cache file, but the "principal"
linked to the user kerbuser.
The principal is
HTTP/webserver.MYDOMAIN.LOCAL at MYDOMAIN.LOCAL
I would like to use kinit
and give this principal as parameter. something like :
> kinit -k -t
/root/my.keytab HTTP/webserver.MYDOMAIN.LOCAL at MYDOMAIN.LOCAL
But no
success with such a co...
2016 Feb 25
1
Trouble adding a service principal to keytab
Hi,
I am new to samba and Kerberos so please be gentle!
I have built a samba AD DC (v4.3.5) on Centos Linux from source and am
trying to add a service principal and generate a keytab containing the
principal. However the principal entry does not appear in the keytab.
Here's what I did:
[root at bones ~]# samba-tool spn add
GEMSTONE64/bunk.gemtalksystems.com at SAMBATEST.GEMTALKSYSTEMS.COM normg
[root at bones ~]# samba-tool spn list normg
normg
Us...
2017 May 15
5
Golang CertChecker hostname validation differs to OpenSSH
Hi all,
Last week I noticed that the CertChecker in the Go implementation of
x/crypto/ssh seems to be doing host principal validation incorrectly
and filed the following bug:
https://github.com/golang/go/issues/20273
By default they are looking for a principal named "host:port" inside
of the certificate presented by the server, instead of just looking
for the host as I believe OpenSSH does.
e.g. the followi...
2011 Mar 03
2
PCA - scores
I am running a PCA, but would like to rotate my data and limit the
number of factors that are analyzed. I can do this using the
"principal" command from the psych package [principal(my.data,
nfactors=3,rotate="varimax")], but the issue is that this does not
report scores for the Principal Components the way "princomp" does.
My question is:
Can you get an output of scores using "principal" OR, i...
2004 Sep 13
4
Pending OpenSSH release, call for testing.
Darren,
We have systems which are multihomed for virtualisation, but run only one sshd.
You can connect to any IP-address and should be authenticated with
gssapi/kerberos. So the client will ask for a principal host/virt-ip-X and the
server has to have an entry for this in the keytab and has to select the right
key by determining the hostname from the connection IP-address. There is no other
way to this (except with GSS_C_NO_NAME, which I haven't tested)than having a
keytab entry per interface, which...
2015 Oct 09
0
kerberos nfs4's principals and root access
...mapd.conf
Working on it now.
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens L.P.H. van Belle
> Verzonden: vrijdag 9 oktober 2015 13:34
> Aan: samba at lists.samba.org
> Onderwerp: Re: [Samba] kerberos nfs4's principals and root access
>
> Ok, not working...
>
> But found this...
>
> ( http://users.suse.com/~sjayaraman/nfs4_howto.txt )
>
> 4.5 A known issue using NFS with kerberos
> _________________________________________
>
> Even if "no_root_squash" option is use...
2014 Jun 19
2
Principal component analysis with EQUAMAX rotation
Hello,
I need to do a principal component analysis with EQUAMAX-rotation.
Unfortunately the function principal() I use normally for PCA does not offer
this rotation specification. I could find out that this might be possible
somehow with the package GPArotation but until now I could not figure out
how to use this in the principal...
2012 Dec 09
1
Fwd: samba_dnsupdate principal and TKEY unacceptable
...with bind_dlz (bind-9.9.1 - P1) on a multi-homed
network. I have configured the setup as per Samba4 Howto.
But when I try to do "samba_dnsupdate --all-names" it fails with error:
dns_tkey_negotiategss: TKEY is unacceptable
The kerberos ticket being used by samba_dnsupdate shows follwoing
principals:
klist -c /tmp/tmp6cxfgY
Ticket cache: FILE:/tmp/tmp6cxfgY
Default principal: DB-SERVER$@BOM.MH.IN
Service principal
krbtgt/BOM.MH.IN
DNS/db-server at BOM.MH.IN
Whereas the dns.keytab shows following principals (repeated for multiple
encryption algorithms)
klist -k private/dns.keytab:
DNS/db-ser...
2010 May 10
1
Certificates and authorized principals
...in certificate authentication might be interested
in this change:
> - djm at cvs.openbsd.org 2010/05/07 11:30:30
> [auth-options.c auth-options.h auth.c auth.h auth2-pubkey.c key.c]
> [servconf.c servconf.h sshd.8 sshd_config.5]
> add some optional indirection to matching of principal names listed
> in certificates. Currently, a certificate must include the a user's name
> to be accepted for authentication. This change adds the ability to
> specify a list of certificate principal names that are acceptable.
>
> When authenticating using a CA tru...
2023 Nov 12
1
Match Principal enhancement
Hi OpenSSH devs,
I?m wondering if the following has any merit and can be done securely ...
If you could match on principals in the sshd_config, then (for example) on a gateway machine, you could have something like
/etc/ssh/authorized_keys/sshfwd:
cert-authority,principals=?batcha-fwd,batchb-fwd? ...
/etc/ssh/sshd_config containing:
Match User sshfwd
PubkeyAuthentication yes
PasswordAuthenticatio...
2023 Nov 12
1
Match Principal enhancement
AFAIK everything you described here could be done using the
AuthorizedKeysCommand or AuthorizedPrincipalsCommand directives. These
can emit authorized_keys options (inc. permitopen) as well as the allowed
keys/principals.
On Sun, 12 Nov 2023, Bret Giddings wrote:
> Hi OpenSSH devs,
>
> I?m wondering if the following has any merit and can be done securely ...
>
> If you could match...
2012 Jul 13
1
Understanding kerberos principals in samba4
Hi,
When I have a service on a client that tries to use kerberos and I get
errors such as these in the log.samba file:
Kerberos: UNKNOWN -- host/ubuntu-test.mydomain.net @ MYDOMAIN.NET: no such
entry found in hdb
Does this mean that the kerberos authentication system is looking for the
principal "host/ubuntu-test.mydomain.net @ MYDOMAIN.NET" in samba4's domain
or in the server's /etc/krb5.keytab file? I have tried adding this
principal to the /etc/krb5.keytab file using ktutil, but this error still
pops up. I noticed that you can export a principal into a keytab file
usi...