mirror of
https://github.com/samba-team/samba.git
synced 2025-07-27 07:42:04 +03:00
Add docstrings to a couple more python modules.
(This used to be commit b4560c90e5
)
This commit is contained in:
@ -3,6 +3,10 @@
|
||||
#
|
||||
# Don't modify this file, modify the SWIG interface instead.
|
||||
|
||||
"""
|
||||
Python bindings for miscellaneous Samba functions.
|
||||
"""
|
||||
|
||||
import _misc
|
||||
import new
|
||||
new_instancemethod = new.instancemethod
|
||||
@ -61,7 +65,13 @@ import ldb
|
||||
import credentials
|
||||
import param
|
||||
import security
|
||||
random_password = _misc.random_password
|
||||
|
||||
def random_password(*args, **kwargs):
|
||||
"""
|
||||
S.random_password(len) -> string
|
||||
Generate random password with specified length.
|
||||
"""
|
||||
return _misc.random_password(*args, **kwargs)
|
||||
|
||||
def ldb_set_credentials(*args, **kwargs):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user