Novell is now a part of Micro Focus

Finding Application Associations

Novell Cool Solutions: Tip
By Mathieu Provencher

Digg This - Slashdot This

Posted: 9 Nov 2005

Editor's Note: Special thanks to Novell's Shaun Pond for his contributions to this article.


It can sometimes be a challenge to read how an application is associated.


When an application is associated to a user, group, or container, an attribute is set on that object - "App:Associations". One of these attributes will exist for each application associated to that object. One of the attribute's values contains a number that represents the type of association (i.e., which boxes were checked when the association was made). An example of a checked association box is shown below:

Figure - Association boxes

The table below shows the attribute values for various association types.

Association Type Icon Value
App Launcher 1
Force Run 2
Start Menu 4
Desktop 8
System Tray 32
Quick Launch 128
Force Cache 256

These values are added together if more than one association type is used. For example, if an application is set to be displayed on the App Launcher, and it is also marked as Force Run, the value will be 3.

Seeing the Association Value

To view the association number, you can use NLIST. For example:

NLIST * SHOW "App:associations" /s/r

will display all associations for your entire tree - the value we're looking for here is displayed as "Level".

The following example shows that this application is associated to the Root of the tree, as Force Run:

Current context: [Root]
Organization: MYORG

		Name: UPHCLEAN.apps.home
		Level: 2
		Interval: 0

You can also use DSBrowse on a NetWare server, as this will decode the attribute's values. Again, the value we're looking for is "Level". For example:

?                               Attribute Detail                               ?
?       Object Name: O=Myorg                                                   ?
?    Object Context: T=MYTREE                                                  ?
?    Attribute Name: App:Associations                                          ?
?   Attribute Flags: Present                                                   ?
?  Attribute Syntax: Typed Name                                                ?
? Modification Time: Wednesday, 28 April 2004   9:34:25 am [0001] [0001]       ?
?                                                                              ?
?    Attribute Data: Press <ENTER> to decode the attribute data                ?
?                    Press <ENTER> to display the attribute data in hex        ?
?                                                                              ?
?                                                                              ?
?                                                                              ?
?                                                                              ?
?                                                                              ?
Pressing enter to decode the attribute data, in this case shows
?                                  Typed Name                                  ?
? Entry Name: CN=UPHCLEAN                                                      ?
?      Level: 2                                                                ?
?   Interval: 0                                                                ?

You can also use LDAP to view the values, as long as you are running an LDAP service. When you use LDAP to look at the attribute, it's called "appAssociations" (note the colon is not shown) and the the values are shown all together, with the pound/hash sign (#) as a delimiter.

For example:


The value we're interested in comes between the first and second "#" symbols. In this case it's 128 (checking our table above, we can see that this is shown on the Start Menu and Quick Launch).

Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions.

© Copyright Micro Focus or one of its affiliates