Skip to content

Instantly share code, notes, and snippets.

--- upgrade.py.orig 2014-03-19 13:41:09.000000000 -0700
+++ upgrade.py 2014-04-17 13:40:31.129417325 -0700
@@ -93,9 +93,10 @@
except ldb.LdbError, e:
logger.warn("Could not set account policy, (%s)", str(e))
-
+# Modified to support importing LDAP attributes -- JTY
def add_posix_attrs(logger, samdb, sid, name, nisdomain, xid_type, home=None,
- shell=None, pgid=None):