Antwort: [Samba] Printerassistent.

2003-11-19 Thread Stefan . Iven




Hello,

 I set up Samba as an PDC.
 I generated shares and printershares.
 I browsed my network over the Networkneighborhood down to my
Sambaserver.
 There I can see all File and Printershares.
 I doubleclicked

Which client Win OS are you using?

Client OS from Win NT 4.0 SP6a,W2K SP3/4, XP SP?

 the printerfolder where I then can see only shared printers
 and one folder calld new printer.
 I then rightclicked a shared printer and went to the process for
uploading
 the printerdriver in the Sambaserver.
 So far so good. Everything is ok. No errors

 Now i will install the printer on the client machine.

 One way is to  browse the Networkneighborhood.
 So I browsed one folder up, there where I can see printer- and
fileshares.
 I rightclick the printer for wich I first installed the drivers in the
 server and choosed connect.
 The drivers were downloaded from the server and printer is installed an
the
 client.
 The client is able to print correctly.

 Browsing the Network is one way to install a printer on a client.

And this is the recomended way in the HOWTO

Yes, i read your HOWTO.

 An other way to install a printer on a client is to use the
controlpanal.


Well, at least in the HOWTO this is nowhere recommended... (It is even in
a pure MS Windows environment a much slower way to do it, if you have
more than a few dozen PCs and printers...)

This doesn't say that there might not be a bug with that part of the
Samba-Code, however...)

OK, but since I installed Samba3 - Samba3pre3, I noticed, that application
get problems when changing the printer within the application.
An example: If I try choos Print in PowerPoint,Excel,Autocad or Coreldraw,
and I then try to change the printer, it tooks a long time till the new
printer is excepted. In pre2 the applications crashed.
So I thought, that I try to find out, what different I have made between
Samba2 and 3. And the only thing I could find is, that I can't see my PDC
when I try to install a printer over the controlpanel.



 So I clicked the startbutton on the client, went to the controlpanel,
 clicked Printers, clicked Add new Printer,
 choosed Networkprinter, left the printername empty to search for the
 printer, clicked continue button,
 and then -- there I can see the domain, some clients wich belong to the
 domain and wich offers printer,
 but not my samba server.

You'd need to post your smb.conf (minus comments) to get more advice
on that

Here it is :

# Samba config file created using SWAT
# from 192.168.135.103 (192.168.135.103)
# Date: 2003/11/15 15:01:46

# Global parameters
[global]
unix charset = ISO8859-1
workgroup = IBV
server string = Datei- und Druckserver Frankfurt
passdb backend = ldapsam:ldap://localhost:389
printcap name = CUPS
add user script = /usr/bin/smbldap-useradd.pl -a %u
delete user script = /usr/bin/smbldap-userdel.pl %u
add group script = /usr/bin/smbldap-groupadd.pl %g
delete group script = /usr/bin/smbldap-groupdel.pl %u
add user to group script = /usr/bin/smbldap-groupmod.pl -m %u %g
delete user from group script = /usr/bin/smbldap-groupmod.pl -x %u
%g
set primary group script = /usr/bin/smbldap-usermod.pl -g gid %u
add machine script = /usr/bin/smbldap-useradd.pl -w %u
domain logons = Yes
os level = 65
preferred master = Yes
domain master = Yes
wins support = Yes
ldap suffix = dc=voes,dc=de
ldap machine suffix = ou=computer
ldap user suffix = ou=benutzer
ldap group suffix = ou=gruppen
ldap idmap suffix = dc=voes,dc=de
ldap admin dn = cn=ldmin,dc=voes,dc=de
ldap ssl = no
write list = root
printer admin = root
create mask = 0777
directory mask = 0777
map acl inherit = Yes
inherit permissions = Yes
inherit acls = Yes
printing = cups
print command = lpr -r -oraw -P%p %s
lpq command = lpq -P%p
lprm command = lprm -P%p %j

[netlogon]
path = /daten/netlogon
admin users = root
browseable = No

[profile]
path = /daten/profiles
read only = No
guest ok = Yes

[print$]
path = /var/lib/samba/drivers
admin users = root
read only = No
create mask = 0664
map acl inherit = No
strict locking = No

[printers]
path = /tmp
printable = Yes
browseable = No
printing = cups
print command = lpr -r -oraw -P%p %s
lpq command = lpq -P%p
lprm command = lprm -P%p %j

[netlogon]
path = /daten/netlogon
admin users = root
browseable = No

[profile]
path = /daten/profiles
read only = No
guest ok = Yes

[print$]
path = /var/lib/samba/drivers
admin users = root
read only = No
create mask = 0664
map acl inherit = No
strict 

[Samba] Printerassistent.

2003-11-18 Thread Stefan . Iven




Hi there,

Ok. My last postings about my problems with printerinstalation over
controlpanel were
still not answered.
So maybe I have to ask my question in an other way.

Is someone able to install a printer shared by Samba 3/Samba pre3 x over
the controlpanel?

I can't. I can't see my Server. I can see the Domain name and I can see
other clients wich belong
to the domain.
I can see all and connect to all over the Networkneighborhood.


Normaly I would say that conecting printer over the Networkneighborhood is
enough,
but it seems to me that applications become slow if you try to change the
printer
in the aplication.


Can someone? Any ideas? Pleas !

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


[Samba] Printerassistent.

2003-11-18 Thread Kurt Pfeifle
[Samba] Printerassistent.

* To: samba at listsdotsambadotorg
* Subject: [Samba] Printerassistent.
* From: StefandotIven at voessingdotde
* Date: Tue, 18 Nov 2003 10:43:26 +0100


Hi there,

Ok. My last postings about my problems with printerinstalation over
controlpanel were still not answered.
So maybe I have to ask my question in an other way.
Is someone able to install a printer shared by Samba 3/Samba pre3 x over
the controlpanel?
I don't clearly understand your question. Please describe exactly what
you want to achieve.
From what I guess, it is that you want start the Add Printer Wizard
on a Win workstation and add a printer to the Samba server.
This is not possible -- or only possible if you provide a custom script
and call it with the add printer command in smb.conf. The script would
have to draw its input parameters from the fields filled in by the user
running the Add Printer Wizard and then create a printer to the real
Unix print subsystem of your Samba server (not just add it to the
smb.conf)
What is possible is to add a driver to the Samba server and associate it
to a pre-existing (raw) print queue of the Unix print subsystem (this
queue may, in the case of CUPS, have been created with the help of the
CUPS web interface sitting behind port 631).
Cheers,
Kurt
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Antwort: [Samba] Printerassistent.

2003-11-18 Thread Stefan . Iven




Hello Kurt,

first I like to thank you that you try to help me.

I will try to explain my problem exactly.
Here is what I have done.

I set up Samba as an PDC.
I generated shares and printershares.
I browsed my network over the Networkneighborhood down to my Sambaserver.
There I can see all File and Printershares.
I doubleclicked the printerfolder where I then can see only shared printers
and one folder calld new printer.
I then rightclicked a shared printer and went to the process for uploading
the printerdriver in the Sambaserver.
So far so good. Everything is ok. No errors

Now i will install the printer on the client machine.

One way is to  browse the Networkneighborhood.
So I browsed one folder up, there where I can see printer- and fileshares.
I rightclick the printer for wich I first installed the drivers in the
server and choosed connect.
The drivers were downloaded from the server and printer is installed an the
client.
The client is able to print correctly.

Browsing the Network is one way to install a printer on a client.
An other way to install a printer on a client is to use the controlpanal.

So I clicked the startbutton on the client, went to the controlpanel,
clicked Printers, clicked Add new Printer,
choosed Networkprinter, left the printername empty to search for the
printer, clicked continue button,
and then -- there I can see the domain, some clients wich belong to the
domain and wich offers printer,
but not my samba server.

I hope you now understand what I mean. Today I tried with Suse Sles8, the
newest updates, but still the same problem.
2.2.8a worked right, but I'm not able to get this running with Samba3.

I realy hope that I now have exactly explained what I mean.

Thanks a lot, and I hope to hear you.


MfG Stefan



 [Samba] Printerassistent.

 * To: samba at listsdotsambadotorg
 * Subject: [Samba] Printerassistent.
 * From: StefandotIven at voessingdotde
 * Date: Tue, 18 Nov 2003 10:43:26 +0100



 Hi there,

 Ok. My last postings about my problems with printerinstalation over
 controlpanel were still not answered.
 So maybe I have to ask my question in an other way.

 Is someone able to install a printer shared by Samba 3/Samba pre3 x over
 the controlpanel?


I don't clearly understand your question. Please describe exactly what
you want to achieve.

 From what I guess, it is that you want start the Add Printer Wizard
on a Win workstation and add a printer to the Samba server.

This is not possible -- or only possible if you provide a custom script
and call it with the add printer command in smb.conf. The script would
have to draw its input parameters from the fields filled in by the user
running the Add Printer Wizard and then create a printer to the real
Unix print subsystem of your Samba server (not just add it to the
smb.conf)

What is possible is to add a driver to the Samba server and associate it
to a pre-existing (raw) print queue of the Unix print subsystem (this
queue may, in the case of CUPS, have been created with the help of the
CUPS web interface sitting behind port 631).

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


[Samba] Printerassistent.

2003-11-18 Thread Kurt Pfeifle
Antwort: [Samba] Printerassistent.

* To: samba at listsdotsambadotorg
* Subject: Antwort: [Samba] Printerassistent.
* From: StefandotIven at voessingdotde
* Date: Tue, 18 Nov 2003 16:35:35 +0100


Hello Kurt,

first I like to thank you that you try to help me.

I will try to explain my problem exactly.
Here is what I have done.
I set up Samba as an PDC.
I generated shares and printershares.
I browsed my network over the Networkneighborhood down to my Sambaserver.
There I can see all File and Printershares.
I doubleclicked
Which client Win OS are you using?

the printerfolder where I then can see only shared printers
and one folder calld new printer.
I then rightclicked a shared printer and went to the process for uploading
the printerdriver in the Sambaserver.
So far so good. Everything is ok. No errors
Now i will install the printer on the client machine.

One way is to  browse the Networkneighborhood.
So I browsed one folder up, there where I can see printer- and fileshares.
I rightclick the printer for wich I first installed the drivers in the
server and choosed connect.
The drivers were downloaded from the server and printer is installed an the
client.
The client is able to print correctly.
Browsing the Network is one way to install a printer on a client.
And this is the recomended way in the HOWTO

An other way to install a printer on a client is to use the controlpanal.

Well, at least in the HOWTO this is nowhere recommended... (It is even in
a pure MS Windows environment a much slower way to do it, if you have
more than a few dozen PCs and printers...)
This doesn't say that there might not be a bug with that part of the
Samba-Code, however...)
So I clicked the startbutton on the client, went to the controlpanel,
clicked Printers, clicked Add new Printer,
choosed Networkprinter, left the printername empty to search for the
printer, clicked continue button,
and then -- there I can see the domain, some clients wich belong to the
domain and wich offers printer,
but not my samba server.
You'd need to post your smb.conf (minus comments) to get more advice
on that
I hope you now understand what I mean.
Yes.

Today I tried with Suse Sles8, the
newest updates, but still the same problem.
2.2.8a worked right, but I'm not able to get this running with Samba3.
I realy hope that I now have exactly explained what I mean.

Thanks a lot, and I hope to hear you.

MfG Stefan

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