I am feeeling quite stupid, but I am not able to have printers working.
I hope someone could help me.
I defined a print$ share 
set in the print$ share  write list= root 
and  printer admin=root 
when I connect from the WINNT client as root
I can see in the printer folder on Samba server
the printers I have in my printcap file
the print$ share,
but not the Add Printer Wizard.
If I try to view the printer properties for any printer
I can see that the "NEW Driver ..." button for installing the new
printer
driver is not active.
so I am logging as root, but I am not root at all.
Why?
I am running Linux Debian2.2rev2, kernel 2.4.3
this is part of my smb.conf
[global]
    netbios name = romeo
    printing = bsd
    printcap name = /etc/printcap
    load printers = yes
    invalid users = bin daemon adm sync shutdown halt mail news uucp 
operator gopher
    security = user
    workgroup = raggi-x
    domain logons = yes
    server string= 
    log file= /var/log/samba/samba.log.%m
    log level=3
    syslog only = no
    syslog = 0
    socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 
SO_RCVBUF=4096
    encrypt passwords = yes
    wins support = yes
    os level = 34
    domain master = yes
    local master = yes
    preferred master = yes
    logon path=\\%L\Profiles
    logon script = scripts\%u.bat
    logon drive= E:
    logon home=\\romeo\utenti\%u
    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
 [Profiles]
    comment = user profiles
    path=/home1/profile
 writable = yes
    browsable = no
    map hidden=yes
    map system=yes
    guest ok=yes
[netlogon]
    comment = the domain logon service
    path = /export/samba/logon
    public = no
    writable = no
    browsable = no
[printers]
    path=/usr/spool/public
    browseable = yes
    printable = yes
    create mode = 0700
    available = yes
[print$]
    browseable = yes
    read only=yes
    write list= root 
    printer admin=root 
    path = /usr/local/samba/printers
    printable = yes
Thanks in advance
Patrizia
On Tue, 8 May 2001, Patrizia Canton wrote:> I am feeeling quite stupid, but I am not able to have printers > working. I hope someone could help me. I defined a print$ share set in > the print$ share write list= root and printer admin=root when I > connect from the WINNT client as root I can see in the printer folder > on Samba server the printers I have in my printcap file the print$ > share, but not the Add Printer Wizard. If I try to view the printer > properties for any printer I can see that the "NEW Driver ..." button > for installing the new printer driver is not active. so I am logging > as root, but I am not root at all. Why? I am running Linux > Debian2.2rev2, kernel 2.4.3 this is part of my smb.conf...> [print$] > browseable = yes > read only=yes > write list= root > printer admin=root > path = /usr/local/samba/printers > printable = yesThis should be 'printable = no' It's a file share. See the example in the HOWTO (http://samba.org/samba/docs/Samba-HOWTO-Collection.pdf) Cheers, jerry ---------------------------------------------------------------------- /\ Gerald (Jerry) Carter Professional Services \/ http://www.valinux.com/ VA Linux Systems gcarter@valinux.com http://www.samba.org/ SAMBA Team jerry@samba.org http://www.plainjoe.org/ jerry@plainjoe.org "...a hundred billion castaways looking for a home." - Sting "Message in a Bottle" ( 1979 )
I am at this point now:
I am connected as root, today it works, yesterday it does not work (maybe
rebooting, I do not know).
BUT when I open the printer folder and try to assign the New driver
to the printer I endend with "It is impossible to obtain the specified
driver. The initial settings will be used".
So I cannot assign the driver.
I checked the directory permission of my /usr/local/samba/printers
the directory and the subdirectory is owned by root, and everybody can rwx
.
this is my smb.conf
[global]
    netbios name = romeo
    printing = bsd
    printcap name = /etc/printcap
    load printers = yes
    invalid users = bin daemon adm sync shutdown halt mail news uucp
operator gopher
    security = user
    workgroup = raggi-x
    domain logons = yes
    server string= 
    log file= /var/log/samba/samba.log.%m
    log level=3
    syslog only = no
    syslog = 0
    socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096
SO_RCVBUF=4096
    encrypt passwords = yes
    wins support = yes
    os level = 34
    domain master = yes
    local master = yes
    preferred master = yes
    logon path=\\%L\Profiles
    logon script = scripts\%u.bat
    logon drive= E:
    logon home=\\romeo\utenti\%u
    name resolve order = lmhosts host wins bcast
    dns proxy = no
    preserve case = yes
    short preserve case = yes
    unix password sync = false
#   passwd program = /usr/bin/passwd %u
#passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\sn;ew\sU#NIX\spassword;:* %n\n .
    max log size = 1000
...
[printers]
    comment = 
    path=/usr/spool/public
    browseable = yes
    printable = yes
    create mode = 0700
    available = yes
[print$] 
    path = /usr/local/samba/printers
    browseable=yes
    read only=yes
    printer admin=root 
    write list=root 
    printable = no