Hello, i have a fresh installed/compiled from source samba 4.11.2 on ubuntu 18.04. But samba wont start. Syslog output: Nov? 6 12:15:19 dms systemd[1]: Starting Samba4 smbd... Nov? 6 12:15:19 dms systemd[1]: Started Samba4 smbd. Nov? 6 12:15:19 dms smbd[1557]: [2019/11/06 12:15:19.594448,? 0] ../../source3/auth/auth_util.c:1385(make_new_session_info_guest) Nov? 6 12:15:19 dms smbd[1557]:?? create_local_token failed: NT_STATUS_INVALID_PARAMETER_MIX Nov? 6 12:15:19 dms smbd[1557]: [2019/11/06 12:15:19.594549,? 0] ../../source3/smbd/server.c:2034(main) Nov? 6 12:15:19 dms smbd[1557]:?? ERROR: failed to setup guest info. Nov? 6 12:15:19 dms systemd[1]: smbd.service: Main process exited, code=exited, status=255/n/a Nov? 6 12:15:19 dms systemd[1]: smbd.service: Failed with result 'exit-code' smb.conf [global] ??????? security = ads ??????? realm = DOMAIN.DE ??????? workgroup = DOAMIN ??????? idmap config *:backend = tdb ??????? idmap config *:range = 2000-9999 ??????? idmap config DOAMIN:backend = ad ??????? idmap config DOAMIN:schema_mode = rfc2307 ??????? idmap config DOAMIN:range = 10000-999999 ??????? winbind enum users = no ??????? winbind enum groups = no ??????? winbind cache time = 10 ??????? winbind use default domain = yes ??????? client ntlmv2 auth = yes ??????? ntlm auth = mschapv2-and-ntlmv2-only ??????? restrict anonymous = 2 ??????? domain master = no ??????? local master = no ??????? preferred master = no ??????? os level = 0 ??????? vfs objects = acl_xattr ??????? map acl inherit = yes ??????? store dos attributes = yes ??????? dedicated keytab file = /etc/krb5.keytab ??????? kerberos method = secrets and keytab ??????? winbind refresh tickets = Yes Let me know what you need. Thanks for help!
On 06/11/2019 11:20, Micha Ballmann via samba wrote:> Hello, > > i have a fresh installed/compiled from source samba 4.11.2 on ubuntu > 18.04. But samba wont start. > > Syslog output: > > Nov? 6 12:15:19 dms systemd[1]: Starting Samba4 smbd... > Nov? 6 12:15:19 dms systemd[1]: Started Samba4 smbd. > Nov? 6 12:15:19 dms smbd[1557]: [2019/11/06 12:15:19.594448,? 0] > ../../source3/auth/auth_util.c:1385(make_new_session_info_guest) > Nov? 6 12:15:19 dms smbd[1557]:?? create_local_token failed: > NT_STATUS_INVALID_PARAMETER_MIX > Nov? 6 12:15:19 dms smbd[1557]: [2019/11/06 12:15:19.594549,? 0] > ../../source3/smbd/server.c:2034(main) > Nov? 6 12:15:19 dms smbd[1557]:?? ERROR: failed to setup guest info. > Nov? 6 12:15:19 dms systemd[1]: smbd.service: Main process exited, > code=exited, status=255/n/a > Nov? 6 12:15:19 dms systemd[1]: smbd.service: Failed with result > 'exit-code' > > smb.conf > > [global] > ??????? security = ads > ??????? realm = DOMAIN.DE > ??????? workgroup = DOAMIN > ??????? idmap config *:backend = tdb > ??????? idmap config *:range = 2000-9999 > ??????? idmap config DOAMIN:backend = ad > ??????? idmap config DOAMIN:schema_mode = rfc2307 > ??????? idmap config DOAMIN:range = 10000-999999 > ??????? winbind enum users = no > ??????? winbind enum groups = no > ??????? winbind cache time = 10 > ??????? winbind use default domain = yes > ??????? client ntlmv2 auth = yes > ??????? ntlm auth = mschapv2-and-ntlmv2-only > ??????? restrict anonymous = 2 > ??????? domain master = no > ??????? local master = no > ??????? preferred master = no > ??????? os level = 0 > ??????? vfs objects = acl_xattr > ??????? map acl inherit = yes > ??????? store dos attributes = yes > ??????? dedicated keytab file = /etc/krb5.keytab > ??????? kerberos method = secrets and keytab > ??????? winbind refresh tickets = Yes > > Let me know what you need. > > Thanks for help! > >First guess, winbind isn't running. Rowland
Hai, I see: create_local_token failed: NT_STATUS_INVALID_PARAMETER_MIX So i suggest, remove these 3 first. That's my first bet to change.> > ??????? client ntlmv2 auth = yes > > ??????? ntlm auth = mschapv2-and-ntlmv2-only > > ??????? restrict anonymous = 2Try again, when smbd starts, only add: ntlm auth = mschapv2-and-ntlmv2-only Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Rowland penny via samba > Verzonden: woensdag 6 november 2019 12:33 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] SMBD wont start > > On 06/11/2019 11:20, Micha Ballmann via samba wrote: > > Hello, > > > > i have a fresh installed/compiled from source samba 4.11.2 > on ubuntu > > 18.04. But samba wont start. > > > > Syslog output: > > > > Nov? 6 12:15:19 dms systemd[1]: Starting Samba4 smbd... > > Nov? 6 12:15:19 dms systemd[1]: Started Samba4 smbd. > > Nov? 6 12:15:19 dms smbd[1557]: [2019/11/06 12:15:19.594448,? 0] > > ../../source3/auth/auth_util.c:1385(make_new_session_info_guest) > > Nov? 6 12:15:19 dms smbd[1557]:?? create_local_token failed: > > NT_STATUS_INVALID_PARAMETER_MIX > > Nov? 6 12:15:19 dms smbd[1557]: [2019/11/06 12:15:19.594549,? 0] > > ../../source3/smbd/server.c:2034(main) > > Nov? 6 12:15:19 dms smbd[1557]:?? ERROR: failed to setup guest info. > > Nov? 6 12:15:19 dms systemd[1]: smbd.service: Main process exited, > > code=exited, status=255/n/a > > Nov? 6 12:15:19 dms systemd[1]: smbd.service: Failed with result > > 'exit-code' > > > > smb.conf > > > > [global] > > ??????? security = ads > > ??????? realm = DOMAIN.DE > > ??????? workgroup = DOAMIN > > ??????? idmap config *:backend = tdb > > ??????? idmap config *:range = 2000-9999 > > ??????? idmap config DOAMIN:backend = ad > > ??????? idmap config DOAMIN:schema_mode = rfc2307 > > ??????? idmap config DOAMIN:range = 10000-999999 > > ??????? winbind enum users = no > > ??????? winbind enum groups = no > > ??????? winbind cache time = 10 > > ??????? winbind use default domain = yes > > ??????? client ntlmv2 auth = yes > > ??????? ntlm auth = mschapv2-and-ntlmv2-only > > ??????? restrict anonymous = 2 > > ??????? domain master = no > > ??????? local master = no > > ??????? preferred master = no > > ??????? os level = 0 > > ??????? vfs objects = acl_xattr > > ??????? map acl inherit = yes > > ??????? store dos attributes = yes > > ??????? dedicated keytab file = /etc/krb5.keytab > > ??????? kerberos method = secrets and keytab > > ??????? winbind refresh tickets = Yes > > > > Let me know what you need. > > > > Thanks for help! > > > > > First guess, winbind isn't running. > > Rowland > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >
On 06/11/2019 11:56, L.P.H. van Belle via samba wrote:> Hai, > > I see: create_local_token failed: NT_STATUS_INVALID_PARAMETER_MIX > > So i suggest, remove these 3 first. That's my first bet to change. > > >>> ??????? client ntlmv2 auth = yes >>> ??????? ntlm auth = mschapv2-and-ntlmv2-only >>> ??????? restrict anonymous = 2The clue is in part of the log: ERROR: failed to setup guest info. If winbind isn't running on a Unix domain member, the guest group isn't mapped, but when it is running: wbinfo -s S-1-5-32-546 BUILTIN\Guests 4 wbinfo -n BUILTIN\\Guests S-1-5-32-546 SID_ALIAS (4) getent group BUILTIN\\Guests BUILTIN\guests:x:2009: Rowland
Hey, guess i "troubleshooted" it by myself. I forgot to join the machine, which is working as a domain member. After i joined the server, all services are up now (smbd, winbind, nmbd). I thought smbd needs to be up for joining, but it doesn't need. And yes i removed, thislistings, it was just a copy from smb.conf one of my radius-server: client ntlmv2 auth = yes ??????? ntlm auth = mschapv2-and-ntlmv2-only ??????? restrict anonymous = 2 thanks & regards Micha Am 06.11.2019 um 12:56 schrieb L.P.H. van Belle via samba:> Hai, > > I see: create_local_token failed: NT_STATUS_INVALID_PARAMETER_MIX > > So i suggest, remove these 3 first. That's my first bet to change. > > >>> ??????? client ntlmv2 auth = yes >>> ??????? ntlm auth = mschapv2-and-ntlmv2-only >>> ??????? restrict anonymous = 2 > Try again, when smbd starts, only add: > > ntlm auth = mschapv2-and-ntlmv2-only > > Greetz, > > Louis > > > > >> -----Oorspronkelijk bericht----- >> Van: samba [mailto:samba-bounces at lists.samba.org] Namens >> Rowland penny via samba >> Verzonden: woensdag 6 november 2019 12:33 >> Aan: samba at lists.samba.org >> Onderwerp: Re: [Samba] SMBD wont start >> >> On 06/11/2019 11:20, Micha Ballmann via samba wrote: >>> Hello, >>> >>> i have a fresh installed/compiled from source samba 4.11.2 >> on ubuntu >>> 18.04. But samba wont start. >>> >>> Syslog output: >>> >>> Nov? 6 12:15:19 dms systemd[1]: Starting Samba4 smbd... >>> Nov? 6 12:15:19 dms systemd[1]: Started Samba4 smbd. >>> Nov? 6 12:15:19 dms smbd[1557]: [2019/11/06 12:15:19.594448,? 0] >>> ../../source3/auth/auth_util.c:1385(make_new_session_info_guest) >>> Nov? 6 12:15:19 dms smbd[1557]:?? create_local_token failed: >>> NT_STATUS_INVALID_PARAMETER_MIX >>> Nov? 6 12:15:19 dms smbd[1557]: [2019/11/06 12:15:19.594549,? 0] >>> ../../source3/smbd/server.c:2034(main) >>> Nov? 6 12:15:19 dms smbd[1557]:?? ERROR: failed to setup guest info. >>> Nov? 6 12:15:19 dms systemd[1]: smbd.service: Main process exited, >>> code=exited, status=255/n/a >>> Nov? 6 12:15:19 dms systemd[1]: smbd.service: Failed with result >>> 'exit-code' >>> >>> smb.conf >>> >>> [global] >>> ??????? security = ads >>> ??????? realm = DOMAIN.DE >>> ??????? workgroup = DOAMIN >>> ??????? idmap config *:backend = tdb >>> ??????? idmap config *:range = 2000-9999 >>> ??????? idmap config DOAMIN:backend = ad >>> ??????? idmap config DOAMIN:schema_mode = rfc2307 >>> ??????? idmap config DOAMIN:range = 10000-999999 >>> ??????? winbind enum users = no >>> ??????? winbind enum groups = no >>> ??????? winbind cache time = 10 >>> ??????? winbind use default domain = yes >>> ??????? client ntlmv2 auth = yes >>> ??????? ntlm auth = mschapv2-and-ntlmv2-only >>> ??????? restrict anonymous = 2 >>> ??????? domain master = no >>> ??????? local master = no >>> ??????? preferred master = no >>> ??????? os level = 0 >>> ??????? vfs objects = acl_xattr >>> ??????? map acl inherit = yes >>> ??????? store dos attributes = yes >>> ??????? dedicated keytab file = /etc/krb5.keytab >>> ??????? kerberos method = secrets and keytab >>> ??????? winbind refresh tickets = Yes >>> >>> Let me know what you need. >>> >>> Thanks for help! >>> >>> >> First guess, winbind isn't running. >> >> Rowland >> >> >> >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: https://lists.samba.org/mailman/options/samba >> >> >