I configured several users in my N4F box (9.1.0.1.636, embedded) and I can successfully log in via SSH and, as test, FTP, but smb is still unable to give me access to the shares.
The output of a "Full" log is:
Code: Select all
Apr 29 00:44:30 hp-n40l smbd[4349]: check_ntlm_password: Authentication for user [xxx -> [xxx] FAILED with error NT_STATUS_NO_SUCH_USER
Apr 29 00:44:30 hp-n40l smbd[4349]: [2013/04/29 00:44:30.097807, 2] auth/auth.c:319(check_ntlm_password)
I downloaded the full config to file, compared to the old one, and I see few differences.
What should I look for? I know I disabled ACLs in ZFS because I want to keep only basic Unix permissions and that I mapped the users as staff instead of as guests as main group.
Here my config:
Code: Select all
<samba>
<netbiosname>HP-N40L</netbiosname>
<workgroup>WORKGROUP</workgroup>
<serverdesc>NAS4Free Server</serverdesc>
<security>user</security>
<maxprotocol>NT1</maxprotocol>
<guestaccount>ftp</guestaccount>
<maptoguest>Never</maptoguest>
<localmaster>yes</localmaster>
<rcvbuf>64240</rcvbuf>
<sndbuf>64240</sndbuf>
<storedosattributes/>
<largereadwrite/>
<aiorsize>4096</aiorsize>
<aiowsize>4096</aiowsize>
<aiowbehind/>
<enable/>
<if/>
<pwdsrv/>
<winssrv/>
<timesrv>yes</timesrv>
<doscharset>CP437</doscharset>
<unixcharset>UTF-8</unixcharset>
<loglevel>3</loglevel>
<usesendfile/>
<share>
<uuid>82bb3649-97a3-4370-9697-789c7c3cfe53</uuid>
<name>shared_folder</name>
<path>/storage/shared_folder/</path>
<comment>Private data</comment>
<browseable/>
<inheritpermissions/>
<recyclebin/>
<hidedotfiles/>
<shadowcopy/>
<shadowformat>auto-%Y%m%d-%H%M%S</shadowformat>
<hostsallow/>
<hostsdeny/>
</share>
<auxparam>recycle:keeptree = yes</auxparam>
<auxparam>recycle:versions = yes</auxparam>
<auxparam>recycle:exclude = *.mp?,*.m4v</auxparam>
<auxparam>recycle:maxsize = 10000000</auxparam>
</samba>
Code: Select all
<user>
<uuid>__UID__</uuid>
<login>xxx</login>
<fullname>Myname</fullname>
<password>pass</password>
<shell>bash</shell>
<primarygroup>20</primarygroup>
<group>1000</group>
<group>5</group>
<group>0</group>
<homedir>/mnt/Data/</homedir>
<id>501</id>
<userportal/>
</user>
