search for: smbprotocol

Displaying 2 results from an estimated 2 matches for "smbprotocol".

Did you mean: smb1protocol
2023 Apr 07
1
python module
...cting with Active Directory, LDAP, SMB, and more. 3. pysmb: This is a Python module for interacting with SMB/CIFS file servers, including Samba servers. It provides a simple API for reading and writing files, browsing directories, and executing commands on a remote server. 4. smbprotocol: This is another Python module for working with SMB/CIFS file servers, including Samba servers. It provides a lower-level API for sending and receiving SMB messages and packets. ==== NOTE the distinction between samba-python and python-samba ===== ==== Here is the paragraph that caught my at...
2023 Apr 07
1
python module
On 07/04/2023 20:20, David Bear via samba wrote: > I am looking for the python-samba module. 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