Questions tagged «smb-conf»

1
Linux samba服务器:cifs_mount失败,带有返回代码= -12
服务器:RHEL 5.9 / smbd 3.0.33-客户端:各种,尽管都使用当前的mount.cifs(5.2) 我已经解决了这个问题,但是追捕这些错误代码真是一场噩梦,我觉得这需要通用文档。 症状:从一个特定的cifs客户端到linux samba服务器的意外的,间歇性的安装失败。我所有的Linux客户端pam_mount用户在登录时均已登录。随机地,偶尔地,主目录安装在一台计算机上开始失败。登录和挂载继续在所有其他客户端上正常运行。最初,我认为损坏的客户端上发生了异常活动,导致smbd异常运行,但即使使用中断后,间歇性故障仍然存在。 尝试手动安装失败并报告: Errors from underlying mount program mount error(12): Cannot allocate memory Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) <debug enable="1"/>在/etc/security/pam_mount.conf.xml中进行设置,以从pam_mount获取更多信息: command: 'mount' '-t' 'cifs' '//my_server/watdo' '/home/watdo' '-o' 'user=watdo,uid=666,gid=666' pam_mount(misc.c:38): set_myuid<pre>: (ruid/rgid=0/0, e=0/0) pam_mount(misc.c:38): set_myuid<post>: (ruid/rgid=0/0, e=0/0) pam_mount(mount.c:64): Errors from underlying …

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.