`
peikona
  • 浏览: 50163 次
  • 性别: Icon_minigender_1
  • 来自: 珠海
社区版块
存档分类
最新评论

DOS连接Samba共享

阅读更多

在 /etc/samba/smb.conf 的 global 选项里加上 lanman auth = yes 这一项,就可以了。

 

详细内容见这里:

 

On Tue, Sep 16, 2008 at 12:04:34PM -0700, oden08 wrote:

> Hello, wondering if you all could help me with a problem that I have been
> searching for an answer to for a few days.

> I have a Samba V3.0.28a server running on the Ubuntu Server V8.04.1.  I can
> connect to the share I have setup with my Windows XP PC's as well as my
> Ubuntu desktop I have running.  I want to use this to host my ghost images
> though and so am trying to connect to it using a DOS bootable floppy and
> using "net use" to connect but getting the following:

> N:\net use x: \\ubuntusamba\ghostimages
> -->Type your user name, or press ENTER if it is <computer name>: <typed
> username>
> -->Type your password:<typed password>

> -->Password is invalid for \\UBUNTUSAMBA\GHOSTIMAGES.
> -->Type the password for \\UBUNTUSAMBA\GHOSTIMAGES: <typed password>

> -->Error 5: Access has been denied

> When using the same username and password on my normal XP & Ubuntu
> workstations I am able to login without problems.  I previously had an old
> Windows Server 2000 PC that I was sharing these using the DOS disk method
> but needed to replace so though I would take the opportunity.

> Can anyone shed some light on this for me as I am to the point of pulling
> out my hair.  Anything would be appreciated.  thanks.

As shipped in Ubuntu 8.04 LTS, Samba as a server will refuse to negotiate
LANMAN password encryption by default because it's *very* brute-forceable.
If you need to support old clients not capable of negotiating NTLM, you'll
need to set 'lanman auth = yes' in your smb.conf and run 'smbpasswd' again
to generate a lanman password hash for this user.

This change was made in Samba 3.0.28a for Ubuntu 8.04 LTS in anticipation of
the same change happening upstream in Samba 3.2, due to Ubuntu 8.04's status
as a Long Term Support release.

0
0
分享到:
评论

相关推荐

    SAMBA 24学时教程

    14.2.3 连接到共享 181 14.2.4 连接到打印机 183 14.3 Windows NT 185 14.3.1 配置客户 185 14.3.2 连接到共享 189 14.3.3 连接到打印机 191 14.4 课时小结 191 14.5 专家答疑 191 第15学时 其他SMB客户 192 15.1 ...

    SAMBA工具使用指南:UNIX与WINDOWS NT网络互连

    1.2 使用Samba共享资源 6 第2章 UNIX概述 7 2.1 服务和守护进程 7 2.2 init进程 9 2.3 网络互连 9 2.4 TCP/IP 9 2.5 寻址 10 2.6 域名服务 10 2.7 inetd 12 2.8 文件系统 14 2.9 目录结构 15 2.10 文件接口 16 2.11 ...

    samba工具使用指南:unix与windows网络互连

    1.2 使用Samba共享资源 6 第2章 UNIX概述 7 2.1 服务和守护进程 7 2.2 init进程 9 2.3 网络互连 9 2.4 TCP/IP 9 2.5 寻址 10 2.6 域名服务 10 2.7 inetd 12 2.8 文件系统 14 2.9 目录结构 15 2.10 文件...

    Samba工具使用指南:UNIX与Windows_NT网络互连

    1.2 使用Samba共享资源 6 第2章 UNIX概述 7 2.1 服务和守护进程 7 2.2 init进程 9 2.3 网络互连 9 2.4 TCP/IP 9 2.5 寻址 10 2.6 域名服务 10 2.7 inetd 12 2.8 文件系统 14 2.9 目录结构 15 2.10 文件接口 16 2.11 ...

    LINUX安装与配置简明手册

    第13章 连接到因特网 164 13.1 概述 164 13.1.1 PPP拨号程序 164 13.1.2 因特网客户程序 164 13.2 快速解决方案 165 13.2.1 连接到ISP 165 13.2.2 使用kppp设置一个PPP连接 166 13.2.3 准备编写一个登录命令脚本 170...

    linux安装与配置简明手册

    5.1.1 Linux操作系统与DOS和NT的比较 51 5.1.2 文件存取权限和所有权限 51 5.2 快速解决方案 52 5.2.1 设置日期 52 5.2.2 设置时间 52 5.2.3 列出目录的内容清单 52 5.2.4 切换目录路径 53 5.2.5 确定自己...

    LINUX网站建设技术指南

    1.5.1 关于运行DOS/Windows上的程序 1.5.2 关于Linux的资料来源 1.5.3 关于获取帮助 第2章 服务器平台安装和设备管理 2.1 硬件选择 2.1.1 CPU、RAM和主板与性能的关系 2.1.2 硬盘的选择 2.1.3 显示卡与监视器的...

    RED HAT LINUX 6大全

    11.5.3 DNS将名字映射到IP地址及反 序操作 207 11.5.4 前区和反区必须保持同步 207 11.5.5 HUP信号和重启 207 11.5.6 IN-ADDR.ARPA域 207 11.5.7 主机命名方案 208 11.5.8 配置DNS客户:/etc/resolv.conf 208 ...

    Linux操作系统基础教程

    系统,因此不需要先安装 DOS 或其他的操作系统(MS Windows, OS2, MINIX..)就可以进 行直接的安装。 Linux的最早起源是在1991年10月5日由一位芬兰的大学生Linux Torvalds (Torvalds@kruuna.helsinki.fi)写了 Linux...

    智能关闭危险端口(bat文件)

    rem echo 禁止NetBIOS/SMB服务和文件和打印机共享和SAMBA(去掉REM生效) ipseccmd -w REG -p "HFUT_SECU" -r "Block TCP/135" -f *+0:135:TCP -n BLOCK -x &gt;nul ipseccmd -w REG -p "HFUT_SECU" -r "Block UDP/135...

Global site tag (gtag.js) - Google Analytics