Re: [Samba] samba & cups

2002-05-06 Thread PJourdan

At 02:01 PM 5/6/2002 -0500, David W. Chapman wrote:

Can you print to your printer via lpr(see if same is the problem or
your printcap).  Could you please provide your printcap and relevant
sections of smb.conf?
David,
Oh, yes, I installed with portupgrade - really a good proggie.
I can print with the lpd, if I set it up for that... But the problem is 
with Cups.
When one installs cups the printcap file is overwritten and all you have is 
Epson900: (in my case anyway). kThe ir;ony is that the cups configuration 
for Windows printing is incredibly naive - "all you have to do is enter: 
printing = cups; and printcap = cups"  - really, that's what they say on 
their site & documentation. Wel, it ain't that simple... it would seem...
OK, I stand corrected... as I was writing... I did a final check to try to 
install a driver from the Windows side - and using the Windows built-in 
driver (not the Epson driver, which was rather a mess to install) IT WORKS.
Thanks for the help.
Philip


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



[Samba] configuration & cups

2002-09-17 Thread PJourdan

I seem to be having a great deal of trouble with cups and samba configuration.
cups seems to go on and off and it works and doesn't work.
I think I need some help on my samba configuration. Generally, it has 
worked well on another machine, but my current setup seems a bit screwy.
System: FreeBSD 4.6.2; cups-1.1.15.1; cups-base-1.1.15.1_4; 
cups-lpr-1.1.15.1_1;cups-pstoraster-7.05.5; ghostscript-gnu-7.05_3 
(installed by cups-lpr); gimp-print-4.2.1; samba-2.2.6.p2
Problem: yesterday, I could see the Unix machine on Win2k. I have two 
printer shares that could be seen. Today, they are not there.
To log on to the FBSD machine from Win2k I get the log-on window and can 
connect by entering nothing and pressing enter.
I can access the Printer directory, the www and tmp.
But one directory, pippo, asks for a username and password but accepts none.
I am running samba from rc.local with no parameters
I am attaching my smb.conf
I am sure I am doing something wrong.
Please help.
Phil


phil_smb.conf
Description: Binary data


[Samba] logon

2002-09-17 Thread PJourdan

I cannot logon to samba server from Win2k. I can see the server on My 
Network Places, but the logon does not accept any of my know usernames or 
passwords.
I'm afraid I do not understand what has to be done to make it all work.
Strange thing is, on an earlier installation on another FreeBSD box it all 
works but I am totally unable to make it work on FBSD 4.6.2 2with samba 
2.2.6.pre2.
What am I doing wrong or what is it that I should understand to make it work?
Thanks for any help
Phil


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



[Samba] configuration & cups

2002-09-18 Thread PJourdan

Resubmitting, as, apparently the attachment was messed up. It is in the 
message at the end.

I seem to be having a great deal of trouble with cups and samba configuration.
cups seems to go on and off and it works and doesn't work.
I think I need some help on my samba configuration. Generally, it has 
worked well on another machine, but my current setup seems a bit screwy.
System: FreeBSD 4.6.2; cups-1.1.15.1; cups-base-1.1.15.1_4; 
cups-lpr-1.1.15.1_1;cups-pstoraster-7.05.5; ghostscript-gnu-7.05_3 
(installed by cups-lpr); gimp-print-4.2.1; samba-2.2.6.p2
Problem: yesterday, I could see the Unix machine on Win2k. I have two 
printer shares that could be seen. Today, they are not there.
To log on to the FBSD machine from Win2k I get the log-on window and can 
connect by entering nothing and pressing enter.
I can access the Printer directory, the www and tmp.
But one directory, pippo, asks for a username and password but accepts none.
I am running samba from rc.local with no parameters
I am attaching my smb.conf
I am sure I am doing something wrong.

netstat -a  (o;n Win2k client

Active Connections

  Proto Local Address   kForeign addressSate
  TCP   pippo: epmappippo:0 LISTENING
  
  TCP   pippo:1036  biggie2:netbios-ssn TIME_WAIT
  UDP   ...

So, we know I'm connected.
But no matter what username password combination I try to use, I cannot 
connect from Network Neighborhood.
Obviously, I don't understand what the username/password use is between the 
machines.
I probably do not have the right users set up in the correct manner on the 
Unix box or a user for the Unix box on Win2k. I have this set up correctly 
on another box, but for the life of me I do not remember exactly how or 
what I did to make it work.

Please help.

Apparently, the smb.conf file is not readable. Here it is:
[global]
workgroup = KITCHEN
server string = Samba Server
hosts allow = 192.168.1. 127.
load printers = yes
printcap name = cups
printing = cups
   guest account = pcguest
log file = /var/log/log.%m
max log size = 50
security = user
   encrypt passwords = yes
socket options = TCP_NODELAY
os level = 99
domain master = yes
preferred master = yes
dns proxy = no
[homes]
comment = "Home Directory for : %u"
browseable = no
writeable = yes
path = /home/samba/%u
valid users = %u administrator
force user = %u
create mask = 0644
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
public = yes
create mask = 0777
guest ok = yes
writeable = no
printable = yes
[tmp]
comment = Temporary file space
path = /tmp
read only = no
public = yes
[cdrom]
comment = "Unix CD-ROM"
path = /cdrom
guest ok = yes
volume = "cdrom"
[www]
comment = "WWW System"
path = /usr/www
read only = no
create mask = 0775
volume = "www_system"
[pippo]
comment = Phil's home dir.
path = /home/pippo
valid users = pippo,administrator,@smb
force user = pippo
force group = smb
read only = no
[print$]
path = /tmp
write list = root,guest,@ntadmin 


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



[Samba] samba cups install

2002-09-27 Thread PJourdan

Gentlemen,
First, I want to thank all those who helped me figure out my problem.
Installation is FreeBSD 4.6.2;
A standard installation of cups, followed by an immediate upgrade refused 
to install properly. A direct install of the latest version from the ports 
collection (on 3rd clean install of OS) did finally work correctly. I 
suspect there is a problem in the upgrade mechanism since a straight 
install worked perfectly.
The samba end refused to show the printers and that turned out to be a 
timing problem. It looks like the problem was that both cups & samba were 
starting up in
parallel so that cups did not have time to initialize before samba was up 
and running. I just added "sleep 5" to the samba.sh startup script and 
everything is ok now.
Hope this helps someone.
Phil


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