none
分类: LINUX
2011-10-31 11:33:31
k_ewell2015-10-20 08:40:53
[root@localhost ~]# cat /etc/samba/smb.conf
[global]
workgroup = WORKGROUP
server string = file Server
security = share
hosts allow = 192.168.200.136
guest account = root
create mask = 666
directory mask = 777
[3521]
path = /.100G/SVN_3521/src/EDVR
writable = yes
guest ok = yes
k_ewell2015-10-20 08:40:51
[root@localhost ~]# cat /etc/samba/smb.conf
[global]
workgroup = WORKGROUP
server string = file Server
security = share
hosts allow = 192.168.200.136
guest account = root
create mask = 666
directory mask = 777
[3521]
path = /.100G/SVN_3521/src/EDVR
writable = yes
guest ok = yes
k_ewell2015-07-01 11:46:19
Q: mount.cifs : mount error(12) : Cannot allocate memory
A: http://unix.stackexchange.com/questions/108695/mount-cifs-mount-error12-cannot-allocate-memory
Detail fix method:
reg add HKLM\\SYSTEM\\CurrentControlSet\\Services\\LanmanServer\\Parameters /v Size /t REG_DWORD /d 3 /f
sc stop LanmanServer // Or reboot your Windows os
&nbs
k_ewell2014-01-17 17:28:56
WIN7
[root@localhost ~]# mount.cifs //10.4.6.136/123 /root/123 -o username=Administrator
Jan 13 01:12:07 localhost kernel: Status code returned 0xc000015b NT_STATUS_LOGON_TYPE_NOT_GRANTED
Jan 13 01:12:07 localhost kernel: CIFS VFS: Send error in SessSetup = -13
Jan 13 01:12:07 localhost kernel: CIFS VFS: cifs_mount failed w/return code = -13
Logon failure
k_ewell2012-05-09 17:02:16
ERROR:
[root@] ~]# mount -t cifs //192.168.8.104/WIN /root/WIN -o username=Administrator
mount: block device //192.168.8.104/WIN is write-protected, mounting read-only
mount: cannot mount block device //192.168.8.104/WIN read-only
[root@] ~]# dmesg
... ...
Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
CIFS VFS: Send error in SessSetup = -13
CIFS VFS: cifs_mount failed w/return c