[Samba] Create organizational unit (OU)

Stefan Kania stefan at kania-online.de
Mon Feb 22 08:21:53 UTC 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

just create an ldif-file like this:
- ---------------
dn: OU=home,DC=example,DC=net
changetype: add
objectClass: top
objectClass: organizationalunit
description: my first ou
- ---------------
Then use ldbadd:
- --------------
ldbadd --url=/var/lib/samba/private/sam.ldb ou.ldif
- --------------


Am 22.02.2016 um 00:23 schrieb Johnata Tagliavini:
> Hello.
> 
> I apologize for my English, I am still learning. How do I create an
> organizational unit (OU) via command in Samba4? I've researched
> very samba-tool and found nothing on the subject. Thank you.
> 
> 
> ? Atte, Johnata Tagliavini
> 


- -- 
Stefan Kania
Landweg 13
25693 St. Michaelisdonn


Signieren jeder E-Mail hilft Spam zu reduzieren. Signieren Sie ihre
E-Mail. Weiter Informationen unter http://www.gnupg.org

Mein Schl├╝ssel liegt auf

hkp://subkeys.pgp.net

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iEYEARECAAYFAlbKxSEACgkQ2JOGcNAHDTaMXQCfQGq7AQZI+qXNtFqaja2JhfsJ
4QgAoKkamG4els8jU4JhFa4fMEAOZMrI
=FHkA
-----END PGP SIGNATURE-----



More information about the samba mailing list