Dear,Samba updated to 4.4.5 version.The Samba is a secundary DC.I'm getting some authentication errors. smbclient -k -L //domain.localsession setup failed: NT_STATUS_INTERNAL_ERROR Using my PC when I try to access the \\sambadc, is asking User and Password.The logs appears this: ctx setting sec (0, 0) - 0 = sec_ctx_stack_ndx[25/07/2016 14: 08: 04.581532, 5] ../libcli/security/security_token.c:53(security_token_debug) Security token: (NULL)[25/07/2016 14: 08: 04.581539, 5] ../source3/auth/token_util.c:639(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and 0 contains supplementary groups[25/07/2016 14: 08: 04.581551, 5] ../source3/smbd/uid.c:425(smbd_change_to_root_user) change_to_root_user: now uid = (0,0) gid = (0,0)[07/25/2016 14: 08: 04.581807 3] ../source3/smbd/server_exit.c:246(exit_server_common) Server exit (NT_STATUS_CONNECTION_RESET) What can be wrong in the settings?
On 25/07/16 18:27, Ricardo Pardim Claus wrote:> Dear,Samba updated to 4.4.5 version.The Samba is a secundary DC.I'm getting some authentication errors. > smbclient -k -L //domain.localsession setup failed: NT_STATUS_INTERNAL_ERROR > Using my PC when I try to access the \\sambadc, is asking User and Password.The logs appears this: > ctx setting sec (0, 0) - 0 = sec_ctx_stack_ndx[25/07/2016 14: 08: 04.581532, 5] ../libcli/security/security_token.c:53(security_token_debug) Security token: (NULL)[25/07/2016 14: 08: 04.581539, 5] ../source3/auth/token_util.c:639(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and 0 contains supplementary groups[25/07/2016 14: 08: 04.581551, 5] ../source3/smbd/uid.c:425(smbd_change_to_root_user) change_to_root_user: now uid = (0,0) gid = (0,0)[07/25/2016 14: 08: 04.581807 3] ../source3/smbd/server_exit.c:246(exit_server_common) Server exit (NT_STATUS_CONNECTION_RESET) > > What can be wrong in the settings?No idea, you haven't posted any :-) Can you post your full setup, all we know at present is that your second DC is running on a Unix machine using Samba 4.4.5. Is the first DC a Samba machine or a windows machine ? It will probably help if you post your conf files etc. Rowland
Correcting information.In the test environment, compiled Samba 4.4.5 package and entered the field as a secondary DC. The VM was not configured Samba.After joining the domain until then it seemed that everything was fine.I was looking for a solution to the "access denied" in sysvol.I decided to restart the server. When he came back, I started receiving the error NT_STATUS_INTERNAL_ERROR. De: Ricardo Pardim Claus <ricardo.claus at yahoo.com.br> Para: "samba at lists.samba.org" <samba at lists.samba.org> Enviadas: Segunda-feira, 25 de Julho de 2016 14:27 Assunto: NT_STATUS_INTERNAL_ERROR Dear,Samba updated to 4.4.5 version.The Samba is a secundary DC.I'm getting some authentication errors. smbclient -k -L //domain.localsession setup failed: NT_STATUS_INTERNAL_ERROR Using my PC when I try to access the \\sambadc, is asking User and Password.The logs appears this: ctx setting sec (0, 0) - 0 = sec_ctx_stack_ndx[25/07/2016 14: 08: 04.581532, 5] ../libcli/security/security_token.c:53(security_token_debug) Security token: (NULL)[25/07/2016 14: 08: 04.581539, 5] ../source3/auth/token_util.c:639(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and 0 contains supplementary groups[25/07/2016 14: 08: 04.581551, 5] ../source3/smbd/uid.c:425(smbd_change_to_root_user) change_to_root_user: now uid = (0,0) gid = (0,0)[07/25/2016 14: 08: 04.581807 3] ../source3/smbd/server_exit.c:246(exit_server_common) Server exit (NT_STATUS_CONNECTION_RESET) What can be wrong in the settings?
On 25/07/16 19:21, Ricardo Pardim Claus wrote:> Correcting information.In the test environment, compiled Samba 4.4.5 package and entered the field as a secondary DC. The VM was not configured Samba.After joining the domain until then it seemed that everything was fine.I was looking for a solution to the "access denied" in sysvol.I decided to restart the server. When he came back, I started receiving the error NT_STATUS_INTERNAL_ERROR. > > De: Ricardo Pardim Claus <ricardo.claus at yahoo.com.br> > Para: "samba at lists.samba.org" <samba at lists.samba.org> > Enviadas: Segunda-feira, 25 de Julho de 2016 14:27 > Assunto: NT_STATUS_INTERNAL_ERROR > > Dear,Samba updated to 4.4.5 version.The Samba is a secundary DC.I'm getting some authentication errors. > smbclient -k -L //domain.localsession setup failed: NT_STATUS_INTERNAL_ERROR > Using my PC when I try to access the \\sambadc, is asking User and Password.The logs appears this: > ctx setting sec (0, 0) - 0 = sec_ctx_stack_ndx[25/07/2016 14: 08: 04.581532, 5] ../libcli/security/security_token.c:53(security_token_debug) Security token: (NULL)[25/07/2016 14: 08: 04.581539, 5] ../source3/auth/token_util.c:639(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and 0 contains supplementary groups[25/07/2016 14: 08: 04.581551, 5] ../source3/smbd/uid.c:425(smbd_change_to_root_user) change_to_root_user: now uid = (0,0) gid = (0,0)[07/25/2016 14: 08: 04.581807 3] ../source3/smbd/server_exit.c:246(exit_server_common) Server exit (NT_STATUS_CONNECTION_RESET) > > What can be wrong in the settings? > > >No, sorry, still cannot see the information I asked you to post. Without that info, we cannot even begin to start to help you. Rowland
Dear Rowland, Follows the requested information:DC Primary: Windows 2008 R2Secondary DC: Samba 4.4.5 Content smb.conf [global] #bind interfaces only = Yes interfaces = lo eno16777984 netbios name = SRV14 realm = DOMAIN.LOCAL server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbindd, ntp_signd, kcc, dnsupdate, dns workgroup = DOMAIN server role = active directory domain controller comment = #vfs objects = acl_xattr #map acl inherit = yes #store dos attributes = yes log file = /var/log/samba/%m.log log level = 9 [netlogon] path = /usr/local/samba/var/locks/sysvol/domain.local/scripts read only = No [sysvol] path = /usr/local/samba/var/locks/sysvol read only = No Content krb5.conf [logging] default = FILE:/var/log/krb5libs.log kdc = FILE:/var/log/krb5kdc.log admin_server = FILE:/var/log/kadmind.log [libdefaults] dns_lookup_realm = false dns_lookup_kdc = true ticket_lifetime = 24h renew_lifetime = 7d forwardable = true rdns = false default_realm = DOMAIN.LOCAL default_ccache_name = KEYRING:persistent:%{uid} [realms]# EXAMPLE.COM = {# kdc = kerberos.example.com# admin_server = kerberos.example.com# } [domain_realm]# .example.com = EXAMPLE.COM# example.com = EXAMPLE.COM I hope I have passed all the necessary information. If you need any more information, I ask you to let me know.Thank you!