From: Behruz R. <beh...@cp...> - 2001-03-30 19:31:17
|
Make sure you are using the right object classes and the mandatory attributes you need to create a user in AD. Try this to create a mail-enabled user in ActiveDirectory. userAccountControl = 512 cn = John Smith givenName= John mailNickname =Smith sAMAccountName =Smith sn=Smith userPrincipalName =Smith objectclass=top;person;organizationalPerson;user;securityPrincipal;mailRecip ient You can even try first to add a entry by using the "ldapmodify" utility to make sure you can create this entry whithin the directory before starting to add it through a program. Behruz. -----Original Message----- From: per...@li... [mailto:per...@li...]On Behalf Of J Beck Sent: Friday, March 30, 2001 10:54 AM To: 'Edgington, Jeffrey'; per...@li... Subject: RE: Creating a user in Win2K AD via Net::LDAP you might want to look at your directory's logs. what kinds of errors are your getting. it could be permissions, a replicated branch, a required objectclass being left out... -----Original Message----- From: per...@li... [mailto:per...@li...]On Behalf Of Edgington, Jeffrey Sent: Friday, March 30, 2001 11:52 AM To: per...@li... Subject: Creating a user in Win2K AD via Net::LDAP I'm trying to create userid's in Win2K AD via Net::LDAP with little success.... I can manipulate current accounts, but can't create them.... has anyone else been successful with this?... and if so, would you care to share what you did? Thanks. jeff e. |