Hi,

I was wondering how I would add a computer label to a department. What I want to do is assign specific departments their machines. Example I know that cars-*** belongs to Careers department, so when I look up the department I want to see those computers listed as assets. What's the best and most automated way of doing this? Is it even possible?

Thanks,

Mike
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
If you trust your naming convention you could do this with a smart label.

System Name | begins with | cars-

I personally like LDAP labels for departments but it only works if AD is organized.
Answered 01/16/2012 by: dchristian
Red Belt

Please log in to comment
0
ORIGINAL: ms01ak
... how I would add a computer label to a department. What I want to do is assign specific departments their machines.

This may be just for the benefit of those that stumble on this thread but I assume that you are wanting a label that represents a department applied to machines? if so then go with dchristian's advice.

If not then are you trying to label a department? i.e. Department assets? Assets does have a "department" type and you can associate machines but you cannot label assets. You could have:
  • a label that is based upon the relationship you already have between a machine asset (in assets) and a department asset (advanced)
  • OR you could import department information into assets based on results that your smart label accomplishes (export the list, import as csv) (simple)
  • OR you could have a ticket rule that would establish the asset relationship based on the smart label as it changes -- or based on the same criteria as the smart label (advanced)
Answered 01/16/2012 by: GillySpy
Seventh Degree Black Belt

Please log in to comment
0
I am looking at this as well. Our AD structure has departments under geographic locations, and I am trying to get all PCs in a department regardless of location into a label. Is there a way to return computer objects from Active Directory using an OU name?

(&(name=KBOX_COMPUTER_NAME)(objectClass=computer)(ou=*Aviation*)) does not work, nor does (&(name=KBOX_COMPUTER_NAME)(objectClass=computer)(ou:dn:=Aviation))
Answered 01/16/2012 by: sramsey
Yellow Belt

Please log in to comment
0
If you go through the LDAP browser you will see what attributes are returned and the data. You cannot use wildcards on derived values like memberOf but maybe you do not need to. The browser also helps to copy/paste the exact data rather then mistyping it. If it's reflected in the memberof data and is truly based on a search base (OU) then you could use a different search based on each label as well.

The LDAP browser is accessible from any area you configure LDAP on the kbox webui, but if you enter it from a page where you want to use that data then the browser can pull your test filters into that page when finished in the LDAP browser
Answered 01/16/2012 by: GillySpy
Seventh Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity