Samba 4 and organizational units
kris
clarquey at irisit.fr
Wed Oct 16 05:09:02 MDT 2013
Hi everyone,
Currently using smba 4.1 and I have a question about Samba 4 and
Organizational Units.
I would like to know if it's going to be implemented in samba-tool
Something like:
Samba-tool ou create/del/list
I managed to create an organizational Unit with ldbadd + an ldif file (I
didn't want to use the "click here, click there" method provided by MS
RSAT)
the problem is that I can't create a user inside that OU with:
samba-tool user create <user> <password> --userou=Mybrandnewshiningou
-Uadministrator
the result is the following:
ERROR(ldb): Failed to add user 'test': - ldb_add: invalid dn'(null)'
I even attempted (who knows?) :
samba-tool user create <user> <password>
--userou=OU=Mybrandnewshiningou,DC=mydomain,DC=lan -Uadministrator
the result is the following:
ERROR(ldb): Failed to add user 'test': - objectclass: Cannot add
CN=test,OU=Mybrandnewshiningou,DC=mydomain,DC=lan, parent does not
exist!
though
ldbsearch -H ldap://mydomain.lan '(objectclass=organizationalUnit)'
-Uadministrator
Shows my new OU and samba-tool dbcheck shows no error
could you help me understand please?
thanks a lot for your help. keep up thr good work.
christophe Larquey
More information about the samba-technical
mailing list