Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # sh
- # cat > /mnt/patch <<EOF
- Index: gui/common/freenasldap.py
- ===================================================================
- --- gui/common/freenasldap.py (revision 9359)
- +++ gui/common/freenasldap.py (working copy)
- @@ -1400,6 +1400,7 @@
- self._users = []
- self._groups = {}
- self.__domains = self.get_domains()
- + syslog(LOG_DEBUG, "FreeNAS_ActiveDirectory_Users: domains = %r" % (repr(self.__domains), ))
- self.__ucache = FreeNAS_UserCache()
- self.__gcache = FreeNAS_GroupCache()
- @@ -1625,6 +1626,7 @@
- super(FreeNAS_ActiveDirectory_Groups, self).__init__(**kwargs)
- self.__domains = self.get_domains()
- + syslog(LOG_DEBUG, "FreeNAS_ActiveDirectory_Groups: domains = %r" % (repr(self.__domains), ))
- self.__gcache = FreeNAS_GroupCache()
- self._groups = []
- EOF
- # patch < /mnt/patch
- # rm /mnt/patch
- # service django restart
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement