Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2336669
  • 博文数量: 527
  • 博客积分: 10343
  • 博客等级: 上将
  • 技术积分: 5565
  • 用 户 组: 普通用户
  • 注册时间: 2005-07-26 23:05
文章分类

全部博文(527)

文章存档

2014年(4)

2012年(13)

2011年(19)

2010年(91)

2009年(136)

2008年(142)

2007年(80)

2006年(29)

2005年(13)

我的朋友

分类: LINUX

2010-07-19 11:47:44

在linux 上通过mount -t cifs(替换了原来的samba)的方法共享windows上的目录时, 如果需要设置用户名密码, 能否mount成功, 可能取决于netlogon服务是否开启, windows上该服务的描述是

Maintains a secure channel between this computer and the domain
controller for authenticating users and services. If this service is
stopped, the computer may not authenticate users and services and the
domain controller cannot register DNS records. If this service is
disabled, any services that explicitly depend on it will fail to start.

而mount 失败时给的错误信息, 是我见过错误信息中质量非常高的, 非常准确并且能提供直接帮助:

注意到了NT_STATUS_NETLOGON_NOT_START 吗. 这也是编程时名字起的合适能起到多大效用的一个实证.
阅读(2380) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~