[Sysadmins] Samba: Failed to create Administrators

Alexander Yereschenko =?iso-8859-1?q?ave_=CE=C1_zetetika=2Ecom=2Eua?=
Пт Май 30 19:27:00 MSD 2008


Доброе!

Когда-то пробовал на машинке настраивать связку LDAP+Samba, но что-то не пошло 
и проще было вернуться к простой схеме - локальная авторизация. Вроде бы 
вернул все в исходное. Вроде как самба работает, но в логах при старте и при 
подключении клиента пишет:
============
[2008/05/30 18:04:23, 0] auth/auth_util.c:create_builtin_administrators(792)
  create_builtin_administrators: Failed to create Administrators
[2008/05/30 18:04:23, 0] auth/auth_util.c:create_builtin_users(758)
  create_builtin_users: Failed to create Users
============

конфиг (непрописанные параметры - умолчательные)
============
[global]
        os level = 250
        unix extensions = no
        use sendfile = no
        dos charset = CP866
        unix charset = UTF8
        workgroup = WORKGROUP
        netbios name = SERV
        server string = Server
        interfaces = 192.168.0.1/24, 192.168.1.1/24
        log file = /var/log/samba/log.%m
        max log size = 50
        load printers = No
        printcap name = /etc/printcap
        dns proxy = No
        hosts allow = 192.168.0., 192.168.1., 127.
        printing = cups
        domain master = yes
        local master = yes
        domain logons = yes
        logon script = logon.bat
        max protocol = NT
=========
Уже удалял файлы /etc/samba/secrets.tdb и все из /var/lib/samba
Но все равно при старте то же самое...
Да, при первом старте с нуля еще и вот такие строчки:
=========
[2008/05/30 18:04:23, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 1 (min password 
length), returning 0
[2008/05/30 18:04:23, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 2 (password history), 
returning 0
[2008/05/30 18:04:23, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 3 (user must logon to 
change password), returning 0
[2008/05/30 18:04:23, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 4 (maximum password 
age), returning 0
[2008/05/30 18:04:23, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 5 (minimum password 
age), returning 0
[2008/05/30 18:04:23, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 6 (lockout duration), 
returning 0
[2008/05/30 18:04:23, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 7 (reset count 
minutes), returning 0
[2008/05/30 18:04:23, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 8 (bad lockout 
attempt), returning 0
[2008/05/30 18:04:23, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 9 (disconnect time), 
returning 0
[2008/05/30 18:04:23, 1] lib/account_pol.c:account_policy_get(286)
  account_policy_get: tdb_fetch_uint32 failed for field 10 (refuse machine 
password change), returning 0
[2008/05/30 18:04:24, 0] auth/auth_util.c:create_builtin_administrators(792)
==========

Видимо, какие-то огрызки от ldap-настроек где-то могли отстаться... Куда 
копать?

--
Alexander



Подробная информация о списке рассылки Sysadmins