RE: [Samba] Use Microsoft shared fax printer?

2007-01-29 Thread Neil Aggarwal
Jim:

1. The faxes are going to be created by code running
on a Linux server.

2. The faxes will be sent from a machine running Windows
2003 SBS server with the Microsoft Shared Fax
Service.

3. Store and forward is best.  I would just like to
queue them into the Shared Fax Queue on the
Microsoft server.

Thanks,
Neil 

--
Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.

-Original Message-
From: Van Sickler, Jim [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 29, 2007 1:00 PM
To: Neil Aggarwal
Subject: RE: [Samba] Use Microsoft shared fax printer?

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]
 ]On Behalf
 Of Neil Aggarwal
 Sent: Sunday, January 28, 2007 10:56 AM
 To: samba@lists.samba.org
 Subject: [Samba] Use Microsoft shared fax printer?
 
 
 Hello:
 
 Is it possible to use Samba to send documents to
 a Microsoft Shared Fax Printer?
 
 How would I give it the phone number and other recipient
 details that normally comes in the popup window when
 I print to a shared fax printer from Windows?
 
 Thanks,
   Neil
 
 
 --
 Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com
 FREE! Eliminate junk email and reclaim your inbox.
 Visit http://www.spammilter.com for details.
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/listinfo/samba
 
 
Neil,

  Can you give us a bit more info?

1.  Where are the faxes being created?  Windows PCs, Linux PCs, Linux
server?

2.  Where are the faxes being sent from?  Windows PC, Windows server,
Standalone Fax (e.g. Lainer LD015), Linux server?

3.  Do you want to fax directly, or store  forward?

Thanks,
  Jim

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


[Samba] Batch print office documents?

2007-01-28 Thread Neil Aggarwal
Hello:

I need to build a system like this for a client:

I will have a Linux server in a data room.  It will
have a web interface where the users may upload files.
The files may be: Word, Excel, PDF, tif files, etc.

Now, using the web interface, they should be able to
brig up a list of files, select a set to print and
send them to a local printer that is running as a
shared printer on a Windows network.

The client does not want to change their network to Linux 
nor do they want to give up the ability to use Office 
documents.

I do not want to learn how to create this system on Windows.
I would much rather run Linux on the server.

Is is possible to batch print a set of files (including
Office files, pdfs, and images) to a Windows printer
using Samba?

Thanks,
Neil



--
Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.

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


[Samba] Use Microsoft shared fax printer?

2007-01-28 Thread Neil Aggarwal
Hello:

Is it possible to use Samba to send documents to
a Microsoft Shared Fax Printer?

How would I give it the phone number and other recipient
details that normally comes in the popup window when
I print to a shared fax printer from Windows?

Thanks,
Neil


--
Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.

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


RE: [Samba] Use Microsoft shared fax printer?

2007-01-28 Thread Neil Aggarwal
Shaun:
 
Correct me if I am wrong, but I think you are suggesting using 
HylaFAX on the Linux server and then have the Windows PCs
use it.

What I am trying to do is to have the Linux server send
faxes using the Windows Machine as a Fax Server.  Is
that possible?

It will be *much* harder to convince the client that they
now have to change their fax server to Linux.

Thanks,
Neil


--
Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Shaun Marolf
Sent: Sunday, January 28, 2007 10:41 AM
To: samba@lists.samba.org
Subject: Re: [Samba] Use Microsoft shared fax printer?

On Sunday 28 January 2007 09:56, Neil Aggarwal wrote:
 Hello:

 Is it possible to use Samba to send documents to
 a Microsoft Shared Fax Printer?

 How would I give it the phone number and other recipient
 details that normally comes in the popup window when
 I print to a shared fax printer from Windows?

 Thanks,
   Neil


 --
 Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com
 FREE! Eliminate junk email and reclaim your inbox.
 Visit http://www.spammilter.com for details.
Yes it is using Hylafax Samba printer share. www.hylafax.org

--Shaun
-- 
Linux *is* user friendly. It's just selective about who its friends are.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

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


[Samba] Permission problems writing to Share from SQL Agent

2005-03-23 Thread Neil Aggarwal
Hello:

I have a client that is using MS SQL Server in a Windows 2003
server.

They have a Linux machine (Fedora Core 3) that is acting as a file
server using Samba.

We want to write backups from the SQL Agent for SQL Server to
one of the shares on the Samba server.

If I set the share to allow guest access, the SQL Agent
can write the backups just fine using \\Shares\SQLBackups\pubs.bak
but, if I require a user name and password, it gives me
permission denied (Which I expect because I don't know how
to give it the user name and password to use).

I tried setting SQL Agent to use the Administrator account
and then mounted the share to Y: using the user name and
password I assigned, but when I try backing up to Y:,
I get that it could not find y:\pubs.bak

Has anyone set up SQL Agent to write to a Samba share
before?  Where/how do I give it the user name and password
to use?

Thanks, 
Neil

--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! http://newsletter.JAMMConsulting.com

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


RE: [Samba] Permission problems writing to Share from SQL Agent

2005-03-23 Thread Neil Aggarwal
Hello:

I forgot to say that the Windows 2003 server is not running
a domain, it is using the WORKGROUP workgroup.

Thanks,
Neil


--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! http://newsletter.JAMMConsulting.com

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]
  On Behalf Of Neil Aggarwal
 Sent: Wednesday, March 23, 2005 3:13 PM
 To: samba@lists.samba.org
 Subject: [Samba] Permission problems writing to Share from SQL Agent
 
 
 Hello:
 
 I have a client that is using MS SQL Server in a Windows 2003
 server.
 
 They have a Linux machine (Fedora Core 3) that is acting as a file
 server using Samba.
 
 We want to write backups from the SQL Agent for SQL Server to
 one of the shares on the Samba server.
 
 If I set the share to allow guest access, the SQL Agent
 can write the backups just fine using \\Shares\SQLBackups\pubs.bak
 but, if I require a user name and password, it gives me
 permission denied (Which I expect because I don't know how
 to give it the user name and password to use).
 
 I tried setting SQL Agent to use the Administrator account
 and then mounted the share to Y: using the user name and
 password I assigned, but when I try backing up to Y:,
 I get that it could not find y:\pubs.bak
 
 Has anyone set up SQL Agent to write to a Samba share
 before?  Where/how do I give it the user name and password
 to use?
 
 Thanks,   
   Neil
 
 --
 Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
 FREE! Valuable info on how your business can reduce operating costs by
 17% or more in 6 months or less! http://newsletter.JAMMConsulting.com
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/listinfo/samba
 

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


[Samba] CUPS printing postscript code not my document

2004-09-06 Thread Neil Aggarwal
Hello:

I have a machine running Fedora Core 2 with an HP Color
LaserJet 2550L printer connected via a USB cable.

Local printing from the fedora machine is just fine.
It uses CUPS.

I am trying to set this printer up using Samba, but I
keep getting postscript code when I try to print from
Windows.

Here is my smb.conf file:
[global]
log file = /var/log/samba/%m.log
load printers = yes
idmap gid = 16777216-33554431
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
encrypt passwords = yes
winbind use default domain = no
template shell = /bin/false
dns proxy = no
netbios name = dsl
printing = cups
server string = Samba Server
idmap uid = 16777216-33554431
os level = 20
printcap name = /etc/printcap
security = user
max log size = 50


[HP]
postscript = yes
printer = HP
printable = yes
path = /var/spool/samba
comment = HP Color LaserJet 2550L
valid users = @samba

I created an account for myself in the samba group on the
server.

I went to my windows machine (running XP Pro).
I added a network printer with the address \\192.168.1.1\HP 
and it seemed to go fine.  When it asked for the driver, I
pointed it to the HP 2550 postscript drivers I downloaded from
HP's site.

Any ideas why this is not working?

Thanks,
Neil


--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! http://newsletter.JAMMConsulting.com

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


[Samba] Getting postscript code from windows

2004-09-05 Thread Neil Aggarwal
Hello:

I have a machine running Fedora Core 2 with an HP Color
LaserJet 2550L printer connected via a USB cable.

Local printing from the fedora machine is just fine.
It uses CUPS.

I am trying to set this printer up using Samba, but I
keep getting postscript code when I try to print from
Windows.

Here is my smb.conf file:
[global]
log file = /var/log/samba/%m.log
load printers = yes
idmap gid = 16777216-33554431
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
encrypt passwords = yes
winbind use default domain = no
template shell = /bin/false
dns proxy = no
netbios name = dsl
printing = cups
server string = Samba Server
idmap uid = 16777216-33554431
os level = 20
printcap name = /etc/printcap
security = user
max log size = 50


[HP]
postscript = yes
printer = HP
printable = yes
path = /var/spool/samba
comment = HP Color LaserJet 2550L
valid users = @samba

I created an account for myself in the samba group on the
server.

I went to my windows machine (running XP Pro).
I added a network printer with the address \\192.168.1.1\HP 
and it seemed to go fine.  When it asked for the driver, I
pointed it to the HP 2550 postscript drivers I downloaded from
HP's site.

Any ideas why this is not working?

Thanks,
Neil

--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! http://newsletter.JAMMConsulting.com

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


[Samba] Access denied, unable to connect to my printer

2003-12-30 Thread Neil Aggarwal
Hello:

I have a printer set-up and working correctly on my Linux machine
running Fedora Core 1.  It is set up as a local printer called printer.
I set it up thru the graphical printer configuration utility.

I am trying to set it up as a network printer from my Windows XP machine
using Samba.  Here are the lines in my smb.conf file:

[global]
encrypt passwords = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
workgroup = WORKGROUP
server string = Samba Server
printcap name = /etc/printcap
dns proxy = no 
load printers = yes
max log size = 50
security = user
os level = 20
log file = /var/log/samba/%m.log

[epson]
path = /var/spool/samba
printable = yes
public = yes
printer = printer
comment = Epson Stylus Color 860

On my windows machine, I was able to add the printer as a network
printer and then
it asked me to locate the driver, which I did.  Everything seemed fine
up until
that point, but when it shows the printer, it shows access denied,
unable to connect.

When I try to print a test page to it, nothing happens and the Windows
box is completely
unhelpful.

There is this line in /var/log/dell5100.log:
lpr: unable to print file: client-error-document-format-not-supported

My Windows mahcine is named dell5100, so they are talking.

Any ideas what this means?

Thanks,
Neil

--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by 
17% or more in 6 months or less! = http://newsletter.JAMMConsulting.com

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


RE: [Samba] Access denied, unable to connect to my printer

2003-12-30 Thread Neil Aggarwal
Jason:

I did what you suggested (Fedora definitely is using cups).
The printer no longer says that it is unable to connect, but now 
when I try to print a test page, I see this message in 
/var/log/cups/error_log:

I [30/Dec/2003:16:35:16 -0600] Adding start banner page none to job 3.
I [30/Dec/2003:16:35:16 -0600] Adding end banner page none to job 3.
I [30/Dec/2003:16:35:16 -0600] Job 3 queued on 'printer' by 'neil'.
E [30/Dec/2003:16:35:16 -0600] Unable to convert file 0 to printable
format for job 3!
I [30/Dec/2003:16:35:16 -0600] Hint: Do you have ESP Ghostscript
installed?
I [30/Dec/2003:16:35:16 -0600] Hint: Try setting the LogLevel to
debug.

Any ideas on this one?

Thanks,
Neil

--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by 
17% or more in 6 months or less! = http://newsletter.JAMMConsulting.com

 -Original Message-
 From: Jason Balicki [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, December 30, 2003 4:13 PM
 To: 'Neil Aggarwal'
 Subject: RE: [Samba] Access denied, unable to connect to my printer
 
 
 You have two unrelated issues.
 
 1) Your XP box is not authenticating correctly and
 
 2) CUPS is incorrectly configured.
 
 To fix 1:
 
 Make sure there is a machine account for the XP box on the samba
 server.  Do:
 
 adduser machine$
 smbpasswd -a -m machine
 
 Also, you may want to add guest ok=no and make sure the
 user you're logging in to the XP box as exists as a samba
 user.
 
 To fix 2:
 
 Even though you've got printcap name = /etc/printcap I'm
 pretty sure that Fedora uses cups.  If not, then I'm giving
 you incorrect advice, but that error exists only under cups,
 AFAIK.
 
 uncomment the line (or add it if it's not there)
 
 application/octet-stream
 
 in your mime.types in your cups config directory (usually
 /etc/cups/mime.types)
 
 JSYK:  If you fix the second problem, the XP box will print fine, even
 with the access denied message.  But you still want to fix it.
 
 You may also want to add a printing= section to your [global].
 
 Add printing=cups if it is in fact cups, or printing=bsd or
 printing=lpr-ng or whatever.
 
 HTH,
 
 --J(K)
 
 -Original Message-
 From: 
 [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]
 a.org] On Behalf Of Neil Aggarwal
 Sent: Tuesday, December 30, 2003 4:00 PM
 To: Samba mailing list
 Subject: [Samba] Access denied, unable to connect to my printer
 
 
 Hello:
 
 I have a printer set-up and working correctly on my Linux machine
 running Fedora Core 1.  It is set up as a local printer 
 called printer.
 I set it up thru the graphical printer configuration utility.
 
 I am trying to set it up as a network printer from my Windows 
 XP machine
 using Samba.  Here are the lines in my smb.conf file:
 
 [global]
 encrypt passwords = yes
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 workgroup = WORKGROUP
 server string = Samba Server
 printcap name = /etc/printcap
 dns proxy = no 
 load printers = yes
 max log size = 50
 security = user
 os level = 20
 log file = /var/log/samba/%m.log
 
 [epson]
 path = /var/spool/samba
 printable = yes
 public = yes
 printer = printer
 comment = Epson Stylus Color 860
 
 On my windows machine, I was able to add the printer as a network
 printer and then
 it asked me to locate the driver, which I did.  Everything 
 seemed fine
 up until
 that point, but when it shows the printer, it shows access denied,
 unable to connect.
 
 When I try to print a test page to it, nothing happens and 
 the Windows
 box is completely
 unhelpful.
 
 There is this line in /var/log/dell5100.log:
 lpr: unable to print file: client-error-document-format-not-supported
 
 My Windows mahcine is named dell5100, so they are talking.
 
 Any ideas what this means?
 
 Thanks,
  Neil
 
 --
 Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
 FREE! Valuable info on how your business can reduce 
 operating costs by 
 17% or more in 6 months or less! = 
 http://newsletter.JAMMConsulting.com
 
 -- 
 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] WIndows 98 asking for a password

2002-06-12 Thread Neil Aggarwal

Hello:

I have a brother HL-1440 laser printer set-up and working fine on my
RedHat 7.3 Linux box.  The printer queue is named brotherLaser.

I added a samba share for the printer with these options
in my smb.conf file:
[brotherLaser]
path = /var/spool/lpd/brotherLaser
writable = yes
comment = Brother Laser Printer
printable = yes
public = yes

I then went to a windows 98 machine and tried to set-up a
network printer with the path \\192.168.1.1\brotherLaser

I installed the driver from the cdrom that came with the printer
and everything seemed to work just fine.

But, when I look at the printer, it says that it is offline.
When I try to connect to it, it asks me for a password.
No matter what I enter, it says the password is not correct.

I have samba set to allow for null passwords and the printer
is public, so anyone on the network should be able to
print to it without a password, correct?

Here is my global tag:
[global]
smb passwd file = /etc/samba/smbpasswd
passwd program = /usr/bin/passwd %u
pam password change = yes
printing = lprng
dns proxy = no
null passwords = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = /etc/printcap
obey pam restrictions = yes
debug level = 10
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
security = user
unix password sync = Yes
server string = Samba Server
workgroup = MYGROUP
log file = /var/log/samba/%m.log
load printers = yes

Any ideas?

Thanks,
Neil.

--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases


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



[Samba] Windows 2000 - Access denied

2002-06-12 Thread Neil Aggarwal

Hello:

I have a brother HL-1440 laser printer set-up and working fine on my
RedHat 7.3 Linux box.  The printer queue is named brotherLaser.

I added a samba share for the printer with these options
in my smb.conf file:
[brotherLaser]
path = /var/spool/lpd/brotherLaser
writable = yes
comment = Brother Laser Printer
printable = yes
public = yes

I then went to a windows 2000 machine and tried to set-up a
network printer with the path \\192.168.1.1\brotherLaser

I keep getting a message that it cant connect and that access
is denied.

I have samba set to allow for null passwords and the printer
is public, so anyone on the network should be able to
print to it without a password, correct?

Here is my global tag:
[global]
smb passwd file = /etc/samba/smbpasswd
passwd program = /usr/bin/passwd %u
pam password change = yes
printing = lprng
dns proxy = no
null passwords = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = /etc/printcap
obey pam restrictions = yes
debug level = 10
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
security = user
unix password sync = Yes
server string = Samba Server
workgroup = MYGROUP
log file = /var/log/samba/%m.log
load printers = yes

Any ideas?

Thanks,
Neil.

--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases


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



RE: [Samba] WIndows 98 asking for a password

2002-06-12 Thread Neil Aggarwal

Hello:

I set the samba to use share level access.
Now, it does not ask for a password, but
when I try to print something, I get this
message on the Windows 98 machine:

The was an error writing to \\192.168.1.1\brotherLaser
for printer (Brother HL-1440 Series):
The network name cannot be found.

Any ideas?

Thanks,
Neil.

--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases


 -Original Message-
 From: SaDIKuZboy [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, June 12, 2002 3:18 PM
 To: Neil Aggarwal
 Subject: Re: [Samba] WIndows 98 asking for a password


 Alle 22:08, mercoledì 12 giugno 2002, Neil Aggarwal ha scritto:

 do you really need security = user into your samba.conf?
 put security = share and everything will work fine but you'll
 manage shares
 access; not user ones :o)


 --
 ___
  SaDIKuZboy - Network admin at gatinho.com
 -
 Sites that I like/work with:
 www.cups.org  - Italian CUPS Translation
 www.nasa.gov  - Please join and help SETI@Home
 www.nsa.gov   - Security Enhanced Linux
 www.gatinho.com   - A growing housemade network
 www.freshmeat.net - Go get your own linux mad cow!
 www.slackware.it  - Sometimes I help people there
 elbalinux.gatinho.com - Server at gatinho [Elba Island]
 orix.gatinho.com  - Server at gatinho [Pompei - IT]
 anaconda.gatinho.com  - Server at gatinho [Napoli - IT]
 hub.gatinho.com   - Server at gatinho [near Napoli - IT]
 koalino.gatinho.com   - Server at gatinho [Milano - IT]
 ___
 Extra Projects:
 ConsoLovePPPD - PPPD configurator for who loves console
 epsc70ink - Epson C70-80 InkLevel WebFrontend
 SDK-UniOverflow   - Get overflows and exploit`em
 ___
 Contact me at irc.gatinho.com on #sadikuzzi / #linux / #FLEXYnet
 -
 Computers are just like air conditioners:
 They stop working properly when you open windows


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



RE: [Samba] Samba does not work over masquerade

2002-05-10 Thread Neil Aggarwal

David:

 Its not a samba problem.  NetbiosDGM needs to be proxies.  If you can 
 use ipfilter, look at the netbios proxy.  I believe port 137 needs to 
 be proxied as well.  The netbiosdgm proxy in ipfilter changes part of 
 the payload in the netbios dgm packet to work with NAT.

I am not sure what you are talking about.  This is well beyond 
my current understanding.

I am running a freshly-installed RedHat 7.3 distribution.  

Are there instructions on setting this up on a RedHat 7.3 machine?

Thanks,
Neil.

--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases

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



[Samba] Problem setting up stunnel

2002-05-06 Thread Neil Aggarwal

Hello:

I have samba set-up and working completely fine
on my Linux server.  I can get to it using network 
neighborhood just fine.

Now, I want to set-up and stunneled connection to the server
so that the data is protected. 

I know about the ssl option for samba, but that is slated to 
be removed so I want to get this working with stunnel.

So, on the server, I issued this command:
/usr/sbin/stunnel -D 7 -d 2139 -r 139

On my client (A windows 2000 machine), here is what I did:
1. Created a directory c:\bin
2. Downloaded the file
http://www.kuix.de/ssl/stunnel-3.11-kai-gui-winexe.zip
and extracted it.
3. I then went to a command line, changed to the c:\bin directory
   and typed this command:
stunnel.exe -D 7 -c -d 127.0.0.2:139 -n smb -r 204.130.252.205:2139

I then went to windows explorer and tried to add a network
place with the location \\127.0.0.2\Documents but when it
tries to connect, I get a pop-up that says the network path
was not found.  

On the client here is what I see:
C:\binstunnel.exe -D 7 -c -d 127.0.0.2:139 -n smb -r 204.130.252.205:2139
LOG5[1308:1256]: Using '204.130.252.205.2139' as tcpwrapper service name
LOG7[1308:1256]: RAND_status claims sufficient entropy for the PRNG
LOG7[1308:1256]: Seeded PRNG with RAND_screen
LOG6[1308:1256]: PRNG seeded successfully
LOG5[1308:1256]: stunnel 3.11 on x86-pc-unknown WIN32
LOG7[1308:1256]: 204.130.252.205.2139 bound to 127.0.0.2:139
LOG7[1308:1012]: 204.130.252.205.2139 started
LOG5[1308:1012]: 204.130.252.205.2139 connected from 192.168.1.3:1753
LOG7[1308:1012]: 204.130.252.205.2139 connecting 204.130.252.205:2139
LOG7[1308:1012]: Remote host connected
LOG7[1308:1012]: Negotiations for smb(client side) started

On the server, I see this message when I try to connect:
May  6 13:05:57 www stunnel[1362]: 139 connected from 65.185.3.177:1754

Any ideas?

Thanks,
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases


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



[Samba] Trying to set-up Stunnel for samba

2002-05-05 Thread Neil Aggarwal

Hello:

I am trying to set-up an stunnel for samba.

On my Linux server, I have samba set-up and working
in non-ssl mode.  I set up a file share called Documents.

Then, I ran an stunnel on the command line to allow
me to tunnel thru it.  Here is what I did:
/usr/sbin/stunnel -D 7 -f 2139 -r 139

Then, on my client (A Windows 2000 machine), I
did the following:
1. Created a directory c:\bin
2. Downloaded the file
http://www.kuix.de/ssl/stunnel-3.11-kai-gui-winexe.zip
and extracted it.
3. I then went to a command line, changed to the c:\bin directory
   and typed this command:
stunnel.exe -c -d 127.0.0.2:139 -n smb -r 204.130.252.205:2139

I then went to windows explorer and tried to add a network
place with the location \\127.0.0.2\Documents but when it
tries to connect, I get a pop-up that says the network path
was not found.

The command line on my Windows 2000 box has this message:
LOG5[796:924]: 204.130.252.205.2139 connected from 192.168.1.3:1206
LOG3[796:924]: remote connect: Unknown error (10060)

There are no messages on the command line on the Linux box, so it
seems that I was not able to connect to it.  This is strange since
I know that it is not a firewall issue.

If I compile samba with the --with-ssl option, everything works fine.

Any ideas?

Thanks,
Neil.
--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases


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



RE: [Samba] Problem linking with SSL on RedHat 7.2

2002-04-29 Thread Neil Aggarwal

Urban:

 Are you sure you want SSL? As I understand, it is useless with windows
 clients as they don't support it.

I am sure that we want to use SSL.  We want to be able to access our
repositories remotely, but do not want to have the data compromised.

Regarding the windows clients, they can support it using an stunnel
wrapper, which is what we are going to do.

 No idea why it doesn't build, perhaps you should use the openssl packages
 that came with RH7.2.

Here is what I did:
make clean
./configure --with-ssl --with-sslinc=/usr/include/openssl
make

I still get these messages:
Linking bin/smbd
smbd/ssl.o: In function `sslutil_init':
smbd/ssl.o(.text+0x23f): undefined reference to `SSL_library_init'
smbd/ssl.o(.text+0x256): undefined reference to `RAND_egd'
smbd/ssl.o(.text+0x3ce): undefined reference to
`SSL_CTX_use_certificate_chain_file'
smbd/ssl.o(.text+0x577): undefined reference to
`SSL_CTX_set_tmp_rsa_callback'
collect2: ld returned 1 exit status
make: *** [bin/smbd] Error 1

Any ideas?

Thanks,
Neil.

--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases


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



[Samba] Problem linking with SSL on RedHat 7.2

2002-04-28 Thread Neil Aggarwal

Hello:

I am trying to compile sambe with SSL on my RedHat 7.2 machine.
The Redhat installation is a fresh install.

Here is what I did:
Made sure that samba was not previously installed by typing
rpm -q samba

cd /usr/local
lynx
ftp://ftp.funet.fi/pub/crypt/mirrors/ftp.psy.uq.oz.au/ssleay/SSLeay-0.9.0b.t
ar.gz
tar zxf SSLeay-0.9.0b.tar.gz
cd SSLeay-0.9.0b

vi Configure
Made the first line look like this:
#!/usr/bin/perl

./Configure linux-elf
make
make install

cat /tmp/private.txt

Now, I typed a bunch of random characters and hit Ctrl-D.

/usr/local/ssl/bin/ssleay genrsa -rand /tmp/private.txt /dev/null
rm -f /tmp/private.txt


cd /usr/local
lynx ftp://us1.samba.org/pub/samba/samba-latest.tar.gz
tar zxf samba-latest.tar.gz
cd samba-2.2.3a/source

./configure --with-ssl
make

When it is trying to link, I get these errors:

Linking bin/smbd
smbd/ssl.o: In function `sslutil_init':
smbd/ssl.o(.text+0x23f): undefined reference to `SSL_library_init'
smbd/ssl.o(.text+0x256): undefined reference to `RAND_egd'
smbd/ssl.o(.text+0x3ce): undefined reference to
`SSL_CTX_use_certificate_chain_file'
smbd/ssl.o(.text+0x577): undefined reference to
`SSL_CTX_set_tmp_rsa_callback'
collect2: ld returned 1 exit status
make: *** [bin/smbd] Error 1


Any ideas?

Thanks,
Neil.

--
Neil Aggarwal
JAMM Consulting, Inc.(972) 612-6056, http://www.JAMMConsulting.com
Custom Internet DevelopmentWebsites, Ecommerce, Java, databases


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