Python Forum

Full Version: Active Directory add an attribute.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Try the update_attribute with non existing keys.
Then check, if your AD has the new attributes set.
@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 :/ )