Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Set up Kerberos in v18?

Is there any additional configuration needed to enable Kerberos authentication in v18?  I got a failure message on upgrade startup in the log viewer: Cannot initialize Kerberos authentication with domain." but have not been able to figure out how to troubleshoot it further.  Documentation doesn't seem to mention anything.  Thanks in advance.



This thread was automatically locked due to age.
Parents
  • Kerberos authentication requirements

    1. What is the requirement for enabling “Audit Kerberos Authentication Service” in AD.
    2. How many days do we need to retain these logs in each domain controller?

     

    1.) Go to the Local security Policy > Local polices > audit policy > Audit account logon events properties > properties > success and Failure options should be enabled.

    2.) Go to gpedit.msc > Default domain controller policy > right click > edit > polices > windows settings  > security settings > advanced audit policy > audit policies > account logon > audit kerberos authentication services > properties > success and failure options should be enabled.

    Regards,

    Karthik K

  • Hello,

    I am trying to setup Kerberos auth for clients and I have next experience :
    I have one fresh installation of XG18 in virtual environment; I configured XG, domain and PC with reccomendation listed in several pages; and it works well; PC is able to reach Inetret and I see user in list of Live users AD SSO Kerberos


    I have two XGs which were upgraded from version 17.5.x

    I went through the same steps like in first case; but these two installations do not work.

    I went through troubleshooting steps and see this.

    The first one - call it amazon, is OK at AD environment :

    C:\Users\inf_podvarka>setspn -L sxgamazon
    Registered ServicePrincipalNames for CN=SXGAMAZON,CN=Computers,DC=amazon,DC=local:
    HTTP/sxgamazon
    HTTP/sxgamazon.amazon.local
    HOST/sxgamazon.amazon.local
    HOST/SXGAMAZON

    and from XG it is bad :

    XG310_WP02_SFOS 18.0.1 MR-1-Build396# chroot /content/nasm
    # /oss/klist -e -k /tmp/krb5.keytab
    /bin/sh: /oss/klist: not found
    #

    but after workaround steps :

    service nasm:stop -ds nosync
    rm -rf /content/nasm
    service nasm:start -ds nosync

    it seems to be OK :

    chroot /content/nasm
    /oss/klist -e -k /tmp/krb5.keytab
    Keytab name: FILE:/tmp/krb5.keytab
    KVNO Principal
    ---- --------------------------------------------------------------------------
    3 HOST/sxgamazon.amazon.local@amazon.LOCAL (des-cbc-crc)
    3 HOST/SXGAMAZON@amazon.LOCAL (des-cbc-crc)
    3 HOST/sxgamazon.amazon.local@amazon.LOCAL (des-cbc-md5)
    ...


    The second one - call it elbe, is OK at AD environment :

    C:\Users\podvarka>setspn -L sxgelbe
    Registered ServicePrincipalNames for CN=sxgelbe,CN=Computers,DC=elbe,DC=local:
    HTTP/sxgelbe.elbe.local
    HTTP/sxgelbe
    HOST/sxgelbe.elbe.local
    HOST/sxgelbe

    and from XG it is bad :


    XG310_WP03_SFOS 18.0.1 MR-1-Build396# chroot /content/nasm
    # /oss/klist -e -k /tmp/krb5.keytab
    Keytab name: FILE:/tmp/krb5.keytab
    klist: Key table file '/tmp/krb5.keytab' not found while starting keytab scan
    #

    the same after workaround :

    service nasm:stop -ds nosync
    rm -rf /content/nasm
    service nasm:start -ds nosync

    all three XGs has STAS used and it works - conenction to appropriate AD server is OK and functional

    there was slight difference in behaviour of adding XG to AD; it was automatical in case of amazon; I had to add HTTP objects (HOST objects were added by system)

    I had to add object in case of elbe manually

    has anybody of you idea how to solve problem with this ?
    klist: Key table file '/tmp/krb5.keytab' not found while starting keytab scan

    suppose it is reason of non functionality :

    Cannot establish NTLM authentication channel with

    Best regards,

    Petr

  • Hello,

    small investigation and solution on elbe is quite simple. You have to reseat XG into domain, but nobody told what does it mean and how to do it.

    For people who do not know how to do it short explanation connect to XG and change name in SYSTEM - Administration - Admin settings - Hostname. It could cause new computer object in AD will appear. Delete this object and original XG object in AD as well. After that change Hostname to original and this object should appear in computer list again. Check servicePrincipalName in attribute editor od AD object. Check klist at XG - it should work now well. If not, use workaround (rm -rf /content/nasm). Good luck.

    Best regards,

    Petr

    PS for Sophos people - I think that many people would appreciate list of symptoms and most often solution; like "if you see this mesage, you would do this" ; I miss it ...

Reply
  • Hello,

    small investigation and solution on elbe is quite simple. You have to reseat XG into domain, but nobody told what does it mean and how to do it.

    For people who do not know how to do it short explanation connect to XG and change name in SYSTEM - Administration - Admin settings - Hostname. It could cause new computer object in AD will appear. Delete this object and original XG object in AD as well. After that change Hostname to original and this object should appear in computer list again. Check servicePrincipalName in attribute editor od AD object. Check klist at XG - it should work now well. If not, use workaround (rm -rf /content/nasm). Good luck.

    Best regards,

    Petr

    PS for Sophos people - I think that many people would appreciate list of symptoms and most often solution; like "if you see this mesage, you would do this" ; I miss it ...

Children