Sponsored Content
Homework and Emergencies Emergency UNIX and Linux Support Time delay problem in asking password Post 302690635 by bakunin on Thursday 23rd of August 2012 08:02:33 AM
Old 08-23-2012
hmm... I hope you aren't too disappointed when i tell you i can't see anything obvious. ;-))

IMHO the only way to find out is to systematically prove one after the other part to not be the culprit. Lets start: which parts are participating in the connection: the two hosts, the network, the DNS (and/or any other name-resolving system). My guess is the latter, because it seems to be some sort of time-out, which causes this.

"ping" should tell us if there are any network problems.

Name resolution could be temporarily switched off and replaced by "/etc/hosts" entries (analogous on Windoze systems). Switch off "WINS" name resolution (better yet switch off the whole "NetBIOS TCP-Helper", TCP works best unhelped by inferior protocol stacks - nobody uses this damn thing anyway) and also disable NetBIOS as far as possible (shut down Workstation and Server services, etc.). Then try again and see if the timeout persists.

It might be helpful to try "nslookup <remote-host>" on the command line first on both sides. Try not only the hosts name but also the hosts IP address, maybe the reverse lookup tables are broken/not well looked after in the DNS server (this happens quite often). You might see the same timeout in one of these tries. Remove the reason and try again, maybe the timeout is gone.

I hope this helps.

bakunin
 

10 More Discussions You Might Find Interesting

1. BSD

Reduce boot-time delay on FreeBSD?

Say for instance, I would like to reduce the delay/waiting time for the boot-time menu from 10 seconds to 5 seconds, how would I go about doing it? From what I've been able to find, entering "autoboot 5" into the right file would take care of that for me, but the man pages are unclear as to... (1 Reply)
Discussion started by: DownSouthMoe
1 Replies

2. Solaris

lock time delay

I have a Sol system. The lock timeout is default 15 minutes. I tried to make it longer but cannot by lock -t timeout Anyon can tell me the cmd in solai for this please. A thank in advance (2 Replies)
Discussion started by: part-time-user
2 Replies

3. Cybersecurity

One time password

Hi folks, Postfix 2.3.8 SquirrelMail 1.4.11 I'm prepared installing One-time-password on SquirrelMail as experiment and don't have a clue to start. On googling I found; SquirrelMail and OPTs WiKID Strong Authentication System SourceForge.net: WiKID Strong Authentication System... (7 Replies)
Discussion started by: satimis
7 Replies

4. Shell Programming and Scripting

Calculating delay time - bash

Hi, I am having the following problem. test > hourOfDay=06 ; delayTime=$(((9-$hourOfDay)*60)) ; echo $delayTime 180 test > hourOfDay=07 ; delayTime=$(((9-$hourOfDay)*60)) ; echo $delayTime 120 test > hourOfDay=08 ; delayTime=$(((9-$hourOfDay)*60)) ; echo $delayTime bash: (9-08: value... (5 Replies)
Discussion started by: jbsimon000
5 Replies

5. UNIX for Dummies Questions & Answers

Command to delay password entry - putty connection manager

Hi all, putty connection manager is great but when attempting to sudo or ssh to another box via the post login commands it is subject to issues due to network latency (what happens is that pcm enters the password before the unix box is ready to receive it). Is there any clever way I can make... (1 Reply)
Discussion started by: skinnygav
1 Replies

6. Shell Programming and Scripting

Time delay for awk

I have an awk script, and want to introduce a time delay. How can I do this? (3 Replies)
Discussion started by: kristinu
3 Replies

7. UNIX for Dummies Questions & Answers

machine hangs for some time after giving password.

Hi I m trying to take a console of linux machine using putty. Whenever i connect to the machine and give password details to log into the machine it hangs for some time and then it allow the login. I m totally clueless why it is happening suddenly . ---------- Post updated at 01:14 AM... (1 Reply)
Discussion started by: pinga123
1 Replies

8. UNIX for Advanced & Expert Users

Update users password change time

Hello - Is this possible on Unix machines? Can we update user password change time? (6 Replies)
Discussion started by: manju--
6 Replies

9. Shell Programming and Scripting

How to give password at run time in a shell script?

hi, how can i pass a password automatically when a shell script is running. i have shell script(runscript.sh) which call another shell script inside it as a different user. runscript.sh contains su - nemo -c "/bin/main_script.sh" but when i execute "runscript.sh" it try to run... (7 Replies)
Discussion started by: Little
7 Replies

10. UNIX and Linux Applications

Sendmail delay: 3 mins 11 secs... Every time.

Hi all, I would like some help with a sendmail problem: We have a new system comprising of 4 T7-1 servers, each hosting 5 LDOMs, all domains running Solaris 11.3 All emails sent from every one of these domains (including the control domains) sit in the queue for 3 mins 11 secs (sometime 3m 12s,... (11 Replies)
Discussion started by: Mysturji
11 Replies
NMBLOOKUP(1)															      NMBLOOKUP(1)

NAME
nmblookup - NetBIOS over TCP/IP client used to lookup NetBIOS names SYNOPSIS
nmblookup [ -f ] [ -M ] [ -R ] [ -S ] [ -r ] [ -A ] [ -h ] [ -B <broadcast address> ] [ -U <unicast address> ] [ -d <debug level> ] [ -s <smb config file> ] [ -i <NetBIOS scope> ] [ -T ] name DESCRIPTION
This tool is part of the Samba suite. nmblookup is used to query NetBIOS names and map them to IP addresses in a network using NetBIOS over TCP/IP queries. The options allow the name queries to be directed at a particular IP broadcast area or to a particular machine. All queries are done over UDP. OPTIONS
-f Causes nmblookup to print out the flags in the NMB packet headers. These flags will print out as strings like Authoritative, Recur- sion_Desired, Recursion_available, etc. -M Searches for a master browser by looking up the NetBIOS name name with a type of 0x1d. If name is "-" then it does a lookup on the special name __MSBROWSE__. -R Set the recursion desired bit in the packet to do a recursive lookup. This is used when sending a name query to a machine running a WINS server and the user wishes to query the names in the WINS server. If this bit is unset the normal (broadcast responding) Net- BIOS processing code on a machine is used instead. See rfc1001, rfc1002 for details. -S Once the name query has returned an IP address then do a node status query as well. A node status query returns the NetBIOS names registered by a host. -r Try and bind to UDP port 137 to send and receive UDP datagrams. The reason for this option is a bug in Windows 95 where it ignores the source port of the requesting packet and only replies to UDP port 137. Unfortunately, on most UNIX systems root privilege is needed to bind to this port, and in addition, if the nmbd(8) daemon is running on this machine it also binds to this port. -A Interpret name as an IP Address and do a node status query on this address. -h Print a help (usage) message. -B <broadcast address> Send the query to the given broadcast address. Without this option the default behavior of nmblookup is to send the query to the broadcast address of the network interfaces as either auto-detected or defined in the interfaces parameter of the smb.conf (5) file. -U <unicast address> Do a unicast query to the specified address or host unicast address. This option (along with the -R option) is needed to query a WINS server. -d <debuglevel> debuglevel is an integer from 0 to 10. The default value if this parameter is not specified is zero. The higher this value, the more detail will be logged about the activities of nmblookup. At level 0, only critical errors and seri- ous warnings will be logged. Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem. Levels above 3 are designed for use only by developers and generate HUGE amounts of data, most of which is extremely cryptic. Note that specifying this parameter here will override the log level parameter in the smb.conf(5) file. -s <smb.conf> This parameter specifies the pathname to the Samba configuration file, smb.conf(5) This file controls all aspects of the Samba set- up on the machine. -i <scope> This specifies a NetBIOS scope that nmblookup will use to communicate with when generating NetBIOS names. For details on the use of NetBIOS scopes, see rfc1001.txt and rfc1002.txt. NetBIOS scopes are very rarely used, only set this parameter if you are the system administrator in charge of all the NetBIOS systems you communicate with. -T This causes any IP addresses found in the lookup to be looked up via a reverse DNS lookup into a DNS name, and printed out before each IP address .... NetBIOS name pair that is the normal output. name This is the NetBIOS name being queried. Depending upon the previous options this may be a NetBIOS name or IP address. If a NetBIOS name then the different name types may be specified by appending '#<type>' to the name. This name may also be '*', which will return all registered names within a broadcast area. EXAMPLES
nmblookup can be used to query a WINS server (in the same way nslookup is used to query DNS servers). To query a WINS server, nmblookup must be called like this: nmblookup -U server -R 'name' For example, running : nmblookup -U samba.org -R 'IRIX#1B' would query the WINS server samba.org for the domain master browser (1B name type) for the IRIX workgroup. VERSION
This man page is correct for version 2.2 of the Samba suite. SEE ALSO
nmbd(8) samba(7) and smb.conf(5) AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed. The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at ftp://ftp.icce.rug.nl/pub/unix/ <URL:ftp://ftp.icce.rug.nl/pub/unix/>) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter 19 November 2002 NMBLOOKUP(1)
All times are GMT -4. The time now is 04:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy