Re: OU Selection in "Add Users"

"Jeroen van Meeuwen (Kolab Systems)" <[email protected]>
Newsgroups gmane.comp.kde.devel.kolab,gmane.comp.kde.kolab.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.