LINUX.ORG.RU
ФорумAdmin

samba


0

0

Доброго времени суток.

Настраиваю cервер в качестве PDC (Debian 4)? с использованием вот этой статьи http://www.opennet.ru/base/net/ldap_spama_pdc.txt.html

Проблема в следующем. Nmbd стартует нормально, а вот smbd не страртует, вот его лог:

[2007/05/14 20:43:03, 0] smbd/server.c:main(847)

smbd version 3.0.24 started.

Copyright Andrew Tridgell and the Samba Team 1992-2006

[2007/05/14 20:43:03, 0] printing/pcap.c:pcap_cache_reload(159)

Unable to open printcap file /etc/printcap for read!

[2007/05/14 20:43:03, 0] printing/pcap.c:pcap_cache_reload(159)

Unable to open printcap file /etc/printcap for read!

[2007/05/14 20:43:03, 0] smbd/server.c:main(881)

standard input is not a socket, assuming -D option

[2007/05/14 20:43:03, 0] services/services_db.c:svcctl_init_keys(420)

init_services_keys: key lookup failed! (WERR_ACCESS_DENIED)

[2007/05/14 20:43:03, 0] smbd/server.c:main(960)

ERROR: failed to setup guest info.

[2007/05/14 20:43:03, 0] smbd/server.c:main(847)

smbd version 3.0.24 started.

Copyright Andrew Tridgell and the Samba Team 1992-2006

[2007/05/14 20:43:03, 0] printing/pcap.c:pcap_cache_reload(159)

Unable to open printcap file /etc/printcap for read!

[2007/05/14 20:43:03, 0] printing/pcap.c:pcap_cache_reload(159)

Unable to open printcap file /etc/printcap for read!

[2007/05/14 20:43:03, 0] smbd/server.c:main(881)

standard input is not a socket, assuming -D option

[2007/05/14 20:43:03, 0] services/services_db.c:svcctl_init_keys(420)

init_services_keys: key lookup failed! (WERR_ACCESS_DENIED)

[2007/05/14 20:43:03, 0] smbd/server.c:main(960)

ERROR: failed to setup guest info.

Вот конфиг:

/etc/samba/smb.conf

[global]

workgroup = PUSH

netbios name = PUSH

security = user

admin users = morphine

passdb backend = ldapsam:ldap://127.0.0.1

ldap suffix = dc=push,dc=msservic,dc=ru

ldap user suffix = ou=Users

ldap group suffix = ou=Groups

ldap machine suffix = ou=Computers

#ldap filter = (uid=%u)

ldap admin dn = "cn=root,dc=push,dc=msservic,dc=ru"

ldap delete dn = no

domain master = yes

domain logons = yes

logon script = %u.bat

logon path = \\%L\Profiles\%u

logon drive = H:

dos charset = CP866

unix charset = KOI8-R

display charset = KOI8-R

[netlogon]

comment = Network Logon Service

path = /var/lib/samba/netlogon

browseable = no

guest ok = yes

writable = no

share modes = no

[Profiles]

path = /var/lib/samba/profiles

browsable = no

guest ok = yes

writable = yes

nt acl support = no

Подскажите где порыться.

Заранее благодарен.

Ответ на: Re: samba от router

Re: samba

Добавил эту строчку в [Global], не помогло.

лог:

[2007/05/15 15:22:50, 0] smbd/server.c:main(847)

smbd version 3.0.24 started.

Copyright Andrew Tridgell and the Samba Team 1992-2006

[2007/05/15 15:22:50, 0] printing/pcap.c:pcap_cache_reload(159)

Unable to open printcap file /etc/printcap for read!

[2007/05/15 15:22:50, 0] printing/pcap.c:pcap_cache_reload(159)

Unable to open printcap file /etc/printcap for read!

[2007/05/15 15:22:50, 0] services/services_db.c:svcctl_init_keys(420)

init_services_keys: key lookup failed! (WERR_ACCESS_DENIED)

[2007/05/15 15:22:50, 0] smbd/server.c:main(960)

ERROR: failed to setup guest info.

Может проблема вот в этом Unable to open printcap file /etc/printcap for read!

Я ее не собирал, а поставил из репозитария дебиан.

Morphine ()
Ответ на: Re: samba от Morphine

Re: samba

>Может проблема вот в этом Unable to open printcap file /etc/printcap for read!

ИМХО, проблема в этом:

>init_services_keys: key lookup failed! (WERR_ACCESS_DENIED)

И, как следствие, в этом:

>ERROR: failed to setup guest info.

router ★★★★★ ()
Ответ на: Re: samba от UserUnknown

Re: samba

А в чем же тогда может быть проблема?

Morphine ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.