[Samba] Samba on Printserver crashing

Rowland Penny rpenny at samba.org
Thu Jul 7 14:26:25 UTC 2022


On Thu, 2022-07-07 at 15:55 +0200, Christian Naumer via samba wrote:
> Hi there,
> we have upgraded our printserver to samba 4.16.2 from 4.15. Since
> then 
> we can not add new drivers thorugh the windows tools. If we try we
> get a 
> core dump:

You shouldn't get a core dump.

> 
> 
> Also in the Windows Printeradmin console no printers are listed
> (this 
> used to work with 4.15).
> 
> Anybody seen this? Should I file a bug?
> 
> System is a Rocky Linux 8.6 with samba 4.16.2.
> 
> Here is the SMB.conf
> [global]
>          netbios name = Printserver
>          server string = Printserver
>          security = ADS
>          realm = HQ.DOMAIN.DE
>          workgroup = DOMAIN-02
>          max log size = 50000
>          disable netbios = yes
>          smb ports = 445
>          server min protocol = SMB2
>          client min protocol = SMB2
>          #log level = 4
>          log level = 1 auth_audit:2
>          logging =syslog only
>          kerberos method = secrets and keytab
>          dedicated keytab file = /etc/krb5.keytab
>          writeable =YES
>          map acl inherit = yes
>          store dos attributes = yes
>          inherit acls = Yes
>          username map = /etc/samba/smbusers
>          interfaces = lo eth0
>          bind interfaces only = Yes
>          ##idmap##
>          # Default idmap config used for BUILTIN and local windows 
> accounts/groups
>          idmap config *:backend = tdb
>          idmap config *:range = 1000000-2000000
> 
>          # idmap config for domain DOMAIN-02
>          idmap config -02:backend = ad

Is that a cut&paste typo ?

>          idmap config DOMAIN-02:range = 500-65555
>          idmap config DOMAIN-02:schema_mode = rfc2307
>          idmap config DOMAIN-02:unix_nss_info = yes
>          winbind use default domain = Yes
>          winbind offline logon = yes
>          winbind refresh tickets = yes
>          machine password timeout = 604800
>          #Printing
>          rpc_server:spoolss = external
>          rpc_daemon:spoolssd = fork
>          spoolss: architecture = Windows x64
>          min domain uid = 500

That '500' should be '0'

Rowland

Please do not 'CC' me, just send posts to the mailing list.





More information about the samba mailing list