search for: set_user_password

Displaying 3 results from an estimated 3 matches for "set_user_password".

2023 Apr 07
2
python module
...le. I would like to add/disable/modify AD accounts using python running on a linux machine. ChatGPT suggested the python-samba module. Sample code as follows: from samba.credentials import Credentials from samba.netcmd.user import create as create_user from samba.netcmd.user import setpassword as set_user_password ... I am running Debuan bullseye and I can import the samba module. But there is no samba.netcmd.user name available. So chatgpt suggested I need a newer version of python-samba. I attempted to pip install it -- and it is not available on pypi. After googling for about 15 minutes I gave up tryin...
2023 Apr 07
1
python module
...isable/modify AD accounts using python running on a linux machine. > ChatGPT suggested the python-samba module. Sample code as follows: > > from samba.credentials import Credentials > from samba.netcmd.user import create as create_user > from samba.netcmd.user import setpassword as set_user_password > > ... > I am running Debuan bullseye and I can import the samba module. But there > is no samba.netcmd.user name available. So chatgpt suggested I need a newer > version of python-samba. > > I attempted to pip install it -- and it is not available on pypi. > > After...
2023 Apr 07
1
python module
...s using python running on a linux machine. > > ChatGPT suggested the python-samba module. Sample code as follows: > > > > from samba.credentials import Credentials > > from samba.netcmd.user import create as create_user > > from samba.netcmd.user import setpassword as set_user_password > > > > ... > > I am running Debuan bullseye and I can import the samba module. But there > > is no samba.netcmd.user name available. So chatgpt suggested I need a > newer > > version of python-samba. > > > > I attempted to pip install it -- and it is no...