Re: [ActiveDir] Base64 UTF8 non-ascii value not pushed properly into AD

2005-03-22 Thread Mayuresh Kshirsagar
Got a shot at it!

i am using a Criticalpath Meta directory server to push the values. so in my
customised perl script extension, I only converted the string to UTF8 using
perl SimpleUTF8 APIs and then pushed this to the destination.

You were right, I didn't require to convert the value to base64. Just
converting it to UTF8 was sufficient in this case.

Thanks again.

- Original Message - 
From: [EMAIL PROTECTED]
To: ActiveDir@mail.activedir.org
Sent: Monday, March 21, 2005 8:17 PM
Subject: RE: [ActiveDir] Base64 UTF8 non-ascii value not pushed properly
into AD


Hi Mayuresh,

What API or tool are you using to add the data to AD?  The only time in know
you use base64 for binary data is with LDIF.

I have no idea why your string below is getting mangled, but if you could
provide more details again about how you pushed the data into AD, that would
be helpful.

Cheers,

Joe K.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mayuresh Kshirsagar
Sent: Monday, March 21, 2005 6:32 AM
To: ActiveDir@mail.activedir.org
Subject: Re: [ActiveDir] Base64 UTF8 non-ascii value not pushed properly
into AD

Hi Again.

I am sending this as I have done some more testing on this. Please take your
own time while answering. I dont intend to push you for this.

I created a new attribute in AD azsite of type Unicode string and flown
the value xSÖDERTÄLJE - GÄRTUNA but it is flown as xSDERTLJE - GRTUNA

Is there any other syntax other than Unicode String that i should use to
display? I am using a base84 conversion of the non-ascii to push the value
into AD.

Regards,
Mayuresh


- Original Message - 
From: Mayuresh Kshirsagar [EMAIL PROTECTED]
To: ActiveDir@mail.activedir.org
Sent: Monday, March 21, 2005 2:05 PM
Subject: Re: [ActiveDir] Base64 UTF8 non-ascii value not pushed properly
into AD


 Also to add to this question, if at all userCert is not a correct
attribute
 to pass a binary attribute, can you suggest any other binary attribute
where
 I can pass the binary value?

 I am using iNetOrgPerson objectclass.

 Regards,
 Mayuresh.

 - Original Message - 
 From: Mayuresh Kshirsagar [EMAIL PROTECTED]
 To: ActiveDir@mail.activedir.org
 Sent: Monday, March 21, 2005 1:21 PM
 Subject: [ActiveDir] Base64 UTF8 non-ascii value not pushed properly into
AD


  Hi Experts,
 
  I am trying using an Application (Criticalpath Meta Directory server) to
  push the value (utf8) xSÖDERTÄLJE - GÄRTUNA into some binary field
after
  converting it into base64, e.g. userCert.
 
  But when I push it, I don't see the value i pushed. I see xSDERT.
 
  What can I do to push the exact value into AD? also should some
character
  set be set for the AD server or something like that?
 
  Regards
  Mayuresh
 
 
  List info   : http://www.activedir.org/List.aspx
  List FAQ: http://www.activedir.org/ListFAQ.aspx
  List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/


 List info   : http://www.activedir.org/List.aspx
 List FAQ: http://www.activedir.org/ListFAQ.aspx
 List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information.  If you have
received it in error, please notify the sender immediately and delete the
original.  Any other use of the email by you is prohibited.
List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


Re: [ActiveDir] Base64 UTF8 non-ascii value not pushed properly into AD

2005-03-22 Thread Mayuresh Kshirsagar
Thanks for all the help...

I just flowed the UTF8 values to the directory and that solved the problem.

Regards.

- Original Message - 
From: Dean Wells [EMAIL PROTECTED]
To: Send - AD mailing list [EMAIL PROTECTED]
Sent: Monday, March 21, 2005 9:15 PM
Subject: RE: [ActiveDir] Base64 UTF8 non-ascii value not pushed properly
into AD


Here's a snippet of my command shell that I used to import your values -

snippet

C:\type foo.ldf
dn: CN=Guest,CN=Users,DC=mset,DC=net
changetype: modify
replace: userCert
userCert:: eFOZREVSVI5MSkUgLSBHjlJUVU5BDQo=
-

C:\ldifde -i -f \foo.ldf

/snippet

I experienced no problem importing it.  Once complete, I exported it and
compared the exported result against the original import value which
resulted in a match.

Dean

--
Dean Wells
MSEtechnology
* Email: [EMAIL PROTECTED]
http://msetechnology.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mayuresh Kshirsagar
Sent: Monday, March 21, 2005 2:51 AM
To: ActiveDir@mail.activedir.org
Subject: [ActiveDir] Base64 UTF8 non-ascii value not pushed properly into AD

Hi Experts,

I am trying using an Application (Criticalpath Meta Directory server) to
push the value (utf8) xSÖDERTÄLJE - GÄRTUNA into some binary field after
converting it into base64, e.g. userCert.

But when I push it, I don't see the value i pushed. I see xSDERT.

What can I do to push the exact value into AD? also should some character
set be set for the AD server or something like that?

Regards
Mayuresh


List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/



List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


Re: [ActiveDir] Base64 UTF8 non-ascii value not pushed properly into AD

2005-03-21 Thread Mayuresh Kshirsagar
Also to add to this question, if at all userCert is not a correct attribute
to pass a binary attribute, can you suggest any other binary attribute where
I can pass the binary value?

I am using iNetOrgPerson objectclass.

Regards,
Mayuresh.

- Original Message - 
From: Mayuresh Kshirsagar [EMAIL PROTECTED]
To: ActiveDir@mail.activedir.org
Sent: Monday, March 21, 2005 1:21 PM
Subject: [ActiveDir] Base64 UTF8 non-ascii value not pushed properly into AD


 Hi Experts,

 I am trying using an Application (Criticalpath Meta Directory server) to
 push the value (utf8) xSÖDERTÄLJE - GÄRTUNA into some binary field after
 converting it into base64, e.g. userCert.

 But when I push it, I don't see the value i pushed. I see xSDERT.

 What can I do to push the exact value into AD? also should some character
 set be set for the AD server or something like that?

 Regards
 Mayuresh


 List info   : http://www.activedir.org/List.aspx
 List FAQ: http://www.activedir.org/ListFAQ.aspx
 List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


Re: [ActiveDir] Base64 UTF8 non-ascii value not pushed properly into AD

2005-03-21 Thread Mayuresh Kshirsagar
Hi Again.

I am sending this as I have done some more testing on this. Please take your
own time while answering. I dont intend to push you for this.

I created a new attribute in AD azsite of type Unicode string and flown
the value xSÖDERTÄLJE - GÄRTUNA but it is flown as xSDERTLJE - GRTUNA

Is there any other syntax other than Unicode String that i should use to
display? I am using a base84 conversion of the non-ascii to push the value
into AD.

Regards,
Mayuresh


- Original Message - 
From: Mayuresh Kshirsagar [EMAIL PROTECTED]
To: ActiveDir@mail.activedir.org
Sent: Monday, March 21, 2005 2:05 PM
Subject: Re: [ActiveDir] Base64 UTF8 non-ascii value not pushed properly
into AD


 Also to add to this question, if at all userCert is not a correct
attribute
 to pass a binary attribute, can you suggest any other binary attribute
where
 I can pass the binary value?

 I am using iNetOrgPerson objectclass.

 Regards,
 Mayuresh.

 - Original Message - 
 From: Mayuresh Kshirsagar [EMAIL PROTECTED]
 To: ActiveDir@mail.activedir.org
 Sent: Monday, March 21, 2005 1:21 PM
 Subject: [ActiveDir] Base64 UTF8 non-ascii value not pushed properly into
AD


  Hi Experts,
 
  I am trying using an Application (Criticalpath Meta Directory server) to
  push the value (utf8) xSÖDERTÄLJE - GÄRTUNA into some binary field
after
  converting it into base64, e.g. userCert.
 
  But when I push it, I don't see the value i pushed. I see xSDERT.
 
  What can I do to push the exact value into AD? also should some
character
  set be set for the AD server or something like that?
 
  Regards
  Mayuresh
 
 
  List info   : http://www.activedir.org/List.aspx
  List FAQ: http://www.activedir.org/ListFAQ.aspx
  List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/


 List info   : http://www.activedir.org/List.aspx
 List FAQ: http://www.activedir.org/ListFAQ.aspx
 List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


RE: [ActiveDir] Base64 UTF8 non-ascii value not pushed properly into AD

2005-03-21 Thread joseph.e.kaplan
Hi Mayuresh,

What API or tool are you using to add the data to AD?  The only time in know 
you use base64 for binary data is with LDIF.

I have no idea why your string below is getting mangled, but if you could 
provide more details again about how you pushed the data into AD, that would be 
helpful.

Cheers,

Joe K.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mayuresh 
Kshirsagar
Sent: Monday, March 21, 2005 6:32 AM
To: ActiveDir@mail.activedir.org
Subject: Re: [ActiveDir] Base64 UTF8 non-ascii value not pushed properly into AD

Hi Again.

I am sending this as I have done some more testing on this. Please take your
own time while answering. I dont intend to push you for this.

I created a new attribute in AD azsite of type Unicode string and flown
the value xSÖDERTÄLJE - GÄRTUNA but it is flown as xSDERTLJE - GRTUNA

Is there any other syntax other than Unicode String that i should use to
display? I am using a base84 conversion of the non-ascii to push the value
into AD.

Regards,
Mayuresh


- Original Message - 
From: Mayuresh Kshirsagar [EMAIL PROTECTED]
To: ActiveDir@mail.activedir.org
Sent: Monday, March 21, 2005 2:05 PM
Subject: Re: [ActiveDir] Base64 UTF8 non-ascii value not pushed properly
into AD


 Also to add to this question, if at all userCert is not a correct
attribute
 to pass a binary attribute, can you suggest any other binary attribute
where
 I can pass the binary value?

 I am using iNetOrgPerson objectclass.

 Regards,
 Mayuresh.

 - Original Message - 
 From: Mayuresh Kshirsagar [EMAIL PROTECTED]
 To: ActiveDir@mail.activedir.org
 Sent: Monday, March 21, 2005 1:21 PM
 Subject: [ActiveDir] Base64 UTF8 non-ascii value not pushed properly into
AD


  Hi Experts,
 
  I am trying using an Application (Criticalpath Meta Directory server) to
  push the value (utf8) xSÖDERTÄLJE - GÄRTUNA into some binary field
after
  converting it into base64, e.g. userCert.
 
  But when I push it, I don't see the value i pushed. I see xSDERT.
 
  What can I do to push the exact value into AD? also should some
character
  set be set for the AD server or something like that?
 
  Regards
  Mayuresh
 
 
  List info   : http://www.activedir.org/List.aspx
  List FAQ: http://www.activedir.org/ListFAQ.aspx
  List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/


 List info   : http://www.activedir.org/List.aspx
 List FAQ: http://www.activedir.org/ListFAQ.aspx
 List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information.  If you have received it in 
error, please notify the sender immediately and delete the original.  Any other 
use of the email by you is prohibited.
List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


RE: [ActiveDir] Base64 UTF8 non-ascii value not pushed properly into AD

2005-03-21 Thread Dean Wells
Here's a snippet of my command shell that I used to import your values -

snippet

C:\type foo.ldf
dn: CN=Guest,CN=Users,DC=mset,DC=net
changetype: modify
replace: userCert
userCert:: eFOZREVSVI5MSkUgLSBHjlJUVU5BDQo=
-

C:\ldifde -i -f \foo.ldf

/snippet

I experienced no problem importing it.  Once complete, I exported it and
compared the exported result against the original import value which
resulted in a match.

Dean

--
Dean Wells
MSEtechnology
* Email: [EMAIL PROTECTED]
http://msetechnology.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mayuresh Kshirsagar
Sent: Monday, March 21, 2005 2:51 AM
To: ActiveDir@mail.activedir.org
Subject: [ActiveDir] Base64 UTF8 non-ascii value not pushed properly into AD

Hi Experts,

I am trying using an Application (Criticalpath Meta Directory server) to
push the value (utf8) xSÖDERTÄLJE - GÄRTUNA into some binary field after
converting it into base64, e.g. userCert.

But when I push it, I don't see the value i pushed. I see xSDERT.

What can I do to push the exact value into AD? also should some character
set be set for the AD server or something like that?

Regards
Mayuresh


List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/



List info   : http://www.activedir.org/List.aspx
List FAQ: http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/