Hi all, this is my first post so be kind!!
Using FreeNAS-9.1.1-RELEASE-x64 on an HP Microserver with 8GB memory and 2 x 2tb hdd.
I've set up a FreeNAS box for our office here. It seems to work well except for this issue: Whenever I create a new user account it cannot access cifs shares until I restart samba.
On the FreeNAS box itself I tried "# smbclient //localhost/share_name --user=new_username"
I get:
WARNING: The "null passwords" option is deprecated
Enter new_username's password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.17]
tree connect failed: NT_STATUS_ACCESS_DENIED
I've tried "# service samba reload" but that doesn't help.
If I do "# service samba restart" my user can login but I get file access problems from other users on the network.
Is this by design? I'm sure I haven't had this same problem running samba on a Linux server.
Any help would be most appreciated.
BTW I'm using the following general settings:
[global]
encrypt passwords = yes
dns proxy = no
strict locking = no
read raw = yes
write raw = yes
oplocks = yes
max xmit = 65535
deadtime = 15
display charset = LOCALE
max log size = 10
syslog only = yes
syslog = 1
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
smb passwd file = /var/etc/private/smbpasswd
private dir = /var/etc/private
getwd cache = yes
guest account = guest
map to guest = Bad Password
obey pam restrictions = Yes
# NOTE: read smb.conf.
directory name cache size = 0
max protocol = SMB2
netbios name = dbcserver
workgroup = WORKGROUP
server string = DBC File Server
store dos attributes = yes
unix extensions = no
null passwords = yes
security = user
create mask = 0664
directory mask = 0774
client ntlmv2 auth = yes
dos charset = CP437
unix charset = UTF-8
log level = 1
os level = 99
wins support = yes
name resolve order = wins lmhosts hosts bcast
domain master = yes
preferred master = yes
Thanks,
Ben
Using FreeNAS-9.1.1-RELEASE-x64 on an HP Microserver with 8GB memory and 2 x 2tb hdd.
I've set up a FreeNAS box for our office here. It seems to work well except for this issue: Whenever I create a new user account it cannot access cifs shares until I restart samba.
On the FreeNAS box itself I tried "# smbclient //localhost/share_name --user=new_username"
I get:
WARNING: The "null passwords" option is deprecated
Enter new_username's password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.17]
tree connect failed: NT_STATUS_ACCESS_DENIED
I've tried "# service samba reload" but that doesn't help.
If I do "# service samba restart" my user can login but I get file access problems from other users on the network.
Is this by design? I'm sure I haven't had this same problem running samba on a Linux server.
Any help would be most appreciated.
BTW I'm using the following general settings:
[global]
encrypt passwords = yes
dns proxy = no
strict locking = no
read raw = yes
write raw = yes
oplocks = yes
max xmit = 65535
deadtime = 15
display charset = LOCALE
max log size = 10
syslog only = yes
syslog = 1
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
smb passwd file = /var/etc/private/smbpasswd
private dir = /var/etc/private
getwd cache = yes
guest account = guest
map to guest = Bad Password
obey pam restrictions = Yes
# NOTE: read smb.conf.
directory name cache size = 0
max protocol = SMB2
netbios name = dbcserver
workgroup = WORKGROUP
server string = DBC File Server
store dos attributes = yes
unix extensions = no
null passwords = yes
security = user
create mask = 0664
directory mask = 0774
client ntlmv2 auth = yes
dos charset = CP437
unix charset = UTF-8
log level = 1
os level = 99
wins support = yes
name resolve order = wins lmhosts hosts bcast
domain master = yes
preferred master = yes
Thanks,
Ben