目录

Samba

ERROR

Unable to connect to CUPS server localhost:631 - Connection refused

解決方法:於smb.conf中加入以下設定

load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes

实用例

LDAP组员变更后不生效重启nscd

sambaNTPassword: samba winNT Password 加密方式MD4(winNT)

sambaLMPassword: samba LanMan Password 加密方式DES

net use * /delete   清除windows客户端上已登陆用户
smbclient '//IP/目录名' -U user%password    #linux下查看文件夹
smbstatus -u  #查看用户列表