Paul Davies | 1 Dec 2010 11:18
Picon

Dual login

I'm looking for a solution allowing users to login with 2 logins to the same account:

jdoe
john.doe

Would an alias work ?
dn: uid=john.doe,ou=People,o=abc,o=com
objectclass: alias
objectclass: extensibleobject
uid: john.doe
aliasedObjectName: uid=jdoe,ou=People,o=abc,o=com

Or any other possible solution.......

Cheers,

Paul
Meunier Alban | 1 Dec 2010 15:22
Favicon

Re: Dual login

you can use the fact that uid is multivalued on the user entry.
It works even if is is unusual to have a naming attribute with more than one value (Sun and RFC compliant)



dn: uid=john.doe,ou=People,o=abc,o=com
objectclass: inetorgperson
uid: john.doe
uid: jdoe
cn: John Doe
sn: DOE
givenname: John




ALBAN



On Dec 1, 2010, at 11:18 AM, Paul Davies wrote:

I'm looking for a solution allowing users to login with 2 logins to the same account:

jdoe
john.doe

Would an alias work ?
dn: uid=john.doe,ou=People,o=abc,o=com
objectclass: alias
objectclass: extensibleobject
uid: john.doe
aliasedObjectName: uid=jdoe,ou=People,o=abc,o=com

Or any other possible solution.......

Cheers,

Paul

Kelly Caudill | 1 Dec 2010 15:46
Picon
Favicon

Re: Dual login

Using multiple uid attributes is dangerous because the uid attribute is the 
basis for the user's identity in the message store.

What is the business problem you are trying to solve that requires having the 
user log in to the same account but do that login as different identities?

Kelly

On 12/1/2010 9:22 AM, Meunier Alban wrote:
> you can use the fact that uid is multivalued on the user entry.
> It works even if is is unusual to have a naming attribute with more than one
> value (Sun and RFC compliant)
>
>
>
> dn: uid=john.doe,ou=People,o=abc,o=com
> objectclass: inetorgperson
> uid: john.doe
> uid: jdoe
> cn: John Doe
> sn: DOE
> givenname: John
>
>
>
>
> ALBAN
>
>
>
> On Dec 1, 2010, at 11:18 AM, Paul Davies wrote:
>
>> I'm looking for a solution allowing users to login with 2 logins to the same
>> account:
>>
>> jdoe
>> john.doe
>>
>> Would an alias work ?
>>
>>     dn: uid=john.doe,ou=People,o=abc,o=com
>>     objectclass: alias
>>     objectclass: extensibleobject
>>     uid: john.doe
>>     aliasedObjectName: uid=jdoe,ou=People,o=abc,o=com
>>
>>
>> Or any other possible solution.......
>>
>> Cheers,
>>
>> Paul
>

--

-- 
Oracle <http://www.oracle.com>
Kelly Caudill | Principal Technical Support Engineer
Phone: +17814422056 <tel:+17814422056>
Oracle Oracle Global Software Support : Comms Suite

The *MSC* and *SunSolve* Will Soon Retire
Find out what you need to know about the migration to *_My Oracle Support_*
<http://www.oracle.com/us/support/044752.html>

Kristin Hubner | 1 Dec 2010 21:02
Picon
Favicon

Re: Dual login


On Dec 1, 2010, at 6:46 AM, Kelly Caudill wrote:

> Using multiple uid attributes is dangerous because the uid attribute is the basis for the user's identity
in the message store.

...Not just dangerous -- as of MS 6.2/6.3, such attempts just plain won't work.

It was never truly "allowed" to have multiple uid values -- the Sun schema always 
said it was single-valued, though it wasn't (fully) enforced.   As of MS 6.2, the 
MTA does some additional checks on the validity of user entries as regards
uid and so will issue errors up-front about attempts to have multiple uid
attributes, and as of MS 6.3 the MTA checks that the uid attribute only has a 
single value.  You'll get an error on the address for such a user entry --
offhand, I believe it's the "unknown or illegal user" error.
(This is in contrast to older versions that might not warn of the error
state of having multiple uids up-front -- but where instead "stange" results
could occur for such user entries.)

> 
> What is the business problem you are trying to solve that requires having the user log in to the same account
but do that login as different identities?

As Kelly asks, this is the important question.  If we know what the goal
is, we might be able to make suggestions.

Regards,

Kristin

> 
> Kelly
> 
> 
> On 12/1/2010 9:22 AM, Meunier Alban wrote:
>> you can use the fact that uid is multivalued on the user entry.
>> It works even if is is unusual to have a naming attribute with more than one
>> value (Sun and RFC compliant)
>> 
>> 
>> 
>> dn: uid=john.doe,ou=People,o=abc,o=com
>> objectclass: inetorgperson
>> uid: john.doe
>> uid: jdoe
>> cn: John Doe
>> sn: DOE
>> givenname: John
>> 
>> 
>> 
>> 
>> ALBAN
>> 
>> 
>> 
>> On Dec 1, 2010, at 11:18 AM, Paul Davies wrote:
>> 
>>> I'm looking for a solution allowing users to login with 2 logins to the same
>>> account:
>>> 
>>> jdoe
>>> john.doe
>>> 
>>> Would an alias work ?
>>> 
>>>    dn: uid=john.doe,ou=People,o=abc,o=com
>>>    objectclass: alias
>>>    objectclass: extensibleobject
>>>    uid: john.doe
>>>    aliasedObjectName: uid=jdoe,ou=People,o=abc,o=com
>>> 
>>> 
>>> Or any other possible solution.......
>>> 
>>> Cheers,
>>> 
>>> Paul
>> 
> 
> -- 
> Oracle <http://www.oracle.com>
> Kelly Caudill | Principal Technical Support Engineer
> Phone: +17814422056 <tel:+17814422056>
> Oracle Oracle Global Software Support : Comms Suite
> 
> The *MSC* and *SunSolve* Will Soon Retire
> Find out what you need to know about the migration to *_My Oracle Support_*
> <http://www.oracle.com/us/support/044752.html>

Picon

Re: Dual login

Hello,

You can achieve that by changing the ldap search filter. For example,
in the PopProxyAService.cfg, I changed the search filter like this:

default:SearchFormat (| (uid=%U) (mail=%s))

This allow users to login with their uid or mail address. You could
add, let say, a custom ldap attribute called "aliasUid" and include
that attribute in the ldap filter.

Appart from MMP, you can do this in all services.



On Wed, Dec 1, 2010 at 3:02 PM, Kristin Hubner
<kristin.hubner@...> wrote:
>
> On Dec 1, 2010, at 6:46 AM, Kelly Caudill wrote:
>
>> Using multiple uid attributes is dangerous because the uid attribute is the basis for the user's
identity in the message store.
>
> ...Not just dangerous -- as of MS 6.2/6.3, such attempts just plain won't work.
>
> It was never truly "allowed" to have multiple uid values -- the Sun schema always
> said it was single-valued, though it wasn't (fully) enforced.   As of MS 6.2, the
> MTA does some additional checks on the validity of user entries as regards
> uid and so will issue errors up-front about attempts to have multiple uid
> attributes, and as of MS 6.3 the MTA checks that the uid attribute only has a
> single value.  You'll get an error on the address for such a user entry --
> offhand, I believe it's the "unknown or illegal user" error.
> (This is in contrast to older versions that might not warn of the error
> state of having multiple uids up-front -- but where instead "stange" results
> could occur for such user entries.)
>
>>
>> What is the business problem you are trying to solve that requires having the user log in to the same
account but do that login as different identities?
>
> As Kelly asks, this is the important question.  If we know what the goal
> is, we might be able to make suggestions.
>
> Regards,
>
> Kristin
>
>>
>> Kelly
>>
>>
>> On 12/1/2010 9:22 AM, Meunier Alban wrote:
>>> you can use the fact that uid is multivalued on the user entry.
>>> It works even if is is unusual to have a naming attribute with more than one
>>> value (Sun and RFC compliant)
>>>
>>>
>>>
>>> dn: uid=john.doe,ou=People,o=abc,o=com
>>> objectclass: inetorgperson
>>> uid: john.doe
>>> uid: jdoe
>>> cn: John Doe
>>> sn: DOE
>>> givenname: John
>>>
>>>
>>>
>>>
>>> ALBAN
>>>
>>>
>>>
>>> On Dec 1, 2010, at 11:18 AM, Paul Davies wrote:
>>>
>>>> I'm looking for a solution allowing users to login with 2 logins to the same
>>>> account:
>>>>
>>>> jdoe
>>>> john.doe
>>>>
>>>> Would an alias work ?
>>>>
>>>>    dn: uid=john.doe,ou=People,o=abc,o=com
>>>>    objectclass: alias
>>>>    objectclass: extensibleobject
>>>>    uid: john.doe
>>>>    aliasedObjectName: uid=jdoe,ou=People,o=abc,o=com
>>>>
>>>>
>>>> Or any other possible solution.......
>>>>
>>>> Cheers,
>>>>
>>>> Paul
>>>
>>
>> --
>> Oracle <http://www.oracle.com>
>> Kelly Caudill | Principal Technical Support Engineer
>> Phone: +17814422056 <tel:+17814422056>
>> Oracle Oracle Global Software Support : Comms Suite
>>
>> The *MSC* and *SunSolve* Will Soon Retire
>> Find out what you need to know about the migration to *_My Oracle Support_*
>> <http://www.oracle.com/us/support/044752.html>
>
>



-- 
Sébastien Manningham
mannings@...

Pascal Maes | 7 Dec 2010 18:26
Picon
Favicon

bad dates in Sun Java calendar

Hello,

We are using Sun Java(tm) System Calendar Server 6.3-20.01 (built Oct 23 2009) and we have the following
problem :

An event created for 2011 is stored whith year = 1970

No problem for events created in 2010 until 12/31/2010, but an event created for the 1/1/2011 is in 1970

Any idea ?

BEGIN:VEVENT^M
UID:00000000000000000000000000000000d167fe4cfe50000049170000bd0d0000^M
DTSTAMP:20101207T171907Z^M
SUMMARY:Mariage Cristina & Teo^M
DTSTART;VALUE=DATE:19700401^M
DTEND;VALUE=DATE:19700402^M
CREATED:20101207T165857Z^M
LAST-MODIFIED:20101207T165857Z^M
PRIORITY:0^M
SEQUENCE:0^M
CLASS:PUBLIC^M
LOCATION:Florence  IT ^M
ORGANIZER;CN="pmaes"^M
 ;X-S1CS-EMAIL=pascal.maes@...^M
 :pmaes^M
STATUS:CONFIRMED^M
TRANSP:OPAQUE^M
CATEGORIES:Anniversary^M
X-NSCP-ORIGINAL-DTSTART:19700331T220000Z^M
X-NSCP-LANGUAGE:fr^M
BEGIN:VALARM^M
ACTION:EMAIL^M
TRIGGER;VALUE=DATE-TIME:19700331T213000Z^M
SUMMARY:Reminder: Mariage Cristina & Teo^M
DESCRIPTION:Reminder: Mariage Cristina & Teo^M
ATTENDEE:MAILTO:pascal.maes@...^M
END:VALARM^M
X-NSCP-DTSTART-TZID:Europe/Paris^M
X-NSCP-TOMBSTONE:0^M
X-NSCP-ONGOING:0^M
X-NSCP-ORGANIZER-EMAIL:pascal.maes@...^M
X-NSCP-GSE-COMPONENT-STATE;X-NSCP-GSE-COMMENT="REQUEST-COMPLETED":131074^M
END:VEVENT^M

--

-- 
Pascal

Scott Lawson | 7 Dec 2010 19:15
Picon

Re: bad dates in Sun Java calendar

This looks like :

6937763 event scheduled from 2011 are saved in 1970

fixed in patch 121657-43

----- Original Message -----
From: Pascal Maes <pascal.maes-MkR3pAKDJcQFHpyHPIa6Kw@public.gmane.org>
Date: Wednesday, December 8, 2010 6:43 am
Subject: [Info-iMS] bad dates in Sun Java calendar
To: Info-iMS-QMRIvgJGioDQT0dZR+AlfA@public.gmane.org

> Hello,
>
>
> We are using Sun Java(tm) System Calendar Server 6.3-20.01
> (built Oct 23 2009) and we have the following problem :
>
> An event created for 2011 is stored whith year = 1970
>
> No problem for events created in 2010 until 12/31/2010, but an
> event created for the 1/1/2011 is in 1970
>
>
>
> Any idea ?
>
>
>
> BEGIN:VEVENT^M
> UID:00000000000000000000000000000000d167fe4cfe50000049170000bd0d0000^M
> DTSTAMP:20101207T171907Z^M
> SUMMARY:Mariage Cristina & Teo^M
> DTSTART;VALUE=DATE:19700401^M
> DTEND;VALUE=DATE:19700402^M
> CREATED:20101207T165857Z^M
> LAST-MODIFIED:20101207T165857Z^M
> PRIORITY:0^M
> SEQUENCE:0^M
> CLASS:PUBLIC^M
> LOCATION:Florence  IT ^M
> ORGANIZER;CN="pmaes"^M
>  ;X-S1CS-EMAIL=pascal.maes-MkR3pAKDJcQFHpyHPIa6Kw@public.gmane.org^M
>  :pmaes^M
> STATUS:CONFIRMED^M
> TRANSP:OPAQUE^M
> CATEGORIES:Anniversary^M
> X-NSCP-ORIGINAL-DTSTART:19700331T220000Z^M
> X-NSCP-LANGUAGE:fr^M
> BEGIN:VALARM^M
> ACTION:EMAIL^M
> TRIGGER;VALUE=DATE-TIME:19700331T213000Z^M
> SUMMARY:Reminder: Mariage Cristina & Teo^M
> DESCRIPTION:Reminder: Mariage Cristina & Teo^M
> ATTENDEE:MAILTO:pascal.maes-MkR3pAKDJcQFHpyHPIa6Kw@public.gmane.org^M
> END:VALARM^M
> X-NSCP-DTSTART-TZID:Europe/Paris^M
> X-NSCP-TOMBSTONE:0^M
> X-NSCP-ONGOING:0^M
> X-NSCP-ORGANIZER-EMAIL:pascal.maes-MkR3pAKDJcQFHpyHPIa6Kw@public.gmane.org^M
> X-NSCP-GSE-COMPONENT-STATE;X-NSCP-GSE-COMMENT="REQUEST-
> COMPLETED":131074^MEND:VEVENT^M
>
> --
> Pascal
>
>
>
>
>
>

Attachment (Scott.Lawson.vcf): text/x-vcard, 339 bytes
Karl Rossing | 7 Dec 2010 20:17

Re: bad dates in Sun Java calendar

  We had this last month

bug 6937763 (Event scheduled from 2011 are saved in 1970) which has been 
fixed since patch 121658-43

Karl

On 10-12-07 11:26 AM, Pascal Maes wrote:
> Hello,
>
>
> We are using Sun Java(tm) System Calendar Server 6.3-20.01 (built Oct 23 2009) and we have the following
problem :
>
> An event created for 2011 is stored whith year = 1970
>
> No problem for events created in 2010 until 12/31/2010, but an event created for the 1/1/2011 is in 1970
>
>
>
> Any idea ?
>
>
>
> BEGIN:VEVENT^M
> UID:00000000000000000000000000000000d167fe4cfe50000049170000bd0d0000^M
> DTSTAMP:20101207T171907Z^M
> SUMMARY:Mariage Cristina&  Teo^M
> DTSTART;VALUE=DATE:19700401^M
> DTEND;VALUE=DATE:19700402^M
> CREATED:20101207T165857Z^M
> LAST-MODIFIED:20101207T165857Z^M
> PRIORITY:0^M
> SEQUENCE:0^M
> CLASS:PUBLIC^M
> LOCATION:Florence  IT ^M
> ORGANIZER;CN="pmaes"^M
>   ;X-S1CS-EMAIL=pascal.maes@...^M
>   :pmaes^M
> STATUS:CONFIRMED^M
> TRANSP:OPAQUE^M
> CATEGORIES:Anniversary^M
> X-NSCP-ORIGINAL-DTSTART:19700331T220000Z^M
> X-NSCP-LANGUAGE:fr^M
> BEGIN:VALARM^M
> ACTION:EMAIL^M
> TRIGGER;VALUE=DATE-TIME:19700331T213000Z^M
> SUMMARY:Reminder: Mariage Cristina&  Teo^M
> DESCRIPTION:Reminder: Mariage Cristina&  Teo^M
> ATTENDEE:MAILTO:pascal.maes@...^M
> END:VALARM^M
> X-NSCP-DTSTART-TZID:Europe/Paris^M
> X-NSCP-TOMBSTONE:0^M
> X-NSCP-ONGOING:0^M
> X-NSCP-ORGANIZER-EMAIL:pascal.maes@...^M
> X-NSCP-GSE-COMPONENT-STATE;X-NSCP-GSE-COMMENT="REQUEST-COMPLETED":131074^M
> END:VEVENT^M
>

CONFIDENTIALITY NOTICE:  This communication (including all attachments) is
confidential and is intended for the use of the named addressee(s) only and
may contain information that is private, confidential, privileged, and
exempt from disclosure under law.  All rights to privilege are expressly
claimed and reserved and are not waived.  Any use, dissemination,
distribution, copying or disclosure of this message and any attachments, in
whole or in part, by anyone other than the intended recipient(s) is strictly
prohibited.  If you have received this communication in error, please notify
the sender immediately, delete this communication from all data storage
devices and destroy all hard copies.

Germán Alvarado Campos | 7 Dec 2010 19:27
Picon
Favicon

Re: bad dates in Sun Java calendar

Hi Pascal, this is bug 6937763 (event scheduled from 2011 are saved in 1970) fixed since patch 121657-43 (SPARC), 121658-43 (x86).

Germán

On Dec 7, 2010, at 12:26 PM, Pascal Maes wrote:

Hello,


We are using Sun Java(tm) System Calendar Server 6.3-20.01 (built Oct 23 2009) and we have the following problem :

An event created for 2011 is stored whith year = 1970

No problem for events created in 2010 until 12/31/2010, but an event created for the 1/1/2011 is in 1970



Any idea ?



BEGIN:VEVENT^M
UID:00000000000000000000000000000000d167fe4cfe50000049170000bd0d0000^M
DTSTAMP:20101207T171907Z^M
SUMMARY:Mariage Cristina & Teo^M
DTSTART;VALUE=DATE:19700401^M
DTEND;VALUE=DATE:19700402^M
CREATED:20101207T165857Z^M
LAST-MODIFIED:20101207T165857Z^M
PRIORITY:0^M
SEQUENCE:0^M
CLASS:PUBLIC^M
LOCATION:Florence  IT ^M
ORGANIZER;CN="pmaes"^M
;X-S1CS-EMAIL=pascal.maes-MkR3pAKDJcQFHpyHPIa6Kw@public.gmane.org^M
:pmaes^M
STATUS:CONFIRMED^M
TRANSP:OPAQUE^M
CATEGORIES:Anniversary^M
X-NSCP-ORIGINAL-DTSTART:19700331T220000Z^M
X-NSCP-LANGUAGE:fr^M
BEGIN:VALARM^M
ACTION:EMAIL^M
TRIGGER;VALUE=DATE-TIME:19700331T213000Z^M
SUMMARY:Reminder: Mariage Cristina & Teo^M
DESCRIPTION:Reminder: Mariage Cristina & Teo^M
ATTENDEE:MAILTO:pascal.maes-MkR3pAKDJcQFHpyHPIa6Kw@public.gmane.org^M
END:VALARM^M
X-NSCP-DTSTART-TZID:Europe/Paris^M
X-NSCP-TOMBSTONE:0^M
X-NSCP-ONGOING:0^M
X-NSCP-ORGANIZER-EMAIL:pascal.maes-MkR3pAKDJcQFHpyHPIa6Kw@public.gmane.org^M
X-NSCP-GSE-COMPONENT-STATE;X-NSCP-GSE-COMMENT="REQUEST-COMPLETED":131074^M
END:VEVENT^M

--
Pascal










Germán Alvarado Campos | Technical Support Engineer
Oracle Global Software Support | Communications Suite
 


Kelly Caudill | 7 Dec 2010 22:27
Picon
Favicon

Re: rehostuser mailuserstatus=defer MTA - routing to message store while rehostuser in progress


On 11/30/2010 3:04 PM, Steve Reynolds wrote:
>
> I suspect that I need to upgrade my MTAs but before I do that, I would like to
> ask the question.
>
> MTA
>
> # /opt/sun/comms/messaging/sbin/imsimta version
> Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)
> libimta.so 7u2-7.02 32bit (built 02:02:17, Apr 16 2009)
> Using /opt/sun/comms/messaging/config/imta.cnf (compiled)
> SunOS gummo.its.uwo.pri 5.10 Generic_141414-02 sun4v sparc SUNW,Sun-Fire-T200
>
>
> Message Store
>
> Oracle Communications Messaging Exchange Server 7u4-18.01 64bit (built Jul 15
> 2010)
> libimta.so 7u4-18.01 64bit (built 13:23:35, Jul 15 2010)
> Using /opt/sun/comms/messaging64/config/imta.cnf (compiled)
> SunOS thomas.its.uwo.pri 5.10 Generic_144488-02 sun4v sparc
> SUNW,SPARC-Enterprise-T2000
>
>
> I am performing a rehostuser to move a user from moranis.its.uwo.pri to
> thomas.its.uwo.pri
>
> opt/sun/comms/messaging64/sbin/rehostuser -u stever -d thomas.its.uwo.pri -r
> /opt/sun/comms/messaging64/bin/imsrestore -s "/usr/local/bin/ssh -l mailsrv"
>
> While the rehostuser command is running messages are queuing to:
>
>  <at> moranis.its.uwo.pri:stever <at> ims-ms-daemon (orig stever@..., inter
> stever@..., host thomas.its.uwo.pri) *NOTIFY-FAILURES* *NOTIFY-DELAYS*

Are you saying that all new mail arriving for this user who is being moved is 
going into the the ims-ms or LMTP channel queue rather than the reprocess queue 
while the user is being moved?  Or is it only a few messages that happened to 
already be in the queue or arrived just as you started doing the move??

There was bug 6843499 which was fixed in 7u3 (aka patch 11).  Your MTA only has 
patch 7.  Current is 19.

Kelly

> These messages will not be delivered as the MTA still holds on to the moranis
> source route. Is there a way I can force a re-evaluation of the message that
> will allow for the delivery of the queued message to  <at> thomas.its.uwo.pri??
>
> Nov 30 14:34:46 harpo.mail.uwo.pri smtp_client[29543]: [ID 237587 mail.debug]
> %IMTA-W-30-Nov-2010 14:34:46.79 7367.52.455 tcp_lmtpcs QLQ 3 john@...
> rfc822;stever@...  <at> moranis.its.uwo.pri:jeffg <at> ims-ms-daemon
> <4CF54FE9.9050204@...> mailsrv dns;moranis.its.uwo.pri
> (TCP|172.29.32.35|33673|172.29.19.32|225) (moranis.its.uwo.pri -- Server LMTP
> [Sun ONE Messaging Server 7u3-12.01 64bit [built Oct 15 2009]]) lmtp;450 4.2.99
> Delivery failed: Mailbox is on a different server Temporary error from LMT
>
>
> steve
>
>

--

-- 
Oracle <http://www.oracle.com>
Kelly Caudill | Principal Technical Support Engineer
Phone: +17814422056 <tel:+17814422056>
Oracle Oracle Global Software Support : Comms Suite

The *MSC* and *SunSolve* Will Soon Retire
Find out what you need to know about the migration to *_My Oracle Support_*
<http://www.oracle.com/us/support/044752.html>


Gmane