Login problems - COLLECTING INFO

JBCurry jbcurry at hline.localhealth.net
Wed Dec 13 20:26:27 GMT 2000


Jorge -

This is really deja vu - you're in exactly the same boat I was, with, it
appears, about as limited experience with linux.  I'll tell ya as much as I
know -- which ain't much.

Anybody responding to your e-mail is likely to want to know some or more of
the following, so it wouldn't hurt to have it handy:

First, what's your general network topology?  (Is this all one subnet, any
other servers, etc..)  Next, how are your client PCs set up?  For example,
what network client(s) are you using?  Is your client configured for an NT
domain logon for your workgroup?

As to the items that I had indicated that were requested of me when I had
posted a similar problem:
You can run the command "smbstatus -d", and it'll give verbose info about
who's logged in from where and what they're doing.  You can redirect this
output to a file, with a command such as:
    smbstatus -d > results.txt

Some system/error logs that I know of that are relevant to Samba include:
     log.smb
     log.nmb
     log.<username>  (there will be a unique log for each user)

On my system, these were found in the directory /var/log/samba.  I'm not
sure where you'll find these on your system.

As to the network trace, I'm not sure what info Richard & Gerald were
specifically looking for, so maybe don't bother with that until someone asks
you for it specifically, and they can tell you exactly what you need to do.

Sorry I can't help you more, other than to tell you what I went through and
what was asked of me when I posted this problem.

> -----Original Message-----
> From: samba-ntdom-admin at lists.samba.org
> [mailto:samba-ntdom-admin at lists.samba.org]On Behalf Of Ilender Linux
> Sent: Wednesday, December 13, 2000 12:34 PM
> To: JBCurry; samba-ntdom at lists.samba.org
> Subject: Login problems - COLLECTING INFO
>
>
> Hello again!
>
> Thanks everybody for your quick answers!!!
>
> I see there has been some people with the same problem, and noone has
> collected enough info that would permit analizing deeply the problem and
> finding its cause...
>
> well... i will be glad to collect this info, but there is a problem:
> I dont know how to do it...
>
> How do I obtain the "detailed debug/error logs", "network trace"
> and "output
> from "smbstatus"" ??? I am new in that kind of stuff but I will be really
> happy to help...
>
> can anyone send me instructions for collecting info that will help us find
> the cause (and the solution) of the problem??
>
> Thanks a lot in advance for your help!
>
> Greetings!
>
> Jorge Luis Sarmiento Marchese
> Network Administrator
> Ilender Peru S.A.
> www.ilender.com.pe
>
>
> ----- Original Message -----
> From: JBCurry <jbcurry at hline.localhealth.net>
> To: Ilender Linux <linux at ilender.com.pe>; <samba-ntdom at lists.samba.org>
> Sent: Wednesday, December 13, 2000 9:38 AM
> Subject: RE: Login problems - correct mail
>
>
> > Jorge -
> >
> > Just thought I'd let you know you're not alone with this type
> of problem.
> > I have experienced this once on my network, and I am aware of
> seven other
> > users that have experienced it, ranging from "occasionally" to "all the
> > time".  Follow the thread "Login Troubles" first posted by Greg Ryle on
> > 11/2/00.  Below is the original posting:
> >
> > Greg Ryle wrote:
> > > I am running RedHat 6.2 with Samba 2.0.6 setup as a PDC doing domain
> > > logins. Users are experiencing difficulties logging in first thing in
> > > the morning after their machine has been shut down for the night.  If
> > > I change the Win98 machines so that they don't log into a NT domain,
> > > then they go in normally and can access the samba shares.  After they
> > > start accessing the shares, I can change the properties back
> to logging
> > > into an NT domain and it will log in.
> > >
> > > When the machines can't log in, the error I receive is that
> the password
> > > is not correct or access has been denied to the server.
> > >
> > > I tried redoing the passwords but that didn't work.
> > >
> > > Any suggestions,
> > >
> > > Greg
> >
> > Global summary of the problem:
> >   Users report sporadic "Domain password not correct or access to domain
> >   server has been denied" messages at logon.  This problem may
> or may not
> >   go away after xx minutes.  This problem may go away after repeated
> >   attempts at logging on.  This problem happens for both Win9x
> and WinNTWS
> >   users.  For some sites, this problem always goes away
> immediately after
> >   changing any user password in smbpasswd.  Other services on the server
> >   (such as file access and printing for users already logged on) are
> >   functional during the time the problem is occurring.
> >
> > Both Richard Sharpe and Gerald Carter had graciously responded to my
> > postings regarding this problem.  They wanted a network trace, verbose
> debug
> > logs and the output of smbstatus while the problem was occurring, but we
> > could not get the problem to repeat.  I referred them back to the other
> > users that were experiencing it regularly, and suggested that they may
> wish
> > to solicit the users on this list server for info from anybody/everybody
> > experiencing this problem, but have not seen anything else
> posted on this
> > issue since.
> >
> > My current "guess" is that domain logons on Samba are exceptionally
> > sensitive to network communication problems, which can hang up
> the process
> > that authenticates users against smbpasswd.  I found that simply editing
> the
> > smbpasswd file made the problem go away immediately.  I had at least one
> > other user confirm that this also worked for him.  The users
> experiencing
> > this problem frequently admitted to having possible network
> communication
> > problems.
> >
> > Hope this history helps.  I would expect that those responding to your
> > posting will be looking for detailed debug/error logs, a
> network trace and
> > output from "smbstatus" from when the problem was occurring, so
> you might
> > want to get started collecting info.
> >
> > > -----Original Message-----
> > > From: samba-ntdom-admin at lists.samba.org
> > > [mailto:samba-ntdom-admin at lists.samba.org]On Behalf Of Ilender Linux
> > > Sent: Wednesday, December 13, 2000 8:45 AM
> > > To: samba-ntdom at lists.samba.org
> > > Subject: Login problems - correct mail
> > >
> > >
> > > Sorry people, I made a mistake copy - pasting my ifconfig last
> > > time... here is the correct IFCONFIG
> > > ______________
> > >
> > > Hello everybody.
> > >
> > > I use SAMBA 2.0.7 on Red Hat Linux 7.0 (with ALL the patches
> > > already installed) and clients in Windows 98 and Windows 98
> > > Second Edition.
> > >
> > > The problem I am having is that everyday, at the time the users
> > > come to work and turn on their machines, its almost impossible
> > > for them to login the domain. They receive "Bad Password" error
> > > about 14 to 20 times (I have counted them) until they can log in.
> > > After that, during the day, if someone restarts its computer, it
> > > logs at the first try. But if someone turns off his computer for
> > > a regular time or if the IP address is changed, the errors come back.
> > >
> > > I have read and tried different configuration and options, but
> > > none has worked.
> > >
> > > I will appreciate a lot if you help me, cause I don´t want
> > > Windows NT to work again as the PDC.
> > >
> > > Here I include my GLOBAL PARAMETERS and my IFCONFIG status.
> > >
> > > Thanks a lot for your help!
> > >
> > > Greetings
> > >
> > > Jorge Sarmiento
> > > Network Administrator
> > > Ilender Peru S.A.
> > > www.ilender.com.pe
> > >
> > >
> > > The [global] part of my smb.conf file I use is:
> > >
> > > [global]
> > >         workgroup = ILENDER_LINUX
> > >         netbios name = LINUX
> > >         server string = Samba Server
> > >         interfaces = eth2
> > >         encrypt passwords = Yes
> > >         log file = /var/log/samba/%m.log
> > >         max log size = 0
> > >         name resolve order = wins bcast lmhosts host
> > >         socket options = TCP_NODELAY SO_SNDBUF=16384 SO_RCVBUF=16384
> > >         logon script = login.bat
> > >         domain logons = Yes
> > >         os level = 65
> > >         preferred master = Yes
> > >         domain master = Yes
> > >         dns proxy = No
> > >         wins support = Yes
> > >         hosts allow = 172.16.4.
> > >
> > > my IFCONFIG status is:
> > >
> > > eth0      Link encap:Ethernet  HWaddr 00:10:5A:5D:63:C8
> > >           inet addr:216.244.146.194  Bcast:216.244.146.223
> > > Mask:255.255.255.224
> > >           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> > >           RX packets:419715 errors:0 dropped:0 overruns:0 frame:0
> > >           TX packets:258698 errors:0 dropped:0 overruns:0 carrier:5
> > >           collisions:174 txqueuelen:100
> > >           Interrupt:10 Base address:0xcc00
> > >
> > > eth1      Link encap:Ethernet  HWaddr 00:10:5A:A0:BA:19
> > >           inet addr:192.168.1.10  Bcast:192.168.1.255
> Mask:255.255.255.0
> > >           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> > >           RX packets:30909 errors:0 dropped:0 overruns:0 frame:0
> > >           TX packets:11248 errors:0 dropped:0 overruns:0 carrier:0
> > >           collisions:4 txqueuelen:100
> > >           Interrupt:11 Base address:0xc800
> > >
> > > eth2      Link encap:Ethernet  HWaddr 00:D0:09:41:15:9B
> > >           inet addr:172.16.4.90  Bcast:172.16.4.255
> Mask:255.255.255.0
> > >           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> > >           RX packets:810044 errors:0 dropped:0 overruns:0 frame:0
> > >           TX packets:881412 errors:0 dropped:0 overruns:0 carrier:0
> > >           collisions:0 txqueuelen:100
> > >           Interrupt:11 Base address:0xc400
> > >
> > > lo        Link encap:Local Loopback
> > >           inet addr:127.0.0.1  Mask:255.0.0.0
> > >           UP LOOPBACK RUNNING  MTU:3924  Metric:1
> > >           RX packets:57544 errors:0 dropped:0 overruns:0 frame:0
> > >           TX packets:57544 errors:0 dropped:0 overruns:0 carrier:0
> > >           collisions:0 txqueuelen:0
> > >
> > >
> > >
> > >
>
>
>





More information about the samba-ntdom mailing list