summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/python/samba/sd_utils.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/source4/scripting/python/samba/sd_utils.py b/source4/scripting/python/samba/sd_utils.py
index 4694f4cc76..ea8f2e7d0b 100644
--- a/source4/scripting/python/samba/sd_utils.py
+++ b/source4/scripting/python/samba/sd_utils.py
@@ -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