Page 1 of 1

User Name/AuthID format with omldapsync and SSO

Posted: Wed Jun 06, 2007 2:46 pm
by aherbert
I am trying to finish our install of Scalix and need some help on a few items.

1. I have a working sync agreement and kerberos config but the problem is the format of the user name for IMAP or Web access. I want the login to be "flast" rather than either "flast@DOMAIN.COM" (case sensitive) or "First Last".

2. The displayName does not seem to be carrying over to the users email address when the email is specified to be automatic. If I enter the email address manually is caries the name over. I want the email address to be like : "User Name" <uname@domain.com>

Is there a way I can customize the omldapsync agreement to do these changes?

Posted: Wed Jun 06, 2007 10:15 pm
by aherbert
I was able to get the AuthID to be "flast" in the sync agreement. The problem is now that breaks SSO with outlook because it can't find the user name of flast@DOMAIN.COM.

Output from omsckd.log with AuthID of flast. Note the line :
8104 2007-06-06 21:04:52 Username flast@DOMAIN.COM supplied is not known
8016 2007-06-06 21:04:43 bad_accept_sleep: 0
8016 2007-06-06 21:04:43 so_keepalive: 1
8016 2007-06-06 21:04:43 tcp_keepidle: 0
8016 2007-06-06 21:04:43 sys_block_size: 28672
8016 2007-06-06 21:04:43 max_logical_block_size: 1048576
8016 2007-06-06 21:04:43 low_level_acks: false
8016 2007-06-06 21:04:43 logical_block_compression: false
8016 2007-06-06 21:04:43 logical_28k_block: true
8016 2007-06-06 21:04:43 server_push_notifs: true
8016 2007-06-06 21:04:43 append_ft_data: true
8017 2007-06-06 21:04:52 connection from 192.168.4.76
8104 2007-06-06 21:04:52 *** Scalix UAL Session Start
8104 2007-06-06 21:04:52 Initial PhysicalBlockSize: 32
8104 2007-06-06 21:04:52 Initial LogicalBlockSize: 32
8104 2007-06-06 21:04:52 Initial LogicalBytesLeft: 0
8104 2007-06-06 21:04:52 Requested Flags: NO_LOW_LEVEL_ACKS LOGICAL_BLK_COMPRESSION LOGICAL_BUFF_28_KB SERVER_PUSH_NOTIFS APPENDED_FT_DATA (0x2f00)
8104 2007-06-06 21:04:52 Requested Blocksize: 0
8104 2007-06-06 21:04:52 ActualFlags: NO_LOW_LEVEL_ACKS LOGICAL_BUFF_28_KB SERVER_PUSH_NOTIFS APPENDED_FT_DATA (0x2d00)
8104 2007-06-06 21:04:52 Actual Blocksize: 28672
8104 2007-06-06 21:04:52 logical block: phys=40, logical=32, left=0, flags=0 (read so far: 0)
8104 2007-06-06 21:04:52 argv[0] = "99"
8104 2007-06-06 21:04:52 argv[1] = "0"
8104 2007-06-06 21:04:52 argv[2] = "1"
8104 2007-06-06 21:04:52 argv[3] = "0"
8104 2007-06-06 21:04:52 argv[4] = "GSSAPI"
8104 2007-06-06 21:04:52 argv[5] = "scalix-ual"
8104 2007-06-06 21:04:52 argv[6] = "1"
8104 2007-06-06 21:04:52 SASL(NOTE): om_gssapi initialised
8104 2007-06-06 21:04:52 SASL challenge (708): (nil)
8104 2007-06-06 21:04:52 logical block: phys=2026, logical=2018, left=0, flags=0 (read so far: 0)
8104 2007-06-06 21:04:52 argv[0] = "99"
8104 2007-06-06 21:04:52 argv[1] = "0"
8104 2007-06-06 21:04:52 argv[2] = "2"
8104 2007-06-06 21:04:52 argv[3] = ""
8104 2007-06-06 21:04:52 argv[4] = ""
8104 2007-06-06 21:04:52 argv[5] = ""
8104 2007-06-06 21:04:52 argv[6] = "1"
8104 2007-06-06 21:04:52 argv[7] = "<BigNastyHash>"
8104 2007-06-06 21:04:52 SASL(TRACE): om_gssapi accept security context
8104 2007-06-06 21:04:52 SASL(TRACE): GSSAPI: actual server name: "scalix-ual@plscalix01.domain.com"
8104 2007-06-06 21:04:52 SASL(TRACE): GSSAPI: gss_s_complete
8104 2007-06-06 21:04:52 SASL(TRACE): GSSAPI: authentication identity: "flast@DOMAIN.COM"
8104 2007-06-06 21:04:52 SASL challenge (708): (nil)
8104 2007-06-06 21:04:52 logical block: phys=24, logical=16, left=0, flags=0 (read so far: 0)
8104 2007-06-06 21:04:52 argv[0] = "99"
8104 2007-06-06 21:04:52 argv[1] = "0"
8104 2007-06-06 21:04:52 argv[2] = "3"
8104 2007-06-06 21:04:52 argv[3] = "2"
8104 2007-06-06 21:04:52 argv[4] = ""
8104 2007-06-06 21:04:52 argv[5] = ""
8104 2007-06-06 21:04:52 argv[6] = "1"
8104 2007-06-06 21:04:52 SASL(TRACE): GSSAPI: send server parameters
8104 2007-06-06 21:04:52 SASL challenge (708): <Big Nasty Hash>
8104 2007-06-06 21:04:52 logical block: phys=92, logical=84, left=0, flags=0 (read so far: 0)
8104 2007-06-06 21:04:52 argv[0] = "99"
8104 2007-06-06 21:04:52 argv[1] = "0"
8104 2007-06-06 21:04:52 argv[2] = "4"
8104 2007-06-06 21:04:52 argv[3] = ""
8104 2007-06-06 21:04:52 argv[4] = ""
8104 2007-06-06 21:04:52 argv[5] = ""
8104 2007-06-06 21:04:52 argv[6] = "1"
8104 2007-06-06 21:04:52 argv[7] = "<Big Nasty Hash>"
8104 2007-06-06 21:04:52 SASL(TRACE): GSSAPI: accept client parameters
8104 2007-06-06 21:04:52 Username flast@DOMAIN.COM supplied is not known
8104 2007-06-06 21:04:52 SASL authentication result: SASL(-1): generic failure:
8104 2007-06-06 21:04:52 SASL challenge (655): (nil)
8104 2007-06-06 21:04:52 logical block: phys=46, logical=38, left=0, flags=0 (read so far: 0)
8104 2007-06-06 21:04:52 argv[0] = "100"
8104 2007-06-06 21:04:52 argv[1] = "0"
8104 2007-06-06 21:04:52 argv[2] = "5"
8104 2007-06-06 21:04:52 argv[3] = "10493744"
8104 2007-06-06 21:04:52 argv[4] = ""
8104 2007-06-06 21:04:52 argv[5] = ""
8104 2007-06-06 21:04:52 argv[6] = "16"
8104 2007-06-06 21:04:52 argv[7] = "ISO8859_1"
8104 2007-06-06 21:04:52 argv[8] = ""
8104 2007-06-06 21:04:52 argv[9] = ""
8104 2007-06-06 21:04:52 argv[10] = ""


This is a working output :
8017 2007-06-06 21:09:23 connection from 192.168.4.76
8129 2007-06-06 21:09:23 *** Scalix UAL Session Start
8129 2007-06-06 21:09:23 Initial PhysicalBlockSize: 32
8129 2007-06-06 21:09:23 Initial LogicalBlockSize: 32
8129 2007-06-06 21:09:23 Initial LogicalBytesLeft: 0
8129 2007-06-06 21:09:23 Requested Flags: NO_LOW_LEVEL_ACKS LOGICAL_BLK_COMPRESSION LOGICAL_BUFF_28_KB SERVER_PUSH_NOTIFS APPENDED_FT_DATA (0x2f00)
8129 2007-06-06 21:09:23 Requested Blocksize: 0
8129 2007-06-06 21:09:23 ActualFlags: NO_LOW_LEVEL_ACKS LOGICAL_BUFF_28_KB SERVER_PUSH_NOTIFS APPENDED_FT_DATA (0x2d00)
8129 2007-06-06 21:09:23 Actual Blocksize: 28672
8129 2007-06-06 21:09:23 logical block: phys=40, logical=32, left=0, flags=0 (read so far: 0)
8129 2007-06-06 21:09:23 argv[0] = "99"
8129 2007-06-06 21:09:23 argv[1] = "0"
8129 2007-06-06 21:09:23 argv[2] = "1"
8129 2007-06-06 21:09:23 argv[3] = "0"
8129 2007-06-06 21:09:23 argv[4] = "GSSAPI"
8129 2007-06-06 21:09:23 argv[5] = "scalix-ual"
8129 2007-06-06 21:09:23 argv[6] = "1"
8129 2007-06-06 21:09:23 SASL(NOTE): om_gssapi initialised
8129 2007-06-06 21:09:23 SASL challenge (708): (nil)
8129 2007-06-06 21:09:23 logical block: phys=2026, logical=2018, left=0, flags=0 (read so far: 0)
8129 2007-06-06 21:09:23 argv[0] = "99"
8129 2007-06-06 21:09:23 argv[1] = "0"
8129 2007-06-06 21:09:23 argv[2] = "2"
8129 2007-06-06 21:09:23 argv[3] = ""
8129 2007-06-06 21:09:23 argv[4] = ""
8129 2007-06-06 21:09:23 argv[5] = ""
8129 2007-06-06 21:09:23 argv[6] = "1"
8129 2007-06-06 21:09:23 argv[7] = "<Big Nasty Hash>"
8129 2007-06-06 21:09:23 SASL(TRACE): om_gssapi accept security context
8129 2007-06-06 21:09:23 SASL(TRACE): GSSAPI: actual server name: "scalix-ual@plscalix01.domain.com"
8129 2007-06-06 21:09:23 SASL(TRACE): GSSAPI: gss_s_complete
8129 2007-06-06 21:09:23 SASL(TRACE): GSSAPI: authentication identity: "flast@DOMAIN.COM"
8129 2007-06-06 21:09:23 SASL challenge (708): (nil)
8129 2007-06-06 21:09:23 logical block: phys=24, logical=16, left=0, flags=0 (read so far: 0)
8129 2007-06-06 21:09:23 argv[0] = "99"
8129 2007-06-06 21:09:23 argv[1] = "0"
8129 2007-06-06 21:09:23 argv[2] = "3"
8129 2007-06-06 21:09:23 argv[3] = "2"
8129 2007-06-06 21:09:23 argv[4] = ""
8129 2007-06-06 21:09:23 argv[5] = ""
8129 2007-06-06 21:09:23 argv[6] = "1"
8129 2007-06-06 21:09:23 SASL(TRACE): GSSAPI: send server parameters
8129 2007-06-06 21:09:23 SASL challenge (708): <Big Nasty Hash>
8129 2007-06-06 21:09:23 logical block: phys=92, logical=84, left=0, flags=0 (read so far: 0)
8129 2007-06-06 21:09:23 argv[0] = "99"
8129 2007-06-06 21:09:23 argv[1] = "0"
8129 2007-06-06 21:09:23 argv[2] = "4"
8129 2007-06-06 21:09:23 argv[3] = ""
8129 2007-06-06 21:09:23 argv[4] = ""
8129 2007-06-06 21:09:23 argv[5] = ""
8129 2007-06-06 21:09:23 argv[6] = "1"
8129 2007-06-06 21:09:23 argv[7] = "<Big Nasty Hash>"
8129 2007-06-06 21:09:23 SASL(TRACE): GSSAPI: accept client parameters
8129 2007-06-06 21:09:23 uakd:sasl_canon_user: "flast@DOMAIN.COM" -> "flast@DOMAIN.COM"
8129 2007-06-06 21:09:23 SASL(TRACE): GSSAPI: authentication complete
8129 2007-06-06 21:09:23 SASL(TRACE): GSSAPI: security mask: 0x1
8129 2007-06-06 21:09:23 SASL(TRACE): GSSAPI: maximum token size: #ffffff
8129 2007-06-06 21:09:23 SASL(TRACE): GSSAPI: authorization identity: "flast@DOMAIN.COM" (implicit)
8129 2007-06-06 21:09:23 SASL authentication result: 0
8129 2007-06-06 21:09:23 SASL authentication id: "flast@DOMAIN.COM"
8129 2007-06-06 21:09:23 SASL authorization id: "flast@DOMAIN.COM" (ignored unless mboxadmin)
8129 2007-06-06 21:09:23 SASL SSF: 0
8129 2007-06-06 21:09:23 SASL authsource: om_gssapiv2
8129 2007-06-06 21:09:23 SASL mechanism: GSSAPI
8129 2007-06-06 21:09:23 SASL challenge (0): (nil)
8129 2007-06-06 21:09:23 logical block: phys=46, logical=38, left=0, flags=0 (read so far: 0)
8129 2007-06-06 21:09:23 argv[0] = "100"
8129 2007-06-06 21:09:23 argv[1] = "0"
8129 2007-06-06 21:09:23 argv[2] = "5"
8129 2007-06-06 21:09:23 argv[3] = "10493744"
8129 2007-06-06 21:09:23 argv[4] = ""
8129 2007-06-06 21:09:23 argv[5] = ""
8129 2007-06-06 21:09:23 argv[6] = "16"
8129 2007-06-06 21:09:23 argv[7] = "ISO8859_1"
8129 2007-06-06 21:09:23 argv[8] = ""
8129 2007-06-06 21:09:23 argv[9] = ""
8129 2007-06-06 21:09:23 argv[10] = ""
8129 2007-06-06 21:09:23 Connecting user: First Last / plscalix01/CN=First Last
8129 2007-06-06 21:09:23 argv[ 0] = "/opt/scalix/bin/ual.remote"
8129 2007-06-06 21:09:23 argv[ 1] = "12"
8129 2007-06-06 21:09:23 argv[ 2] = "4"
8129 2007-06-06 21:09:23 argv[ 3] = "0"
8129 2007-06-06 21:09:23 argv[ 4] = "0"
8129 2007-06-06 21:09:23 argv[ 5] = "LastFirstHplscalix01First Last"
8129 2007-06-06 21:09:23 argv[ 6] = "5"
8129 2007-06-06 21:09:23 argv[ 7] = ""
8129 2007-06-06 21:09:23 argv[ 8] = "0"
8129 2007-06-06 21:09:23 argv[ 9] = "0"
8129 2007-06-06 21:09:23 argv[10] = "0"
8129 2007-06-06 21:09:23 argv[11] = ""
8129 2007-06-06 21:09:23 argv[12] = "ISO8859_1"
8129 2007-06-06 21:09:23 argv[13] = "16"
8129 2007-06-06 21:09:23 argv[14] = "10493744"
8129 2007-06-06 21:09:23 argv[15] = "60539"
8129 2007-06-06 21:09:23 argv[16] = "1"
8129 2007-06-06 21:09:23 argv[17] = "28672"
8129 2007-06-06 21:09:23 argv[18] = "125"
8129 2007-06-06 21:09:23 argv[19] = "6"
8129 2007-06-06 21:09:23 argv[20] = "C"
8129 2007-06-06 21:09:23 argv[21] = "0"
8129 2007-06-06 21:09:23 argv[22] = "0"
8129 2007-06-06 21:09:23 argv[23] = "11520"
8129 2007-06-06 21:09:23 argv[24] = ""
8129 2007-06-06 21:09:23 argv[25] = "flast@DOMAIN.COM

Posted: Wed Jun 06, 2007 10:17 pm
by aherbert
The working configuration was when the AuthID was "flast@DOMAIN.COM"

Posted: Wed Jun 06, 2007 10:34 pm
by aherbert
I did find out the the format of the email addresses was being overridden because the was an email address in the standard AD mail attribute. So it was not auto-generating an email address. I would still like to know a way to have the email address generated as "First Last" <flast@domain.com> rather than "First Last" <fLast@domain.com> with the uppercase leading letter in the last name.