search for: ou_dn

Displaying 4 results from an estimated 4 matches for "ou_dn".

2020 Jan 13
0
Create OU with address details
...--- > From: Afshan Suheel <afshansuheel9 at gmail.com> > To: samba at lists.samba.org > Cc: > Bcc: > Date: Sat, 11 Jan 2020 20:17:17 +0530 > Subject: [Samba] Create OU with address details > Hi, > > using below code to create ou: > > try: > full_ou_dn = samdb.normalize_dn_in_domain(ou_dn) > except Exception as e: > raise CommandError('Invalid ou_dn "%s": %s' % (ou_dn, e)) > > try: > samdb.create_ou(full_ou_dn, description=description) > except Exception as e: &gt...
2019 Apr 29
0
Automating creation of OUs, security groups and GPOs, in Samba AD DC
...m setup. Preseed+script: Stefan W. : https://gist.github.com/stefangweichinger/66bfc5c6518c3838e5834287c681ae80 Look at line 220. You could change that to a script you make. And with something like this your and end on the way. echo Your_Admin_Pass | kinit Administrator samba-tool ou create ou_dn [options] ? samba-tool group create samba-tool users add group > > DC=<Unique domain> ^^ would be DC=SOME,DC=DOMAIN,DC=TLD # AD search base. ( something like that, so other people understand this better. ) I would add here. OU=OFFICE1 > > OU=AD Users > >...
2019 Apr 27
4
Automating creation of OUs, security groups and GPOs, in Samba AD DC
Hello, I'm trying to automate the creation of several small samba AD DCs, each with a different domain. Samba tool works fine for creating a brand new domain, but I haven't seen any functionality for manipulating the directory structure of a new domain. Specifically, I'd like to automate the creation of a standard set of OUs, security groups and GPOs. I'm wondering whether
2019 May 01
2
Automating creation of OUs, security groups and GPOs, in Samba AD DC
...W. : https://gist.github.com/stefangweichinger/66bfc5c6518c3838e5834287c681ae80 > Look at line 220. > You could change that to a script you make. > > And with something like this your and end on the way. > > echo Your_Admin_Pass | kinit Administrator > samba-tool ou create ou_dn [options] ? > samba-tool group create > samba-tool users add group > > >>> DC=<Unique domain> > ^^ would be > DC=SOME,DC=DOMAIN,DC=TLD # AD search base. > ( something like that, so other people understand this better. ) > > I would add here. > O...