CIFS only one user can login

Status
Not open for further replies.

keamas

Dabbler
Joined
May 28, 2011
Messages
12
Hi I created a FreeNAS VM on my VMware ESX.
I have one group called cifsuses and two users.
For the test all users have the same password.
I tested to mount the share with my windows 7 notebook.
I can mount the share with the user1 but not with the other two users.
The strange thing is user1 and user2 have the same settings.

I have a ZFS Volume /mnt/share and a ZFS Dataset /mnt/share/datastore
Both have the following Permission Settings (I tried a lot of combinations here but nothing worked):

Owner (user): nobody
Owner (group): cifsusers

Mode
Owner Group Other
Read X X
Write X X
Execute X X


Type of ACL

Unix X
Windows

Set permission recursively X




Here is my Configuration. the cifsshare options are default.

Can anyone help me? or tell me how you would configure this scenario?



Groups:
Group Name: cifsusers


Users:
Username: cifsadmin
Primary Group ID: wheel
Auxiliary groups: cifsusers
password: password1

Username: user1
Primary Group ID cifsuers
Auxiliary groups: cifsusers
password: password1

Username: user2
Primary Group ID cifsuers
Auxiliary groups: cifsusers
password: password1




ZFS Share:
Code:
[root@freenas] /mnt# ls -la
total 4
drwxrwxr-x   4 root    wheel      512 Apr 25 10:43 ./
drwxr-xr-x  20 root    wheel      512 Apr 11 00:28 ../
drwxrwxr-x   2 root    operator   512 Apr 25 10:43 .snap/
-rw-rw-r--   1 root    wheel        5 Apr 11 00:27 md_size
drwxrwx---   4 nobody  cifsusers    4 Apr 25 11:48 share/



Code:
[root@freenas] /mnt/share# ls -la
total 5
drwxrwx---  4 nobody  cifsusers    4 Apr 25 11:48 ./
drwxrwxr-x  4 root    wheel      512 Apr 25 10:43 ../
drwxrwx---  2 nobody  cifsusers    2 Apr 23 16:40 .freenas/
drwxrwx---  4 nobody  cifsusers    4 Apr 25 11:50 datastore/


Share:
Name: share-data
Comment: share-data
Path: /mnt/share/datastore
Export Read Only
Browsable to Network Clients: X
Inherit Owner
Inherit Permissions
Export Recycle Bin
Show Hidden Files
Allow Guest Access
Only Allow Guest Access


CIFS
Authentication Model: Local User
NetBIOS name: freenas
Workgroup: WORKGROUP
Description: FreeNAS Server
DOS charset: CP437
UNIX charset: UTF-8
Log level: Full
Local Master: X
Time Server for Domain: X
Guest account: nobody
File mask
Directory mask
Send files with sendfile(2): X
EA Support
Support DOS File Attributes: X
Allow Empty Password
Auxiliary parameters
Enable home directories
Enable home directories browsing
Home directories
Homes auxiliary parameters
Unix Extensions: X
Enable AIO
Minimum AIO read size: 4096
Minimum AIO write size: 4096
Zeroconf share discovery:X
Hostnames lookups:X
 
Status
Not open for further replies.
Top