mirror of
https://github.com/samba-team/samba.git
synced 2025-07-27 07:42:04 +03:00
sd_utils: Fix some formatting, add module docstring.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Aug 7 21:07:04 CEST 2011 on sn-devel-104
This commit is contained in:
@ -18,15 +18,17 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
"""Utility methods for security descriptor manipulation."""
|
||||
|
||||
import samba
|
||||
from ldb import Message, MessageElement, Dn
|
||||
from ldb import FLAG_MOD_REPLACE, SCOPE_BASE
|
||||
from samba.ndr import ndr_pack, ndr_unpack
|
||||
from samba.dcerpc import security
|
||||
|
||||
class SDUtils:
|
||||
'''Some utilities for manipulation of security descriptors
|
||||
on objects'''
|
||||
class SDUtils(object):
|
||||
"""Some utilities for manipulation of security descriptors
|
||||
on objects"""
|
||||
|
||||
def __init__(self, samdb):
|
||||
self.ldb = samdb
|
||||
|
Reference in New Issue
Block a user