Rick Flower
1998-Apr-03 22:24 UTC
smbclient (1.9.18p3) dies or needs killing when used for backups (via Amanda)
Has anyone noticed that there appears to be a few problems with regards to Samba and in particular the usage of smbclient, which can do one of the following : 1) Complete & udder death of the NT networking subsystem (which requires a reboot to cure) 2) smbclient appears to lose its connection with the host being contacted and eventually needs to be killed. I'm not too sure how to go about trouble-shooting the problems above, and I'm not too sure if they are even related to each other. But I do know that when I try to backup even 5 NT boxes via Amanda, that at least one will fail.. I ran backups again last night, and below is just the top of the output that was stuffed into my mailbox (of about 14Mb). Now, in this particular case, notice that two instances of smbclient failed to complete -- one with a data timeout (see #2 above), and the other I'm not real sure about it.. The "strange" lines are normal, and I'm not concerned about them at this point in time! If ANYONE has any ideas on how to proceed, I'd be interested in hearing it! Keep in mind that I know very LITTLE about the SMB protocol, but perhaps for the timeout problem, I should be specifying the keepalive feature to be used -- I currently am not using it. Also, I've attached my current top portion of my smb.conf file. -- Rick Platform: Sun Ultra Enterprise 450/Solaris 2.6 Amanda 2.4.0 beta Samba 1.9.18p3 NT 4.0 SP3 --------------------------------- FAILURE AND STRANGE DUMP SUMMARY: justice //p02805022/backups lev 0 FAILED [can't switch to incremental dump] justice //p02634373/backups lev 1 STRANGE justice //p02634211/backups lev 1 FAILED [data timeout] justice //p02634491/backups lev 1 FAILED [/usr/local/samba/bin/smbclient got signal 13, index got signal 15] justice //p02634373/backups lev 0 STRANGE justice //p02634491/backups lev 0 STRANGE STATISTICS: Total Full Daily -------- -------- -------- Dump Time (hrs:min) 2:26 0:15 0:00 (0:11 start, 2:00 idle) Output Size (meg) 4468.0 4418.0 50.1 Original Size (meg) 4468.0 4418.0 50.1 Avg Compressed Size (%) -- -- -- Tape Used (%) 44.7 44.2 0.5 (level:#disks ...) Filesystems Dumped 7 5 2 (1:2) Avg Dump Rate (k/s) 528.4 598.4 46.6 Avg Tp Write Rate (k/s) 4949.3 4893.8 -- ------------------------------------- ;======================= Global Settings ====================================[global] debuglevel = 3 workgroup = dh comment = Justice Samba Server admin users = root load printers = no printing = sysv log file = /usr/local/samba/var/log.%m username map = /usr/local/samba/lib/users.map max log size = 50 hide dot files = yes browseable = yes preserve case = yes short preserve case = yes guest account = guest encrypt passwords = yes status = yes dead time = 10 oplocks = false lock directory = /usr/local/samba/var/locks locking = yes domain master = no local master = yes preferred master = yes os level = 65 share modes = yes wins support = no wins server = xxx.xxx.xxx.xxx socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=16384 SO_RCVBUF=16384 security = user
Alexandre Oliva
1998-Apr-03 23:04 UTC
smbclient (1.9.18p3) dies or needs killing when used for backups (via Amanda)
Rick Flower writes:> 1) Complete & udder death of the NT networking subsystem > (which requires a reboot to cure)> 2) smbclient appears to lose its connection with the > host being contacted and eventually needs to be > killed.I seem to remember that some service pack fixes these problems. -- Alexandre Oliva mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org http://www.dcc.unicamp.br/~oliva Universidade Estadual de Campinas, SP, Brasil
Rick Flower
1998-Apr-04 01:42 UTC
smbclient (1.9.18p3) dies or needs killing when used for backups (via Amanda)
Nope.. We are running NT 4 SP3 (the latest service pack) -- Rick -----Original Message----- From: Alexandre Oliva [mailto:oliva@dcc.unicamp.br] Sent: Friday, April 03, 1998 3:04 PM To: Rick.Flower@trw.com Cc: 'Samba Mailing List'; 'Amanda Users Mailing List' Subject: Re: smbclient (1.9.18p3) dies or needs killing when used for backups (via Amanda) Rick Flower writes:> 1) Complete & udder death of the NT networking subsystem > (which requires a reboot to cure)> 2) smbclient appears to lose its connection with the > host being contacted and eventually needs to be > killed.I seem to remember that some service pack fixes these problems. -- Alexandre Oliva mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org http://www.dcc.unicamp.br/~oliva Universidade Estadual de Campinas, SP, Brasil
On Sat, 4 Apr 1998 samba@samba.anu.edu.au wrote:> the win 95 computer logons are not being authenticated. I was wondering, > is it possible to make Samba behave as a PDC, so that the win 95 machines > can log on? Would this would make the users' home directory shares > available without any more authentication? (Currently, all the users share > the same logon in the NT domain, and then access their home directory > shares on unix by running \\unixserver\share from the win 95 "run command" > menu, and then have to type their unix passwords again). If it can, it > will make things very easy for users on our LAN, because many of them are > not comfortable with FTP. Using the network neighbourhood from win 95 is > much easier for them. It would also save us the hassle of making sure that > a PDC is available, since the unix server is on all the time and is far > more stable. > > If there are any good web sites with documentation of this subject, I > would appreciate some pointers. >Yes samba can act as a PDC but not the version you have. See http://www.eng.auburn.edu/users/cartegw/samaba_ntdom_faq.html for a draft of a NTDOM FAQ. Only catch is that you have to set "encrypt passwords = yes" which will require you to keep a separate list of accounts on the UNIX box. Hope this helps, j- ________________________________________________________________________ Gerald ( Jerry ) Carter Engineering Network Services Auburn University jerry@eng.auburn.edu http://www.eng.auburn.edu/users/cartegw "...a hundred billion castaways looking for a home." - Sting "Message in a Bottle" ( 1979 )
On Sat, 4 Apr 1998 samba@samba.anu.edu.au wrote:> Hello Everyone, > We've run Samba for awhile now. Unfortunately we're redoing everything. > We're installing samba 1.9.18p3 on a Solaris 2.5.1 Dual PII/300Mhz machine. > We're wanting to do user authenication through 1 of several ways. > - Through the NT server. We currently have in the conf file: > security=server > password server = (The name of our PDC) > OR > - Through a UNIX /etc/passwd style file that is not in /etc/passwd and is > not a shadow passwd.Hey Pam :-) My understanding was that you had to choose one method of validation. It was sort of an all or none situation. Either all validation is done via an external PDC, or all via NIS, or all via smbpasswd, etc...> PLEASE Help us! :) People who have accounts on our PDC, but aren't in our > shadow password can't login right now.________________________________________________________________________ Gerald ( Jerry ) Carter Engineering Network Services Auburn University jerry@eng.auburn.edu http://www.eng.auburn.edu/users/cartegw "...a hundred billion castaways looking for a home." - Sting "Message in a Bottle" ( 1979 )