[Kolab-devel] OU Selection in "Add Users"

Jeroen van Meeuwen (Kolab Systems) vanmeeuwen at kolabsys.com
Fri Nov 30 01:29:08 CET 2012


On 2012-11-29 22:35, Mat Cantin wrote:
> Since one can create multiple domains, which in turn create their own 
> OU
> in the LDAP directory, is it possible to select a different OU when
> creating a user? Currently the default OU is the only one available 
> for
> selection.
> 

If you have multiple OUs under ou=People, then these would be listed as 
options there.

We have no interface to add/edit organizational units, but the 
following should do the trick:

$ cat >>/tmp/new-ou.ldif<<EOF
dn: ou=New OU,ou=People,dc=example,dc=org
objectclass: top
objectclass: organizationalunit
ou: New OU
EOF
$ ldapadd -x -h localhost -D "cn=Directory Manager" -w **** -f 
/tmp/new-ou.ldif

Kind regards,

Jeroen van Meeuwen

-- 
Systems Architect, Kolab Systems AG

e: vanmeeuwen at kolabsys.com
m: +44 74 2516 3817
w: http://www.kolabsys.com

pgp: 9342 BF08




More information about the devel mailing list