Bjoern.Becker at easycash.de
2012-Oct-01 13:58 UTC
[Samba] Active directory - Unclean shutdown
Hello, i try to connect samba with my active directory. I was able to join the domain successfully and my winbindd running fine. With samba 3.4.3 and samba 3.6.7 i get the following error when i try to connect to a share from a windows 7 box: [2012/10/01 15:01:14, 4] smbd/vfs.c:753(vfs_ChDir) vfs_ChDir to / [2012/10/01 15:01:14, 3] smbd/sec_ctx.c:310(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2012/10/01 15:01:14, 5] auth/token_util.c:522(debug_nt_user_token) NT user token: (NULL) [2012/10/01 15:01:14, 5] auth/token_util.c:548(debug_unix_user_token) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2012/10/01 15:01:14, 5] smbd/uid.c:368(change_to_root_user) change_to_root_user: now uid=(0,0) gid=(0,0) [2012/10/01 15:01:14, 3] smbd/connection.c:31(yield_connection) Yielding connection to [2012/10/01 15:01:14, 3] smbd/server.c:845(exit_server_common) Server exit (failed to receive smb request) [2012/10/01 15:01:14, 3] smbd/server.c:216(remove_child_pid) smbd/server.c:216 Unclean shutdown of pid 28928 In my despair i try the same with samba 4.0.0beta8 and it works but unfortunately unstable. I be able to map the share but when i try to access the samba server getting PANIC. I suppose that i have to use samba 4 because i need smbv2? I thought that samba 3.5.* supporting smb v2 too. Is there any posibility to run this setup with samba 3.*? Regards, Bjoern
Hello, Connecting to a share using Windows 7 should work fine. We do this a lot. Maybe you need some registry changes that are also needed for joining Windows 7 to a Samba domain. http://wiki.samba.org/index.php/Windows7#Windows_7_Registry_settings Regarding Samba 4, there is now a release candidate out, and I think it is wiser to use this over an older beta release. http://ftp.samba.org/pub/samba/rc/ Regards, Gerben Op 01-10-12 15:58, Bjoern.Becker at easycash.de schreef:> Hello, > > i try to connect samba with my active directory. I was able to join the domain successfully and my winbindd running fine. > > With samba 3.4.3 and samba 3.6.7 i get the following error when i try to connect to a share from a windows 7 box: > > [2012/10/01 15:01:14, 4] smbd/vfs.c:753(vfs_ChDir) > vfs_ChDir to / > [2012/10/01 15:01:14, 3] smbd/sec_ctx.c:310(set_sec_ctx) > setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 > [2012/10/01 15:01:14, 5] auth/token_util.c:522(debug_nt_user_token) > NT user token: (NULL) > [2012/10/01 15:01:14, 5] auth/token_util.c:548(debug_unix_user_token) > UNIX token of user 0 > Primary group is 0 and contains 0 supplementary groups > [2012/10/01 15:01:14, 5] smbd/uid.c:368(change_to_root_user) > change_to_root_user: now uid=(0,0) gid=(0,0) > [2012/10/01 15:01:14, 3] smbd/connection.c:31(yield_connection) > Yielding connection to > [2012/10/01 15:01:14, 3] smbd/server.c:845(exit_server_common) > Server exit (failed to receive smb request) > [2012/10/01 15:01:14, 3] smbd/server.c:216(remove_child_pid) > smbd/server.c:216 Unclean shutdown of pid 28928 > > In my despair i try the same with samba 4.0.0beta8 and it works but unfortunately unstable. I be able to map the share but when i try to access the samba server getting PANIC. I suppose that i have to use samba 4 because i need smbv2? I thought that samba 3.5.* supporting smb v2 too. > > Is there any posibility to run this setup with samba 3.*? > > Regards, > Bjoern >-- Station to Station handtekening Gerben van Eck - Software Engineer
On Mon, 2012-10-01 at 13:58 +0000, Bjoern.Becker at easycash.de wrote:> Hello, > > i try to connect samba with my active directory. I was able to join the domain successfully and my winbindd running fine. > > With samba 3.4.3 and samba 3.6.7 i get the following error when i try to connect to a share from a windows 7 box: > > [2012/10/01 15:01:14, 4] smbd/vfs.c:753(vfs_ChDir) > vfs_ChDir to / > [2012/10/01 15:01:14, 3] smbd/sec_ctx.c:310(set_sec_ctx) > setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 > [2012/10/01 15:01:14, 5] auth/token_util.c:522(debug_nt_user_token) > NT user token: (NULL) > [2012/10/01 15:01:14, 5] auth/token_util.c:548(debug_unix_user_token) > UNIX token of user 0 > Primary group is 0 and contains 0 supplementary groups > [2012/10/01 15:01:14, 5] smbd/uid.c:368(change_to_root_user) > change_to_root_user: now uid=(0,0) gid=(0,0) > [2012/10/01 15:01:14, 3] smbd/connection.c:31(yield_connection) > Yielding connection to > [2012/10/01 15:01:14, 3] smbd/server.c:845(exit_server_common) > Server exit (failed to receive smb request) > [2012/10/01 15:01:14, 3] smbd/server.c:216(remove_child_pid) > smbd/server.c:216 Unclean shutdown of pid 28928Aside from looking a little scary, are you aware of any actual problem with your install?> In my despair i try the same with samba 4.0.0beta8 and it works but > unfortunately unstable. I be able to map the share but when i try to > access the samba server getting PANIC. I suppose that i have to use > samba 4 because i need smbv2? I thought that samba 3.5.* supporting > smb v2 too.There have been some PANICs reported with Samba 4.0, and most of them have been dealt with. We have a new lock ordering restriction (designed to prevent deadlocks by ensuring that locks are taken and returned in the same, correct order at all times), and on some failure paths the auto-cleanup does things in the wrong order. The most visible one of these was fixed for rc1 as I understand it, and rc2 is due out in the next few days. If you can still reproduce a panic on v4-0-test or (if you want to follow the master series master) then please file a bug. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org