samba求助!

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
头像
sxfbest
帖子: 178
注册时间: 2006-10-01 10:19
送出感谢: 2 次
接收感谢: 0

samba求助!

#1

帖子 sxfbest » 2016-05-22 10:05

Ubuntu 16.04 全新安装的系统,已经安装全部更新。启动samba图形配置界面是出错,求教!该怎么解决
sudo system-config-samba

Traceback (most recent call last):
File "/usr/sbin/system-config-samba", line 45, in <module>
mainWindow.MainWindow(debug_flag)
File "/usr/share/system-config-samba/mainWindow.py", line 121, in __init__
self.basic_preferences_win = basicPreferencesWin.BasicPreferencesWin(self, self.xml, self.samba_data, self.samba_backend, self.main_window)
File "/usr/share/system-config-samba/basicPreferencesWin.py", line 97, in __init__
self.admin = libuser.admin()
SystemError: could not open configuration file `/etc/libuser.conf': 没有那个文件或目录
头像
vickycq
论坛版主
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
送出感谢: 100 次
接收感谢: 994 次
联系:

Re: samba求助!

#2

帖子 vickycq » 2016-05-22 10:31

代码: 全选

sudo touch /etc/libuser.conf
参考 https://bugs.launchpad.net/ubuntu/+sour ... ug/1387274
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
头像
sxfbest
帖子: 178
注册时间: 2006-10-01 10:19
送出感谢: 2 次
接收感谢: 0

Re: samba求助!

#3

帖子 sxfbest » 2016-05-22 18:07

vickycq 写了:

代码: 全选

sudo touch /etc/libuser.conf
参考 https://bugs.launchpad.net/ubuntu/+sour ... ug/1387274

Traceback (most recent call last):
File "/usr/sbin/system-config-samba", line 45, in <module>
mainWindow.MainWindow(debug_flag)
File "/usr/share/system-config-samba/mainWindow.py", line 116, in __init__
self.samba_user_data = sambaUserData.SambaUserData(self)
File "/usr/share/system-config-samba/sambaUserData.py", line 46, in __init__
self.readSmbPasswords()
File "/usr/share/system-config-samba/sambaUserData.py", line 63, in readSmbPasswords
raise RuntimeError, (_("You do not have permission to execute %s." % pdbeditcmd))
RuntimeError: You do not have permission to execute /usr/bin/pdbedit.

又出现这个问题.....
ubuntu 15.10的samba会不会更好点,没有这些问题?
头像
sxfbest
帖子: 178
注册时间: 2006-10-01 10:19
送出感谢: 2 次
接收感谢: 0

Re: samba求助!

#4

帖子 sxfbest » 2016-05-22 18:07

vickycq 写了:

代码: 全选

sudo touch /etc/libuser.conf
参考 https://bugs.launchpad.net/ubuntu/+sour ... ug/1387274

Traceback (most recent call last):
File "/usr/sbin/system-config-samba", line 45, in <module>
mainWindow.MainWindow(debug_flag)
File "/usr/share/system-config-samba/mainWindow.py", line 116, in __init__
self.samba_user_data = sambaUserData.SambaUserData(self)
File "/usr/share/system-config-samba/sambaUserData.py", line 46, in __init__
self.readSmbPasswords()
File "/usr/share/system-config-samba/sambaUserData.py", line 63, in readSmbPasswords
raise RuntimeError, (_("You do not have permission to execute %s." % pdbeditcmd))
RuntimeError: You do not have permission to execute /usr/bin/pdbedit.

又出现这个问题.....
ubuntu 15.10的samba会不会更好点,没有这些问题?
头像
vickycq
论坛版主
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
送出感谢: 100 次
接收感谢: 994 次
联系:

Re: samba求助!

#5

帖子 vickycq » 2016-05-22 18:20

sxfbest 写了:RuntimeError: You do not have permission to execute /usr/bin/pdbedit.又出现这个问题.....
执行以下指令将结果全部复制贴上来

代码: 全选

sudo /usr/bin/pdbedit -L -w ; echo $?
testparm
参考 https://bugs.launchpad.net/ubuntu/+sour ... bug/964681
https://bugzilla.redhat.com/show_bug.cgi?id=460437
https://forums.linuxmint.com/viewtopic.php?t=132018
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
回复

回到 “服务器基础应用”