[samba] Сообщения в log-файлах

alex alex на smgres.smolen.ru
Пт Май 6 16:00:57 MSD 2005


Здраствуйте!
После замены Mandrake Linux 9.0 (Samba 3.0.0) на ALT Linux Master 2.4
(Samba 3.0.5) в логи пишется следующее:

log.nmbd
---------------------------------------------------------------------
[2005/05/01 04:02:01, 0] nmbd/nmbd_workgroupdb.c:dump_workgroups(271)
  dump_workgroups()
   dump workgroup on subnet  192.168.10.100: netmask=  255.255.255.0:
        GRES(1) current master browser = SRVGRES
                SRVGRES 400c9b0b (Samba Server 3.0.5)
[2005/05/01 04:02:01, 0] nmbd/nmbd_workgroupdb.c:dump_workgroups(271)
  dump_workgroups()
   dump workgroup on subnet  UNICAST_SUBNET: netmask= 192.168.10.100:
        GRES(1) current master browser = UNKNOWN
                SRVGRES 40099b0b (Samba Server 3.0.5)
--------------------------------------------------------------------
log.smbd
--------------------------------------------------------------------
[2005/05/05 17:00:45, 0] lib/util_sock.c:get_peer_addr(978)
  getpeername failed. Error was Transport endpoint is not connected
--------------------------------------------------------------------
smb.conf выглядет так:
--------------------------------------------------------------------
[global]
        dos charset = 866
        unix charset = cp1251
        workgroup = GRES
        server string = Samba Server %v
        update encrypted = Yes
        min passwd length = 3
        map to guest = Bad User
        passdb backend = smbpasswd, guest
        pam password change = Yes
        passwd program = /usr/bin/passwd %u
        passwd chat = 
        username map = /etc/samba/smbusers
        unix password sync = Yes
        log file = /var/log/samba/log.%m
        max log size = 50
        name resolve order = bcast lmhosts
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        add user script = /usr/sbin/useradd -s /bin/false '%u'
        delete user script = /usr/sbin/userdel '%s'
        add group script = /usr/sbin/groupadd %g && getent group '%g'|awk -F: '{print $3}'
        delete group script = /usr/sbin/groupdel '%g'
        add user to group script = /usr/bin/gpasswd -a '%u' '%g'
        delete user from group script = /usr/bin/gpasswd -d '%u' '%g'
        set primary group script = /usr/sbin/usermod -g '%g' '%u'
        add machine script = /usr/sbin/useradd -d /dev/null -g machines -c 'Machine Account' -s /bin/false -M %u
        logon script = %m.bat
        logon path = \\%L\Profiles\%U
        logon drive = Y:
        domain logons = Yes
        os level = 256
        preferred master = Yes
        domain master = Yes
        dns proxy = No
        wins support = Yes
        ldap ssl = no
        idmap uid = 10000-20000
        idmap gid = 10000-20000
        template homedir = /home/%U
        template shell = /bin/bash
        winbind cache time = 10
        hosts allow = 192.168.10.0/255.255.255.0, 127.0.0.1

[homes]
        comment = Home Directories
        read only = No
        create mask = 0770
        force create mode = 0770
        directory mask = 0770
        force directory mode = 0770
        browseable = No
        delete readonly = Yes
        dos filemode = Yes
        dos filetimes = Yes

[netlogon]
        comment = Network Logon Service
        path = /var/lib/samba/netlogon
        write list = alex
        guest ok = Yes

[Profiles]
        path = /profiles
        read only = No
        create mask = 0700
        directory mask = 0700
        browseable = No
        root preexec = #!/bin/bash PROFILE=/profiles/%u if [ ! -e $PROFILE ] then mkdir -pm700 $PROFILE; chown %u.%g $PROFILE;
------------------------------------------------------------------------------------------------------------------------------

Может кто подскажет где копать?





-- 
С уважением,
 alex                          mailto:alex на smgres.smolen.ru
                                      smgres на rambler.ru
06.05.2005



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