From 1821bd194c6a9316cf581ab78accc101127194e1 Mon Sep 17 00:00:00 2001 From: Rowland Penny Date: Tue, 15 Dec 2015 11:00:37 +0000 Subject: [PATCH] Remove posixAccount from samdb.py --- python/samba/samdb.py | 1 - 1 file changed, 1 deletion(-) diff --git a/python/samba/samdb.py b/python/samba/samdb.py index 5750291..0eaa6f5 100644 --- a/python/samba/samdb.py +++ b/python/samba/samdb.py @@ -419,7 +419,6 @@ def newuser(self, username, password, loginshell, nisdomain, unixhome))): ldbmessage2 = ldb.Message() ldbmessage2.dn = ldb.Dn(self, user_dn) - ldbmessage2["objectClass"] = ldb.MessageElement('posixAccount', ldb.FLAG_MOD_ADD, 'objectClass') if uid is not None: ldbmessage2["uid"] = ldb.MessageElement(str(uid), ldb.FLAG_MOD_REPLACE, 'uid') if uidnumber is not None: