Yep...understood.
 
My mistake was making the change on  default-Display, but then not testing the view from a saved query, a container type with no defined custom columns.  Rather, I tested it on an OU (organizationalUnit-Display).  I thought that would be a good test because it didn't have an  extraColumns  attribute defined, but it seems that fact alone does not designate  organizationalUnit-Display  as "container types that do not have any custom columns registered".
 
Thanks again!
-DaveC


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dean Wells
Sent: Thursday, April 20, 2006 10:10 AM
To: Send - AD mailing list
Subject: RE: [ActiveDir] ExtraColumns attribute

I believe it's trying to tell you that you cannot reduce the list, you can merely extend it.

--
Dean Wells
MSEtechnology
* Email: dwells@msetechnology.com

http://msetechnology.com

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Cliffe
Sent: Thursday, April 20, 2006 9:31 AM
To: [email protected]
Subject: RE: [ActiveDir] ExtraColumns attribute

I'm not certain either.  I modified (added a value) to the extraColumns attribute of this object:
 
"CN=default-Display,CN=409,CN=DisplaySpecifiers,CN=Configuration,DC=<rootdomain>,DC=com"
 
After that, I closed/relaunched ADUC, picked the "OU=Domain Controllers" (for example), right clicked it, chose View -->Add/Remove Columns... and looked at the list of available columns.  That list never changed (never included the operatingSystem attribute for example).
 
I'm trying to interpret the last two statements of that article:
 
"The fixed set of columns cannot be changed and modifying the extraColumns attribute of the default-Display object will have no effect.  To display a custom column for all container types that do not have any custom columns registered, add a value for the column to the extraColumns attribute of the default-Display object."
 
It seems to be saying that you should be able to add an attribute via the  extraColumns  attr  of  default-Display (as you proved in your test), and this will work as long as the container type for the object you're looking at doesn't already have an  extraColumns  attr defined, which  *is*  the case on the  organizationalUnit-display  object in my config partition.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dean Wells
Sent: Thursday, April 20, 2006 8:06 AM
To: Send - AD mailing list
Subject: RE: [ActiveDir] ExtraColumns attribute

Per my original repsonse and having just tested it, modifying the default does indeed have the desired effect.  I'm uncertain as to why it's not working for you.
 
Which displaySpecifier are you modifying?

--
Dean Wells
MSEtechnology
* Email: dwells@msetechnology.com

http://msetechnology.com

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Cliffe
Sent: Thursday, April 20, 2006 7:25 AM
To: [email protected]
Subject: RE: [ActiveDir] ExtraColumns attribute

<sigh>  just an FYI - this time I read this article  *the whole way through* (!)  and it answered my questions about which display specifier object(s) one actually needs to modify in order to add extra columns.  Works fine.  I was modifying the default, which has no effect.  Thanks for your time Dean.
 
 
-DaveC

Whoops...I should have clarified two items - sorry.
 
1 - What suprised me was that these three new "extras" don't even show up in the "available columns" dialog to select them!
2 - I haven't tested a "Saved Query" view yet.  I figured that since this was default I would just pick any OU or container with computer objects in it to start off with.  I've tried a few different ones with no luck seeing those columns as available options to add.
 
Strange.  Thanks for your replies.
-DaveC


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dean Wells
Sent: Wednesday, April 19, 2006 5:28 PM
To: Send - AD mailing list
Subject: RE: [ActiveDir] ExtraColumns attribute

OK, so the 1st trailing 0 says "don't show by default" ... which I assume is what you want on the default displaySpecifier.  You may also find it useful to know that when these columns do appear, they have a habit of initially being 0 pixels wide so you have to go dragging columns widths around to find them (they default to the far right column I believe so start there).  In addition, since you've used the trailing 0 mentioned above, all you've done is added these attributes to the list of those available in the Add/Remove columns dialog.
 
--
Dean Wells
MSEtechnology
* Email: dwells@msetechnology.com

http://msetechnology.com
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Cliffe
Sent: Wednesday, April 19, 2006 5:06 PM
To: [email protected]
Subject: RE: [ActiveDir] ExtraColumns attribute

Hm...that's exactly what I was planning to do, and did do about 2 hours ago, but am a little suprised to find it hasn't worked (waited for repl).  Here you can see my edits  [ "joeware automatic update service" hasn't kicked in on my machine yet  : - )   ]
 
I'm not sure how many pixels these things need to be displayed, so I just picked a number...hopefully that's not holding this up?  As an additional test I modified the value in blue, just to see if it would display differently,but that didn't take effect either.  I must be missing something.
 
[note - if reading in plain text, it's the first 4 values of extraColumns below which contain my edits]
 
Thanks again...DC
 
 
$ adfind -b "CN=default-Display,CN=409,CN=DisplaySpecifiers,CN=Configuration,DC=<rootdomain>,DC=com" extracolumns
 
AdFind V01.27.00cpp Joe Richards ([EMAIL PROTECTED]) November 2005
 
Using server: dc.rootdomain.com:389
Directory: Windows Server 2003
 
dn:CN=default-Display,CN=409,CN=DisplaySpecifiers,CN=Configuration,DC=rootdomain,DC=com
>extraColumns: company,Compenny,0,150,0
>extraColumns: operatingSystemVersion,O/S Version,0,100,0
>extraColumns: operatingSystemServicePack,Service Pack,0,100,0
>extraColumns: operatingSystem,Operating System,0,100,0
>extraColumns: postalCode,Zip Code,0,100,0
>extraColumns: textEncodedORAddress,X.400 E-Mail Address,0,130,0
>extraColumns: userPrincipalName,User Logon Name,0,200,0
>extraColumns: title,Job Title,0,100,0
>extraColumns: targetAddress,Target Address,0,100,0
>extraColumns: st,State,0,100,0
>extraColumns: physicalDeliveryOfficeName,Office,0,100,0
>extraColumns: whenChanged,Modified,0,130,0
>extraColumns: sn,Last Name,0,100,0
>extraColumns: msExchIMMetaPhysicalURL,Instant Messaging URL,0,140,0
>extraColumns: msExchIMPhysicalURL,Instant Messaging Home Server,0,170,0
>extraColumns: givenName,First Name,0,100,0
>extraColumns: homeMDB,Exchange Mailbox Store,0,100,0
>extraColumns: mailNickname,Exchange Alias,0,175,0
>extraColumns: mail,E-Mail Address,0,100,0
>extraColumns: sAMAccountName,Pre-Windows 2000 Logon Name,0,120,0
>extraColumns: displayName,Display Name,0,100,0
>extraColumns: department,Department,0,150,0
>extraColumns: c,Country,0,-1,0
>extraColumns: l,City,0,150,0
>extraColumns: telephoneNumber,Business Phone,0,100,0
 

1 Objects returned
 
 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dean Wells
Sent: Wednesday, April 19, 2006 1:42 PM
To: Send - AD mailing list
Subject: RE: [ActiveDir] ExtraColumns attribute

Try editing the extraColumns attribute on the default-Display object, adding the property of your choosing as follows -
 
<LDAP name>,<display name>,<default visibility>,<pixel width>,0     <----- IIRC, this is reserved and must be 0 for now.
 
... highlighting the Saved Query in question and selecting View-->Add/Remove columns-->Add the desired attribute.
 
Does this achieve your goal?

--
Dean Wells
MSEtechnology
* Email: dwells@msetechnology.com

http://msetechnology.com

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Cliffe
Sent: Wednesday, April 19, 2006 12:47 PM
To: [email protected]
Subject: [ActiveDir] ExtraColumns attribute

Hi all,
 
    I am interested in adding values to the 'extraColumns' attribute found on objects in the DisplaySpecifiers container.  In particular, I'd like the option to display the value of OperatingSystem (etc...).
 
    The article about this attr in MSDN library describes it pretty well, but I'm wondering which DisplaySpecifier object to use in the case where you write a "Saved Query" (for others to import into their ADUC).
 
    At present I see that only the "default-Display" and "lostAndFound-Display" objects have that attr populated.  Should I just modify the default, or should I be more specific and modify another object which only applies to "Saved Queries" - if so, anybody know which one?  Maybe since my filter specifies only to computer objects, the "computer-Display" object applies?
 
    Sorry if this sounds silly!
 
Thanks...
DaveC


To find out more about Reuters visit www.about.reuters.com

Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd.


To find out more about Reuters visit www.about.reuters.com

Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd.


To find out more about Reuters visit www.about.reuters.com

Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd.


To find out more about Reuters visit www.about.reuters.com

Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd.


To find out more about Reuters visit www.about.reuters.com

Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd.


To find out more about Reuters visit www.about.reuters.com

Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd.

Reply via email to