Guys, How can I deleting an organizational unit? For creating I use: ldbmodify a file newOU.ldif and it works. But, how I delete it? My regards, Thanks.
On 10/02/15 20:32, Felipe_G0NZ4LEZ_S4NTI4G0(); wrote:> Guys, How can I deleting an organizational unit? For creating I use: ldbmodify a file newOU.ldif and it works. But, how I delete it? My regards, Thanks.Fairly easy, 'ldbdel --url=<path/to/sam.ldb> OU-DN' i.e. if the your rootdse is 'dc=example,dc=com' and the OU is off this and called 'unix', sam.ldb is in /var/lib/samba/private/ ldbdel --url=/var/lib/samba/private/sam.ldb ou=unix,dc=example,dc=com Rowland