[SCM] Make smbd_lock_socket/smbd_unlock_socket recursive with a ref_count.

Andreas Schneider asn at samba.org
Thu Apr 1 03:50:58 MDT 2010


On Thursday 01 April 2010 02:42:06 Jeremy Allison wrote:
> The branch, master has been updated
>        via  6800fdb... Make smbd_lock_socket/smbd_unlock_socket recursive
> with a ref_count. from  bb54089... s3: Merge French translation for
> pam_winbind after review
> 
> http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
> 
> 
> - Log -----------------------------------------------------------------
> commit 6800fdbb81130b79c2e077e9a7fcbe2d5e0813cb
> Author: Jeremy Allison <jra at samba.org>
> Date:   Wed Mar 31 17:40:30 2010 -0700
> 
>     Make smbd_lock_socket/smbd_unlock_socket recursive with a ref_count.
> 
>     As these always call exit_server, make that part of the function.
>     Use _internal functions for the echo client.
> 
>     Metze please check !
> 
>     Jeremy.

With this commit my smbd doesn't accept a rpc connection anymore.

asn at magrathea:~/workspace/projects/samba/master/source3> bin/rpcclient -I 
127.0.0.1 -U asn magrathea
Enter asn's password:
cli_session_setup_blob: cli->max_xmit too small (was 0, need minimum 81)
failed session setup with NT_STATUS_INVALID_PARAMETER
Cannot connect to server.  Error was NT_STATUS_INVALID_PARAMETER

It works if I revert this patch.

Cheers,

	-- andreas



More information about the samba-technical mailing list