Toon posts:

Java, JNDI msExchMailboxSecurityDescriptor attribuut

Pagina: 1
Acties:

Verwijderd

Topicstarter
Allen weet iemand wat het formaat van de msExchMailboxSecurityDescriptor attribuut is voor het aanmaken van een user (vanuit Java, JNDI) in Active directory ?

Ik weet dat ik het op deze manier moet zetten:
// Create the initial directory context
LdapContext ctx = new InitialLdapContext(env,null);
// Create attributes to be associated with the new user
Attributes attrs = new BasicAttributes();
attrs.put("msExchMailboxSecurityDescriptor", SOMEVALUE); //het is i.i.g een getalletje

alvast bedankt.

  • _js_
  • Registratie: Oktober 2002
  • Laatst online: 13-01 07:19
Op How to set Exchange Server 2000 and 2003 mailbox rights at the time of mailbox creation staat voorbeeld code, maar dan in Visual Basic. Lijkt erop dat het niet zomaar een getalletje is. In de voorbeeld code kun je in ieder geval zien met welke objecten je moet werken.

Verwijderd

Topicstarter
Thx voorbeeld ziet er heel cryptisch uit. Ik hoop stiekem dat iemand het ooit al eerder maar dan in java met JNDI heeft geprobeerd :/

Verwijderd

Topicstarter
het word afgeraden om het op deze manier te doen: http://forum.java.sun.com/thread.jspa?messageID=4352370

Dus roep maar een vbs'je aan vanuit java