From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <002801c12176$3f060060$0c01a8c0@debut.ru> From: =?koi8-r?B?7M/J19PLycog7S7hLg==?= To: References: <00d601c120e3$4f487c20$0c01a8c0@debut.ru> <3B72DA3C.5AB6DF5C@zmail.ru> Subject: Re: [mdk-re] Bash & Samba MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0025_01C12197.C25C6D20" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: mandrake-russian-admin@altlinux.ru Errors-To: mandrake-russian-admin@altlinux.ru X-BeenThere: mandrake-russian@altlinux.ru X-Mailman-Version: 2.0 Precedence: bulk Reply-To: mandrake-russian@altlinux.ru List-Help: List-Post: List-Subscribe: , List-Id: Linux-Mandrake RE / ALT Linux discussion list List-Unsubscribe: , List-Archive: Date: Fri Aug 10 12:09:12 2001 X-Original-Date: Fri, 10 Aug 2001 12:27:02 +0400 Archived-At: List-Archive: List-Post: This is a multi-part message in MIME format. ------=_NextPart_000_0025_01C12197.C25C6D20 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 8bit > Версия Самбы? > Содержимое /etc/sysconfig/system ?? > Что в логах Самбы? 1. Версия 2.0.7 2. CLEAN_TMP=1 META_CLASS=PowerPack TYPE=server SECURE_TMP=1 # (Пробовал 0 - не помогло) SECURITY=4 CLASS=expert 3. Логи во вложении (Там вообще жуть) 4. smb.conf тоже там же ------=_NextPart_000_0025_01C12197.C25C6D20 Content-Type: application/octet-stream; name="log.nmb" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="log.nmb" .............=0A= =0A= [2001/08/10 11:48:28, 0] nmbd/nmbd_namerelease.c:release_name(231)=0A= release_name: Failed to send packet trying to release name SERVER2<03> = IP 192.168.1.2=0A= [2001/08/10 11:48:28, 0] libsmb/nmblib.c:send_udp(755)=0A= Packet send failed to 192.168.1.255(137) ERRNO=3DNetwork is unreachable=0A= [2001/08/10 11:48:28, 0] nmbd/nmbd_packets.c:send_netbios_packet(172)=0A= send_netbios_packet: send_packet() to IP 192.168.1.255 port 137 failed=0A= [2001/08/10 11:48:28, 0] nmbd/nmbd_namerelease.c:release_name(231)=0A= release_name: Failed to send packet trying to release name SERVER2<20> = IP 192.168.1.2=0A= [2001/08/10 11:48:28, 0] libsmb/nmblib.c:send_udp(755)=0A= Packet send failed to 192.168.1.255(138) ERRNO=3DNetwork is unreachable=0A= [2001/08/10 11:50:21, 1] nmbd/nmbd.c:main(757)=0A= Netbios nameserver version 2.0.7 started.=0A= Copyright Andrew Tridgell 1994-1998=0A= [2001/08/10 11:50:21, 0] nmbd/asyncdns.c:start_async_dns(150)=0A= started asyncdns process 1341=0A= [2001/08/10 12:16:47, 0] nmbd/asyncdns.c:start_async_dns(150)=0A= started asyncdns process 1867=0A= [2001/08/10 12:16:47, 0] nmbd/nmbd.c:sig_term(65)=0A= Got SIGTERM: going down...=0A= [2001/08/10 12:16:48, 1] nmbd/nmbd.c:main(757)=0A= Netbios nameserver version 2.0.7 started.=0A= Copyright Andrew Tridgell 1994-1998=0A= [2001/08/10 12:16:48, 0] nmbd/asyncdns.c:start_async_dns(150)=0A= started asyncdns process 1885=0A= ------=_NextPart_000_0025_01C12197.C25C6D20 Content-Type: application/octet-stream; name="log.server" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="log.server" [2001/08/09 13:23:51, 0] smbd/service.c:make_connection(502)=0A= Can't change directory to /root/tmp (Permission denied)=0A= [2001/08/09 13:23:51, 0] smbd/service.c:make_connection(502)=0A= Can't change directory to /root/tmp (Permission denied)=0A= [2001/08/09 13:38:52, 0] smbd/service.c:make_connection(502)=0A= Can't change directory to /root/tmp (Permission denied)=0A= [2001/08/09 13:38:52, 0] smbd/service.c:make_connection(502)=0A= Can't change directory to /root/tmp (Permission denied)=0A= [2001/08/09 13:53:52, 0] smbd/service.c:make_connection(502)=0A= Can't change directory to /root/tmp (Permission denied)=0A= [2001/08/09 13:53:52, 0] smbd/service.c:make_connection(502)=0A= Can't change directory to /root/tmp (Permission denied)=0A= [2001/08/09 14:08:52, 0] smbd/service.c:make_connection(502)=0A= Can't change directory to /root/tmp (Permission denied)=0A= [2001/08/09 14:08:52, 0] smbd/service.c:make_connection(502)=0A= Can't change directory to /root/tmp (Permission denied)=0A= [2001/08/09 14:23:52, 0] smbd/service.c:make_connection(502)=0A= Can't change directory to /root/tmp (Permission denied)=0A= [2001/08/09 14:23:52, 0] smbd/service.c:make_connection(502)=0A= Can't change directory to /root/tmp (Permission denied)=0A= ------=_NextPart_000_0025_01C12197.C25C6D20 Content-Type: application/octet-stream; name="log.smb" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="log.smb" [2001/08/09 13:18:29, 1] smbd/server.c:main(641)=0A= smbd version 2.0.7 started.=0A= Copyright Andrew Tridgell 1992-1998=0A= [2001/08/09 13:18:29, 1] param/loadparm.c:service_ok(1832)=0A= NOTE: Service printers is flagged unavailable.=0A= [2001/08/09 13:18:29, 1] smbd/files.c:file_init(216)=0A= file_init: Information only: requested 10000 open files, 1014 are = available.=0A= [2001/08/09 14:38:52, 0] lib/util_sock.c:set_socket_options(151)=0A= Failed to set socket option SO_KEEPALIVE (Error Bad file descriptor)=0A= [2001/08/09 14:38:52, 0] lib/util_sock.c:set_socket_options(151)=0A= Failed to set socket option TCP_NODELAY (Error Bad file descriptor)=0A= [2001/08/09 14:38:52, 0] lib/util_sock.c:set_socket_options(151)=0A= Failed to set socket option SO_RCVBUF (Error Bad file descriptor)=0A= [2001/08/09 14:38:52, 0] lib/util_sock.c:set_socket_options(151)=0A= Failed to set socket option SO_SNDBUF (Error Bad file descriptor)=0A= [2001/08/09 14:41:57, 0] lib/util_sock.c:write_socket_data(540)=0A= write_socket_data: write failure. Error =3D Broken pipe=0A= [2001/08/09 14:41:57, 0] lib/util_sock.c:write_socket(566)=0A= write_socket: Error writing 4 bytes to socket 6: ERRNO =3D Broken pipe=0A= [2001/08/09 14:41:57, 0] lib/util_sock.c:send_smb(754)=0A= Error writing 4 bytes to client. -1. Exiting=0A= [2001/08/09 20:04:04, 1] smbd/server.c:main(641)=0A= smbd version 2.0.7 started.=0A= Copyright Andrew Tridgell 1992-1998=0A= [2001/08/10 08:11:41, 0] lib/util_sock.c:write_socket_data(540)=0A= write_socket_data: write failure. Error =3D Broken pipe=0A= [2001/08/10 08:11:41, 0] lib/util_sock.c:write_socket(566)=0A= write_socket: Error writing 4 bytes to socket 5: ERRNO =3D Broken pipe=0A= [2001/08/10 08:11:41, 0] lib/util_sock.c:send_smb(754)=0A= Error writing 4 bytes to client. -1. Exiting=0A= [2001/08/10 08:51:27, 0] lib/util_sock.c:write_socket_data(540)=0A= write_socket_data: write failure. Error =3D Broken pipe=0A= [2001/08/10 08:51:27, 0] lib/util_sock.c:write_socket(566)=0A= write_socket: Error writing 4 bytes to socket 5: ERRNO =3D Broken pipe=0A= [2001/08/10 08:51:27, 0] lib/util_sock.c:send_smb(754)=0A= Error writing 4 bytes to client. -1. Exiting=0A= [2001/08/10 09:57:12, 1] smbd/server.c:main(641)=0A= smbd version 2.0.7 started.=0A= Copyright Andrew Tridgell 1992-1998=0A= [2001/08/10 10:12:33, 0] lib/util_sock.c:write_socket_data(540)=0A= write_socket_data: write failure. Error =3D Broken pipe=0A= [2001/08/10 10:12:33, 0] lib/util_sock.c:write_socket(566)=0A= write_socket: Error writing 4 bytes to socket 5: ERRNO =3D Broken pipe=0A= [2001/08/10 10:12:33, 0] lib/util_sock.c:send_smb(754)=0A= Error writing 4 bytes to client. -1. Exiting=0A= [2001/08/10 10:22:46, 0] lib/util_sock.c:write_socket_data(540)=0A= write_socket_data: write failure. Error =3D Broken pipe=0A= [2001/08/10 10:22:46, 0] lib/util_sock.c:write_socket(566)=0A= write_socket: Error writing 4 bytes to socket 5: ERRNO =3D Broken pipe=0A= [2001/08/10 10:22:46, 0] lib/util_sock.c:send_smb(754)=0A= Error writing 4 bytes to client. -1. Exiting=0A= [2001/08/10 10:23:01, 0] lib/util_sock.c:write_socket_data(540)=0A= write_socket_data: write failure. Error =3D Broken pipe=0A= [2001/08/10 10:23:01, 0] lib/util_sock.c:write_socket(566)=0A= write_socket: Error writing 4 bytes to socket 5: ERRNO =3D Broken pipe=0A= [2001/08/10 10:23:01, 0] lib/util_sock.c:send_smb(754)=0A= Error writing 4 bytes to client. -1. Exiting=0A= [2001/08/10 10:23:45, 0] lib/util_sock.c:write_socket_data(540)=0A= write_socket_data: write failure. Error =3D Broken pipe=0A= [2001/08/10 10:23:45, 0] lib/util_sock.c:write_socket(566)=0A= write_socket: Error writing 4 bytes to socket 5: ERRNO =3D Broken pipe=0A= [2001/08/10 10:23:45, 0] lib/util_sock.c:send_smb(754)=0A= Error writing 4 bytes to client. -1. Exiting=0A= [2001/08/10 10:25:04, 0] lib/util_sock.c:write_socket_data(540)=0A= write_socket_data: write failure. Error =3D Broken pipe=0A= [2001/08/10 10:25:04, 0] lib/util_sock.c:write_socket(566)=0A= write_socket: Error writing 4 bytes to socket 5: ERRNO =3D Broken pipe=0A= [2001/08/10 10:25:04, 0] lib/util_sock.c:send_smb(754)=0A= Error writing 4 bytes to client. -1. Exiting=0A= [2001/08/10 10:29:49, 1] smbd/server.c:main(641)=0A= smbd version 2.0.7 started.=0A= Copyright Andrew Tridgell 1992-1998=0A= [2001/08/10 10:37:03, 1] smbd/server.c:main(641)=0A= smbd version 2.0.7 started.=0A= Copyright Andrew Tridgell 1992-1998=0A= [2001/08/10 11:23:02, 1] smbd/server.c:main(641)=0A= smbd version 2.0.7 started.=0A= Copyright Andrew Tridgell 1992-1998=0A= [2001/08/10 11:44:16, 1] smbd/server.c:main(641)=0A= smbd version 2.0.7 started.=0A= Copyright Andrew Tridgell 1992-1998=0A= [2001/08/10 11:50:20, 1] smbd/server.c:main(641)=0A= smbd version 2.0.7 started.=0A= Copyright Andrew Tridgell 1992-1998=0A= [2001/08/10 12:16:47, 1] smbd/server.c:main(641)=0A= smbd version 2.0.7 started.=0A= Copyright Andrew Tridgell 1992-1998=0A= ------=_NextPart_000_0025_01C12197.C25C6D20 Content-Type: application/octet-stream; name="smb.conf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="smb.conf" [global]=0A= workgroup =3D DEBUT=0A= server string =3D Samba Server %v=0A= hosts allow =3D 192.168.1. 192.168.2. 127.=0A= client code page =3D 932=0A= character set =3D ISO8859-5=0A= printcap name =3D lpstat=0A= load printers =3D yes=0A= printing =3D cups=0A= log file =3D /var/log/samba/log.%m=0A= max log size =3D 50=0A= security =3D user=0A= password server =3D SERVER=0A= encrypt passwords =3D yes=0A= smb passwd file =3D /etc/smbpasswd=0A= socket options =3D TCP_NODELAY SO_RCVBUF=3D8192 SO_SNDBUF=3D8192=0A= =0A= # Use only if you have an NT server on your network that has been=0A= # configured at install time to be a primary domain controller.=0A= ; domain controller =3D =0A= =0A= # Enable this if you want Samba to be a domain logon server for=0A= # Windows95 workstations.=0A= ; domain logons =3D yes=0A= =0A= # if you enable domain logons then you may want a per-machine or=0A= # per user logon script=0A= # run a specific logon batch file per workstation (machine)=0A= ; logon script =3D %m.bat=0A= # run a specific logon batch file per username=0A= ; logon script =3D %U.bat=0A= =0A= # Where to store roving profiles (only for Win95 and WinNT)=0A= # %L substitutes for this servers netbios name, %U is username=0A= # You must uncomment the [Profiles] share below=0A= ; logon path =3D \\%L\Profiles\%U=0A= =0A= # All NetBIOS names must be resolved to IP Addresses=0A= # 'Name Resolve Order' allows the named resolution mechanism to be = specified=0A= # the default order is "host lmhosts wins bcast". "host" means use the = unix=0A= # system gethostbyname() function call that will use either /etc/hosts OR=0A= # DNS or NIS depending on the settings of /etc/host.config, = /etc/nsswitch.conf=0A= # and the /etc/resolv.conf file. "host" therefore is system configuration=0A= # dependant. This parameter is most often of use to prevent DNS lookups=0A= # in order to resolve NetBIOS names to IP Addresses. Use with care!=0A= # The example below excludes use of name resolution for machines that = are NOT=0A= # on the local network segment=0A= # - OR - are not deliberately to be known via lmhosts or via WINS.=0A= ; name resolve order =3D wins lmhosts bcast=0A= =0A= # Windows Internet Name Serving Support Section:=0A= # WINS Support - Tells the NMBD component of Samba to enable it's WINS = Server=0A= wins support =3D yes=0A= =0A= # WINS Server - Tells the NMBD components of Samba to be a WINS Client=0A= # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both=0A= # wins server =3D 192.168.1.1=0A= =0A= # WINS Proxy - Tells Samba to answer name resolution queries on=0A= # behalf of a non WINS capable client, for this to work there must be=0A= # at least one WINS Server on the network. The default is NO.=0A= ; wins proxy =3D yes=0A= =0A= # DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names=0A= # via DNS nslookups. The built-in default for versions 1.9.17 is yes,=0A= # this has been changed in version 1.9.18 to no.=0A= dns proxy =3D no=0A= domain logons =3D no=0A= unix password sync =3D no=0A= netbios name =3D SERVER2=0A= map to guest =3D never=0A= password level =3D 0=0A= null passwords =3D no=0A= allow hosts =3D 192.168.1. 192.168.2.=0A= os level =3D 0=0A= preferred master =3D no=0A= domain master =3D no=0A= interfaces =3D 192.168.1.0/24=0A= dead time =3D 0=0A= debug level =3D 0=0A= =0A= # Case Preservation can be handy - system default is _no_=0A= # NOTE: These can be set on a per share basis=0A= ; preserve case =3D no=0A= ; short preserve case =3D no=0A= # Default case is normally upper case for all DOS files=0A= ; default case =3D lower=0A= # Be very careful with case sensitivity - it can break things!=0A= ; case sensitive =3D no=0A= =0A= #=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D Share Definitions = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=0A= [homes]=0A= comment =3D Home Directories=0A= browseable =3D no=0A= writable =3D yes=0A= available =3D yes=0A= public =3D no=0A= user =3D michael=0A= only user =3D no=0A= =0A= # Un-comment the following and create the netlogon directory for Domain = Logons=0A= [netlogon]=0A= comment =3D Network Logon Service=0A= path =3D /home/netlogon=0A= guest ok =3D yes=0A= writable =3D no=0A= share modes =3D no=0A= available =3D yes=0A= =0A= # Un-comment the following to provide a specific roving profile share=0A= # the default is to use the user's home directory=0A= [Profiles]=0A= path =3D /home/profiles=0A= browseable =3D no=0A= public =3D yes=0A= available =3D yes=0A= guest only =3D no=0A= writable =3D no=0A= only user =3D no=0A= =0A= =0A= # NOTE: If you have a CUPS print system there is no need to=0A= # specifically define each individual printer.=0A= # You must configure the samba printers with the appropriate Windows=0A= # drivers on your Windows clients. On the Samba server no filtering is=0A= # done. If you wish that the server provides the driver and the clients=0A= # send PostScript ("Generic PostScript Printer" under Windows), you have=0A= # to swap the 'print command' line below with the commented one.=0A= [printers]=0A= comment =3D All Printers=0A= path =3D /var/spool/samba=0A= browseable =3D yes=0A= # to allow user 'guest account' to print.=0A= public =3D yes=0A= writable =3D no=0A= printable =3D yes=0A= create mode =3D 0700=0A= # = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= # print command: see above for details.=0A= # = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= print command =3D lpr-cups -P %p -o raw %s # using client side = printer drivers.=0A= ; print command =3D lpr-cups -P %p %s # using cups own drivers (use = generic PostScript on clients).=0A= lpq command =3D lpstat -o %p=0A= lprm command =3D cancel %p-%j=0A= available =3D yes=0A= ;[netlogon]=0A= ; available =3D no=0A= =0A= [Music]=0A= comment =3D Music=0A= available =3D yes=0A= browseable =3D yes=0A= path =3D /mnt/Music=0A= public =3D yes=0A= guest only =3D no=0A= writable =3D yes=0A= only user =3D no=0A= write list =3D michael=0A= =0A= [Database]=0A= comment =3D Our garbage=0A= available =3D yes=0A= browseable =3D no=0A= path =3D /home/DataBase=0A= public =3D yes=0A= guest only =3D no=0A= writable =3D yes=0A= only user =3D no=0A= ------=_NextPart_000_0025_01C12197.C25C6D20--