Hi, did you change anything in your smb.conf as the wiki describes for 4.16? (https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Print_Server) . Regards Am 18.08.22 um 11:48 schrieb Ingo Asche via samba:> Hi Louis, > > Yes, I did: > > Password for [SERVICE\administrator]: > > ??????? Sharename?????? Type????? Comment > ??????? ---------?????? ----????? ------- > ??????? sysvol????????? Disk > ??????? netlogon??????? Disk > ??????? Samsung CLP-365 Printer?? Samsung CLP-365 an GalacticaDC82 > ??????? print$????????? Disk????? Point and Print Printer Drivers > ??????? IPC$??????????? IPC?????? IPC Service (Server: AD DC > GalacticaDC82 (Samba 4.16.4-Debian)) > SMB1 disabled -- no workgroup available > > Password for Administrator at SERVICE.MYDOMAIN.DE: > Warning: Your password will expire in 87 days on Sun 13 Nov 2022 > 21:16:52 CET > root at GalacticaDC82:~ # smbclient -L $(hostname -s) -k > WARNING: The option -k|--kerberos is deprecated! > > ??????? Sharename?????? Type????? Comment > ??????? ---------?????? ----????? ------- > ??????? sysvol????????? Disk > ??????? netlogon??????? Disk > ??????? Samsung CLP-365 Printer?? Samsung CLP-365 an GalacticaDC82 > ??????? print$????????? Disk????? Point and Print Printer Drivers > ??????? IPC$??????????? IPC?????? IPC Service (Server: AD DC > GalacticaDC82 (Samba 4.16.4-Debian)) > SMB1 disabled -- no workgroup available > > I did more. As you may wondered, the print server is running on one of > my DC's. But I have a member server for testing. I did create a new > print server on it with a different printer (a label printer) and it > worked as well. > > Is it possible this is based on some GPO's? Microsoft changed in > printing so much you may have to update some GPO's. > > If you are interested I can export mine and send them to you. Just to > compare... > > Regards > Ingo > https://github.com/WAdama > > L. van Belle via samba schrieb am 18.08.2022 um 09:42: >> Interesting, because I also used the 4.16.4 package from backports, >> my version (based on the debian backport) has to be compiled yet.. >> >> have you tried the same commands ? >> smbclient -L $(hostname -s) -Uadministrator?? or with -Usomeusername >> And >> kinit Administrator >> smbclient -L $(hostname -s) -k >> >> when I have a bit more time I'll test also with the windows tools.. >> >> Greetz, >> >> Lois >> >> >> >>> -----Oorspronkelijk bericht----- >>> Van: samba <samba-bounces at lists.samba.org> Namens Ingo Asche via >>> samba >>> Verzonden: woensdag 17 augustus 2022 17:02 >>> Aan: samba at lists.samba.org >>> Onderwerp: Re: [Samba] Printing with Samba 4.16 >>> >>> Hi Christian, Hi Louis, >>> >>> I have updated my Samba to 4.16.4 via the Debian-backports. >>> >>> In my installation the printing seems running as usual, also the >>> installation of >>> drivers is working. >>> >>> I see also the printers in the printer management under every user, >>> even if >>> the user is no admin. >>> >>> Regards >>> Ingo >>> https://github.com/WAdama >>> >>> Christian Naumer via samba schrieb am 17.08.2022 um 14:56: >>>> Am 17.08.22 um 14:51 schrieb L. van Belle via samba: >>>>> Check and done, so I stay on 4.16.2 for my printing for now.? ? >>>>> 4.16.4 does not show printers for me also. >>>>> I reverted back since it was my production print server.. >>>>> >>>>> I think nobody noticed.. ? >>>>> >>>>> Back to my packaging, since I need to overcome an other problem so I >>>>> can publish the latest packages. >>>>> (* has todo with zstd and reprepo ..) nothing with the packages >>>>> themselves. >>>>> >>>>> At least I hope it helped you a bit. >>>> Yes indeed! You probably know the feeling when you notice it is a bug >>>> and not your fault :-) >>>> >>>> >>>> Regards >>>> >>>> Christian >>>> >>> >>> -- >>> To unsubscribe from this list go to the following URL and read the >>> instructions:? https://lists.samba.org/mailman/options/samba >> > >-- Dr. Christian Naumer Vice President Unit Head Bioprocess Development BRAIN Biotech AG Darmstaedter Str. 34-36 64673 Zwingenberg, Germany T: +49 6251 9331-30 F: +49 6251 9331-11 cn at brain-biotech.com www.brain-biotech.com Follow @BRAINbiotech on Twitter: https://twitter.com/BRAINbiotech Follow @BRAIN Biotech AG on LinkedIn: https://www.linkedin.com/company/brainbiotech Sitz der Gesellschaft: Zwingenberg | Bergstrasse Registergericht AG Darmstadt | HRB 24758 Vorstand: Adriaan Moelker (Vorstandsvorsitzender) | Lukas Linnig Aufsichtsratsvorsitzender: Dr. Georg Kellinghusen
> -----Oorspronkelijk bericht----- > Van: samba <samba-bounces at lists.samba.org> Namens Christian Naumer > via samba > Verzonden: donderdag 18 augustus 2022 11:55 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] Printing with Samba 4.16 > > Hi, > did you change anything in your smb.conf as the wiki describes for 4.16? > (https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Print_Server) .Looking at this, and no, I have not changed my config much since .. I think 4.6.x Now I wonder.. reading that 4.16 part.. and I see few processes spawned. 21300 ? S 0:03 \_ /usr/sbin/smbd --foreground --no-process-group 759 ? Ss 0:49 /usr/libexec/samba/samba-dcerpcd --libexec-rpcds --ready-signal-fd=23 --np-helper --debuglevel=0 780 ? S 0:46 \_ /usr/libexec/samba/rpcd_spoolss --configfile=/etc/samba/smb.conf --worker-group=2 --worker-index=0 --debuglevel=0 784 ? S 0:09 | \_ /usr/libexec/samba/samba-bgqd --ready-signal-fd=16 --parent-watch-fd=0 --debuglevel=0 -F 781 ? S 2:02 \_ /usr/libexec/samba/rpcd_spoolss --configfile=/etc/samba/smb.conf --worker-group=2 --worker-index=1 --debuglevel=0 782 ? S 1:17 \_ /usr/libexec/samba/rpcd_spoolss --configfile=/etc/samba/smb.conf --worker-group=2 --worker-index=2 --debuglevel=0 785 ? S 0:44 \_ /usr/libexec/samba/rpcd_spoolss --configfile=/etc/samba/smb.conf --worker-group=2 --worker-index=3 --debuglevel=0 787 ? S 0:55 \_ /usr/libexec/samba/rpcd_spoolss --configfile=/etc/samba/smb.conf --worker-group=2 --worker-index=4 --debuglevel=0 18467 ? S 1:32 \_ /usr/libexec/samba/rpcd_winreg --configfile=/etc/samba/smb.conf --worker-group=0 --worker-index=5 --debuglevel=0 Thanks for that pointer, I'll add these setting and test on them. I might need to increase the idle_seconds .. I don?t know that the default is and I don?t see it with testparm.. Good one .. Thanks! Greetz. Louis
Hi Christian, not that I'm aware of, but have a look yourself: # Global parameters [global] ?? ?apply group policies = Yes ?? ?bind interfaces only = Yes ?? ?dns zone scavenging = Yes ?? ?interfaces = 127.0.0.1 192.168.xxx.xx xxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx ?? ?ldap server require strong auth = No ?? ?load printers = No ?? ?log file = /var/log/samba/samba.log ?? ?logging = syslog at 0 file at 2 ?? ?log level = auth_audit:3 auth_json_audit:3 ?? ?printcap name = cups ?? ?realm = SERVICE.MYDOMAIN.DE ?? ?restrict anonymous = 2 ?? ?server role = active directory domain controller ?? ?server services = s3fs, rpc, wrepl, ldap, cldap, kdc, drepl, winbindd, ntp_signd, kcc, dnsupdate ?? ?server string = Server: AD DC %h (Samba %v) ?? ?smb ports = 445 ?? ?time server = Yes ?? ?workgroup = SERVICE ?? ?rpc_server:spoolss = external ?? ?rpc_daemon:spoolssd = fork ?? ?spoolss: architecture = Windows x64 ?? ?idmap_ldb:use rfc2307 = yes ?? ?cups options = raw [sysvol] ?? ?path = /var/lib/samba/sysvol ?? ?read only = No [netlogon] ?? ?path = /var/lib/samba/sysvol/service.asche-rz.de/scripts ?? ?read only = No [Samsung CLP-365] ?? ?comment = Samsung CLP-365 an GalacticaDC82 ?? ?path = /srv/spool/ ?? ?printable = Yes ?? ?printer name = Samsung_CLP-365 [print$] ?? ?comment = Point and Print Printer Drivers ?? ?map acl inherit = Yes ?? ?path = /srv/samba/printer_drivers/ ?? ?read only = No ?? ?vfs objects = acl_xattr Have in mind this is running on a DC as I have only DC's and some NAS' in my little environment. Regards Ingo https://github.com/WAdama Christian Naumer via samba schrieb am 18.08.2022 um 11:55:> Hi, > did you change anything in your smb.conf as the wiki describes for > 4.16? > (https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Print_Server) . > > > Regards > > > > > Am 18.08.22 um 11:48 schrieb Ingo Asche via samba: >> Hi Louis, >> >> Yes, I did: >> >> Password for [SERVICE\administrator]: >> >> ???????? Sharename?????? Type????? Comment >> ???????? ---------?????? ----????? ------- >> ???????? sysvol????????? Disk >> ???????? netlogon??????? Disk >> ???????? Samsung CLP-365 Printer?? Samsung CLP-365 an GalacticaDC82 >> ???????? print$????????? Disk????? Point and Print Printer Drivers >> ???????? IPC$??????????? IPC?????? IPC Service (Server: AD DC >> GalacticaDC82 (Samba 4.16.4-Debian)) >> SMB1 disabled -- no workgroup available >> >> Password for Administrator at SERVICE.MYDOMAIN.DE: >> Warning: Your password will expire in 87 days on Sun 13 Nov 2022 >> 21:16:52 CET >> root at GalacticaDC82:~ # smbclient -L $(hostname -s) -k >> WARNING: The option -k|--kerberos is deprecated! >> >> ???????? Sharename?????? Type????? Comment >> ???????? ---------?????? ----????? ------- >> ???????? sysvol????????? Disk >> ???????? netlogon??????? Disk >> ???????? Samsung CLP-365 Printer?? Samsung CLP-365 an GalacticaDC82 >> ???????? print$????????? Disk????? Point and Print Printer Drivers >> ???????? IPC$??????????? IPC?????? IPC Service (Server: AD DC >> GalacticaDC82 (Samba 4.16.4-Debian)) >> SMB1 disabled -- no workgroup available >> >> I did more. As you may wondered, the print server is running on one >> of my DC's. But I have a member server for testing. I did create a >> new print server on it with a different printer (a label printer) and >> it worked as well. >> >> Is it possible this is based on some GPO's? Microsoft changed in >> printing so much you may have to update some GPO's. >> >> If you are interested I can export mine and send them to you. Just to >> compare... >> >> Regards >> Ingo >> https://github.com/WAdama >> >> L. van Belle via samba schrieb am 18.08.2022 um 09:42: >>> Interesting, because I also used the 4.16.4 package from backports, >>> my version (based on the debian backport) has to be compiled yet.. >>> >>> have you tried the same commands ? >>> smbclient -L $(hostname -s) -Uadministrator?? or with -Usomeusername >>> And >>> kinit Administrator >>> smbclient -L $(hostname -s) -k >>> >>> when I have a bit more time I'll test also with the windows tools.. >>> >>> Greetz, >>> >>> Lois >>> >>> >>> >>>> -----Oorspronkelijk bericht----- >>>> Van: samba <samba-bounces at lists.samba.org> Namens Ingo Asche via >>>> samba >>>> Verzonden: woensdag 17 augustus 2022 17:02 >>>> Aan: samba at lists.samba.org >>>> Onderwerp: Re: [Samba] Printing with Samba 4.16 >>>> >>>> Hi Christian, Hi Louis, >>>> >>>> I have updated my Samba to 4.16.4 via the Debian-backports. >>>> >>>> In my installation the printing seems running as usual, also the >>>> installation of >>>> drivers is working. >>>> >>>> I see also the printers in the printer management under every user, >>>> even if >>>> the user is no admin. >>>> >>>> Regards >>>> Ingo >>>> https://github.com/WAdama >>>> >>>> Christian Naumer via samba schrieb am 17.08.2022 um 14:56: >>>>> Am 17.08.22 um 14:51 schrieb L. van Belle via samba: >>>>>> Check and done, so I stay on 4.16.2 for my printing for now.? ? >>>>>> 4.16.4 does not show printers for me also. >>>>>> I reverted back since it was my production print server.. >>>>>> >>>>>> I think nobody noticed.. ? >>>>>> >>>>>> Back to my packaging, since I need to overcome an other problem so I >>>>>> can publish the latest packages. >>>>>> (* has todo with zstd and reprepo ..) nothing with the packages >>>>>> themselves. >>>>>> >>>>>> At least I hope it helped you a bit. >>>>> Yes indeed! You probably know the feeling when you notice it is a bug >>>>> and not your fault :-) >>>>> >>>>> >>>>> Regards >>>>> >>>>> Christian >>>>> >>>> >>>> -- >>>> To unsubscribe from this list go to the following URL and read the >>>> instructions:? https://lists.samba.org/mailman/options/samba >>> >> >> >