<div dir="ltr"><div><div><div><div><div>I am attempting to migrate my CIFS shares from FreeNAS to OmniOS.<br>I have attempted a number of different installs and for now I am working in a VM<br>for speed of reboots and testing.<br><br></div><div>I have Windows 2012 AD, and a number of Mac OSX & Windows 7 clients.<br><br></div><div>Server name = DATA<br></div><div>Domain <a href="http://HOME.example.net">HOME.example.net</a><br><br></div>I install the system, configure the IP of <a href="http://10.0.1.230/8">10.0.1.230/8</a>, set and test route, create a base boot environment<br></div>and a CIFS boot environment. Reboot into the CIFS boot environment.<br><br></div>I have attempted going straight to Napp-it and I have tried manual initialization as follows:<br><br></div>verify /etc/hosts and /etc/nodename entries<br></div><div>Verify AD DNS<br></div><div>verify system is using AD DNS server only<br></div><div>nslookup to verify forward & reverse entries are functional and resolve on the host<br></div><div>pkg install kerberos-5<br></div># Tried with and without this setting<br><div>sharectl set -p ddns_enable=true<br></div><div>klcient -T ms_ad<br></div><div>kinit Administrator<br></div><div>klist & verify output<br></div><div>svcadm enable -r smb/server<br></div><div><div><div><div><div><div>smbadm join -u Administrator<br>Successful join<br>smbadm list shows my domain.<br>Verified kerberos delegation is allowed on the AD side.<br></div><div>vi /etc/nsswitch.conf and add "ad" to passwd & group lines<br></div><div>Have also tried adding smb line to pam<br></div><div><br></div><div><br></div><div>Both of the following produce valid output<br></div><div>touch foo && chown <a href="mailto:myuser@HOME.example.net">myuser@HOME.example.net</a> && ls -l foo<br></div><div>id myuser@HOME # Although this doesn't show all my groups<br></div><div><br>create a zfs filesystem and corresponding share called documents<br><br>root@data:/root# smbutil view //myuser@DATA<br>Password:<br>Share        Type       Comment<br>-------------------------------<br>c$           disk       Default Share<br>documents    disk<br>IPC$         IPC        Remote IPC<br>vss$         disk       VSS<br><br>4 shares listed from 4 available<br><br>When I attempt to access from a Windows 7 host, I see the following:<br><br>\\DATA is not accessible. You might not have permission to use this network resource.<br>Contact the administrator of this server to find out if you have access permissions.<br>The account is not authorized to log in from this station.<br><br><br></div><div>\\10.0.1.230 - Works, I can set permissions, read & write files<br><br></div><div>Neither the netbios nor FQDN function, but it functions by IP.<br><br></div><div>Samba on FreeNAS or Fedora works without issues, but I need working FC and comstar will do that for me.<br></div><div>I cannot seem to get the CIFS piece working and it is the one thing preventing me from moving forward.<br>Any assistance would be appreciated. I hate asking for help but I've been working on this every night for a month<br></div><div>and I know there must be one little thing I am missing, maybe a GPO?<br></div></div></div></div></div></div></div>