Upgrading KDC from 1.15 to 1.18

2020-03-20 Thread Yegui Cai
the right direction? Thanks in advance and best regards! Yegui Cai Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos

iprop not working

2020-02-06 Thread Yegui Cai
Hi, I am running KDC inside a docker container. It seems there is an issue with iprop. The 2122 port on the master kdc for some reason is not open. I am guessing maybe some library needed by iprop is missing in my docker container. Can someone please point me in the right direction? Thank you ver

rate limiting in KDC?

2019-12-05 Thread Yegui Cai
Hi, May I ask a quick question? Is there any rate-limited mechanism in KDC? I am asking for two reasons. First, if there is a DoS attack, I think KDC needs to have some kind of rate-limiting to eliminate the attack. Am I right? Secondly, for performance banch marking, if there is a rate-limiting in

Perfornace bench marking

2019-11-15 Thread Yegui Cai
Hi, Is there some performance bench marking done against KDC. For instance, if I want to deploy a KDC server and suppose some peak traffic volume, what kind of memory/cpu resource I should provision for the server? Thanks! Yegui Kerberos mailing lis

Re: /etc/krb5.conf for IPV6

2019-11-06 Thread Yegui Cai
Ok, thanks! On Wed, Nov 6, 2019 at 4:04 PM Greg Hudson wrote: > On 11/6/19 2:57 PM, Yegui Cai wrote: > > It looks like we need to have brackets around IPV6 addresses inside > > /etc/krb5.conf. Am I right? It is, why would that be the case? > > Yes, you do need b

/etc/krb5.conf for IPV6

2019-11-06 Thread Yegui Cai
Hi, It looks like we need to have brackets around IPV6 addresses inside /etc/krb5.conf. Am I right? It is, why would that be the case? Thanks, Yegui Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos

kpropd on non-default port

2019-07-15 Thread Yegui Cai
Hi community. I am trying to deploy a master and a slave KDC. Due to regulations, I need to run everything on unpriviledged ports. I have done everything except for kpropd which by default runs on 754. When I launched kpropd on port, say, 3754. Database propagation did not happen. I did try running

Re: Audit logging

2019-06-20 Thread Yegui Cai
In my opinion, audit logging can be a subset of the loggings KDC has. But sometimes, software can have audit loggings separately. On Thu, Jun 20, 2019 at 1:40 PM Greg Hudson wrote: > On 6/20/19 1:16 PM, Yegui Cai wrote: > > Does KDC generate audit logs by any chance? If not, would the

Audit logging

2019-06-20 Thread Yegui Cai
Hi community. Does KDC generate audit logs by any chance? If not, would there be any plan to do so? Thanks, Yegui Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos

Re: Admin session expiry

2019-03-26 Thread Yegui Cai
requests), the expiration time of the existing TGT. > > > Examine the database entries for both kadmin/admin and your admin user. > > ---------- > *From:* Yegui Cai > *Sent:* Tuesday, March 26, 2019 1:17 PM > *To:* Jeffrey Hutzelman > *Cc:* John Devit

Re: Admin session expiry

2019-03-26 Thread Yegui Cai
min, for which purpose it generally needs to prompt you for a > password. The ticket it obtains is kept in memory and not ever written to a > file where you can see it, but it does exist. And, like all tickets, it > has a lifetime. > > > > ------ > *F

Admin ticket expiry does not expire consistently

2019-03-25 Thread Yegui Cai
5 11:53:27 ygc-kdc-master05.example.com kadmind[18654](Notice): GSS-API error strings complete. Mar 25 11:53:27 ygc-kdc-master05.example.com kadmind[18654](Error): Authentication attempt failed: 10.76.50.109, RPC authentication flavor 6 --- Do I miss something here? Thanks for an

Re: Admin session expiry

2019-03-11 Thread Yegui Cai
du > Subject: Re: Admin session expiry > > On Jan 13, 2019, at 1:49 AM, Greg Hudson wrote: > > > > On 1/11/19 11:08 AM, Yegui Cai wrote: > >> Any plan to add the capability of expiring admin sessions into a future > >> release? > > > > We can con

Re: Data privacy in KDC

2019-03-04 Thread Yegui Cai
Hi Greg. Thanks a lot for your reply. A further question regarding 3. The database files (principle, principal.kadm5) are not encrypted, am I right? Best, Yegui On Mon, Mar 4, 2019 at 12:16 PM Greg Hudson wrote: > On 3/4/19 11:45 AM, Yegui Cai wrote: > > 1. If I have multiple tenant

Data privacy in KDC

2019-03-04 Thread Yegui Cai
different realms? 3. If I use the default data storage (Berkeley DB if my understanding is correct), how data is encrypted at rest? Thanks a lot! Yegui Cai Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo

Re: Master-master deployment?

2019-02-06 Thread Yegui Cai
Awesome, thanks! On Wed, Feb 6, 2019 at 2:32 AM t Seeger wrote: > Hey Yegui, > > You can find the script here https://wp.tntnet.eu/?p=112 > There is a very short instruction too. Keep in mind that I m not a ldap or > Kerberos expert. ^^ > > Thor > > On 6. Feb 2019,

Re: Master-master deployment?

2019-02-02 Thread Yegui Cai
Sat, Feb 02, 2019 at 11:12:33AM -0500, Yegui Cai wrote: > > Hi Thor. > > So you have a shared ldap? If so, could that ldap be a single point of > > failure? > > > > Thanks, > > Yegui > > > > On Sat, Feb 2, 2019 at 11:10 AM t Seeger wrote: > >

Re: Master-master deployment?

2019-02-02 Thread Yegui Cai
Hi Thor. So you have a shared ldap? If so, could that ldap be a single point of failure? Thanks, Yegui On Sat, Feb 2, 2019 at 11:10 AM t Seeger wrote: > Hey Yegui, > > I use a mutli master setup. For the sync I use openldap. > > Greeting Thor > > On 2. Feb 2019, at 15

Master-master deployment?

2019-02-02 Thread Yegui Cai
Hi all. I know the official document recommend master-slave deployment for production environment. Wonder if any try to do a master-master deployment? If yes, how could you sync between two masters? Thanks, Yegui Kerberos mailing list Kerbe

Re: KDC 1.15.1 - addprinc random failure

2019-02-02 Thread Yegui Cai
Hi all. I just found out that the issue was caused by some race conditions when I experiment with master-master deployment. Please ignore this thread. Cheers, Yegui On Fri, Feb 1, 2019 at 11:20 AM Yegui Cai wrote: > Hi all. > > I run KDC 1.15.1. At the host, I use kadmin.local

KDC 1.15.1 - addprinc random failure

2019-02-01 Thread Yegui Cai
Hi all. I run KDC 1.15.1. At the host, I use kadmin.local to add a principle. Very strange that my first attempt failed silently while the second attempt succeeded. Here are the steps: [root@gamma-hactive ~]# kadmin.local Authenticating as principal hdfs/ad...@example.com with password. kadmin.lo

Re: kadmind: Cannot set GSSAPI authentication names, aborting

2019-01-25 Thread Yegui Cai
Sure! I built 1.16.3 under a non-default directory and configure ccache in a subdirectory. But I did not create that ccache directory. So a misleading error message was generated. On Fri, Jan 25, 2019 at 1:40 PM Robbie Harwood wrote: > Yegui Cai writes: > > > On Thu, Jan 24, 2019

Re: kadmind: Cannot set GSSAPI authentication names, aborting

2019-01-24 Thread Yegui Cai
I figured out it by using strace. It turned out to be a directory was missing. The error message is really confusing. On Thu, Jan 24, 2019 at 12:05 PM Yegui Cai wrote: > Hi all. > > I ran into an issue when I tried to run kadmind. The version of KDC is > 1.16.3. > I did have k

kadmind: Cannot set GSSAPI authentication names, aborting

2019-01-24 Thread Yegui Cai
any idea on what is going on? Thanks a lot! Yegui Cai Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos

Re: Admin session expiry

2019-01-11 Thread Yegui Cai
Hi Greg. Any plan to add the capability of expiring admin sessions into a future release? Thanks! Yegui On Wed, Jan 2, 2019 at 11:30 AM Greg Hudson wrote: > On 12/28/18 12:07 PM, Yegui Cai wrote: > > Is there a way to configure KDC so that the admin session will expire if >

Unknown credential cache type while opening default credentials cache

2019-01-09 Thread Yegui Cai
Hi. I build KDC from source code and deploy it in a customized directory. When i run kadmin.local, it errors with a message: kadmin.local: Unknown credential cache type while opening default credentials cache Can you please provide some hints on troubleshooting? Thanks a lot! Yegui

Re: Running KDC as non-root and dockerize KDC

2019-01-07 Thread Yegui Cai
Hi Robbie. I ran into the case where the privileged ports are not allowed to be bindded. Do you know how I can work around this? Thanks, YC On Fri, Jan 4, 2019 at 11:14 AM Robbie Harwood wrote: > Yegui Cai writes: > > > Hi all. > > > > This can be two threads but

Re: libverto.so.0

2019-01-07 Thread Yegui Cai
Yes. I did run "make install" In fact, by default, at the configuration stage, system libverto will be used based on the output. How can I not to use the system verto? Thanks for your help! On Mon, Jan 7, 2019 at 10:55 AM Greg Hudson wrote: > On 1/7/19 10:29 AM, Yegui Cai wrote

libverto.so.0

2019-01-07 Thread Yegui Cai
Hi. I built kdc from source code. When I run kadmind it complains the missing dependency of libverto.so.0. My machine has libverto.so.1. Would it work if i create a softlink to libverto.so.1? Thanks! YC Kerberos mailing list Kerberos@mit.e

Running KDC as non-root and dockerize KDC

2019-01-04 Thread Yegui Cai
Hi all. This can be two threads but I have the following two questions at the same time. 1. Can we run KDC as a non-root user? Meaning is it required to run KDC as root? 2. Is there any official docker images for KDC? or any plan to have one? Thanks! Yegui

Re: Admin session expiry

2019-01-02 Thread Yegui Cai
Thanks for the info. On Wed, Jan 2, 2019 at 11:30 AM Greg Hudson wrote: > On 12/28/18 12:07 PM, Yegui Cai wrote: > > Is there a way to configure KDC so that the admin session will expire if > it > > keeps inactive for a period of time? > > There is not. However, if more

Admin session expiry

2018-12-28 Thread Yegui Cai
Hi all. Is there a way to configure KDC so that the admin session will expire if it keeps inactive for a period of time? Thanks, YC Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos