Python Forum
Active Directory add an attribute.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Active Directory add an attribute.
#1
Hi everyone,

I'm exploring pyad to manipulate active directory.

I already use :
update_attribute()
But I don't see anywhere in the documentation of pyad a way to create a new AD attribute.... :/

is there a way (with pyad or with any other Python packages ?)

Thanks
Reply
#2
Try the update_attribute with non existing keys.
Then check, if your AD has the new attributes set.
My code examples are always for Python >=3.6.0
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
Reply
#3
@DeaD_EyE
I tried of course but this raise an error
Quote: the request attributes does not exist

but it's ok , I've found a workaround (I use another existing attributes :/ )
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Read and write active Excel file euras 4 379 Jun-29-2021, 11:16 PM
Last Post: Pedroski55
  A problem with a TButton's foreground 'active' color. Mik3e 0 395 Sep-10-2020, 01:12 AM
Last Post: Mik3e
  Edit Open and Active Excel sheet in Python JoeDainton123 1 665 Jul-29-2020, 12:52 AM
Last Post: Larz60+
  Python3/Flask/LDAP-Active Directory tundrwd 1 996 Dec-13-2019, 05:48 PM
Last Post: Clunk_Head

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020