Hi,
 
In AD:
the sAMAccountName must be between 0 and 256 characters long
the cn must be between 1 and 64 characters long
 
I guess the NET commands are still using legacy methods
 
When creating a group in a NT4 the limit was 20 char when you used the user 
manager for domains. However, using other methods (scripting or third party 
tooling) it was possible to pass the limit of user manager for domains. Don't 
remember what the real limit was/is
 
Jorge

________________________________

From: [EMAIL PROTECTED] on behalf of Freddy HARTONO
Sent: Fri 2006-01-20 08:48
To: [email protected]
Subject: [ActiveDir] Net localgroup limitation?



Hi 

Just curious is there a 19 characters limit for net localgroup commands? 

Just realised after trying to script a couple of things - that adding this 
doesn't work 

This works 
Net localgroup Administrators "domain\12345678910123456789" /ADD 

This doesn't work 
Net localgroup Administrators "domain\123456789101234567890123456" /ADD 

Anyone else comes up with this limitation? 

Thank you and have a splendid day! 

Kind Regards, 

Freddy Hartono 
Group Support Engineer 
InternationalSOS Pte Ltd 
mail: [EMAIL PROTECTED] 
phone: (+65) 6330-9785 



This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.

<<winmail.dat>>

Reply via email to