精华内容
下载资源
问答
  • WINDOWS访问SAMBA提示没有权限

    千次阅读 2018-05-21 20:20:44
    WINDOWS访问SAMBA提示没有权限LINUX samba配置共享文件目录 1.使用rpm -qa|grep samba 查看是否安装samba samba-winbind-clients-3.5.4-68.el6.x86_64samba-3.5.4-68.el6.x86_64samba-client-3.5.4-68.el6.x86_64...

    WINDOWS访问SAMBA提示没有权限

    LINUX samba配置共享文件目录

     

    1.使用rpm -qa|grep samba 查看是否安装samba

     

    samba-winbind-clients-3.5.4-68.el6.x86_64

    samba-3.5.4-68.el6.x86_64

    samba-client-3.5.4-68.el6.x86_64

    samba-common-3.5.4-68.el6.x86_64

    已安装

    2.更改/etc/samba/smb.conf配置

     

    C代码
    1. [global] 
    2.     dos charset = cp936 
    3.     display charset = UTF-8 
    4.     workgroup = MYGROUP 
    5.     server string = Samba Server Version %v 
    6.     log file = /var/log/samba/log.%m 
    7.     max log size = 50 
    8.     cups options = raw 
    9.  
    10. [homes] 
    11.     comment = Home Directories 
    12.     read only = No 
    13.     browseable = No 
    14.  
    15. [printers] 
    16.     comment = All Printers 
    17.     path = /var/spool/samba 
    18.     printable = Yes 
    19.     browseable = No 
    20.  
    21. [tools] 
    22.     comment = tools 
    23.     path = /tools 
    24.     read only = No 
    25.     guest ok = Yes 
    26.  
    27. [home] 
    28.     comment = User Directory 
    29.     path = /home/%U 
    30.     read only = No 
    [global]
    	dos charset = cp936
    	display charset = UTF-8
    	workgroup = MYGROUP
    	server string = Samba Server Version %v
    	log file = /var/log/samba/log.%m
    	max log size = 50
    	cups options = raw
    
    [homes]
    	comment = Home Directories
    	read only = No
    	browseable = No
    
    [printers]
    	comment = All Printers
    	path = /var/spool/samba
    	printable = Yes
    	browseable = No
    
    [tools]
    	comment = tools
    	path = /tools
    	read only = No
    	guest ok = Yes
    
    [home]
    	comment = User Directory
    	path = /home/%U
    	read only = No

    添加smb访问用户smbpasswd -a root

     

    3.重启service smb restart

    4.如果windows下登录samba服务器后无法访问linux下共享目录,提示没有权限。

    则检查

     

    a、确保linux下防火墙关闭或者是开放共享目录权限

     

    b、确保samba服务器配置文件smb.conf设置没有问题,可网上查阅资料看配置办法  

    c、确保setlinux关闭,可以用setenforce 0命令执行。 默认的,SELinux禁止网络上对Samba服务器上的共享目录进行写操作,即使你在smb.conf中允许了这项操作。       /usr/bin/setenforce 修改SELinux的实时运行模式  

    setenforce 1 设置SELinux 成为enforcing模式

    setenforce 0 设置SELinux 成为permissive模式  

    如果要彻底禁用SELinux 需要在/etc/sysconfig/selinux中设置参数selinux=0 ,或者在/etc/grub.conf中添加这个参数

      /usr/bin/setstatus -v  

    展开全文
  • 三、修改完成之后,使用Windows访问,如果打开之后提示输入用户名和密码,按照要求输入,输入完成之后,如果还提示权限问题,打开cmd输入下面两条命令,重新访问即可 net use net use * /del /y ...

    一、首先确保你已经成功安装上了samba

    二、在修改smb.conf文件之前,先拷贝一个备份,然后输入下面的命令修改smb.conf

    gedit /etc/samba/smb.conf

    将smb.conf的文件内容改成如下

    # This is the main Samba configuration file. You should read the
    # smb.conf(5) manual page in order to understand the options listed
    # here. Samba has a huge number of configurable options most of which 
    # are not shown in this example
    #
    # Some options that are often worth tuning have been included as
    # commented-out examples in this file.
    # - When such options are commented with ";", the proposed setting
    # differs from the default Samba behaviour
    # - When commented with "#", the proposed setting is the default
    # behaviour of Samba but the option is considered important
    # enough to be mentioned here
    #
    # NOTE: Whenever you modify this file you should run the command
    # "testparm" to check that you have not made any basic syntactic 
    # errors. 
    
    #======================= Global Settings =======================
    
    [global]
    
    ## Browsing/Identification ###
    
    # Change this to the workgroup/NT-domain name your Samba server will part of
      workgroup = WORKGROUP
    
    # server string is the equivalent of the NT Description field
      server string = Toaster Data
    
      security = user
      map to guest = Bad User
    
    # This will prevent nmbd to search for NetBIOS names through DNS.
      dns proxy = no
    
    #### Networking ####
    
    # The specific set of interfaces / networks to bind to
    # This can be either the interface name or an IP address/netmask;
    # interface names are normally preferred
    # interfaces = 0.0.0.0/32
    
    
    # Only bind to the named interfaces and/or networks; you must use the
    # 'interfaces' option above to use this.
    # It is recommended that you enable this feature if your Samba machine is
    # not protected by a firewall or is a firewall itself. However, this
    # option cannot handle dynamic or non-broadcast interfaces correctly.
      bind interfaces only = yes
    
    
    
    #### Debugging/Accounting ####
    
    # This tells Samba to use a separate log file for each machine
    # that connects
      log file = /var/log/samba/log.%m
    
    # Cap the size of the individual log files (in KiB).
      max log size = 1000
    
    ####### Authentication #######
    
    # Server role. Defines in which mode Samba will operate. Possible
    # values are "standalone server", "member server", "classic primary
    # domain controller", "classic backup domain controller", "active
    # directory domain controller". 
    #
    # Most people will want "standalone sever" or "member server".
    # Running as "active directory domain controller" will require first
    # running "samba-tool domain provision" to wipe databases and create a
    # new domain.
      server role = standalone server
    
    # If you are using encrypted passwords, Samba will need to know what
    # password database type you are using.  
      passdb backend = tdbsam
    
      obey pam restrictions = yes
    
    # This boolean parameter controls whether Samba attempts to sync the Unix
    # password with the SMB password when the encrypted SMB password in the
    # passdb is changed.
      unix password sync = yes
    
    # For Unix password sync to work on a Debian GNU/Linux system, the following
    # parameters must be set (thanks to Ian Kahan <<kahan@informatik.tu-muenchen.de> for
    # sending the correct chat script for the passwd program in Debian Sarge).
      passwd program = /usr/bin/passwd %u
      passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
    
    # This boolean controls whether PAM will be used for password changes
    # when requested by an SMB client instead of the program listed in
    # 'passwd program'. The default is 'no'.
      pam password change = yes
    
    ########## Domains ###########
    
    #
    # The following settings only takes effect if 'server role = primary
    # classic domain controller', 'server role = backup domain controller'
    # or 'domain logons' is set 
    #
    
    # It specifies the location of the user's
    # profile directory from the client point of view) The following
    # required a [profiles] share to be setup on the samba server (see
    # below)
    ; logon path = \\%N\profiles\%U
    # Another common choice is storing the profile in the user's home directory
    # (this is Samba's default)
    # logon path = \\%N\%U\profile
    
    # The following setting only takes effect if 'domain logons' is set
    # It specifies the location of a user's home directory (from the client
    # point of view)
    ; logon drive = H:
    # logon home = \\%N\%U
    
    # The following setting only takes effect if 'domain logons' is set
    # It specifies the script to run during logon. The script must be stored
    # in the [netlogon] share
    # NOTE: Must be store in 'DOS' file format convention
    ; logon script = logon.cmd
    
    # This allows Unix users to be created on the domain controller via the SAMR
    # RPC pipe. The example command creates a user account with a disabled Unix
    # password; please adapt to your needs
    ; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u
    
    # This allows machine accounts to be created on the domain controller via the 
    # SAMR RPC pipe.  
    # The following assumes a "machines" group exists on the system
    ; add machine script = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u
    
    # This allows Unix groups to be created on the domain controller via the SAMR
    # RPC pipe.  
    ; add group script = /usr/sbin/addgroup --force-badname %g
    
    ############ Misc ############
    
    # Using the following line enables you to customise your configuration
    # on a per machine basis. The %m gets replaced with the netbios name
    # of the machine that is connecting
    ; include = /home/samba/etc/smb.conf.%m
    
    # Some defaults for winbind (make sure you're not using the ranges
    # for something else.)
    ; idmap uid = 10000-20000
    ; idmap gid = 10000-20000
    ; template shell = /bin/bash
    
    # Setup usershare options to enable non-root users to share folders
    # with the net usershare command.
    
    # Maximum number of usershare. 0 (default) means that usershare is disabled.
    ; usershare max shares = 100
    
    # Allow users who've been granted usershare privileges to create
    # public shares, not just authenticated ones
    # usershare allow guests = yes
    
    #======================= Share Definitions =======================
    
    # Un-comment the following (and tweak the other settings below to suit)
    # to enable the default home directory shares. This will share each
    # user's home directory as \\server\username
    ;[homes]
    ; comment = Home Directories
    ; browseable = no
    
    # By default, the home directories are exported read-only. Change the
    # next parameter to 'no' if you want to be able to write to them.
    ; read only = yes
    
    # File creation mask is set to 0700 for security reasons. If you want to
    # create files with group=rw permissions, set next parameter to 0775.
    ; create mask = 0700
    
    # Directory creation mask is set to 0700 for security reasons. If you want to
    # create dirs. with group=rw permissions, set next parameter to 0775.
    ; directory mask = 0700
    
    # By default, \\server\username shares can be connected to by anyone
    # with access to the samba server.
    # Un-comment the following parameter to make sure that only "username"
    # can connect to \\server\username
    # This might need tweaking when using external authentication schemes
    ; valid users = %S
    
    # Un-comment the following and create the netlogon directory for Domain Logons
    # (you need to configure Samba to act as a domain controller too.)
    ;[netlogon]
    ; comment = Network Logon Service
    ; path = /home/samba/netlogon
    ; guest ok = yes
    ; read only = yes
    
    # Un-comment the following and create the profiles directory to store
    # users profiles (see the "logon path" option above)
    # (you need to configure Samba to act as a domain controller too.)
    # The path below should be writable by all users so that their
    # profile directory may be created the first time they log on
    ;[profiles]
    ; comment = Users profiles
    ; path = /home/samba/profiles
    ; guest ok = no
    ; browseable = no
    ; create mask = 0600
    ; directory mask = 0700
    
    ;[printers]
    ; comment = All Printers
    ; browseable = no
    ; path = /var/spool/samba
    ; printable = yes
    ; guest ok = no
    ; read only = yes
    ; create mask = 0700
    
    # Windows clients look for this share name as a source of downloadable
    # printer drivers
    ;[print$]
    ; comment = Printer Drivers
    ; path = /var/lib/samba/printers
    ; browseable = yes
    ; read only = yes
    ; guest ok = no
    # Uncomment to allow remote administration of Windows print drivers.
    # You may need to replace 'lpadmin' with the name of the group your
    # admin users are members of.
    # Please note that you also need to set appropriate Unix permissions
    # to the drivers directory for these users to have write rights in it
    ; write list = root, @lpadmin
    #下面根据你自己的共享文件夹修改path
    [workdir]
      path = ~/Documents/share
      public = yes
      case sensitive = yes
      map archive = no
      only guest = yes
      writable = yes
      force user = smbuser
    force group = smbuser
    

    三、修改完成之后,使用Windows访问,如果打开之后提示输入用户名和密码,按照要求输入,输入完成之后,如果还提示权限问题,打开cmd输入下面两条命令,重新访问即可

    net use
    net use * /del /y





    展开全文
  • 没有权限访问,请问网络管理员联系 账号或者密码错误 解决访问很粗暴,就是直接设置关掉这个账号或者密码验证。 在“网络和共享中心”的“所有网络”最底下,把“密码保护的共享”关掉...

    如果想要配置Windows资源共享文件,可以访问下面链接。结合本篇一起看~

    【解决方案】Windows10局域网内配置文件夹共享(附网络中没有找到的情况解决方案)

    遇到了两个问题

    • 账号或者密码错误
    • 你没有权限访问,请问网络管理员联系

    账号或者密码错误

    解决访问很粗暴,就是直接设置关掉这个账号或者密码验证。

    在“网络和共享中心”的“所有网络”最底下,把“密码保护的共享”关掉就好了

    这是我在贴吧上找到的对应解答。

    1. 控制面板
      这里写图片描述

    2. 网络和共享中心
      这里写图片描述

    3. 专有网络(我想一般不会有人希望自己的电脑上的数据可以被全世界人给随便访问的吧…)
      这里写图片描述

    4. 所有网络

    这里写图片描述


    解决上面的还不够,还会弹出说你没有权限访问,让你去找对应的管理员的~

    这里我就是参考了下面的这篇文章解决的。(非常实用!)
    但是在看下面的这篇文章之前,我想给个小Tips。在操作的时候,有些按钮已经发生变化了!!! 但是不要慌!!! 所有的没有出现的东西,全都放到了(高级)的按钮上。原因很简单,这是微软设计的提升,就是让更简单的功能让跟多人直接接触。较为复杂点的功能就被隐藏起来,让需要的人再去找~*

    解决你没有访问权限问题的链接


    通过上面的两个方法,就可以全部解决~

    局域网内进行共享数据就是这么简单啦~

    在这里插入图片描述

    展开全文
  • 网络错误:windows无法访问\\,你没有权限访问\\ 电脑突然不能网络访问。 客户端:win10 服务器端:win2003 处理办法: 设置/控制面板/用户帐户/管理windows凭证 检查是否存在登录过的ip信息: 如果存在...

    网络错误:windows无法访问\\,你没有权限访问\\

    电脑突然不能网络访问。

    客户端:win10

    服务器端:win2003

    处理办法:

    设置/控制面板/用户帐户/管理windows凭证

    检查是否存在登录过的ip信息:

    如果存在,删除即可。

    如果不存在,需要登录服务器端,关闭连接会话,比如关闭guest这个是自己曾经连接过的用户

    如果还不行,先在客户端删掉所有连接,

    net use * /del /y

    然后在客户端手动添加凭据:

    完成后。

    重启自己的win10客户端系统,再次\\连接登录即可。

    展开全文
  • 不着急,一步步来,我们先从出错提示中找解决方法,提示中说“您可能没有合适的权限访问这个项目”。情况一:管理员账户被禁止解决方式是,解除账户禁用命令并将管理员账户权限设为允许状态。1、右击此电脑,点击...
  • Windows访问smb服务器提示没有权限

    千次阅读 2018-03-15 22:01:23
    启动smb/nmb服务的顺序来,设置了匿名访问,结果windows死活登陆不进去。。。解决方法:sudo smbpasswd -a username添加一个用户进去,win10禁止匿名使用smb服务。。。然后把用户凭据存到control user...
  • Windows权限不足无法访问权限对象 第一次写文章就不附图了 学习Linux中 下载了一个镜像文件,备份了一件之后无法删除 提示请以管理员身份删除 百度了很多解决方案 属性->安全->高级->修改所有者 结果提示...
  • Windows下访问samba,提示“您可能没有权限使用网络资源,请与这台服务器的管理员联系以查明您是否有访问权限。” 网络没问题,可以相互ping通,Windows下面可以看到samba共享的文件夹,打开文件夹提示以上...
  • 你可能没有合适的权限访问这个项目。 0. 背景 出现这个问题的背景如下: 电脑安装有金山毒霸 win10 系统 打开部分.exe文件情况报上述错 1. 报错原因 说实话,这个windows系统,我也不大清楚为什么会报这个错。 2. ...
  • 错误——安装虚拟光驱时提示windows无法访问指定设备、路径或文件。可能没有权限访问该项目(已解决) 解决方式:win10有自带的虚拟光驱,右键镜像文件装载即可。。。
  • 1.问题描述 windows无法访问指定设备、路径或...您可能没有合适的权限访问这个项目 2.解决办法: 2.1. 下载File Association Fixer.exe文件 点击此处下载 提取码:upv8 2.2.点击下图所示步骤 2.3.重启即可 ...
  • win10 报 Windows无法访问指定设备、路径或文件。你可能没有适当的权限访问该项目。 图示 原因 Win10 自带的杀毒软件屏蔽了该软件, 进入 Win10 自带的安全中心添加信任即可
  • windows和linux双系统下,linux没有权限访问ntfs分区 解决方法: 在linux下使用ntfsfix -d 分区path修复 在windows自动修复
  • 下面添加boarmy到vboxsf这个用户组。 运行: sudo adduser boarmy vboxsf ...发现运行这个之后,重启 可打开 /media/s_f 文件夹,可是看不到东西,然后又重新删除共享文件夹,再新增加,重启后可,可以看到里面的...
  • 现有条件:windows系统,没有域 按照下面的方法一条一条的试。不行再进行下条改动。 1.同一工作组内,在本地连接里打开文件共享服务,关闭windows自带防火墙以及安装的防火墙,打开计算机管理-服务-开启server服务...
  • Windows下访问samba,提示“您可能没有权限使用网络资源,请与这台服务器的管理员联系以查明您是否有访问权限。” 网络没问题,可以相互ping通,Windows下面可以看到samba共享的文件夹,打开文件夹提示以上提示; ...
  • windows访问samba无访问权限

    千次阅读 2013-04-08 08:56:30
    (1):配置文件没有配置好 (此问题google上很多) (2):samba服务器上的磁盘空间不够 (注意这一点)
  • 1、使用管理员权限再试试。 2、关闭杀毒软件,使用管理员权限试试。 3,、更改本机用户权限试试,详情见下面俩网页: https://jingyan.baidu.com/article/47a29f248e45afc01423992c.html ......
  • Windows10局域网内共享资源 你没有权限访问 或者 账号或者密码错误
  • 你可能没有适当的权限访问该项目。”警告 解决: 在任务管理器中结束“CameraFixer MFC Application”,该程序会劫持VM开头的.exe文件,结束该进程不会对摄像头使用有影响 最后卸载相关驱动或禁止该...
  • awvs运行破解文件Acunetix Web Vulnerability Scanner 10.x Consultant Edition KeyGen.exe遇到无法访问文件: 解决方法: 右键该文件 ——> 属性 ——> 安全 ——> 修改相应的权限即可,如果还是不行,...
  • Windows无法访问指定设备路径或文件,您可能没有合适的权限访问这个项目 这个错误折腾了半天,原来是windows 2003的安全特性搞的怪。我从其他计算机上复制而来的文件,双击后无法运行,出现如上错误。点击属性看到...
  • Windows7虚拟机中 控制面板/网络和Internet/网络共享中心/高级共享设置 选择 启用网络发现、启用文件和打印机共享、启用共享以便可以让访问的客户…、关闭密码保护共享。 我之前在VMware设置共享文件夹失败了:...
  • 在服务器端添加一个用户ID:sudo useradd -u 1003 user
  • 方法一:原因:由于没有安装microsoft网络客户端处理:按照下图步骤安装,安装完后需重启电脑否则提示如下图还是无法访问。重启后再次双击共享电脑已经可以进去。方法二:系统需要做如下设置:1 开始--运行--gpedit....

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 2,117
精华内容 846
关键字:

windows没有访问权限