CAR: userParameters attribute

classic Classic list List threaded Threaded
20 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

CAR: userParameters attribute

Andrew Tridgell-3
Dear Dochelp,

The userParameters attribute on a user in AD seems to be a bit of a
puzzle. Could you add some docs on it at some stage? Not a really high
priority, but we would eventually like to be able to offer admin tools
that manage things like session activity timeouts, and it seems that
we need to know how to parse and create userParameters to do that.

An example userParameters attribute from w2k8r2 (in base64 form) is this:

userParameters:: Q3R4Q2ZnUHJlc2VudCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgI
  CAgUAsaCAFDdHhDZmdQcmVzZW5045S15pSx5oiw44GiIAIBQ3R4V0ZQcm9maWxlUGF0aOOAsBgCAU
  N0eFdGSG9tZURpcuOAsCICAUN0eFdGSG9tZURpckRyaXZl44CwEggBQ3R4U2hhZG9344Sw44Cw44C
  w44CwLggBQ3R4TWF4RGlzY29ubmVjdGlvblRpbWXjgaXjjLnjkLDjgLAoCAFDdHhNYXhDb25uZWN0
  aW9uVGltZeOAtOOct+aIseOAsBwIAUN0eE1heElkbGVUaW1l44Gj45yy46Sw44CwIAIBQ3R4V29ya
  0RpcmVjdG9yeeOAsBgIAUN0eENmZ0ZsYWdzMeOAsOOBpuOYsuOAuCICAUN0eEluaXRpYWxQcm9ncm
  Ft44Cw

the above came from using the windows user admin tool to change the
session activity timeout for a test user.

Michael Ströder has also pointed out this page:

  http://daduke.org/linux/userparameters.html

which documents a previous effort by the Linux thin client community
to work out the format of userParameters. I'm guessing the strange
encoding is used to try to keep the attribute as valid UTF8. If you
can confirm that the attribute is always valid UTF8 that would be
great (as otherwise we might corrupt it during replication with
windows).

As I mentioned, this is not a high priority, but it would be nice to
know the format at some stage.

Cheers, Tridge
_______________________________________________
cifs-protocol mailing list
[hidden email]
https://lists.samba.org/mailman/listinfo/cifs-protocol
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[REG:110011477385004] Intial Response: RE: userParameters attribute

Hongwei Sun
Hi, Tridge,

    Thanks for your question.   One of our team member will work on your request and get back to you when the investigation is done.

Thanks!

Hongwei

--------------------------------------------------------------------
Hongwei  Sun - Sr. Support Escalation Engineer
DSC Protocol  Team, Microsoft
[hidden email]
Tel:  469-7757027 x 57027
---------------------------------------------------------------------



-----Original Message-----
From: [hidden email] [mailto:[hidden email]]
Sent: Thursday, January 14, 2010 2:55 PM
To: Interoperability Documentation Help
Cc: [hidden email]; [hidden email]; Michael Ströder
Subject: CAR: userParameters attribute

Dear Dochelp,

The userParameters attribute on a user in AD seems to be a bit of a
puzzle. Could you add some docs on it at some stage? Not a really high
priority, but we would eventually like to be able to offer admin tools
that manage things like session activity timeouts, and it seems that
we need to know how to parse and create userParameters to do that.

An example userParameters attribute from w2k8r2 (in base64 form) is this:

userParameters:: Q3R4Q2ZnUHJlc2VudCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgI
  CAgUAsaCAFDdHhDZmdQcmVzZW5045S15pSx5oiw44GiIAIBQ3R4V0ZQcm9maWxlUGF0aOOAsBgCAU
  N0eFdGSG9tZURpcuOAsCICAUN0eFdGSG9tZURpckRyaXZl44CwEggBQ3R4U2hhZG9344Sw44Cw44C
  w44CwLggBQ3R4TWF4RGlzY29ubmVjdGlvblRpbWXjgaXjjLnjkLDjgLAoCAFDdHhNYXhDb25uZWN0
  aW9uVGltZeOAtOOct+aIseOAsBwIAUN0eE1heElkbGVUaW1l44Gj45yy46Sw44CwIAIBQ3R4V29ya
  0RpcmVjdG9yeeOAsBgIAUN0eENmZ0ZsYWdzMeOAsOOBpuOYsuOAuCICAUN0eEluaXRpYWxQcm9ncm
  Ft44Cw

the above came from using the windows user admin tool to change the
session activity timeout for a test user.

Michael Ströder has also pointed out this page:

  http://daduke.org/linux/userparameters.html

which documents a previous effort by the Linux thin client community
to work out the format of userParameters. I'm guessing the strange
encoding is used to try to keep the attribute as valid UTF8. If you
can confirm that the attribute is always valid UTF8 that would be
great (as otherwise we might corrupt it during replication with
windows).

As I mentioned, this is not a high priority, but it would be nice to
know the format at some stage.

Cheers, Tridge

_______________________________________________
cifs-protocol mailing list
[hidden email]
https://lists.samba.org/mailman/listinfo/cifs-protocol
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[REG:110011477385004] RE: userParameters attribute

Hongwei Sun
In reply to this post by Andrew Tridgell-3
Tridge,

   How did you generate the UserParameters you mentioned in the e-mail ?  I got a little bit different result.   The steps  I used are

(1) Open "Avtive Directory Users and Computers" ->  "User"  ->  select a user such as "Administrator"
(2) In Properties windows , select "Sessions" tab and then change "Active session limit"
(3) Then the UserParametes attribute was added to the user object,  the value is something like
     userParameters:   PCtxCfgPresent????CtxCfgFlags1????CtxShadow????*CtxMinEncryptionLevel?"

  UserParameters attribute is used for storing user specific data for individual programs, such as RAS and Terminal Service.  I just want to make sure we are looking at the same tool.

Thanks!

Hongwei

-----Original Message-----
From: [hidden email] [mailto:[hidden email]]
Sent: Thursday, January 14, 2010 2:55 PM
To: Interoperability Documentation Help
Cc: [hidden email]; [hidden email]; Michael Ströder
Subject: CAR: userParameters attribute

Dear Dochelp,

The userParameters attribute on a user in AD seems to be a bit of a
puzzle. Could you add some docs on it at some stage? Not a really high
priority, but we would eventually like to be able to offer admin tools
that manage things like session activity timeouts, and it seems that
we need to know how to parse and create userParameters to do that.

An example userParameters attribute from w2k8r2 (in base64 form) is this:

userParameters:: Q3R4Q2ZnUHJlc2VudCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgI
  CAgUAsaCAFDdHhDZmdQcmVzZW5045S15pSx5oiw44GiIAIBQ3R4V0ZQcm9maWxlUGF0aOOAsBgCAU
  N0eFdGSG9tZURpcuOAsCICAUN0eFdGSG9tZURpckRyaXZl44CwEggBQ3R4U2hhZG9344Sw44Cw44C
  w44CwLggBQ3R4TWF4RGlzY29ubmVjdGlvblRpbWXjgaXjjLnjkLDjgLAoCAFDdHhNYXhDb25uZWN0
  aW9uVGltZeOAtOOct+aIseOAsBwIAUN0eE1heElkbGVUaW1l44Gj45yy46Sw44CwIAIBQ3R4V29ya
  0RpcmVjdG9yeeOAsBgIAUN0eENmZ0ZsYWdzMeOAsOOBpuOYsuOAuCICAUN0eEluaXRpYWxQcm9ncm
  Ft44Cw

the above came from using the windows user admin tool to change the
session activity timeout for a test user.

Michael Ströder has also pointed out this page:

  http://daduke.org/linux/userparameters.html

which documents a previous effort by the Linux thin client community
to work out the format of userParameters. I'm guessing the strange
encoding is used to try to keep the attribute as valid UTF8. If you
can confirm that the attribute is always valid UTF8 that would be
great (as otherwise we might corrupt it during replication with
windows).

As I mentioned, this is not a high priority, but it would be nice to
know the format at some stage.

Cheers, Tridge

_______________________________________________
cifs-protocol mailing list
[hidden email]
https://lists.samba.org/mailman/listinfo/cifs-protocol
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [REG:110011477385004] RE: userParameters attribute

Hongwei Sun
In reply to this post by Andrew Tridgell-3
Tridge,

  Could you please take a look at my question below so I can proceed with this request ?   If you are busy,  we can always come back to visit it whenever it is good time for you.

Thanks !

Hongwei

-----Original Message-----
From: Hongwei Sun
Sent: Tuesday, January 19, 2010 9:31 PM
To: '[hidden email]'
Cc: [hidden email]; [hidden email]; Michael Ströder; MSSolve Case Email
Subject: [REG:110011477385004] RE: userParameters attribute

Tridge,

   How did you generate the UserParameters you mentioned in the e-mail ?  I got a little bit different result.   The steps  I used are

(1) Open "Avtive Directory Users and Computers" ->  "User"  ->  select a user such as "Administrator"
(2) In Properties windows , select "Sessions" tab and then change "Active session limit"
(3) Then the UserParametes attribute was added to the user object,  the value is something like
     userParameters:   PCtxCfgPresent????CtxCfgFlags1????CtxShadow????*CtxMinEncryptionLevel?"

  UserParameters attribute is used for storing user specific data for individual programs, such as RAS and Terminal Service.  I just want to make sure we are looking at the same tool.

Thanks!

Hongwei

-----Original Message-----
From: [hidden email] [mailto:[hidden email]]
Sent: Thursday, January 14, 2010 2:55 PM
To: Interoperability Documentation Help
Cc: [hidden email]; [hidden email]; Michael Ströder
Subject: CAR: userParameters attribute

Dear Dochelp,

The userParameters attribute on a user in AD seems to be a bit of a
puzzle. Could you add some docs on it at some stage? Not a really high
priority, but we would eventually like to be able to offer admin tools
that manage things like session activity timeouts, and it seems that
we need to know how to parse and create userParameters to do that.

An example userParameters attribute from w2k8r2 (in base64 form) is this:

userParameters:: Q3R4Q2ZnUHJlc2VudCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgI
  CAgUAsaCAFDdHhDZmdQcmVzZW5045S15pSx5oiw44GiIAIBQ3R4V0ZQcm9maWxlUGF0aOOAsBgCAU
  N0eFdGSG9tZURpcuOAsCICAUN0eFdGSG9tZURpckRyaXZl44CwEggBQ3R4U2hhZG9344Sw44Cw44C
  w44CwLggBQ3R4TWF4RGlzY29ubmVjdGlvblRpbWXjgaXjjLnjkLDjgLAoCAFDdHhNYXhDb25uZWN0
  aW9uVGltZeOAtOOct+aIseOAsBwIAUN0eE1heElkbGVUaW1l44Gj45yy46Sw44CwIAIBQ3R4V29ya
  0RpcmVjdG9yeeOAsBgIAUN0eENmZ0ZsYWdzMeOAsOOBpuOYsuOAuCICAUN0eEluaXRpYWxQcm9ncm
  Ft44Cw

the above came from using the windows user admin tool to change the
session activity timeout for a test user.

Michael Ströder has also pointed out this page:

  http://daduke.org/linux/userparameters.html

which documents a previous effort by the Linux thin client community
to work out the format of userParameters. I'm guessing the strange
encoding is used to try to keep the attribute as valid UTF8. If you
can confirm that the attribute is always valid UTF8 that would be
great (as otherwise we might corrupt it during replication with
windows).

As I mentioned, this is not a high priority, but it would be nice to
know the format at some stage.

Cheers, Tridge

_______________________________________________
cifs-protocol mailing list
[hidden email]
https://lists.samba.org/mailman/listinfo/cifs-protocol
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[REG:110011477385004] RE: userParameters attribute

Andrew Tridgell-3
In reply to this post by Hongwei Sun
Hi Hongwei,

 >    How did you generate the UserParameters you mentioned in the
 >   e-mail ?

The process I used was similar to what you describe. I imagine the
exact values of userParameters depends on what values you choose in
the Sessions tab.

 >   UserParameters attribute is used for storing user specific data
 >   for individual programs, such as RAS and Terminal Service.  I
 >   just want to make sure we are looking at the same tool.

yes, I think we're looking at the same tool. What we're hoping to find
out is how to parse the userParameters attribute correctly, both so we
can display the contents and so we can create it in our own user
management tools. Those tools don't exist yet, which is why this
request is a lower priority than other requests :-)

Cheers, Tridge
_______________________________________________
cifs-protocol mailing list
[hidden email]
https://lists.samba.org/mailman/listinfo/cifs-protocol
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[REG:110011477385004] RE: userParameters attribute

Hongwei Sun
In reply to this post by Andrew Tridgell-3
Tridge,

  We finished updating the protocol document for the userParameters attribute.   Since this attribute is used by the Terminal Services Terminal Server Runtime Interface, it is documented in [MS-TSTS]: Terminal Services Terminal Server Runtime Interface Protocol Specification (http://msdn.microsoft.com/en-us/library/cc248570(v=PROT.10).aspx) , which is a part of MCPP document set.   The information below has been added to the document and will appear in the future release on MSDN.

  The following are the updated sections in MS-TSTS.  I  attached a separate PDF file for your reference.

1.   The table in Section 2.3, Directory Service Schema Elements, was modified to denote that the attributes listed previously are not used by Microsoft Terminal Services and a new attribute, userParameters, was added to the table.

2.  The section 2.3.1,  UserParameters, was added.

3.  The section 2.3.2,   Encoding and decoding PropValue field, was added.

4.  The section 4.5,   example for Encoding/Decoding, was added

  Please let us know if you need any more information for this topic.

Thanks!

Hongwei


-----Original Message-----
From: [hidden email] [mailto:[hidden email]]
Sent: Thursday, January 14, 2010 2:55 PM
To: Interoperability Documentation Help
Cc: [hidden email]; [hidden email]; Michael Ströder
Subject: CAR: userParameters attribute

Dear Dochelp,

The userParameters attribute on a user in AD seems to be a bit of a
puzzle. Could you add some docs on it at some stage? Not a really high
priority, but we would eventually like to be able to offer admin tools
that manage things like session activity timeouts, and it seems that
we need to know how to parse and create userParameters to do that.

An example userParameters attribute from w2k8r2 (in base64 form) is this:

userParameters:: Q3R4Q2ZnUHJlc2VudCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgI
  CAgUAsaCAFDdHhDZmdQcmVzZW5045S15pSx5oiw44GiIAIBQ3R4V0ZQcm9maWxlUGF0aOOAsBgCAU
  N0eFdGSG9tZURpcuOAsCICAUN0eFdGSG9tZURpckRyaXZl44CwEggBQ3R4U2hhZG9344Sw44Cw44C
  w44CwLggBQ3R4TWF4RGlzY29ubmVjdGlvblRpbWXjgaXjjLnjkLDjgLAoCAFDdHhNYXhDb25uZWN0
  aW9uVGltZeOAtOOct+aIseOAsBwIAUN0eE1heElkbGVUaW1l44Gj45yy46Sw44CwIAIBQ3R4V29ya
  0RpcmVjdG9yeeOAsBgIAUN0eENmZ0ZsYWdzMeOAsOOBpuOYsuOAuCICAUN0eEluaXRpYWxQcm9ncm
  Ft44Cw

the above came from using the windows user admin tool to change the
session activity timeout for a test user.

Michael Ströder has also pointed out this page:

  http://daduke.org/linux/userparameters.html

which documents a previous effort by the Linux thin client community
to work out the format of userParameters. I'm guessing the strange
encoding is used to try to keep the attribute as valid UTF8. If you
can confirm that the attribute is always valid UTF8 that would be
great (as otherwise we might corrupt it during replication with
windows).

As I mentioned, this is not a high priority, but it would be nice to
know the format at some stage.

Cheers, Tridge


_______________________________________________
cifs-protocol mailing list
[hidden email]
https://lists.samba.org/mailman/listinfo/cifs-protocol

MS-TSTS-update.pdf (227K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [REG:110011477385004] RE: userParameters attribute

Hongwei Sun
In reply to this post by Andrew Tridgell-3
Tridge,

   I just want to check with you to see if  you have any question regarding the newly added documentation for this attribute.  If not, I will close this CAR.  

Thanks!

Hongwei

-----Original Message-----
From: Hongwei Sun
Sent: Tuesday, April 06, 2010 2:49 PM
To: '[hidden email]'
Cc: [hidden email]; [hidden email]; Michael Ströder; MSSolve Case Email
Subject: [REG:110011477385004] RE: userParameters attribute

Tridge,

  We finished updating the protocol document for the userParameters attribute.   Since this attribute is used by the Terminal Services Terminal Server Runtime Interface, it is documented in [MS-TSTS]: Terminal Services Terminal Server Runtime Interface Protocol Specification (http://msdn.microsoft.com/en-us/library/cc248570(v=PROT.10).aspx) , which is a part of MCPP document set.   The information below has been added to the document and will appear in the future release on MSDN.

  The following are the updated sections in MS-TSTS.  I  attached a separate PDF file for your reference.

1.   The table in Section 2.3, Directory Service Schema Elements, was modified to denote that the attributes listed previously are not used by Microsoft Terminal Services and a new attribute, userParameters, was added to the table.

2.  The section 2.3.1,  UserParameters, was added.

3.  The section 2.3.2,   Encoding and decoding PropValue field, was added.

4.  The section 4.5,   example for Encoding/Decoding, was added

  Please let us know if you need any more information for this topic.

Thanks!

Hongwei


-----Original Message-----
From: [hidden email] [mailto:[hidden email]]
Sent: Thursday, January 14, 2010 2:55 PM
To: Interoperability Documentation Help
Cc: [hidden email]; [hidden email]; Michael Ströder
Subject: CAR: userParameters attribute

Dear Dochelp,

The userParameters attribute on a user in AD seems to be a bit of a puzzle. Could you add some docs on it at some stage? Not a really high priority, but we would eventually like to be able to offer admin tools that manage things like session activity timeouts, and it seems that we need to know how to parse and create userParameters to do that.

An example userParameters attribute from w2k8r2 (in base64 form) is this:

userParameters:: Q3R4Q2ZnUHJlc2VudCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgI
  CAgUAsaCAFDdHhDZmdQcmVzZW5045S15pSx5oiw44GiIAIBQ3R4V0ZQcm9maWxlUGF0aOOAsBgCAU
  N0eFdGSG9tZURpcuOAsCICAUN0eFdGSG9tZURpckRyaXZl44CwEggBQ3R4U2hhZG9344Sw44Cw44C
  w44CwLggBQ3R4TWF4RGlzY29ubmVjdGlvblRpbWXjgaXjjLnjkLDjgLAoCAFDdHhNYXhDb25uZWN0
  aW9uVGltZeOAtOOct+aIseOAsBwIAUN0eE1heElkbGVUaW1l44Gj45yy46Sw44CwIAIBQ3R4V29ya
  0RpcmVjdG9yeeOAsBgIAUN0eENmZ0ZsYWdzMeOAsOOBpuOYsuOAuCICAUN0eEluaXRpYWxQcm9ncm
  Ft44Cw

the above came from using the windows user admin tool to change the session activity timeout for a test user.

Michael Ströder has also pointed out this page:

  http://daduke.org/linux/userparameters.html

which documents a previous effort by the Linux thin client community to work out the format of userParameters. I'm guessing the strange encoding is used to try to keep the attribute as valid UTF8. If you can confirm that the attribute is always valid UTF8 that would be great (as otherwise we might corrupt it during replication with windows).

As I mentioned, this is not a high priority, but it would be nice to know the format at some stage.

Cheers, Tridge

_______________________________________________
cifs-protocol mailing list
[hidden email]
https://lists.samba.org/mailman/listinfo/cifs-protocol
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [REG:110011477385004] RE: userParameters attribute

Andrew Bartlett
On Tue, 2010-04-13 at 18:18 +0000, Hongwei Sun wrote:
> Tridge,
>
>    I just want to check with you to see if  you have any question regarding the newly added documentation for this attribute.  If not, I will close this CAR.  

Can you make sure this information is referenced from the schema docs
and available under WSPP?  

Thanks,

Andrew Bartlett

--
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.

_______________________________________________
cifs-protocol mailing list
[hidden email]
https://lists.samba.org/mailman/listinfo/cifs-protocol

signature.asc (197 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [REG:110011477385004] RE: userParameters attribute

Hongwei Sun
Andrew,

  Yes, I already filed a request to add the reference to the information we added to 2.345 MS-ADA3 "Userparameter Attribute".  

Thanks!

Hongwei

 
-----Original Message-----
From: Andrew Bartlett [mailto:[hidden email]]
Sent: Tuesday, April 27, 2010 8:25 PM
To: Hongwei Sun
Cc: [hidden email]; [hidden email]; [hidden email]; MSSolve Case Email; Michael Ströder
Subject: Re: [cifs-protocol] [REG:110011477385004] RE: userParameters attribute

On Tue, 2010-04-13 at 18:18 +0000, Hongwei Sun wrote:
> Tridge,
>
>    I just want to check with you to see if  you have any question regarding the newly added documentation for this attribute.  If not, I will close this CAR.  

Can you make sure this information is referenced from the schema docs and available under WSPP?  

Thanks,

Andrew Bartlett

--
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.
_______________________________________________
cifs-protocol mailing list
[hidden email]
https://lists.samba.org/mailman/listinfo/cifs-protocol
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [REG:110011477385004] RE: userParameters attribute

Andrew Bartlett
In reply to this post by Hongwei Sun
On Tue, 2010-04-13 at 18:18 +0000, Hongwei Sun wrote:
> Tridge,
>
>    I just want to check with you to see if  you have any question regarding the newly added documentation for this attribute.  If not, I will close this CAR.  

The reference is good, but it seems there is a problem because of the
way this parameter is split between products.

In particular, while this may be true for MS-TSTS:
[MS-TSTS] 2.3.1 UserParamerters:
MSProductData (96 bytes): A 96 byte Unicode character array containing
48 Unicode characters. This field is not used by Microsoft Terminal
Services.

We need to know the full decode of the structure, regardless of which
product or document owns it.  In short, what is the meaning and expected
contents of MSProductData?

Thanks,

Andrew Bartlett
--
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.


_______________________________________________
cifs-protocol mailing list
[hidden email]
https://lists.samba.org/mailman/listinfo/cifs-protocol

signature.asc (197 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [REG:110011477385004] RE: userParameters attribute

Hongwei Sun
Andrew,

   I will work on your request and let you know when I get the information you need.

Thanks!

Hongwei

-----Original Message-----
From: Andrew Bartlett [mailto:[hidden email]]
Sent: Friday, May 14, 2010 6:12 PM
To: Hongwei Sun
Cc: [hidden email]; [hidden email]; [hidden email]; MSSolve Case Email; Michael Ströder
Subject: Re: [cifs-protocol] [REG:110011477385004] RE: userParameters attribute

On Tue, 2010-04-13 at 18:18 +0000, Hongwei Sun wrote:
> Tridge,
>
>    I just want to check with you to see if  you have any question regarding the newly added documentation for this attribute.  If not, I will close this CAR.  

The reference is good, but it seems there is a problem because of the way this parameter is split between products.

In particular, while this may be true for MS-TSTS:
[MS-TSTS] 2.3.1 UserParamerters:
MSProductData (96 bytes): A 96 byte Unicode character array containing
48 Unicode characters. This field is not used by Microsoft Terminal Services.

We need to know the full decode of the structure, regardless of which product or document owns it.  In short, what is the meaning and expected contents of MSProductData?

Thanks,

Andrew Bartlett
--
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.

_______________________________________________
cifs-protocol mailing list
[hidden email]
https://lists.samba.org/mailman/listinfo/cifs-protocol
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [REG:110011477385004] RE: userParameters attribute

Hongwei Sun
In reply to this post by Andrew Bartlett
Andrew,

   We have confirmed that currently "UserParameter" attribute is only used by the Terminal Service and there is no any other Microsoft product that also uses this attribute. The Terminal Service doesn't use the first 96 bytes of the "UserParameter" attribute.  In order to avoid any confusion, we will rename "MSProductData" to "UnusedData" in the 2.3.1 of the future release of MS-TSTS.

   Please let us know if you have any more question, if not, I will consider this case closed.

Thanks!

Hongwei


-----Original Message-----
From: Andrew Bartlett [mailto:[hidden email]]
Sent: Friday, May 14, 2010 6:12 PM
To: Hongwei Sun
Cc: [hidden email]; [hidden email]; [hidden email]; MSSolve Case Email; Michael Ströder
Subject: Re: [cifs-protocol] [REG:110011477385004] RE: userParameters attribute

On Tue, 2010-04-13 at 18:18 +0000, Hongwei Sun wrote:
> Tridge,
>
>    I just want to check with you to see if  you have any question regarding the newly added documentation for this attribute.  If not, I will close this CAR.  

The reference is good, but it seems there is a problem because of the way this parameter is split between products.

In particular, while this may be true for MS-TSTS:
[MS-TSTS] 2.3.1 UserParamerters:
MSProductData (96 bytes): A 96 byte Unicode character array containing
48 Unicode characters. This field is not used by Microsoft Terminal Services.

We need to know the full decode of the structure, regardless of which product or document owns it.  In short, what is the meaning and expected contents of MSProductData?

Thanks,

Andrew Bartlett
--
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.

_______________________________________________
cifs-protocol mailing list
[hidden email]
https://lists.samba.org/mailman/listinfo/cifs-protocol
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [REG:110011477385004] RE: userParameters attribute

Andrew Bartlett
On Wed, 2010-05-26 at 23:07 +0000, Hongwei Sun wrote:
> Andrew,
>
>    We have confirmed that currently "UserParameter" attribute is only used by the Terminal Service and there is no any other Microsoft product that also uses this attribute. The Terminal Service doesn't use the first 96 bytes of the "UserParameter" attribute.  In order to avoid any confusion, we will rename "MSProductData" to "UnusedData" in the 2.3.1 of the future release of MS-TSTS.
>
>    Please let us know if you have any more question, if not, I will consider this case closed.

That's weird.  For ages, this was referred to in samba as the 'munged
dialback field', because (from memory) the first part was meant to
contain the phone number to call back for old-style modem-callback
security.  I take it that this does not exist any more?

For reference, we finally got rid of the field in this commit:
http://www.mail-archive.com/samba-cvs@.../msg49021.html

UNISTR2 uni_munged_dial ; /* munged path name and dial-back tel no */

Where the field after 'comment' on SAM_USER_INFO_23 became 'parameters'
from the IDL.

This 'parameters' maps to userParameter in LDAP.

Andrew Bartlett

--
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.


_______________________________________________
cifs-protocol mailing list
[hidden email]
https://lists.samba.org/mailman/listinfo/cifs-protocol

signature.asc (197 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [REG:110011477385004] RE: userParameters attribute

Hongwei Sun
Andrew,

   This 96 bytes unused data is not currently used by Terminal Service. The following is the update to the documentation:

   UnusedData (96 bytes):  A 96 byte array of unused data. This array is filled with the ASCII character for space (0x20).

Thanks!

Hongwei


-----Original Message-----
From: Andrew Bartlett [mailto:[hidden email]]
Sent: Wednesday, May 26, 2010 6:19 PM
To: Hongwei Sun
Cc: [hidden email]; [hidden email]; [hidden email]; MSSolve Case Email; Michael Ströder
Subject: RE: [cifs-protocol] [REG:110011477385004] RE: userParameters attribute

On Wed, 2010-05-26 at 23:07 +0000, Hongwei Sun wrote:
> Andrew,
>
>    We have confirmed that currently "UserParameter" attribute is only used by the Terminal Service and there is no any other Microsoft product that also uses this attribute. The Terminal Service doesn't use the first 96 bytes of the "UserParameter" attribute.  In order to avoid any confusion, we will rename "MSProductData" to "UnusedData" in the 2.3.1 of the future release of MS-TSTS.
>
>    Please let us know if you have any more question, if not, I will consider this case closed.

That's weird.  For ages, this was referred to in samba as the 'munged dialback field', because (from memory) the first part was meant to contain the phone number to call back for old-style modem-callback security.  I take it that this does not exist any more?

For reference, we finally got rid of the field in this commit:
http://www.mail-archive.com/samba-cvs@.../msg49021.html

UNISTR2 uni_munged_dial ; /* munged path name and dial-back tel no */

Where the field after 'comment' on SAM_USER_INFO_23 became 'parameters'
from the IDL.

This 'parameters' maps to userParameter in LDAP.

Andrew Bartlett

--
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.

_______________________________________________
cifs-protocol mailing list
[hidden email]
https://lists.samba.org/mailman/listinfo/cifs-protocol
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [REG:110011477385004] RE: userParameters attribute

Andrew Bartlett
On Tue, 2010-06-01 at 22:51 +0000, Hongwei Sun wrote:
> Andrew,
>
>    This 96 bytes unused data is not currently used by Terminal Service. The following is the update to the documentation:
>
>    UnusedData (96 bytes):  A 96 byte array of unused data. This array is filled with the ASCII character for space (0x20).

So I take it that the 'dial back number' stuff no longer exists?

Andrew Bartlett

--
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.


_______________________________________________
cifs-protocol mailing list
[hidden email]
https://lists.samba.org/mailman/listinfo/cifs-protocol

signature.asc (197 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [REG:110011477385004] RE: userParameters attribute

Hongwei Sun
Andrew,

  Sorry about the delay to give you a confirmation.  We have been spending time to review the usage of UserParameters in other Windows components based on the information you provided.   We found that this attribute is indeed still used by at least one other Microsoft product, such as RAS Server.  The related product team is working on this to find how to document it.  During my vacation, I will ask one of my team member (Obaid) to monitor the progress and send you the update when it is available.

Thanks!

Hongwei

 
-----Original Message-----
From: Andrew Bartlett [mailto:[hidden email]]
Sent: Tuesday, June 01, 2010 5:57 PM
To: Hongwei Sun
Cc: [hidden email]; [hidden email]; [hidden email]; MSSolve Case Email; Michael Ströder
Subject: RE: [cifs-protocol] [REG:110011477385004] RE: userParameters attribute

On Tue, 2010-06-01 at 22:51 +0000, Hongwei Sun wrote:
> Andrew,
>
>    This 96 bytes unused data is not currently used by Terminal Service. The following is the update to the documentation:
>
>    UnusedData (96 bytes):  A 96 byte array of unused data. This array is filled with the ASCII character for space (0x20).

So I take it that the 'dial back number' stuff no longer exists?

Andrew Bartlett

--
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.

_______________________________________________
cifs-protocol mailing list
[hidden email]
https://lists.samba.org/mailman/listinfo/cifs-protocol
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [REG:110011477385004] RE: userParameters attribute

Andrew Bartlett
On Mon, 2010-06-21 at 22:54 +0000, Hongwei Sun wrote:
> Andrew,
>
>   Sorry about the delay to give you a confirmation.  

No worries.

> We have been spending time to review the usage of UserParameters in
> other Windows components based on the information you provided.   We
> found that this attribute is indeed still used by at least one other
> Microsoft product, such as RAS Server.  The related product team is
> working on this to find how to document it.  During my vacation, I
> will ask one of my team member (Obaid) to monitor the progress and
> send you the update when it is available.

Isn't software archeology fun!

Enjoy your break, and don't stress about this one too much.  I look
forward to seeing a final breakdown of the structure some day, to help
those trying to write user management tools for Samba4.

Thanks,

Andrew Bartlett

_______________________________________________
cifs-protocol mailing list
[hidden email]
https://lists.samba.org/mailman/listinfo/cifs-protocol
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [Pfif] [REG:110011477385004] RE: userParameters attribute

Andrew Bartlett
In reply to this post by Hongwei Sun
On Mon, 2010-06-21 at 22:54 +0000, Hongwei Sun wrote:
> Andrew,
>
>   Sorry about the delay to give you a confirmation.  We have been spending time to review the usage of UserParameters in other Windows components based on the information you provided.   We found that this attribute is indeed still used by at least one other Microsoft product, such as RAS Server.  The related product team is working on this to find how to document it.  During my vacation, I will ask one of my team member (Obaid) to monitor the progress and send you the update when it is available.

Out of pure curiosity, did this ever turn into documentation?

Andrew Bartlett

--
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org

_______________________________________________
cifs-protocol mailing list
[hidden email]
https://lists.samba.org/mailman/listinfo/cifs-protocol
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [Pfif] [REG:110011477385004] RE: userParameters attribute

Stefan (metze) Metzmacher
Am 23.05.2011 05:50, schrieb Andrew Bartlett:
> On Mon, 2010-06-21 at 22:54 +0000, Hongwei Sun wrote:
>> Andrew,
>>
>>   Sorry about the delay to give you a confirmation.  We have been spending time to review the usage of UserParameters in other Windows components based on the information you provided.   We found that this attribute is indeed still used by at least one other Microsoft product, such as RAS Server.  The related product team is working on this to find how to document it.  During my vacation, I will ask one of my team member (Obaid) to monitor the progress and send you the update when it is available.
>
> Out of pure curiosity, did this ever turn into documentation?

BTW: is it documented that the userParameters attribute is stored as
utf8 string, while
the samr interface uses UTF16? See
https://bugzilla.samba.org/show_bug.cgi?id=8077
(I haven't uploaded examples, but I plan to do so in the next weeks)

metze


_______________________________________________
cifs-protocol mailing list
[hidden email]
https://lists.samba.org/mailman/listinfo/cifs-protocol

signature.asc (270 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [Pfif] [REG:110011477385004] RE: userParameters attribute

Hongwei Sun
In reply to this post by Andrew Bartlett
Andrew,

  The request opened is still pending.  I will follow up with the corresponding product teams.  I will keep you posted.

Thanks!

Hongwei


-----Original Message-----
From: Andrew Bartlett [mailto:[hidden email]]
Sent: Sunday, May 22, 2011 10:50 PM
To: Hongwei Sun
Cc: [hidden email]; [hidden email]; Obaid Farooqi; MSSolve Case Email; Michael Ströder
Subject: Re: [Pfif] [cifs-protocol] [REG:110011477385004] RE: userParameters attribute

On Mon, 2010-06-21 at 22:54 +0000, Hongwei Sun wrote:
> Andrew,
>
>   Sorry about the delay to give you a confirmation.  We have been spending time to review the usage of UserParameters in other Windows components based on the information you provided.   We found that this attribute is indeed still used by at least one other Microsoft product, such as RAS Server.  The related product team is working on this to find how to document it.  During my vacation, I will ask one of my team member (Obaid) to monitor the progress and send you the update when it is available.

Out of pure curiosity, did this ever turn into documentation?

Andrew Bartlett

--
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org


_______________________________________________
cifs-protocol mailing list
[hidden email]
https://lists.samba.org/mailman/listinfo/cifs-protocol
Loading...