This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Computer Name Generation

I am trying to generate a simple computer name policy. When i create a new computer object via AR, i want AR to generate PC-0001 and the next computer object PC-0002  and so on. I used the following policysamAccountName =  PC-{@counter(4)}cn = %<samAccountName>Every time i create a computer object,  the samaccountname and cn are pre populated with PC-0001, but when i click next, i get a corporate policy violation. This is the only policy i have in the OU.

Help Please
Parents
  • (I would recommend) in the code on non-windows side I will put SOAP/SPML call ARS SPML provider to Search for provided Computer$ name. If the call return non-empty value then the name is already in sue and the non-windows side process return end-user back to the UI stating "Error. AD reports that the name is in use. Please specify another one".
Reply
  • (I would recommend) in the code on non-windows side I will put SOAP/SPML call ARS SPML provider to Search for provided Computer$ name. If the call return non-empty value then the name is already in sue and the non-windows side process return end-user back to the UI stating "Error. AD reports that the name is in use. Please specify another one".
Children
No Data