search for: full_ou_dn

Displaying 1 result from an estimated 1 matches for "full_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...