[Samba] Vijay - Win2K Domain controller need to connect to Samba box !!!

Vijay Kumar vramnarayan at triniti.com
Tue Jul 22 11:08:51 GMT 2003


Hi,

Firstly I am exteremely thankfull to you for trying to help me out with the
samba  problems.
I really appreciate your email. Thank you once again !!
I had to leave this a bit in between as some things cropped up in between.

Below is what I have did to connect to the Samba server from the Windows
2000 Domain controller.

a) in /etc/resolv.onf - domain :  in.edapter.com
b) / in /etc/sysconfig/network, changed teh fwdn of the machine to
cvsbkup.in.edapter.com
c) disabled the interfaces and bind only form the smb.conf
d)     smbclient -L  localhost - no problem .
        smbclient -L  cvsbkup - no problem.
        smbclinet -L NTSERVER - no problem ( this is just another NT domain
controller on the network )
        smbclient -L  x.x.x.x           - no problem ( This is another win2K
Domain controller )
        smbclient -L  y.y.y.y          - yes problem - This is the actual
Win2K domain controller which needs to connect to the

Linux samba box )

    Note : I have not tried giving passwords anywhere above .

Now the file is as under.

Before doing these changes , I was able to access this from another windows
machine which was in "Workgroup".
Now I get a Access denied error.. Below is the error.log file which was
generated after the machine tried to connect to the linux box.

a) I am just going crazy - I am unable to connect to a linux samba box from
a Win2K Domain controller .
                                    This is all I need.
b) Also I have done smbpasswd <username> on the linuxbox.
    Now when I do smbcleint -L localhost 192.168.0.229 and I give the passwd
of this username , I still get
    NT_LOGON_FAILURE. message. Why is this happenning ? I have shared the
.smbshare directoru for the same user.


Please help,
regards,
Vijay.

/------------------------ Vijayk.log file
/-----------------------------------
[2003/07/22 03:43:15, 3] smbd/process.c:process_smb(878)
  Transaction 1 of length 137
[2003/07/22 03:43:15, 3] smbd/process.c:switch_message(685)
  switch message SMBnegprot (pid 915)
[2003/07/22 03:43:15, 3] smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/07/22 03:43:15, 3] smbd/negprot.c:reply_negprot(342)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[2003/07/22 03:43:15, 3] smbd/negprot.c:reply_negprot(342)
  Requested protocol [LANMAN1.0]
[2003/07/22 03:43:15, 3] smbd/negprot.c:reply_negprot(342)
  Requested protocol [Windows for Workgroups 3.1a]
[2003/07/22 03:43:15, 3] smbd/negprot.c:reply_negprot(342)
  Requested protocol [LM1.2X002]
[2003/07/22 03:43:15, 3] smbd/negprot.c:reply_negprot(342)
  Requested protocol [LANMAN2.1]
[2003/07/22 03:43:15, 3] smbd/negprot.c:reply_negprot(342)
  Requested protocol [NT LM 0.12]
[2003/07/22 03:43:15, 3] smbd/negprot.c:reply_negprot(426)
  Selected protocol NT LM 0.12
[2003/07/22 03:43:15, 3] smbd/process.c:process_smb(878)
  Transaction 2 of length 196
[2003/07/22 03:43:15, 3] smbd/process.c:switch_message(685)
  switch message SMBsesssetupX (pid 915)
[2003/07/22 03:43:15, 3] smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/07/22 03:43:15, 3] smbd/reply.c:reply_sesssetup_and_X(858)
  Domain=[VIJAYK]  NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000
5.0]
[2003/07/22 03:43:15, 3] smbd/reply.c:reply_sesssetup_and_X(868)
  sesssetupX:name=[rvijay]
[2003/07/22 03:43:15, 2] smbd/password.c:pass_check_smb(575)
  pass_check_smb failed - invalid password for user [rvijay]
[2003/07/22 03:43:15, 2] smbd/reply.c:reply_sesssetup_and_X(975)
  NT Password did not match for user 'rvijay'!
[2003/07/22 03:43:15, 2] smbd/reply.c:reply_sesssetup_and_X(985)
  Defaulting to Lanman password for rvijay
[2003/07/22 03:43:15, 2] smbd/password.c:pass_check_smb(575)
  pass_check_smb failed - invalid password for user [rvijay]
[2003/07/22 03:43:15, 1] smbd/reply.c:reply_sesssetup_and_X(1001)
  Rejecting user 'rvijay': authentication failed
[2003/07/22 03:43:15, 3] smbd/error.c:error_packet(94)
  error string = No such file or directory
[2003/07/22 03:43:15, 3] smbd/error.c:error_packet(113)
  error packet at smbd/reply.c(1003) cmd=115 (SMBsesssetupX)
NT_STATUS_LOGON_FAILURE
[2003/07/22 03:43:15, 3] smbd/process.c:process_smb(878)
  Transaction 3 of length 196
[2003/07/22 03:43:15, 3] smbd/process.c:switch_message(685)
  switch message SMBsesssetupX (pid 915)
[2003/07/22 03:43:15, 3] smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/07/22 03:43:15, 3] smbd/reply.c:reply_sesssetup_and_X(858)
  Domain=[VIJAYK]  NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000
5.0]
[2003/07/22 03:43:15, 3] smbd/reply.c:reply_sesssetup_and_X(868)
  sesssetupX:name=[rvijay]
[2003/07/22 03:43:15, 2] smbd/password.c:pass_check_smb(575)
  pass_check_smb failed - invalid password for user [rvijay]
[2003/07/22 03:43:15, 2] smbd/reply.c:reply_sesssetup_and_X(975)
  NT Password did not match for user 'rvijay'!
[2003/07/22 03:43:15, 2] smbd/reply.c:reply_sesssetup_and_X(985)
  Defaulting to Lanman password for rvijay
[2003/07/22 03:43:15, 2] smbd/password.c:pass_check_smb(575)
  pass_check_smb failed - invalid password for user [rvijay]
[2003/07/22 03:43:15, 1] smbd/reply.c:reply_sesssetup_and_X(1001)
  Rejecting user 'rvijay': authentication failed
[2003/07/22 03:43:15, 3] smbd/error.c:error_packet(94)
  error string = No such file or directory
[2003/07/22 03:43:15, 3] smbd/error.c:error_packet(113)
  error packet at smbd/reply.c(1003) cmd=115 (SMBsesssetupX)
NT_STATUS_LOGON_FAILURE
[2003/07/22 03:43:15, 3] smbd/process.c:process_smb(878)
  Transaction 4 of length 69
[2003/07/22 03:43:15, 3] smbd/process.c:switch_message(685)
  switch message SMBtconX (pid 915)
[2003/07/22 03:43:15, 3] smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/07/22 03:43:15, 1] smbd/password.c:authorise_login(728)
  authorise_login: refusing user  with no session setup
[2003/07/22 03:43:15, 2] smbd/service.c:make_connection(331)
  Invalid username/password for ipc$ []
[2003/07/22 03:43:15, 3] smbd/error.c:error_packet(113)
  error packet at smbd/reply.c(166) cmd=117 (SMBtconX)
NT_STATUS_WRONG_PASSWORD
[2003/07/22 03:43:15, 3] smbd/process.c:process_smb(878)
  Transaction 5 of length 69
[2003/07/22 03:43:15, 3] smbd/process.c:switch_message(685)
  switch message SMBtconX (pid 915)
[2003/07/22 03:43:15, 3] smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/07/22 03:43:15, 1] smbd/password.c:authorise_login(728)
  authorise_login: refusing user  with no session setup
[2003/07/22 03:43:15, 2] smbd/service.c:make_connection(331)
  Invalid username/password for ipc$ []
[2003/07/22 03:43:15, 3] smbd/error.c:error_packet(113)
  error packet at smbd/reply.c(166) cmd=117 (SMBtconX)
NT_STATUS_WRONG_PASSWORD
[2003/07/22 03:43:15, 3] smbd/process.c:process_smb(878)
  Transaction 6 of length 69
[2003/07/22 03:43:15, 3] smbd/process.c:switch_message(685)
  switch message SMBtconX (pid 915)
[2003/07/22 03:43:15, 3] smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/07/22 03:43:15, 1] smbd/password.c:authorise_login(728)
  authorise_login: refusing user  with no session setup
[2003/07/22 03:43:15, 2] smbd/service.c:make_connection(331)
  Invalid username/password for ipc$ []
[2003/07/22 03:43:15, 3] smbd/error.c:error_packet(113)
  error packet at smbd/reply.c(166) cmd=117 (SMBtconX)
NT_STATUS_WRONG_PASSWORD
[2003/07/22 03:43:15, 3] smbd/process.c:process_smb(878)
  Transaction 7 of length 69
[2003/07/22 03:43:15, 3] smbd/process.c:switch_message(685)
  switch message SMBtconX (pid 915)
[2003/07/22 03:43:15, 3] smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/07/22 03:43:15, 1] smbd/password.c:authorise_login(728)
  authorise_login: refusing user  with no session setup
[2003/07/22 03:43:15, 2] smbd/service.c:make_connection(331)
  Invalid username/password for ipc$ []
[2003/07/22 03:43:15, 3] smbd/error.c:error_packet(113)
  error packet at smbd/reply.c(166) cmd=117 (SMBtconX)
NT_STATUS_WRONG_PASSWORD
[2003/07/22 03:43:15, 3] smbd/process.c:process_smb(878)
  Transaction 8 of length 69
[2003/07/22 03:43:15, 3] smbd/process.c:switch_message(685)
  switch message SMBtconX (pid 915)
[2003/07/22 03:43:15, 3] smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/07/22 03:43:15, 1] smbd/password.c:authorise_login(728)
  authorise_login: refusing user  with no session setup
[2003/07/22 03:43:15, 2] smbd/service.c:make_connection(331)
  Invalid username/password for ipc$ []
[2003/07/22 03:43:15, 3] smbd/error.c:error_packet(113)
  error packet at smbd/reply.c(166) cmd=117 (SMBtconX)
NT_STATUS_WRONG_PASSWORD
[2003/07/22 03:43:15, 3] smbd/process.c:process_smb(878)
  Transaction 9 of length 69
[2003/07/22 03:43:15, 3] smbd/process.c:switch_message(685)
  switch message SMBtconX (pid 915)
[2003/07/22 03:43:15, 3] smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/07/22 03:43:15, 1] smbd/password.c:authorise_login(728)
  authorise_login: refusing user  with no session setup
[2003/07/22 03:43:15, 2] smbd/service.c:make_connection(331)
  Invalid username/password for ipc$ []
[2003/07/22 03:43:15, 3] smbd/error.c:error_packet(113)
  error packet at smbd/reply.c(166) cmd=117 (SMBtconX)
NT_STATUS_WRONG_PASSWORD
[2003/07/22 03:44:15, 3] smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/07/22 03:45:15, 3] smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/07/22 03:45:15, 2] smbd/process.c:timeout_processing(1126)
  Closing idle connection
[2003/07/22 03:45:15, 3] smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/07/22 03:45:15, 2] smbd/server.c:exit_server(461)
  Closing connections
[2003/07/22 03:45:15, 3] smbd/connection.c:yield_connection(48)
  Yielding connection to
[2003/07/22 03:45:15, 3] smbd/server.c:exit_server(495)
  Server exit (normal exit)

/------------------------------------
smb.conf
/------------------------
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors.
#
#======================= Global Settings
=====================================
[global]

# workgroup = NT-Domain-Name or Workgroup-Name
   workgroup = IN03
   netbios name = CVSBKUP

# server string is the equivalent of the NT Description field
   server string =  This is Linux Box

# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
;   hosts allow = 192.168.1. 192.168.2. 127.
; hosts allow = 192.168.0. 127. 202.144.37. 127.
# if you want to automatically load your printer list rather
# than setting them up individually then you'll need this
   printcap name = /etc/printcap
   load printers = yes

# It should not be necessary to spell out the print system type unless
# yours is non-standard. Currently supported print systems include:
# bsd, sysv, plp, lprng, aix, hpux, qnx, cups
   printing = cups

# Uncomment this if you want a guest account, you must add this to
/etc/passwd
# otherwise the user "nobody" is used
;  guest account = pcguest

# this tells Samba to use a separate log file for each machine
# that connects
   log file = /var/log/samba/%m.log
  log level = 3

# Put a capping on the size of the log files (in Kb).
   max log size = 0

# Security mode. Most people will want user level security. See
# security_level.txt for details.
   security = user

# Use password server option only with security = server
# The argument list may include:
#   password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
# or to auto-locate the domain controller/s
#   password server = *
;   password server = <NT-Server-Name>

# Password Level allows matching of _n_ characters of the password for
# all combinations of upper and lower case.
;  password level = 8
;  username level = 8

# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
   encrypt passwords = yes
   smb passwd file = /etc/samba/smbpasswd

# The following is needed to keep smbclient from spouting spurious errors
# when Samba is built with support for SSL.
;   ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt

# The following are needed to allow password changing from Windows to
# update the Linux system password also.
# NOTE: Use these with 'encrypt passwords' and 'smb passwd file' above.
# NOTE2: You do NOT need these to allow workstations to change only
#        the encrypted SMB passwords. They allow the Unix password
#        to be kept in sync with the SMB password.
   unix password sync = Yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*

# You can use PAM's password change control flag for Samba. If
# enabled, then PAM will be used for password changes when requested
# by an SMB client instead of the program listed in passwd program.
# It should be possible to enable this without changing your passwd
# chat parameter for most setups.

   pam password change = yes

# Unix users can map to different SMB User names
;  username map = /etc/samba/smbusers

# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
;   include = /etc/samba/smb.conf.%m

# This parameter will control whether or not Samba should obey PAM's
# account and session management directives. The default behavior is
# to use PAM for clear text authentication only and to ignore any
# account or session management. Note that Samba always ignores PAM
# for authentication in the case of encrypt passwords = yes

  obey pam restrictions = yes

# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

# Configure Samba to use multiple interfaces
# If you have multiple network interfaces then you must list them
# here. See the man page for details.
;   interfaces = 192.168.12.2/24 192.168.13.2/24
;    interfaces = eth*
;    bind interfaces only = yes

# Configure remote browse list synchronisation here
#  request announcement to, or browse list sync from:
# a specific host or from / to a whole subnet (see below)
;   remote browse sync = 192.168.3.25 192.168.5.255
# Cause this host to announce itself to local subnets here
;   remote announce = 192.168.1.255 192.168.2.44
;    remote announce = 192.168.0.255
# Browser Control Options:
# set local master to no if you don't want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
   local master =  no

# OS Level determines the precedence of this server in master browser
# elections. The default value should be reasonable
   os level = 0

# Domain Master specifies Samba to be the Domain Master Browser. This
# allows Samba to collate browse lists between subnets. Don't use this
# if you already have a Windows NT domain controller doing this job
   domain master = no

# Preferred Master causes Samba to force a local browser election on startup
# and gives it a slightly higher chance of winning the election
   preferred master = no

# Enable this if you want Samba to be a domain logon server for
# Windows95 workstations.
;   domain logons = yes

# if you enable domain logons then you may want a per-machine or
# per user logon script
# run a specific logon batch file per workstation (machine)
;   logon script = %m.bat
# run a specific logon batch file per username
;   logon script = %U.bat

# Where to store roving profiles (only for Win95 and WinNT)
#        %L substitutes for this servers netbios name, %U is username
#        You must uncomment the [Profiles] share below
;   logon path = \\%L\Profiles\%U

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable it's WINS
Server
;   wins support = yes

# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
;   wins server = w.x.y.z

# WINS Proxy - Tells Samba to answer name resolution queries on
# behalf of a non WINS capable client, for this to work there must be
# at least one WINS Server on the network. The default is NO.
;   wins proxy = yes

# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups. The built-in default for versions 1.9.17 is yes,
# this has been changed in version 1.9.18 to no.
   dns proxy = no

# Case Preservation can be handy - system default is _no_
# NOTE: These can be set on a per share basis
;  preserve case = no
;  short preserve case = no
# Default case is normally upper case for all DOS files
;  default case = lower
# Be very careful with case sensitivity - it can break things!
;  case sensitive = no

#============================ Share Definitions
==============================
[homes]
   comment = Home Directories
   browseable = no
   writable = yes
   valid users = %S
   create mode = 0664
   directory mode = 0775
# If you want users samba doesn't recognize to be mapped to a guest user
; map to guest = bad user


# Un-comment the following and create the netlogon directory for Domain
Logons
; [netlogon]
;   comment = Network Logon Service
;   path = /usr/local/samba/lib/netlogon
;   guest ok = yes
;   writable = no
;   share modes = no


# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
;[Profiles]
;    path = /usr/local/samba/profiles
;    browseable = no
;    guest ok = yes


# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
;[printers]
;   comment = All Printers
;   path = /var/spool/samba
;   browseable = no
# Set public = yes to allow user 'guest account' to print
;   guest ok = no
;   writable = no
;   printable = yes

# This one is useful for people to share files
;[tmp]
;   comment = Temporary file space
;   path = /tmp
;   read only = no
;   public = yes

# A publicly accessible directory, but read only, except for people in
# the "staff" group
;[public]
;   comment = Public Stuff
;   path = /home/samba
;   public = yes
;   writable = yes
;   printable = no
;   write list = @staff

[smbshare]
 path = /smbshare
 valid users = rvijay, administrator
 public =  no
 writable = yes
 printable = no

# Other examples.
#
# A private printer, usable only by fred. Spool data will be placed in
fred's
# home directory. Note that fred must have write access to the spool
directory,
# wherever it is.
;[fredsprn]
;   comment = Fred's Printer
;   valid users = fred
;   path = /home/fred
;   printer = freds_printer
;   public = no
;   writable = no
;   printable = yes

# A private directory, usable only by fred. Note that fred requires write
# access to the directory.
;[fredsdir]
;   comment = Fred's Service
;   path = /usr/somewhere/private
;   valid users = fred
;   public = no
;   writable = yes
;   printable = no

# a service which has a different directory for each machine that connects
# this allows you to tailor configurations to incoming machines. You could
# also use the %U option to tailor it by user name.
# The %m gets replaced with the machine name that is connecting.
;[pchome]
;  comment = PC Directories
;  path = /usr/local/pc/%m
;  public = no
;  writable = yes

# A publicly accessible directory, read/write to all users. Note that all
files
# created in the directory by users will be owned by the default user, so
# any user with access can delete any other user's files. Obviously this
# directory must be writable by the default user. Another user could of
course
# be specified, in which case all files would be owned by that user instead.
;[public]
;   path = /usr/somewhere/else/public
;   public = yes
;   only guest = yes
;   writable = yes
;   printable = no

# The following two entries demonstrate how to share a directory so that two
# users can place files there that will be owned by the specific users. In
this
# setup, the directory should be writable by both users and should have the
# sticky bit set on it to prevent abuse. Obviously this could be extended to
# as many users as required.
;[myshare]
;   comment = Mary's and Fred's stuff
;   path = /usr/somewhere/shared
;   valid users = mary fred
;   public = no
;   writable = yes
;   printable = no
;   create mask = 0765





Regards,
Vijay

----- Original Message -----
From: "Marian Mlcoch, Ing" <mm at tsmp.sk>
To: "Vijay Kumar" <vramnarayan at triniti.com>; <samba at lists.samba.org>
Sent: Monday, July 21, 2003 11:14 AM
Subject: Re: [Samba] Vijay - samba box not seen in browse list.


> Hi
> you not contact me on icq then i write next help.
> First remove from your smb.conf lines
> interfaces = 192.168.0.229
> bind interfaces only = yes
>
> next you check if not firewall is used on linux or w2k for any netwrok
> simply ping all necessary machine (w2k linux...) be it IP address not
> netbios or dns name! If ping work try telnet to all necesary IP on port
139.
> Example  telnet 192.168.0.229 139
> If reply connection refused or no route to host then problem is on network
> config!
>
> Next try netbios name resolving problems by commands smbclient with IP and
> second be netbios name.
> smbclient -L \\192.168.0.xx for all necessary machine.
> and smbclient -L \\cvsbkup and all necesary netbios names of machine.
>
> Reply with result to me.
>
> Your command is bad!
> mount -t smbfs -o username= administrator,password=password
> file://cvsbkup/smbshare   /mnt/floppy  gives the error :
>
> Ok is!
> mount -t smbfs -o username=administrator,password=password
> file://cvsbkup/smbshare /mnt/floppy
>
> Marian.
>
>
>
> ----- Original Message -----
> From: "Vijay Kumar" <vramnarayan at triniti.com>
> To: <samba at lists.samba.org>
> Sent: Thursday, July 17, 2003 4:25 PM
> Subject: Re: [Samba] Vijay - samba box not seen in browse list.
>
>
> > Hi All,
> >
> > I have tried various things  and have been browsing and studying a lot
> about
> > the configurations.
> > I am totally confused now. Pity.. I couldt do one simple configuration.
> >
> > Please can anyone tell me how do I access a Samba Server from a Windows
> 2000
> > Domain Controller ? I want the Linux Samba Server to authenticate the
> users
> > .i.e in future if I need mor eusers to access  the Linux share then I
will
> > be adding/deleing user accounts from the linux box.
> >
> > If possible, please help.
> >
> > Regards,
> > Vijay.
> >
> > ----- Original Message -----
> > From: "Vijay Kumar" <vramnarayan at triniti.com>
> > To: "Vizitiu, Ciprian" <CVizitiu at gbif.org>
> > Cc: <samba at lists.samba.org>
> > Sent: Wednesday, July 16, 2003 7:36 PM
> > Subject: Re: [Samba] Vijay - samba box not seen in browse list.
> >
> >
> > > Hi,
> > >
> > >  smbclient -L localhost   still gives the error :
> > >
> > >  added interface ip=192.168.0.229 bcast=192.168.0.255
> nmask=255.255.255.0
> > > error connecting to 127.0.0.1:139 (Connection refused)
> > > error connecting to 127.0.0.1 (Connection refused)
> > > Connection to localhost failed.
> > >
> > >
> > > netstat -nap | grep 139 - gives :
> > >
> > > tcp        0      0    192.168.0.229:139             0.0.0.0:*
> > > LISTEN      11132/smbd
> > >
> > >
> > >  Domain B is Win2K Server, DomainA is also a Win2K Server.
> > >
> > >  The same command  for Domain A : smbclient -L
> > > -address-of-Win2K-Server   - asks  for password
> > >                                  for Domain B :  smbclient -L
> > > ip-address-of-Win2K-Server  - does not ask for password.
> > >                                 Error given is same as smbclient -l
> > lcalhost
> > > ( only ip changes )
> > >
> > > and
> > > Error connecting to 127.0.0.1 (Connection refused)
> > > 10934: Connection to cvsbkup failed
> > > SMB connection failed.
> > >
> > > > Heck! Is there ANY smbd running on your machine? :-o
> > >
> > > Since netstat  shows the LISTEN state, smbd is running.
> > >
> > > Point is I should be able to acces this Linux box from the domain
> > controller
> > > which is not happenning.
> > > What if I have an option of rebooting the Win2K Server? Will this
help.
> > > Can't do that right away.
> > > Assuming I log into the domain controller uing administrator account -
> > > always.
> > >
> > >
> > > Thank you for all you help, time and patience.
> > >
> > > If possible,  help.
> > > Regards,
> > > Vijay.
> > >
> > > --
> > > To unsubscribe from this list go to the following URL and read the
> > > instructions:  http://lists.samba.org/mailman/listinfo/samba
> > >
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
>
>




More information about the samba mailing list