我在NetApp设备上拥有CIFS共享。 我希望这个共享完全开放给同一networking上的任何用户/计算机。 我不想要任何身份validation(域,工作组等); 不需要提供login/密码。
目前,我已将CIFSconfiguration为使用“域 – Windows 2000”身份validation,并将共享上的权限设置为“Everyone – 完全读/写”,但如果尝试从未绑定到域的计算机连接它要求login信息。
问题是身份validation的域信任级别。 如果您要从非域名客户端转到域名服务器,它将始终要求input用户名/密码。 据我所知,这是无法绕开的。
不要专门对NetApp进行说明,但是您可能需要明确地允许共享上的匿名login,访客或访客。 如果NetApp以与Windows相同的方式执行操作,则可能还需要对实际文件和文件夹的NTFS权限执行相同的操作。 既然是CIFS,我假设它是。
对于7-模式,您需要configuration来宾帐户。 未经身份validation的CIFS用户将映射到此帐户。 它设置了options cifs.guest_account 。 从手册页:
cifs.guest_account Enables a user to get access to the filer provided that either the filer uses a Domain Controller for authentication and the user is not in a trusted domain, or the filer uses the /etc/passwd file or the NIS password database for authentication and the user has no entry in the /etc/passwd file or the NIS pass- word database. If this option is set to the name of an account in the password database, a user logging into the filer will be assigned to the guest account if their name is not listed in the password database (when using /etc/passwd or NIS) or if the user is not from a trusted domain (when using a domain con- troller). The configured user name will be used for the UNIX user ID, group ID, and group set of the spec- ified account. If the option is set to "" (null), guest access is disabled. Default: "" (null)