Issues

From FreeNAS using Active Directory Wiki
Jump to: navigation, search

9.2.1.5

  • Bug #4878
    • Issue: CIFS is started, and can't be turned off, and Directory Services can't be turned on.
    • Solution: Patch to fix issue is provided in the bug report. After patch is applied, turn off the CIFS service, then turn on Directory Services (which will automatically turn on the CIFS service).
  • Other known issues here
    • After a reboot, Directory Services stops working - need confirmation. Resolved: actual issue was time skew. Both the AD & FreeNAS virtual machines in the test environment were powered down for multiple hours. The AD VM synced the time like it should have, the FreeNAS VM had the correct minutes, but the hour showed 11AM instead of 9PM (-10 hours, as set by my time zone).
    • This is a NON-ISSUE unless you run a virtualized environment, and power down both the host system and the guests for long periods of time.
      • Fix: Enter FreeNAS console, and enter the following command: service ntpd stop && ntpdate 10.10.10.3 && service ntpd start - then Directory Services will start properly.
      • Fix was found on the FreeNAS forum, from moderator "survive", taken from THIS post

Fixing time skew.png

SAMBA Notes

FYI. If you're using Samba *ONLY* (not serving out NFS or UNIX clients) on top of ZFS remember to create the disk storage as case insensitive:

zfs create -o casesensitivity=insensitive filesystem

When you do that you can tell Samba to not have to search on cache misses when searching a directory. This can *significantly* speed up traversals of directories with large numbers of entries (10's to 100's of thousands of entries).

Add:

case sensitive = true default case = upper preserve case = no short preserve case = no

to the share definition section of your smb.conf to go along with this ZFS change.