EDIT: I posted a more detailed article on:
http://www.scalix.com/community/viewtopic.php?p=18604
please read and answer there
Hi,
I have some questions regarding some specific steps:
Step 8:
the AD user is "scalix-ual"(FirstName, DisplayName and User Logon Name).
I run this:
Code: Select all
C:\Program Files\Support Tools>ktpass -princ scalix-ual/sca01.test.int@TEST.INT
-mapuser scalix-ual -pass password -out scalix-ual.keytab -kvno 3
Targeting domain controller: w2k3std01.test.int
Using legacy password setting method
Successfully mapped scalix-ual/sca01.test.int to scalix-ual.
WARNING: pType and account type do not match. This might cause problems.
Key created.
Output keytab to scalix-ual.keytab:
Keytab version: 0x502
keysize 69 scalix-ual/sca01.test.int@TEST.INT ptype 0 (KRB5_NT_UNKNOWN) vno 3 et
ype 0x17 (RC4-HMAC) keylength 16 (0x1aa2b5c696504e29baab22f3a2118473)
I think there are some problems: pType is not 1 and etype is RC4-HMAC instead of DES.
In fact, in the docs (Scalix Administration Guide v10.0.1) the output for the ktpass command should be:
Code: Select all
Successfully mapped scalix-ual/scalixserver.acme.net to scalixual.
Key created.
Output keytab to scalix-ual.keytab:
Keytab version: 0x502
keysize 68 scalix-ual/scalixserver.acme.net@ACME.NET ptype 1
(KRB5_NT_PRINCIPAL)
vno 3 etype 0x1 (DES-CBC-CRC) keylength 8 (0xe6fb762ad01f8a9b)
Account has been set for DES-only encryption.
I tried to manually force the correct parameters with:
Code: Select all
C:\Program Files\Support Tools>ktpass.exe -princ scalix-ual/sca01.test.int@TEST.
INT -mapuser scalix-ual -pass password -out scalix-ual.keytab -kvno 3 -crypto
DES-CBC-MD5 -desonly -ptype KRB5_NT_PRINCIPAL
Targeting domain controller: w2k3std01.test.int
Using legacy password setting method
Successfully mapped scalix-ual/sca01.test.int to scalix-ual.
Key created.
Output keytab to scalix-ual.keytab:
Keytab version: 0x502
keysize 61 scalix-ual/sca01.test.int@TEST.INT ptype 1 (KRB5_NT_PRINCIPAL) vno 3
etype 0x3 (DES-CBC-MD5) keylength 8 (0xc4eaba894fda2554)
Is it correct?
Note that this is a Windows 2003 Std R2 english domain controller and that the AD domain name ("test.int") is the *same* of the scalix server (test.int)... may these be source of problems?
---
Next, before actually importing the keytab file with ommergekeys/omkrbconf, I tried to authenticate from an outlook client with an AD user.
Users from the AD domain were correctly imported with omldapsync -u AD_SX1 (I can see the accounts with the SAC and with an LDAP Browser).
Scalix server did not ask me for a password! That is, it asked for credentials and I put
user1@test.int, but left the password blank... but it authenticated and let me see the mailbox! And this was the same for the SWA.
In Step 14, you say to modify /var/opt/scalix/sys/pam.d/ual.remote to modify the precedence of passwords.
One note: I expected to find this step in the Administration Guide in the "Integrating Scalix with Microsoft Active Directory" chapter and not (only) in the "Kerberos Authentication" one.I merged the keytab files and modified krb conf:
Code: Select all
# ommergekeys /var/opt/scalix/scalix-ual.keytab
# omkrbconf -r TEST.INT -s scalixdc.test.int
-- scalixdc.test.int is a CNAME for w2k3std01.test.int, but I tried also with the A record... same results.
I modified the 4 files as indicated, but it does not work. That is, users are not allowed to login with a blank password nor with their real AD password.
I also tried with login name = user,
user@test.int,
user@TEST.INT, User Surname.... none.
What did I do wrong?

Thank you in advance.
Davide DG.[/code]