Автор Тема: После обновления ALT Linux 6.0 Centaurus не запускается system-config-samba  (Прочитано 2013 раз)

Оффлайн Pin

  • Участник
  • *
  • Сообщений: 5
Доброго времени суток!
После обновления ALT Linux 6.0 Centaurus 22.03.2012 (только официальный бранч) перестал запускаться system-config-samba. Он спрашивает пароль под root, а после ввода некоторое время висит в процессах и затем пропадает оттуда. Процесс smb запущен. Общий принтер на проблемной машине не видится.
Переустановка самбы, конфига-самбы эффекта не дали.

Процесс system-config-samba, судя по монитору системы, колонка "ожидание ядра", находится в hrtimer_nanoslip.

help!

з.ы. еще не запускается игрушка "Выключите свет" - как и system-config-samba начинает грузится и потом вылетает, но так было с момента самой установки.

Оффлайн Skull

  • Глобальный модератор
  • *****
  • Сообщений: 20 166
    • Домашняя страница
Что пишет при запуске system-config-samba из консоли?
Андрей Черепанов (cas@)

Оффлайн Pin

  • Участник
  • *
  • Сообщений: 5
Что пишет при запуске system-config-samba из консоли?

[stas@server ~]$ su-
Password:
[root@server ~]# system-config-samba
Traceback (most recent call last):
  File "/usr/sbin/system-config-samba", line 55, in <module>
    main_window = mainWindow.MainWindow (debug_flag = debug_flag, use_dbus = use_dbus)
  File "/usr/share/system-config-samba/mainWindow.py", line 122, in __init__
    self.samba_data = sambaConfig.SambaConfig (self.samba_backend)
  File "/usr/lib/python2.6/site-packages/scsamba/core/sambaConfig.py", line 28, in __init__
    self.parseFile ()
  File "/usr/lib/python2.6/site-packages/scsamba/core/sambaConfig.py", line 31, in parseFile
    return self.parse (self.backend.readSmbConf ())
  File "/usr/lib/python2.6/site-packages/scsamba/core/sambaBackend.py", line 96, in readSmbConf
    self.readSmbPasswords ()
  File "/usr/lib/python2.6/site-packages/scsamba/core/sambaBackend.py", line 139, in readSmbPasswords
    raise RuntimeError, (_("Error while reading Samba password list:\n%s") % "\n".join (map (str.strip, list)))
RuntimeError: Ошибка чтения списка паролей Samba:
Failed to issue the StartTLS instruction: Can't contact LDAP server
Connection to LDAP server failed for the 1 try!
Failed to issue the StartTLS instruction: Can't contact LDAP server
Connection to LDAP server failed for the 2 try!
Failed to issue the StartTLS instruction: Can't contact LDAP server
Connection to LDAP server failed for the 3 try!
Failed to issue the StartTLS instruction: Can't contact LDAP server
Connection to LDAP server failed for the 4 try!
Failed to issue the StartTLS instruction: Can't contact LDAP server
Connection to LDAP server failed for the 5 try!
Failed to issue the StartTLS instruction: Can't contact LDAP server
Connection to LDAP server failed for the 6 try!
Failed to issue the StartTLS instruction: Can't contact LDAP server
Connection to LDAP server failed for the 7 try!
Failed to issue the StartTLS instruction: Can't contact LDAP server
Connection to LDAP server failed for the 8 try!
Failed to issue the StartTLS instruction: Can't contact LDAP server
Connection to LDAP server failed for the 9 try!
Failed to issue the StartTLS instruction: Can't contact LDAP server
Connection to LDAP server failed for the 10 try!
Failed to issue the StartTLS instruction: Can't contact LDAP server
Connection to LDAP server failed for the 11 try!
Failed to issue the StartTLS instruction: Can't contact LDAP server
Connection to LDAP server failed for the 12 try!
Failed to issue the StartTLS instruction: Can't contact LDAP server
Connection to LDAP server failed for the 13 try!
Failed to issue the StartTLS instruction: Can't contact LDAP server
Connection to LDAP server failed for the 14 try!
Failed to issue the StartTLS instruction: Can't contact LDAP server
Connection to LDAP server failed for the 15 try!
Failed to issue the StartTLS instruction: Can't contact LDAP server
Failed to issue the StartTLS instruction: Can't contact LDAP server
Connection to LDAP server failed for the 1 try!
Failed to issue the StartTLS instruction: Can't contact LDAP server
Connection to LDAP server failed for the 2 try!
Failed to issue the StartTLS instruction: Can't contact LDAP server
Connection to LDAP server failed for the 3 try!
Failed to issue the StartTLS instruction: Can't contact LDAP server
Connection to LDAP server failed for the 4 try!
Failed to issue the StartTLS instruction: Can't contact LDAP server
Connection to LDAP server failed for the 5 try!
Failed to issue the StartTLS instruction: Can't contact LDAP server
Connection to LDAP server failed for the 6 try!
Failed to issue the StartTLS instruction: Can't contact LDAP server
Connection to LDAP server failed for the 7 try!
Failed to issue the StartTLS instruction: Can't contact LDAP server
Connection to LDAP server failed for the 8 try!
Failed to issue the StartTLS instruction: Can't contact LDAP server
Connection to LDAP server failed for the 9 try!
Failed to issue the StartTLS instruction: Can't contact LDAP server
Connection to LDAP server failed for the 10 try!
Failed to issue the StartTLS instruction: Can't contact LDAP server
Connection to LDAP server failed for the 11 try!
Failed to issue the StartTLS instruction: Can't contact LDAP server
Connection to LDAP server failed for the 12 try!
Failed to issue the StartTLS instruction: Can't contact LDAP server
Connection to LDAP server failed for the 13 try!
Failed to issue the StartTLS instruction: Can't contact LDAP server
Connection to LDAP server failed for the 14 try!
Failed to issue the StartTLS instruction: Can't contact LDAP server
Connection to LDAP server failed for the 15 try!
Failed to issue the StartTLS instruction: Can't contact LDAP server
User Search failed!
« Последнее редактирование: 02.04.2012 14:10:01 от Skull »

Оффлайн Skull

  • Глобальный модератор
  • *****
  • Сообщений: 20 166
    • Домашняя страница
Проверяйте запуск службы сервера LDAP (slapd) и параметры домена. Если не настроили домен, уберите аутентификацию Samba через LDAP.
Андрей Черепанов (cas@)

Оффлайн Pin

  • Участник
  • *
  • Сообщений: 5
Проверяйте запуск службы сервера LDAP (slapd) и параметры домена. Если не настроили домен, уберите аутентификацию Samba через LDAP.

Домен не использовали вообще.
По умолчанию служба LDAP не была запущена. Запуск службы эффекта не дал. Однако...

После перевода в комменты строк в smb.conf, касающихся LDAP - system-config-samba запустилась!
Работоспособность всего, в т.ч. сетевого принтера, проверю завтра

конфиг сейчас выглядит так:

[global]
realm = REALM
server string = Samba server on %h (v. %v)
security = user
dedicated keytab file = /etc/krb5.keytab
kerberos method = dedicated keytab
log file = /var/log/samba/log.%m
max log size = 50
printcap name = cups
dns proxy = No
use sendfile = Yes
#passdb backend = ldapsam:ldap://127.0.0.1/
#ldap admin dn = cn=admin,dc=domain,dc=ru
#ldap suffix = dc=domain,dc=ru
#ldap group suffix = ou=Group
#ldap user suffix = ou=People

[share]
comment = Commonplace
path = /srv/share
read only = No

[homes]
comment = Home Directory for '%u'
browseable = no
writable = yes
« Последнее редактирование: 02.04.2012 14:44:31 от Skull »