[Date Prev][Date Next] [Chronological] [Thread] [Top]

adding objectClass and Attributes to existing users



Is there a script out there that will allow me to add a series of new
ObjectClass and Attributes to existing users?

I need to add these ObjectClasses:

inetMailRouting
inetMailUser
inetSubscriber
shadowAccount


I need to add these Attributes with values:

inetAuthorizedServices = cn=pop3,ou=inet,dc=bardel,dc=ca
inetMailUserVersion = etc
inetSubscriberStatus = etc
mail = etc
mailDeliveryOption = etc
mailHost = etc
mailQuota = etc

I have 120 users on the system and to manually add each ObjectClass and
Attribute will take forever.  Can I use the ldapadd function?

Thanks,

Jason