Hi All,

I am new to LDAP programming .... I am trying to add new attributes to AD by extending the AD schema .. I have a simple LDIF file which adds/updates the schema ..... But I want the LDIF to get the input from the user (admin who installs the script) ...He might need to give the domain name & OIDs as input
dn: CN=isIntegrated,CN=Schema,CN=Configuration,DC=ocsinterop,DC=comchangetype: add
adminDescription: isIntegrated
adminDisplayName: isIntegrated
attributeID: 1.2.840.113556.1.2.2010
cn: isIntegrated
oMSyntax: 1
isSingleValued: TRUE
lDAPDisplayName: isIntegrated
distinguishedName: CN=isIntegrated,CN=Schema,CN=Configuration,DC=ocsinterop,DC=comobjectCategory: CN=Attribute-Schema,CN=Schema,CN=Configuration,DC=ocsinterop,DC=com
objectClass: attributeSchema
name: isIntegrated

Can anyone explain with example, how can I do this ?