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.
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
  Active Directory integration dady 2 465 Oct-13-2023, 04:02 AM
Last Post: deanhystad
  read active document name - other than from the window title ineuw 0 495 Sep-11-2023, 09:06 AM
Last Post: ineuw
  Read and write active Excel file euras 4 3,381 Jun-29-2021, 11:16 PM
Last Post: Pedroski55
  A problem with a TButton's foreground 'active' color. Mik3e 0 1,385 Sep-10-2020, 01:12 AM
Last Post: Mik3e
  Edit Open and Active Excel sheet in Python JoeDainton123 1 2,060 Jul-29-2020, 12:52 AM
Last Post: Larz60+
  Python3/Flask/LDAP-Active Directory tundrwd 1 31,105 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