Hello,

we installed cups, the cups-windows driver and added the printers to samba via cupsaddsmb. As administrators we can print to this printer. When I look into windows security tab "everyone" has the right to print, but when the standard users logs in there are two problems:

- the printer does not appear in ther printers windows and I have to add it a secont time to the user

- the user has not the right to print to the printers.

Actualy I solved it by printing via http to cups, but the installation steps are to complicated. **

Can anyone please tell me if there is something wrong in our smb.conf

Thanks
Andreas

[global]
    netbios name = atlas1
    netbios aliases = svc-ps
    workgroup = verwaltung
    server string = Samba
 winbind trusted domains only = Yes
#############################################################
admin users = skaltenhauser jschrott ghirber amessavilla apreti ablasbichler amoroder fsigmund
    wins server = 10.53.5.12
    time server = Yes
############################################################
    security = domain
    domain master = no
    domain logons = no
#########################################################
    ldap admin dn = uid=sambaadmin,dc=sb-brixen,dc=it
    passdb backend = ldapsam:ldap://10.53.5.12/
    ldap machine suffix = ou=samba-computers
    ldap group suffix = ou=groups
    ldap suffix = dc=sb-brixen,dc=it
    ldap user suffix = ou=users
    ldapsam:trusted = yes
####################################################
    directory security mask =  770
    create mask = 0766
    directory mask = 0777
    printing = cups
    dos charset = 850
    os level = 200
    obey pam restrictions = No
    preserve case = yes
    enable privileges = yes
    show add printer wizard = yes
    printcap name = cups
    dont descend = /proc,/dev,/etc,/lib,/lost+found,/initrd
    short preserve case = yes
    max log size = 100000
    log level = 0
    log file = /var/log/samba/%U.log
    load printers = Yes
    hide unreadable = yes
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    mangling method = hash2
    deadtime = 10
    map to guest = Bad User
    username map = /etc/samba/smbusers
    encrypt passwords = Yes
    case sensitive = no
    syslog = 0
    unix charset = ISO8859-1


[printers]
        comment = Network Printers
        printer admin = @"Print Operators"
        guest ok = yes
        printable = yes
        path = /var/spool/samba
        browseable = No
        public = yes

[print$]
        comment =  Drucker Treiber
        path = /etc/samba/drivers
        guest ok = No
        browseable = Yes
        read only = Yes

        write list = @"Print Operators"




** IPP Installation

Add the printer via samba share
Add a second printer via IPP, chose a standard printer driver
change the driver in this second printer to the cups one
delete the first printer.

Not very clean

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

Reply via email to