samba

Проблемы с установкой, настройкой и работой системных и сетевых программ.

Модераторы: GRooVE, alexco

Правила форума
Убедительная просьба юзать теги [code] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
Аватара пользователя
gumeniuc
ст. сержант
Сообщения: 343
Зарегистрирован: 2009-11-08 15:46:05
Откуда: md
Контактная информация:

samba

Непрочитанное сообщение gumeniuc » 2009-12-15 18:32:31

Доброго времени суток. проблемка у меня такого плана. есть бсд 7.2 на ней сквид 3,0 + прикручена авторизация. иногда начинает глючить самба и постоянно вылезает авторизация. wbinfo -u выдаёт список юзверей, но при этом окно авторизации бесконечно выскакивает. после перезапуска самбы всё становится просто замечательно. в чём может быть косяк ?
заранее спасибо
Да шо ему сделается...

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

reLax
лейтенант
Сообщения: 638
Зарегистрирован: 2007-04-08 5:50:16

Re: samba

Непрочитанное сообщение reLax » 2009-12-15 19:08:26

А

Код: Выделить всё

# ls -lh /var/db/samba
что выдает ?

Аватара пользователя
gumeniuc
ст. сержант
Сообщения: 343
Зарегистрирован: 2009-11-08 15:46:05
Откуда: md
Контактная информация:

Re: samba

Непрочитанное сообщение gumeniuc » 2009-12-15 19:23:33

reLax писал(а):А

Код: Выделить всё

# ls -lh /var/db/samba
что выдает ?

Код: Выделить всё

gw# ls -lh /var/db/samba
total 298
-rw-------  1 root  wheel   4.0K Nov  8 21:52 account_policy.tdb
-rw-r--r--  1 root  wheel   4.0K Dec 15 18:20 gencache.tdb
-rw-------  1 root  wheel   4.0K Apr 20  2009 group_mapping.tdb
-rw-------  1 root  wheel    28K Dec 15 18:18 idmap_cache.tdb
-rw-------  1 root  wheel   4.0K Dec 15 18:20 messages.tdb
-rw-------  1 root  wheel    32K Dec 15 18:22 netsamlogon_cache.tdb
-rw-------  1 root  wheel   4.0K Nov  8 21:52 ntdrivers.tdb
-rw-------  1 root  wheel   696B Nov  8 21:52 ntforms.tdb
-rw-------  1 root  wheel   4.0K Nov  8 21:52 ntprinters.tdb
drwxr-xr-x  2 root  wheel   512B Nov  8 21:52 perfmon
drwxr-xr-x  2 root  wheel   512B Nov  8 21:52 printing
-rw-------  1 root  wheel    16K Nov  8 21:52 registry.tdb
drwxr-xr-x  2 root  wheel   512B Dec 15 18:20 smb_krb5
-rw-------  1 root  wheel   164K Dec 15 18:22 winbindd_cache.tdb
-rw-r--r--  1 root  wheel    24K Oct 15 17:04 winbindd_idmap.tdb
drwxr-x---  2 root  squid   512B Dec 15 16:50 winbindd_privileged
Да шо ему сделается...

reLax
лейтенант
Сообщения: 638
Зарегистрирован: 2007-04-08 5:50:16

Re: samba

Непрочитанное сообщение reLax » 2009-12-15 19:32:03

Тогда Samba копай или вообще откати на стабильно работавшую у тебя версию. У них через каждый релиз какой-нибудь глюк да есть ))

Аватара пользователя
gumeniuc
ст. сержант
Сообщения: 343
Зарегистрирован: 2009-11-08 15:46:05
Откуда: md
Контактная информация:

Re: samba

Непрочитанное сообщение gumeniuc » 2009-12-15 19:43:45

Буду копать.. логи ничего особенного не выдают. всё как обычно, только не авторизирует почему-то :cz2:
Да шо ему сделается...

Аватара пользователя
BirdGovorun
лейтенант
Сообщения: 878
Зарегистрирован: 2009-10-20 20:27:13
Откуда: Харьков.

Re: samba

Непрочитанное сообщение BirdGovorun » 2009-12-15 20:51:48

Самба по умолчанию использует 139 и 445 порт, бывает в таком режиме глючит,
в smb.conf надо добавить
smb ports = 445
вдруг поможет.

Аватара пользователя
gumeniuc
ст. сержант
Сообщения: 343
Зарегистрирован: 2009-11-08 15:46:05
Откуда: md
Контактная информация:

Re: samba

Непрочитанное сообщение gumeniuc » 2009-12-16 0:27:25

BirdGovorun писал(а):Самба по умолчанию использует 139 и 445 порт, бывает в таком режиме глючит,
в smb.conf надо добавить
smb ports = 445
вдруг поможет.
спасибо за совет, попробую . тут так, может работать неделю нормально и отвалится, а то и больше..
Да шо ему сделается...

Burner
лейтенант
Сообщения: 693
Зарегистрирован: 2009-06-14 7:02:26

Re: samba

Непрочитанное сообщение Burner » 2009-12-16 5:22:07

gumeniuc писал(а):Буду копать.. логи ничего особенного не выдают. всё как обычно, только не авторизирует почему-то :cz2:
ну значит надо увеличить уровень логирования. Можно кеш снести попробовать

Аватара пользователя
gumeniuc
ст. сержант
Сообщения: 343
Зарегистрирован: 2009-11-08 15:46:05
Откуда: md
Контактная информация:

Re: samba

Непрочитанное сообщение gumeniuc » 2009-12-16 13:02:36

Логи обязательно сделаю побольше и уровень на порядок выше.. спасибо за совет. поглядим какие сюрпризы ещё приподнесёт самба
Да шо ему сделается...

opt1k
лейтенант
Сообщения: 966
Зарегистрирован: 2007-12-05 9:45:18
Откуда: Mytischi

Re: samba

Непрочитанное сообщение opt1k » 2009-12-16 13:07:39

pkg_info дайте

Аватара пользователя
gumeniuc
ст. сержант
Сообщения: 343
Зарегистрирован: 2009-11-08 15:46:05
Откуда: md
Контактная информация:

Re: samba

Непрочитанное сообщение gumeniuc » 2009-12-16 15:28:27

opt1k писал(а):pkg_info дайте

Код: Выделить всё

gw# pkg_info
apache-2.2.13       Version 2.2.x of Apache web server with prefork MPM.
arc-5.21o_1         Create & extract files from DOS .ARC files
arj-3.10.22_1       Open-source ARJ
arpwatch-2.1.a15_4  Monitor arp & rarp requests
autoconf-2.62       Automatically configure source code on many Un*x platforms
autoconf-wrapper-20071109 Wrapper script for GNU autoconf
automake-1.10.1     GNU Standards-compliant Makefile generator (1.10)
automake-1.9.6_3    GNU Standards-compliant Makefile generator (1.9)
automake-wrapper-20071109 Wrapper script for GNU automake
bandwidthd-2.0.1_1  Tracks bandwidth usage by IP address
bash-4.0.24         The GNU Project's Bourne Again SHell
bind95-base-9.5.1.1 The BIND DNS suite with updated DNSSEC and threads
bison-2.4.1,1       A parser generator from FSF, (mostly) compatible with Yacc
bmon-2.1.0_2        Portable bandwidth monitor and rate estimator
bsdpan-Mail-SpamAssassin-CompiledRegexps-body_0-1.0 ???
bsdpan-Mail-SpamAssassin-CompiledRegexps-body_500-1.0 ???
ca_root_nss-3.11.9_2 The root certificate bundle from the Mozilla Project
clamav-0.95.2       Command line virus scanner written entirely in C
cups-base-1.3.10_4  Common UNIX Printing System: Server
cups-client-1.3.10_4 Common UNIX Printing System: Library cups
cups-image-1.3.10_4 Common UNIX Printing System: Library cupsimage
curl-7.19.6_1       Non-interactive tool to get files from FTP, GOPHER, HTTP(S)
cyrus-sasl-2.1.23   RFC 2222 SASL (Simple Authentication and Security Layer)
cyrus-sasl-saslauthd-2.1.22_1 SASL authentication server for cyrus-sasl2
db41-4.1.25_4       The Berkeley DB package, revision 4.1
dmalloc-5.5.2       Portable debug memory allocation library
e2fsprogs-libuuid-1.41.8 UUID library from e2fsprogs package
expat-2.0.1         XML 1.0 parser written in C
fontconfig-2.6.0,1  An XML-based font configuration API for X Windows
freetype2-2.3.9_1   A free and portable TrueType font rendering engine
gamin-0.1.10        A file and directory monitoring system
gd-2.0.35,1         A graphics library for fast creation of images
gettext-0.17_1      GNU gettext package
ghostscript8-nox11-8.64_6 Ghostscript 8.x PostScript interpreter
gio-fam-backend-2.18.4 FAM backend for GLib's GIO library
glib-2.20.5         Some useful routines of C programming (current stable versi
gmake-3.81_3        GNU version of 'make' utility
gnupg-2.0.12        The GNU Privacy Guard
gnutls-2.8.3        GNU Transport Layer Security library
gsfonts-8.11_5      Standard Fonts for Ghostscript
help2man-1.36.4_3   Automatically generating simple manual pages from program o
idnkit-1.0_3        A library to handle internationalized domain names
iftop-0.17          Display bandwidth usage on an interface by host
isc-dhcp3-server-3.0.5_2 The ISC Dynamic Host Configuration Protocol server
jpeg-7              IJG's jpeg compression utilities
lha-1.14i_6         Archive files using LZSS and Huffman compression (.lzh file
libassuan-1.0.5     IPC library used by GnuPG and gpgme
libdbi-0.8.3        Database Independent Abstraction Layer for C
libexecinfo-1.1_3   A library for inspecting program's backtrace
libgcrypt-1.4.4     General purpose crypto library based on code used in GnuPG
libgmp-4.3.1        A free library for arbitrary precision arithmetic
libgpg-error-1.7    Common error values for all GnuPG components
libiconv-1.13.1     A character set conversion library
libksba-1.0.7       KSBA is an X.509 Library
libltdl-2.2.6a      System independent dlopen wrapper
libmcrypt-2.5.8     Multi-cipher cryptographic library (used in PHP)
libnet11-1.1.2.1_2,1 A C library for creating IP packets
libslang2-2.1.4_1   Routines for rapid alpha-numeric terminal applications deve
libtool-2.2.6a      Generic shared library support script
libxml2-2.7.3_1     XML parser library for GNOME
lightsquid-1.8      A light and fast web based squid proxy traffic analyser
lynx-2.8.7r1        A non-graphical, text-based World-Wide Web client
lzo2-2.03_2         Portable speedy, lossless data compression library
m4-1.4.13,1         GNU m4
makedepend-1.0.1,1  A dependency generator for makefiles
mc-4.6.2            Midnight Commander, a free Norton Commander Clone
mhash-0.9.9         An easy-to-use library for strong hashes such as MD5 and SH
milter-regex-1.7    Milter plugin to sendmail for regular expression filtering
mime-support-3.46.1 MIME Media Types list
mod_security21-2.1.7 An intrusion detection and prevention engine
mysql-client-5.0.85 Multithreaded SQL database (client)
openldap-client-2.4.17 Open source LDAP client implementation
openssl-0.9.8k_3    SSL and crypto library
openvpn-2.0.6_9     Secure IP/Ethernet tunnel daemon
p5-Compress-Raw-Zlib-2.021 Low-Level Interface to zlib compression library
p5-Compress-Zlib-2.015 Perl5 interface to zlib compression library
p5-DBD-mysql-4.012  MySQL driver for the Perl5 Database Interface (DBI)
p5-DBI-1.60.7       The perl5 Database Interface.  Required for DBD::* modules
p5-Encode-Detect-1.01 An Encode::Encoding subclass that detects the encoding of d
p5-ExtUtils-CBuilder-0.2603 Compile and link C code for Perl modules
p5-ExtUtils-ParseXS-2.20 Converts Perl XS code into C code
p5-File-Which-0.05  Portable implementation of `which' in Perl
p5-Geography-Countries-2009041301 Handle ISO-3166 country codes
p5-HTML-Parser-3.62 Perl5 module for parsing HTML documents
p5-HTML-Tagset-3.20 Some useful data table in parsing HTML
p5-IO-Compress-Base-2.015 Base Class for IO::Uncompress modules
p5-IO-Compress-Zlib-2.015 Perl5 interface for reading and writing of (g)zip files
p5-IO-Socket-SSL-1.30 Perl5 interface to SSL sockets
p5-IP-Country-2.26  Fast lookup of country codes from IP addresses
p5-Module-Build-0.30 Build and install Perl modules
p5-Net-SSLeay-1.35_2 Perl5 interface to SSL
p5-PathTools-3.3000 A Perl module for portably manipulating file specifications
p5-Storable-2.21    Persistency for perl data structures
p5-URI-1.40         Perl5 interface to Uniform Resource Identifier (URI) refere
p5-YAML-0.70        YAML implementation in Perl
p5-gettext-1.05_2   Message handling functions
p5-libwww-5.831     Perl5 library for WWW access
pcre-7.9            Perl Compatible Regular Expressions library
pdflib-7.0.4        A C library for dynamically generating PDF
pecl-pdflib-2.1.5   A PECL extension to create PDF on the fly
perl-5.8.9_3        Practical Extraction and Report Language
pfstat-2.4          Utility to render graphical statistics for pf
php5-5.2.8          PHP Scripting Language
php5-ctype-5.2.8    The ctype shared extension for php
php5-curl-5.2.8_1   The curl shared extension for php
php5-dom-5.2.8      The dom shared extension for php
php5-extensions-1.2 A "meta-port" to install PHP extensions
php5-gd-5.2.8_1     The gd shared extension for php
php5-gettext-5.2.8  The gettext shared extension for php
php5-hash-5.2.8     The hash shared extension for php
php5-iconv-5.2.8    The iconv shared extension for php
php5-json-5.2.8     The json shared extension for php
php5-ldap-5.2.8_1   The ldap shared extension for php
php5-mcrypt-5.2.8   The mcrypt shared extension for php
php5-mhash-5.2.8    The mhash shared extension for php
php5-mysql-5.2.8    The mysql shared extension for php
php5-openssl-5.2.8  The openssl shared extension for php
php5-pdo-5.2.8      The pdo shared extension for php
php5-pdo_sqlite-5.2.8 The pdo_sqlite shared extension for php
php5-pgsql-5.2.8    The pgsql shared extension for php
php5-posix-5.2.8    The posix shared extension for php
php5-session-5.2.8  The session shared extension for php
php5-simplexml-5.2.8 The simplexml shared extension for php
php5-spl-5.2.8      The spl shared extension for php
php5-sqlite-5.2.8   The sqlite shared extension for php
php5-tokenizer-5.2.8 The tokenizer shared extension for php
php5-xml-5.2.8      The xml shared extension for php
php5-xmlreader-5.2.8 The xmlreader shared extension for php
php5-xmlwriter-5.2.8 The xmlwriter shared extension for php
php5-zlib-5.2.8     The zlib shared extension for php
pkg-config-0.23_1   A utility to retrieve information about installed libraries
pkg_cleanup-1.0_2   Interactive program for deinstalling 'leaf' packages
png-1.2.38          Library for manipulating PNG images
popt-1.7_5          A getopt(3) like library with a number of enhancements, fro
portupgrade-2.4.6_3,2 FreeBSD ports/packages administration and management tools
postgresql-client-8.2.13 PostgreSQL database (client)
pth-2.0.7           GNU Portable Threads
python25-2.5.4_2    An interpreted object-oriented programming language
ruby-1.8.7.160_4,1  An object-oriented interpreted scripting language
ruby18-bdb-0.6.5_1  Ruby interface to Sleepycat's Berkeley DB revision 2 or lat
samba-3.0.34,1      A free SMB and CIFS client and server for UNIX
screen-4.0.3_6      A multi-screen window manager
sendmail+tls+sasl2+ldap-8.14.3_1 Reliable, highly configurable mail transfer agent with util
sqlite3-3.6.14.2    An SQL database engine in a C library
squid-3.0.18        HTTP Caching Proxy
squidGuard-1.4_1    A fast redirector for squid
sshguard-pf-1.3     Protect hosts from brute force attacks against ssh and othe
t1lib-5.1.2_1,1     A Type 1 Rasterizer Library for UNIX/X11
tiff-3.8.2_4        Tools and library routines for working with TIFF images
trafshow-5.2.3,1    Full screen visualization of network traffic
unzoo-4.4_2         A zoo archive extractor
wget-1.11.4_1       Retrieve files from the Net via HTTP(S) and FTP
xproto-7.0.15       X11 protocol headers

Да шо ему сделается...

opt1k
лейтенант
Сообщения: 966
Зарегистрирован: 2007-12-05 9:45:18
Откуда: Mytischi

Re: samba

Непрочитанное сообщение opt1k » 2009-12-16 23:04:03

у меня в течении нескольких месяцев год назад была похожая проблема, только у меня winbind падал в корку, что я только не пробовал, помогло снесение openldap 2.4 и установка 2.3, на форуме где-то даже темка есть.