env.put(Context.SECURITY_CREDENTIALS, ConfigMain.getParameter("ldap_adminPassword"));
LdapUser dr = new LdapUser();
dr.configure(inBenutzer, inPasswort, getNextUidNumber());
DirContext ctx = new InitialDirContext(env);
ctx.bind(getUserDN(inBenutzer), dr);
ctx.close();
setNextUidNumber();
Helper.setMeldung(null, Helper.getTranslation("ldapWritten") + " " + inBenutzer.getNachVorname(), "");
/*
* -------------------------------- check if HomeDir exists, else create it --------------------------------