[Samba] Connection refused, access denied (Windows XP trying to connect on samba's shared printer)

2004-08-06 Thread Kartik Chandra
Hi, 
I am trying to connect to a linux printer from a windows XP machine. I
am getting the  following error message

Connection refused, access denied (Windows XP trying to connect on
samba's shared printer)

I am unable to print anything and I also tried changing the samba
server config file

by adding 
use client driver

as suggested in the mailing list. But the printer application freezes
on doing this.
Can anyone please suggest something? I am logging in as one of the samba users 
and I am also able to access shared folders.

I am including parts of  smb.conf below.

  printcap name = /etc/printcap
  load printers = yes

  printing = cups

[printers]
  comment = All Printers
  path = /var/spool/samba
  browseable = yes
#   use client driver = yes
# Set public = yes to allow user 'guest account' to print
  guest ok = yes
  writable = no
  printable = yes
  public=yes
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Connection refused, access denied (Windows XP trying to connect on samba's shared printer)

2004-01-25 Thread Craig White
On Sat, 2004-01-24 at 23:41, Andrew Bartlett wrote:
 On Sun, 2004-01-25 at 13:17, Craig White wrote:
  On Sat, 2004-01-24 at 17:30, Mark Hougaard wrote:
   Jonny,
   
   Did you ever get your shared printer issue resolved? If so, how? I'm 
   having exactly the
   same problem and I didn't see that anyone responded to your request for 
   help on the
   lists.samba.org group.
   
   My setup and problem is pretty much the same as yours was Win XP pro can 
   see printer
   share on Linux  RH9.0 (kernel 2.4.20), but cannot get access once the 
   drivers are configured.
   
   Any help would be greatly appreciated.
   
  ---
  I had a bunch of grief setting up HP Laser printers on AS 3 which is
  virtually identical to RH 9. The first one worked, the second one didn't
  and then the first one didn't work anymore. Spent a lot of hours on this
  and finally got it working - here's how I did it, this might not be the
  'recommended' way but it worked for me.
 
 I can say that this is the pretty standard way of configuring these
 printers, and that the CUPS web tool is very, very good.  (This is the
 way I manage all my printers).
 
---
well my eyes were rolling around in my head reading and trying to
process all of the info on cups in JHT's How-To   I'm not smart enough
to understand that I guess.

Not entirely sure if Red Hat's tool works well enough and the manually
copying the PPD's to the /usr/share/cups/model/ppd seemed to be critical
element. Red Hat's tool has you picking the printer and the printing
type so it should have worked but it didn't. The cups web configuration
was easy enough.

The 'Add Printer Wizard' implementation to post the drivers on the
server is kick butt stuff. Easy, quick, painless and a lot of bang for
the amount of time necessary to make it work.

Craig

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Connection refused, access denied (Windows XP trying to connect on samba's shared printer)

2004-01-24 Thread Mark Hougaard
Jonny,

Did you ever get your shared printer issue resolved? If so, how? I'm 
having exactly the
same problem and I didn't see that anyone responded to your request for 
help on the
lists.samba.org group.

My setup and problem is pretty much the same as yours was Win XP pro can 
see printer
share on Linux  RH9.0 (kernel 2.4.20), but cannot get access once the 
drivers are configured.

Any help would be greatly appreciated.

Thanks in advance,
Mark Hougaard
  [Samba] Connection refused, access denied (Windows XP trying to
  connect on samba's shared printer)
*Jonny Berthiaume* jberthiaume at gniinc.net 
mailto:samba%40lists.samba.org?Subject=%5BSamba%5D%20Connection%20refused%2C%20access%20denied%20%28Windows%20XP%20trying%20to%0A%09connect%20on%20samba%27s%20shared%20printer%29In-Reply-To=
/Wed Mar 5 15:30:19 GMT 2003/

* Previous message: [Samba] Problems switching from a samba 2.2.2
  pdc to 2.2.7 pdc
  http://lists.samba.org/archive/samba/2003-March/062983.html
* Next message: [Samba] Samba-3.0alpha22 available on samba.org
  mirrors
  http://lists.samba.org/archive/samba/2003-March/062986.html
* *Messages sorted by:* [ date ]
  http://lists.samba.org/archive/samba/2003-March/date.html#62987
  [ thread ]
  http://lists.samba.org/archive/samba/2003-March/thread.html#62987
  [ subject ]
  http://lists.samba.org/archive/samba/2003-March/subject.html#62987
  [ author ]
  http://lists.samba.org/archive/samba/2003-March/author.html#62987


Hi,

my problem is to access a shared printer with samba on my WindowsXP
workstation
When I browse thru my network with Explorer, I can see the shared printer.
When I double-clic on the printer, Windows XP ask me if I want to install
it.
I choose the right driver and click OK.
The installation begin and there is no error in the installation.
After the installation Windows XP open the printer's printing queue to show
the printer's status, but in the window's title there is this notice:
Access denied, Cannot connect to printer

I would like to know how I can get rid of this problem please.
This work really well in Windows 98 but not on XP.
Here is my smb.conf , let me know if you find something to find this
problem
Note: 2.2.4 is the version of samba I use

Jonny
JBerthiaume at gniinc.net http://lists.samba.org/mailman/listinfo/samba
# 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 many any basic syntactic errors.
#
#=== Global Settings
=
[global]
# protocol
   protocol = NT1
# workgroup = NT-Domain-Name or Workgroup-Name, eg: LINUX2
   workgroup = FAXNET
# server string is the equivalent of the NT Description field
   server string = Serveur FaxNet
# If you want to automatically load your printer list rather
# than setting them up individually then you'll need this
   load printers = yes
# Uncomment this if you want a guest account, you must add this to
/etc/passwd
# otherwise the user nobody is used
   guest account = anonyme
# this tells Samba to use a separate log file for each machine
# that connects
   log file = /var/log/samba.%m
# Put a capping on the size of the log files (in Kb).
   max log size = 50
# Security mode. Most people will want user level security. See
# security_level.txt for details.  NOTE:  To get the behaviour of
# Samba-1.9.18, you'll need to use security = share.
   security = share
# 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
# Where to find the SSL certificates:
   ssl CA certDir = /etc/ssl/certs
# Unix users can map to different SMB User names
   username map = /etc/samba/smbusers
# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
# You may want to add the following on a Linux system:
# SO_RCVBUF=8192 SO_SNDBUF=8192
   socket options = TCP_NODELAY
# 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 =
# Share Definitions

Re: [Samba] Connection refused, access denied (Windows XP trying to connect on samba's shared printer)

2004-01-24 Thread Craig White
On Sat, 2004-01-24 at 17:30, Mark Hougaard wrote:
 Jonny,
 
 Did you ever get your shared printer issue resolved? If so, how? I'm 
 having exactly the
 same problem and I didn't see that anyone responded to your request for 
 help on the
 lists.samba.org group.
 
 My setup and problem is pretty much the same as yours was Win XP pro can 
 see printer
 share on Linux  RH9.0 (kernel 2.4.20), but cannot get access once the 
 drivers are configured.
 
 Any help would be greatly appreciated.
 
---
I had a bunch of grief setting up HP Laser printers on AS 3 which is
virtually identical to RH 9. The first one worked, the second one didn't
and then the first one didn't work anymore. Spent a lot of hours on this
and finally got it working - here's how I did it, this might not be the
'recommended' way but it worked for me.

The redhat-config-printer tool just didn't seem to cut it. I deleted all
the printers created by that tool. I did have the postscript.ppd file
for each printer which copied up via the APW as described in the how-to.
I put a copy of the ppds in /usr/share/cups/model/ppd subdirectory.

I then used the cups web tool... http://localhost:631  (if you are
accessing from a different computer, watch the firewall settings).

From this tool, I created the printers and then when I was all done, I
restarted smbd/nmbd (service smb restart)

Bang - they worked. 

Note - if that was your smb.conf that was originally attached, when
using cups, I don't think that you want any 'print commands' and you
will probably want a PRINT$ share - see the how-to. I would also
recommend using encrypt passwords = yes and wins support = yes

YMMV

Craig

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Connection refused, access denied (Windows XP trying to connect on samba's shared printer)

2004-01-24 Thread Andrew Bartlett
On Sun, 2004-01-25 at 13:17, Craig White wrote:
 On Sat, 2004-01-24 at 17:30, Mark Hougaard wrote:
  Jonny,
  
  Did you ever get your shared printer issue resolved? If so, how? I'm 
  having exactly the
  same problem and I didn't see that anyone responded to your request for 
  help on the
  lists.samba.org group.
  
  My setup and problem is pretty much the same as yours was Win XP pro can 
  see printer
  share on Linux  RH9.0 (kernel 2.4.20), but cannot get access once the 
  drivers are configured.
  
  Any help would be greatly appreciated.
  
 ---
 I had a bunch of grief setting up HP Laser printers on AS 3 which is
 virtually identical to RH 9. The first one worked, the second one didn't
 and then the first one didn't work anymore. Spent a lot of hours on this
 and finally got it working - here's how I did it, this might not be the
 'recommended' way but it worked for me.

I can say that this is the pretty standard way of configuring these
printers, and that the CUPS web tool is very, very good.  (This is the
way I manage all my printers).

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Connection refused

2003-08-04 Thread Galiba Péter
Samba is running form inetd. I don't think there's a firewall on that
machine, but i look around it.
I tried many thing with the config... but still can only log inform
localhost.

Poetro
- Original Message - 
From: Joel Hammer [EMAIL PROTECTED]
To: Galiba Piter [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Sat, 02 Aug 2003 00:06
Subject: Re: [Samba] Connection refused


 Is samba running?
 Is samba being controlled by (x)inetd?
 Joel
 On Fri, Aug 01, 2003 at 02:19:56PM +0200, Galiba Piter wrote:
  I have newly configured our new HP Netserver LC 2000r with Samba 2.0.7.
  The Samba was compiled with SSL.
  I can connect to it from localhost, but from any other ip i got the
error:
  connectionrefused
 
  c2-server:~# smbclient -L 192.168.0.100
  added interface ip=192.168.0.3 bcast=192.168.0.255 nmask=255.255.255.0
  error connecting to 192.168.0.100:139 (Connection refused)
  Connection to 192.168.0.100 failed
 
  c2-server:~# smbclient -L c2-server3
  added interface ip=192.168.0.3 bcast=192.168.0.255 nmask=255.255.255.0
  Connection to c2-server3 failed
 
 
  The name of the Server is C2-Server3, and it is on 192.168.0.100.
  The smb.conf file looks like this:
 
  [global]
 printing = bsd
 printcap name = /etc/printcap
 load printers = yes
 guest account = nobody
 security = user
 workgroup = C2
 server string = %h server (Samba %v)
 syslog only = no
 syslog = 0;
 socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096
SO_RCVBUF=4096
 encrypt passwords = yes
 wins support = no
 name resolve order = lmhosts host wins bcast
 dns proxy = no
 preserve case = yes
 short preserve case = yes
 unix password sync = false
 max log size = 1000
 ssl CA certFile = /etc/share/certs/ca-certs.crt
 
  [homes]
 comment = Home Directories
 browseable = no
 read only = no
 create mask = 0700
 directory mask = 0700
 
  [printers]
 comment = All Printers
 browseable = no
 path = /tmp
 printable = yes
 public = no
 writable = no
 
  [munka-9]
path = /mnt/data/munka-9
public = yes
writable = yes
comment =
force group = c2-users
force create mode = 777
force directory mode = 777
printable = no
 
 
 
  Can anybody tell me what went wrong?
  There is no error in the log files. They don't even tell that I wanted
to
  connect, only if I connect from localhost.
 
  Thanks..
  Poetro
 
 
  -- 
  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


Re: [Samba] Connection refused

2003-08-04 Thread Marian Mlcoch, Ing
This samba is old but i try help you. As you write you compile samba with
SSL and i mean that problem is on this.
Second way to problem is firewall settings on client or server (c2-server or
c2-server3)
Try first add to yuor smb.conf global section netbios name.
Second is local interfaces test on c2-server3 console try commands:
netstat -na
smbclient -L localhost
smbclient -L 192.168.0.100
smbclient -L c2-server3

test on c2-server console try commands:
ping 192.168.0.100
telnet 192.168.0.100 139


Reply to mail this command status.

Bye.



- Original Message - 
From: Galiba Péter [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 04, 2003 10:28 AM
Subject: Re: [Samba] Connection refused


 Samba is running form inetd. I don't think there's a firewall on that
 machine, but i look around it.
 I tried many thing with the config... but still can only log inform
 localhost.

 Poetro
 - Original Message - 
 From: Joel Hammer [EMAIL PROTECTED]
 To: Galiba Piter [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Sat, 02 Aug 2003 00:06
 Subject: Re: [Samba] Connection refused


  Is samba running?
  Is samba being controlled by (x)inetd?
  Joel
  On Fri, Aug 01, 2003 at 02:19:56PM +0200, Galiba Piter wrote:
   I have newly configured our new HP Netserver LC 2000r with Samba
2.0.7.
   The Samba was compiled with SSL.
   I can connect to it from localhost, but from any other ip i got the
 error:
   connectionrefused
  
   c2-server:~# smbclient -L 192.168.0.100
   added interface ip=192.168.0.3 bcast=192.168.0.255 nmask=255.255.255.0
   error connecting to 192.168.0.100:139 (Connection refused)
   Connection to 192.168.0.100 failed
  
   c2-server:~# smbclient -L c2-server3
   added interface ip=192.168.0.3 bcast=192.168.0.255 nmask=255.255.255.0
   Connection to c2-server3 failed
  
  
   The name of the Server is C2-Server3, and it is on 192.168.0.100.
   The smb.conf file looks like this:
  
   [global]
  printing = bsd
  printcap name = /etc/printcap
  load printers = yes
  guest account = nobody
  security = user
  workgroup = C2
  server string = %h server (Samba %v)
  syslog only = no
  syslog = 0;
  socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096
 SO_RCVBUF=4096
  encrypt passwords = yes
  wins support = no
  name resolve order = lmhosts host wins bcast
  dns proxy = no
  preserve case = yes
  short preserve case = yes
  unix password sync = false
  max log size = 1000
  ssl CA certFile = /etc/share/certs/ca-certs.crt
  
   [homes]
  comment = Home Directories
  browseable = no
  read only = no
  create mask = 0700
  directory mask = 0700
  
   [printers]
  comment = All Printers
  browseable = no
  path = /tmp
  printable = yes
  public = no
  writable = no
  
   [munka-9]
 path = /mnt/data/munka-9
 public = yes
 writable = yes
 comment =
 force group = c2-users
 force create mode = 777
 force directory mode = 777
 printable = no
  
  
  
   Can anybody tell me what went wrong?
   There is no error in the log files. They don't even tell that I wanted
 to
   connect, only if I connect from localhost.
  
   Thanks..
   Poetro
  
  
   -- 
   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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Connection refused

2003-08-04 Thread Galiba Péter
As you've wrote the porblem should be around the firewall...
ipchains and i think iptables is up (not sure about iptables - it replys
with an error).
A tried to connect to 192.168.0.100 through http and it shows an error for
that too...
I have Webmin on that server... this is the only thing I can connect to from
an other computer with
http://192.168.0.100:1 so this should be becouse of the firewall(s).

Thanks for your help, I'll inform you about my success in this question.

Poetro

- Original Message - 
From: Marian Mlcoch, Ing [EMAIL PROTECTED]
To: Galiba Péter [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Mon, 04 Aug 2003 10:54
Subject: Re: [Samba] Connection refused


 This samba is old but i try help you. As you write you compile samba with
 SSL and i mean that problem is on this.
 Second way to problem is firewall settings on client or server (c2-server
or
 c2-server3)
 Try first add to yuor smb.conf global section netbios name.
 Second is local interfaces test on c2-server3 console try commands:
 netstat -na
 smbclient -L localhost
 smbclient -L 192.168.0.100
 smbclient -L c2-server3

 test on c2-server console try commands:
 ping 192.168.0.100
 telnet 192.168.0.100 139


 Reply to mail this command status.

 Bye.



 - Original Message - 
 From: Galiba Péter [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, August 04, 2003 10:28 AM
 Subject: Re: [Samba] Connection refused


  Samba is running form inetd. I don't think there's a firewall on that
  machine, but i look around it.
  I tried many thing with the config... but still can only log inform
  localhost.
 
  Poetro
  - Original Message - 
  From: Joel Hammer [EMAIL PROTECTED]
  To: Galiba Piter [EMAIL PROTECTED]; [EMAIL PROTECTED]
  Sent: Sat, 02 Aug 2003 00:06
  Subject: Re: [Samba] Connection refused
 
 
   Is samba running?
   Is samba being controlled by (x)inetd?
   Joel
   On Fri, Aug 01, 2003 at 02:19:56PM +0200, Galiba Piter wrote:
I have newly configured our new HP Netserver LC 2000r with Samba
 2.0.7.
The Samba was compiled with SSL.
I can connect to it from localhost, but from any other ip i got the
  error:
connectionrefused
   
c2-server:~# smbclient -L 192.168.0.100
added interface ip=192.168.0.3 bcast=192.168.0.255
nmask=255.255.255.0
error connecting to 192.168.0.100:139 (Connection refused)
Connection to 192.168.0.100 failed
   
c2-server:~# smbclient -L c2-server3
added interface ip=192.168.0.3 bcast=192.168.0.255
nmask=255.255.255.0
Connection to c2-server3 failed
   
   
The name of the Server is C2-Server3, and it is on 192.168.0.100.
The smb.conf file looks like this:
   
[global]
   printing = bsd
   printcap name = /etc/printcap
   load printers = yes
   guest account = nobody
   security = user
   workgroup = C2
   server string = %h server (Samba %v)
   syslog only = no
   syslog = 0;
   socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096
  SO_RCVBUF=4096
   encrypt passwords = yes
   wins support = no
   name resolve order = lmhosts host wins bcast
   dns proxy = no
   preserve case = yes
   short preserve case = yes
   unix password sync = false
   max log size = 1000
   ssl CA certFile = /etc/share/certs/ca-certs.crt
   
[homes]
   comment = Home Directories
   browseable = no
   read only = no
   create mask = 0700
   directory mask = 0700
   
[printers]
   comment = All Printers
   browseable = no
   path = /tmp
   printable = yes
   public = no
   writable = no
   
[munka-9]
  path = /mnt/data/munka-9
  public = yes
  writable = yes
  comment =
  force group = c2-users
  force create mode = 777
  force directory mode = 777
  printable = no
   
   
   
Can anybody tell me what went wrong?
There is no error in the log files. They don't even tell that I
wanted
  to
connect, only if I connect from localhost.
   
Thanks..
Poetro
   
   
-- 
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




--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Connection refused

2003-08-04 Thread Galiba Péter
I reconfigured ipchains ... and voila... Samba works for all of the users...
thx

Poetro
- Original Message - 
From: Galiba Péter [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Mon, 04 Aug 2003 11:09
Subject: Re: [Samba] Connection refused


As you've wrote the porblem should be around the firewall...
ipchains and i think iptables is up (not sure about iptables - it replys
with an error).
A tried to connect to 192.168.0.100 through http and it shows an error for
that too...
I have Webmin on that server... this is the only thing I can connect to from
an other computer with
http://192.168.0.100:1 so this should be becouse of the firewall(s).

Thanks for your help, I'll inform you about my success in this question.

Poetro

- Original Message - 
From: Marian Mlcoch, Ing [EMAIL PROTECTED]
To: Galiba Péter [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Mon, 04 Aug 2003 10:54
Subject: Re: [Samba] Connection refused


 This samba is old but i try help you. As you write you compile samba with
 SSL and i mean that problem is on this.
 Second way to problem is firewall settings on client or server (c2-server
or
 c2-server3)
 Try first add to yuor smb.conf global section netbios name.
 Second is local interfaces test on c2-server3 console try commands:
 netstat -na
 smbclient -L localhost
 smbclient -L 192.168.0.100
 smbclient -L c2-server3

 test on c2-server console try commands:
 ping 192.168.0.100
 telnet 192.168.0.100 139


 Reply to mail this command status.

 Bye.



 - Original Message - 
 From: Galiba Péter [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, August 04, 2003 10:28 AM
 Subject: Re: [Samba] Connection refused


  Samba is running form inetd. I don't think there's a firewall on that
  machine, but i look around it.
  I tried many thing with the config... but still can only log inform
  localhost.
 
  Poetro
  - Original Message - 
  From: Joel Hammer [EMAIL PROTECTED]
  To: Galiba Piter [EMAIL PROTECTED]; [EMAIL PROTECTED]
  Sent: Sat, 02 Aug 2003 00:06
  Subject: Re: [Samba] Connection refused
 
 
   Is samba running?
   Is samba being controlled by (x)inetd?
   Joel
   On Fri, Aug 01, 2003 at 02:19:56PM +0200, Galiba Piter wrote:
I have newly configured our new HP Netserver LC 2000r with Samba
 2.0.7.
The Samba was compiled with SSL.
I can connect to it from localhost, but from any other ip i got the
  error:
connectionrefused
   
c2-server:~# smbclient -L 192.168.0.100
added interface ip=192.168.0.3 bcast=192.168.0.255
nmask=255.255.255.0
error connecting to 192.168.0.100:139 (Connection refused)
Connection to 192.168.0.100 failed
   
c2-server:~# smbclient -L c2-server3
added interface ip=192.168.0.3 bcast=192.168.0.255
nmask=255.255.255.0
Connection to c2-server3 failed
   
   
The name of the Server is C2-Server3, and it is on 192.168.0.100.
The smb.conf file looks like this:
   
[global]
   printing = bsd
   printcap name = /etc/printcap
   load printers = yes
   guest account = nobody
   security = user
   workgroup = C2
   server string = %h server (Samba %v)
   syslog only = no
   syslog = 0;
   socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096
  SO_RCVBUF=4096
   encrypt passwords = yes
   wins support = no
   name resolve order = lmhosts host wins bcast
   dns proxy = no
   preserve case = yes
   short preserve case = yes
   unix password sync = false
   max log size = 1000
   ssl CA certFile = /etc/share/certs/ca-certs.crt
   
[homes]
   comment = Home Directories
   browseable = no
   read only = no
   create mask = 0700
   directory mask = 0700
   
[printers]
   comment = All Printers
   browseable = no
   path = /tmp
   printable = yes
   public = no
   writable = no
   
[munka-9]
  path = /mnt/data/munka-9
  public = yes
  writable = yes
  comment =
  force group = c2-users
  force create mode = 777
  force directory mode = 777
  printable = no
   
   
   
Can anybody tell me what went wrong?
There is no error in the log files. They don't even tell that I
wanted
  to
connect, only if I connect from localhost.
   
Thanks..
Poetro
   
   
-- 
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




-- 
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


[Samba] Connection refused

2003-08-01 Thread Galiba Péter
I have newly configured our new HP Netserver LC 2000r with Samba 2.0.7.
The Samba was compiled with SSL.
I can connect to it from localhost, but from any other ip i got the error:
connectionrefused

c2-server:~# smbclient -L 192.168.0.100
added interface ip=192.168.0.3 bcast=192.168.0.255 nmask=255.255.255.0
error connecting to 192.168.0.100:139 (Connection refused)
Connection to 192.168.0.100 failed

c2-server:~# smbclient -L c2-server3
added interface ip=192.168.0.3 bcast=192.168.0.255 nmask=255.255.255.0
Connection to c2-server3 failed


The name of the Server is C2-Server3, and it is on 192.168.0.100.
The smb.conf file looks like this:

[global]
   printing = bsd
   printcap name = /etc/printcap
   load printers = yes
   guest account = nobody
   security = user
   workgroup = C2
   server string = %h server (Samba %v)
   syslog only = no
   syslog = 0;
   socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096
   encrypt passwords = yes
   wins support = no
   name resolve order = lmhosts host wins bcast
   dns proxy = no
   preserve case = yes
   short preserve case = yes
   unix password sync = false
   max log size = 1000
   ssl CA certFile = /etc/share/certs/ca-certs.crt

[homes]
   comment = Home Directories
   browseable = no
   read only = no
   create mask = 0700
   directory mask = 0700

[printers]
   comment = All Printers
   browseable = no
   path = /tmp
   printable = yes
   public = no
   writable = no

[munka-9]
  path = /mnt/data/munka-9
  public = yes
  writable = yes
  comment =
  force group = c2-users
  force create mode = 777
  force directory mode = 777
  printable = no



Can anybody tell me what went wrong?
There is no error in the log files. They don't even tell that I wanted to
connect, only if I connect from localhost.

Thanks..
Poetro


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Connection refused

2003-08-01 Thread Joel Hammer
Is samba running?
Is samba being controlled by (x)inetd?
Joel
On Fri, Aug 01, 2003 at 02:19:56PM +0200, Galiba Piter wrote:
 I have newly configured our new HP Netserver LC 2000r with Samba 2.0.7.
 The Samba was compiled with SSL.
 I can connect to it from localhost, but from any other ip i got the error:
 connectionrefused
 
 c2-server:~# smbclient -L 192.168.0.100
 added interface ip=192.168.0.3 bcast=192.168.0.255 nmask=255.255.255.0
 error connecting to 192.168.0.100:139 (Connection refused)
 Connection to 192.168.0.100 failed
 
 c2-server:~# smbclient -L c2-server3
 added interface ip=192.168.0.3 bcast=192.168.0.255 nmask=255.255.255.0
 Connection to c2-server3 failed
 
 
 The name of the Server is C2-Server3, and it is on 192.168.0.100.
 The smb.conf file looks like this:
 
 [global]
printing = bsd
printcap name = /etc/printcap
load printers = yes
guest account = nobody
security = user
workgroup = C2
server string = %h server (Samba %v)
syslog only = no
syslog = 0;
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096
encrypt passwords = yes
wins support = no
name resolve order = lmhosts host wins bcast
dns proxy = no
preserve case = yes
short preserve case = yes
unix password sync = false
max log size = 1000
ssl CA certFile = /etc/share/certs/ca-certs.crt
 
 [homes]
comment = Home Directories
browseable = no
read only = no
create mask = 0700
directory mask = 0700
 
 [printers]
comment = All Printers
browseable = no
path = /tmp
printable = yes
public = no
writable = no
 
 [munka-9]
   path = /mnt/data/munka-9
   public = yes
   writable = yes
   comment =
   force group = c2-users
   force create mode = 777
   force directory mode = 777
   printable = no
 
 
 
 Can anybody tell me what went wrong?
 There is no error in the log files. They don't even tell that I wanted to
 connect, only if I connect from localhost.
 
 Thanks..
 Poetro
 
 
 -- 
 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


[Samba] Connection refused, access denied (Windows XP trying toconnect on samba's shared printer)

2003-03-05 Thread Jonny Berthiaume
Hi,

 my problem is to access a shared printer with samba on my WindowsXP
 workstation

 When I browse thru my network with Explorer, I can see the shared printer.
 When I double-clic on the printer, Windows XP ask me if I want to install
 it.
 I choose the right driver and click OK.
 The installation begin and there is no error in the installation.
 After the installation Windows XP open the printer's printing queue to show
 the printer's status, but in the window's title there is this notice:

 Access denied, Cannot connect to printer


 I would like to know how I can get rid of this problem please.
 This work really well in Windows 98 but not on XP.

 Here is my smb.conf , let me know if you find something to find this
problem

 Note: 2.2.4 is the version of samba I use

 Jonny
 [EMAIL PROTECTED]

 # 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 many any basic syntactic errors.
 #
 #=== Global Settings
=
 [global]

 # protocol
protocol = NT1

 # workgroup = NT-Domain-Name or Workgroup-Name, eg: LINUX2
workgroup = FAXNET

 # server string is the equivalent of the NT Description field
server string = Serveur FaxNet

 # If you want to automatically load your printer list rather
 # than setting them up individually then you'll need this
load printers = yes

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

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

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

 # Security mode. Most people will want user level security. See
 # security_level.txt for details.  NOTE:  To get the behaviour of
 # Samba-1.9.18, you'll need to use security = share.
security = share

 # 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

 # Where to find the SSL certificates:
ssl CA certDir = /etc/ssl/certs

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

 # Most people will find that this option gives better performance.
 # See speed.txt and the manual pages for details
 # You may want to add the following on a Linux system:
 # SO_RCVBUF=8192 SO_SNDBUF=8192
socket options = TCP_NODELAY

 # 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 =

 # Share Definitions
==
 [homes]
comment = Home Directories
browseable = no
create mode = 0755
writable = yes
oplocks = false

 [Documents]
comment = Documents
guest ok = yes
create mask = 
force create mode = 0777
directory mask = 
force directory mode = 0777
writable = yes
oplocks = false
path = /u/GNIDOC

 [Forms]
comment = Forms
guest ok = yes
create mask = 
force create mode = 0777
directory mask = 
force directory mode = 0777
writable = yes
oplocks = false
path = /u/SYS/FORMS/fondlsr/FAX

 [Communs]
comment = Historiques communes
guest ok = yes
oplocks = false
path = /u/histo_fax/communs

 [Rejets]
comment = Historiques rejets
browseable = no
oplocks = false
path = /u/histo_fax/global/rejets/no_job

 [Succes]
comment = Historiques succes
browseable = no
oplocks = false
path = /u/histo_fax/global/succes/no_job

 [Recus]
comment = Recus
browseable = no
oplocks = false
path = /u/histo_fax/global/recus/no_job

 [printers]
comment = All Printers
path = /u/spool/lpd/samba
browseable = no
guest ok = yes
printable = yes
print command = lpr -r -s -l -P%p %s
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Connection refused - port 445

2003-01-27 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sat, 25 Jan 2003, Dezider Gora wrote:

 Connecting to host=PRINTSERVER share=IPC$
 Connecting to 10.223.11.1 at port 445
 error connecting to 10.223.11.1:445 (Connection refused)

Samba 2.2 does not service port 445 by default (Samba 3.0 will).
Just ignore the error.  rpcclient falls back and reconnects on port 
139.




cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2 SAMS Teach Yourself Samba in 24 Hours 2ed
 You can never go home again, Oatman, but I guess you can shop there.  
--John Cusack - Grosse Point Blank (1997)

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE+NZKdIR7qMdg1EfYRApOuAKDSWH886dtsVjU1spkV9vrSHZ6W9gCg0ow1
LpyD+oYx8uM18rJgyobq0FY=
=o/B/
-END PGP SIGNATURE-

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Connection refused - port 445

2003-01-25 Thread Dezider Gora
I'm getting strange error when running rpcclient on localhost.

rpcclient PRINTSERVER -A auth -d 3 -c enumprinters

here's result:
Initialising global parameters
params.c:pm_process() - Processing configuration file
/etc/samba/smb.conf
Processing section [global]
added interface ip=10.223.11.1 bcast=10.223.11.255 nmask=255.255.252.0
not adding duplicate interface 10.223.11.1
added interface ip=127.0.0.1 bcast=127.0.0.255 nmask=255.255.255.0
resolve_lmhosts: Attempting lmhosts lookup for name PRINTSERVER0x20
resolve_hosts: Attempting host lookup for name PRINTSERVER0x20
Connecting to host=PRINTSERVER share=IPC$
Connecting to 10.223.11.1 at port 445
error connecting to 10.223.11.1:445 (Connection refused)
Connecting to 10.223.11.1 at port 139
lsa_io_sec_qos: length c does not match size 8
cmd = enumdrivers

However, I get the result correctly. If I run it without debugging
parameter I get no error messsage.
Can anybody tell me why? Or what should I check?
I have 445/tcp, 445/udp in my /etc/services.
Samba is running, seems to be ok.

thank in advance,
Dezider.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] connection refused

2003-01-06 Thread tatkins
When I run the command:
smbclient -L //hostname -U%
I get error connecting to 127.0.0.1:139
connection refused.
ANyone got any ideas on this one?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Connection refused

2002-06-03 Thread SEG7
Title: Message




Hi, i'm having 
trouble with Samba i can't connect several computers over the same network, but 
i have the 
hosts directive open 
the all the network. Here is what i'm getting:

smbclient 
193.139.195.225\\software -U seg7added interface ip=193.139.195.221 bcast=193.139.195.255 nmask=255.255.255.192error 
connecting to 193.139.195.225:139 
(Connection refused)Connection to 193.139.195.225 failed

Another computer in 
the same network, logs fine:

smbclient 
193.139.195.225\\software -U seg7added interface ip=193.139.195.220 bcast=193.139.195.255 nmask=255.255.255.192Password: 
Domain=[CCOM] OS=[Unix] Server=[Samba 2.2.3a]smb: 
\

The smb.conf has 
 hosts allow = 193.139.195.

The authtication is 
using a PAM module with mysql.
Anyone has a 
clue?
Thnx

SEG7



[Samba] Connection refused

2002-05-28 Thread SEG7
Title: Message



Hi, i'm having 
trouble with Samba i can't connect several computers over the same network, but 
i have the 
hosts directive open 
the all the network. Here is what i'm getting:

smbclient 
193.136.195.225\\software -U seg7added interface 
ip=193.136.195.221 bcast=193.136.195.255 nmask=255.255.255.192error 
connecting to 193.136.195.225:139 (Connection refused)Connection to 
193.136.195.225 failed

Another computer in 
the same network, logs fine:

smbclient 
193.136.195.225\\software -U seg7added interface 
ip=193.136.195.220 bcast=193.136.195.255 nmask=255.255.255.192Password: 
Domain=[CCOM] OS=[Unix] Server=[Samba 2.2.3a]smb: 
\

The smb.conf has 
 hosts allow = 193.136.195.

The authtication is 
using a PAM module with mysql.
Anyone has a 
clue?
Thnx

SEG7


online?icq=15154585=21
Description: Binary data