RE: [ActiveDir] Flags Attribute?

2006-10-11 Thread Bernier, Brandon \(.\)
Title: RE: Flags Attribute?



That did it. Thanks joe!


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of 
joeSent: Tuesday, October 10, 2006 5:02 PMTo: 
ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] Flags 
Attribute?

For the first part, what about just using LDIFDE to export 
from AD?

dn: 
CN=Flags,CN=Schema,CN=Configuration,DC=test,DC=locchangetype: 
addobjectClass: attributeSchemaattributeID: 
1.2.840.113556.1.4.38attributeSyntax: 2.5.5.9isSingleValued: 
TRUEshowInAdvancedViewOnly: TRUEadminDisplayName: 
FlagsadminDescription: FlagsoMSyntax: 2searchFlags: 
0lDAPDisplayName: flagsname: FlagsschemaIDGUID:: 
dnmWv+YN0BGihQCqADBJ4g==systemOnly: FALSEsystemFlags: 
16isMemberOfPartialAttributeSet: TRUE

Alternately you can pull this

# Attribute: flagsdn: 
cn=Flags,cn=Schema,cn=Configuration,dc=Xchangetype: 
ntdsschemaaddobjectClass: attributeSchemaattributeId: 
1.2.840.113556.1.4.38ldapDisplayName: flagsattributeSyntax: 
2.5.5.9adminDescription: FlagsadminDisplayName: Flags# schemaIDGUID: 
bf967976-0de6-11d0-a285-00aa003049e2schemaIDGUID:: 
dnmWv+YN0BGihQCqADBJ4g==oMSyntax: 2systemFlags: 
16isMemberOfPartialAttributeSet: TRUEisSingleValued: TRUEsystemOnly: 
FALSE

from 
the %windir%\adam\MS-AdamSchemaW2K3.LDF file in ADAM SP1.



--
O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm




From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Bernier, Brandon 
(.)Sent: Tuesday, October 10, 2006 4:04 PMTo: 
ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] Flags 
Attribute?

Nevermind the second part of my 
question. I figured out what I was doing wrong, my LDIF syntax was messed up 
when I tried to modify MayContain.
_ 
From:  Bernier, Brandon (.) Sent: Tuesday, October 
10, 2006 3:05 PM To: 'ActiveDir@mail.activedir.org' Subject: Flags Attribute? 
Ok, I think I'm going crazy here... I need to add 
the Flags attribute into an ADAM instance and can't find it in any of LDF files 
that ship with W2K/W2K3/R2/ADAM. While I can do a ADFind on this attribute and 
dump the needed properties into a LDIF file, I'd like to steal as much as 
possible that what was originally imported into AD. 
Also, when I'm creating an attribute how do I have 
it change the SystemMayContain/MayContain attribute on a existing structural 
Class? I know they are construcuted and I can't modify the Class directly, but 
know there must be a way to do it.
Thanks for the help! 
-Brandon 


RE: [ActiveDir] Flags Attribute?

2006-10-10 Thread Bernier, Brandon \(.\)
Title: RE: Flags Attribute?







Nevermind the second part of my question. I figured out what I was doing wrong, my LDIF syntax was messed up when I tried to modify MayContain.


_ 

From:  Bernier, Brandon (.) 

Sent: Tuesday, October 10, 2006 3:05 PM

To: 'ActiveDir@mail.activedir.org'

Subject: Flags Attribute?



Ok, I think I'm going crazy here... I need to add the Flags attribute into an ADAM instance and can't find it in any of LDF files that ship with W2K/W2K3/R2/ADAM. While I can do a ADFind on this attribute and dump the needed properties into a LDIF file, I'd like to steal as much as possible that what was originally imported into AD. 

Also, when I'm creating an attribute how do I have it change the SystemMayContain/MayContain attribute on a existing structural Class? I know they are construcuted and I can't modify the Class directly, but know there must be a way to do it.

Thanks for the help!


-Brandon





RE: [ActiveDir] Flags Attribute?

2006-10-10 Thread joe
Title: RE: Flags Attribute?



For the first part, what about just using LDIFDE to export 
from AD?

dn: 
CN=Flags,CN=Schema,CN=Configuration,DC=test,DC=locchangetype: 
addobjectClass: attributeSchemaattributeID: 
1.2.840.113556.1.4.38attributeSyntax: 2.5.5.9isSingleValued: 
TRUEshowInAdvancedViewOnly: TRUEadminDisplayName: 
FlagsadminDescription: FlagsoMSyntax: 2searchFlags: 
0lDAPDisplayName: flagsname: FlagsschemaIDGUID:: 
dnmWv+YN0BGihQCqADBJ4g==systemOnly: FALSEsystemFlags: 
16isMemberOfPartialAttributeSet: TRUE

Alternately you can pull this

# Attribute: flagsdn: 
cn=Flags,cn=Schema,cn=Configuration,dc=Xchangetype: 
ntdsschemaaddobjectClass: attributeSchemaattributeId: 
1.2.840.113556.1.4.38ldapDisplayName: flagsattributeSyntax: 
2.5.5.9adminDescription: FlagsadminDisplayName: Flags# schemaIDGUID: 
bf967976-0de6-11d0-a285-00aa003049e2schemaIDGUID:: 
dnmWv+YN0BGihQCqADBJ4g==oMSyntax: 2systemFlags: 
16isMemberOfPartialAttributeSet: TRUEisSingleValued: TRUEsystemOnly: 
FALSE

from 
the %windir%\adam\MS-AdamSchemaW2K3.LDF file in ADAM SP1.



--
O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm




From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Bernier, Brandon 
(.)Sent: Tuesday, October 10, 2006 4:04 PMTo: 
ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] Flags 
Attribute?

Nevermind the second part of my 
question. I figured out what I was doing wrong, my LDIF syntax was messed up 
when I tried to modify MayContain.
_ 
From:  Bernier, Brandon (.) Sent: Tuesday, October 
10, 2006 3:05 PM To: 'ActiveDir@mail.activedir.org' Subject: Flags Attribute? 
Ok, I think I'm going crazy here... I need to add 
the Flags attribute into an ADAM instance and can't find it in any of LDF files 
that ship with W2K/W2K3/R2/ADAM. While I can do a ADFind on this attribute and 
dump the needed properties into a LDIF file, I'd like to steal as much as 
possible that what was originally imported into AD. 
Also, when I'm creating an attribute how do I have 
it change the SystemMayContain/MayContain attribute on a existing structural 
Class? I know they are construcuted and I can't modify the Class directly, but 
know there must be a way to do it.
Thanks for the help! 
-Brandon