Samba3 > samba 4

Bryan Anderson shadow431 at gmail.com
Tue Oct 16 21:50:30 MDT 2012


No, this turned out to be some odd ball acl's set during the upgrade under
/usr/local/samba/var/locks/sysvol  every thing under the sysvol and bellow
with permissions different from that of a fresh provision.  I copied the
sysvol ACL's recursively and that solved the problem.  I had previously
reset the ACL's just on the scripts directory but apparently they must have
to match up the through the parents.

Today I had the DNS stop forwarding on Version 4.1.0pre1-GIT-5bb60df  with
"../source4/smbd/process_single.c:56(single_accept_connection)
  single_accept_connection: accept: NT_STATUS_TOO_MANY_OPENED_FILES" in the
log.  I see that some one else had that same experience about 5 days ago.
I haven't looked at the mentioned but though.

-Bryan Anderson



On Mon, Oct 15, 2012 at 11:52 PM, Andrew Bartlett <abartlet at samba.org>wrote:

> On Sat, 2012-10-13 at 17:24 -0700, Bryan Anderson wrote:
> > So I have the domain set up a couple test machines running.  I am trying
> to
> > access the netlogon share and recieve access denied.
> >
> > at log level 3 I see (log.smbd) :
> >
> > [2012/10/13 10:11:40.913096,  3]
> ../source3/smbd/process.c:1789(process_smb)
> >   Transaction 29 of length 80 (0 toread)
> > [2012/10/13 10:11:40.913253,  3]
> > ../source3/smbd/process.c:1392(switch_message)
> >   switch message SMBtrans2 (pid 30083) conn 0x299ac30
> > [2012/10/13 10:11:40.913316,  3]
> > ../source3/smbd/service.c:197(set_current_service)
> >   chdir (/usr/local/samba/var/locks/sysvol/lss.local/scripts) failed,
> > reason: Permission denied
> > [2012/10/13 10:11:40.913371,  3]
> > ../source3/smbd/error.c:82(error_packet_set)
> >   NT error packet at ../source3/smbd/process.c(1511) cmd=50 (SMBtrans2)
> > NT_STATUS_ACCESS_DENIED
> > [2012/10/13 10:11:49.973771,  3]
> ../source3/smbd/process.c:1789(process_smb)
> >   Transaction 30 of length 80 (0 toread)
> > [2012/10/13 10:11:49.974121,  3]
> > ../source3/smbd/process.c:1392(switch_message)
> >   switch message SMBtrans2 (pid 30083) conn 0x299ac30
> > [2012/10/13 10:11:49.974284,  3]
> > ../source3/smbd/service.c:197(set_current_service)
> >   chdir (/usr/local/samba/var/locks/sysvol/lss.local/scripts) failed,
> > reason: Permission denied
> > [2012/10/13 10:11:49.974422,  3]
> > ../source3/smbd/error.c:82(error_packet_set)
> >   NT error packet at ../source3/smbd/process.c(1511) cmd=50 (SMBtrans2)
> > NT_STATUS_ACCESS_DENIED
> > [2012/10/13 10:11:49.975491,  3]
> ../source3/smbd/process.c:1789(process_smb)
> >   Transaction 31 of length 108 (0 toread)
> > [2012/10/13 10:11:49.975689,  3]
> > ../source3/smbd/process.c:1392(switch_message)
> >   switch message SMBtrans2 (pid 30083) conn 0x2e7f8b0
> > [2012/10/13 10:11:49.975977,  3]
> > ../source3/smbd/msdfs.c:914(get_referred_path)
> >   get_referred_path: |netlogon| in dfs path \seasmb\netlogon is not a dfs
> > root.
> > [2012/10/13 10:11:49.976109,  3]
> > ../source3/smbd/error.c:82(error_packet_set)
> >   NT error packet at ../source3/smbd/trans2.c(8419) cmd=50 (SMBtrans2)
> > NT_STATUS_NOT_FOUND
> > [2012/10/13 10:11:49.978787,  3]
> ../source3/smbd/process.c:1789(process_smb)
> >   Transaction 32 of length 80 (0 toread)
> > [2012/10/13 10:11:49.978932,  3]
> > ../source3/smbd/process.c:1392(switch_message)
> >   switch message SMBtrans2 (pid 30083) conn 0x299ac30
> > [2012/10/13 10:11:49.979036,  3]
> > ../source3/smbd/service.c:197(set_current_service)
> >   chdir (/usr/local/samba/var/locks/sysvol/lss.local/scripts) failed,
> > reason: Permission denied
> > [2012/10/13 10:11:49.979085,  3]
> > ../source3/smbd/error.c:82(error_packet_set)
> >   NT error packet at ../source3/smbd/process.c(1511) cmd=50 (SMBtrans2)
> > NT_STATUS_ACCESS_DENIED
> > [2012/10/13 10:11:51.116438,  3]
> ../source3/smbd/process.c:1789(process_smb)
> >   Transaction 33 of length 104 (0 toread)
> > [2012/10/13 10:11:51.116595,  3]
> > ../source3/smbd/process.c:1392(switch_message)
> >   switch message SMBtrans2 (pid 30083) conn 0x299ac30
> > [2012/10/13 10:11:51.116653,  3]
> > ../source3/smbd/service.c:197(set_current_service)
> >   chdir (/usr/local/samba/var/locks/sysvol/lss.local/scripts) failed,
> > reason: Permission denied
> > [2012/10/13 10:11:51.116700,  3]
> > ../source3/smbd/error.c:82(error_packet_set)
> >   NT error packet at ../source3/smbd/process.c(1511) cmd=50 (SMBtrans2)
> > NT_STATUS_ACCESS_DENIED
> > [2012/10/13 10:11:51.249705,  3]
> ../source3/smbd/process.c:1789(process_smb)
> >   Transaction 34 of length 43 (0 toread)
> > [2012/10/13 10:11:51.249997,  3]
> > ../source3/smbd/process.c:1392(switch_message)
> >   switch message SMBulogoffX (pid 30083) conn 0x0
> > [2012/10/13 10:11:51.251801,  3]
> > ../source3/smbd/reply.c:2241(reply_ulogoffX)
> >   ulogoffX vuid=1398
> > [2012/10/13 10:11:51.253216,  3]
> ../source3/smbd/process.c:1789(process_smb)
> >   Transaction 35 of length 39 (0 toread)
> > [2012/10/13 10:11:51.254583,  3]
> > ../source3/smbd/process.c:1392(switch_message)
> >   switch message SMBtdis (pid 30083) conn 0x2e7f8b0
> > [2012/10/13 10:11:51.255669,  3]
> ../source3/smbd/service.c:1176(close_cnum)
> >   10.0.2.120 (ipv4:10.0.2.120:1198) closed connection to service IPC$
> > [2012/10/13 10:11:51.256573,  3]
> > ../source3/smbd/connection.c:38(yield_connection)
> >   Yielding connection to IPC$
> > [2012/10/13 10:11:54.725494,  2]
> > ../source3/smbd/server.c:435(remove_child_pid)
> >   Could not find child 30101 -- ignoring
> >
> >
> > I have use chmod to set permissions to rwxrwxrwx+  on the scripts
> > directory.  Still doesn't work. samba -V returns Version
> > 4.1.0pre1-GIT-2c3a808 on a FC 15 box.
> >
> > I am not worried about the IP address question from earlier as I need to
> > get the upgrade done.
>
> What is in your smb.conf?  Do you have any vfs objects set (if so,
> remove them).
>
> Andrew Bartlett
>
> --
> Andrew Bartlett                                http://samba.org/~abartlet/
> Authentication Developer, Samba Team           http://samba.org
>
>
>


More information about the samba-technical mailing list