Advertisement
yaneurabeya

Untitled

Dec 30th, 2011
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. # sh
  2. # cat > /mnt/patch <<EOF
  3. Index: gui/common/freenasldap.py
  4. ===================================================================
  5. --- gui/common/freenasldap.py (revision 9359)
  6. +++ gui/common/freenasldap.py (working copy)
  7. @@ -1400,6 +1400,7 @@
  8. self._users = []
  9. self._groups = {}
  10. self.__domains = self.get_domains()
  11. + syslog(LOG_DEBUG, "FreeNAS_ActiveDirectory_Users: domains = %r" % (repr(self.__domains), ))
  12. self.__ucache = FreeNAS_UserCache()
  13. self.__gcache = FreeNAS_GroupCache()
  14.  
  15. @@ -1625,6 +1626,7 @@
  16. super(FreeNAS_ActiveDirectory_Groups, self).__init__(**kwargs)
  17.  
  18. self.__domains = self.get_domains()
  19. + syslog(LOG_DEBUG, "FreeNAS_ActiveDirectory_Groups: domains = %r" % (repr(self.__domains), ))
  20. self.__gcache = FreeNAS_GroupCache()
  21. self._groups = []
  22. EOF
  23. # patch < /mnt/patch
  24. # rm /mnt/patch
  25. # service django restart
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement