[SCM] Samba Shared Repository - branch master updated

Andreas Schneider asn at samba.org
Tue Mar 4 08:21:24 MST 2014


On Tuesday 04 March 2014 12:22:11 Bjoern Baumbach wrote:
> On 08/05/2013 12:25 PM, Andreas Schneider wrote:
> >        via  3e4ded4 s3-net: use libnetjoin for "net rpc join" newstyle.
> >        via  9cfa625 s3-net: use libnetjoin for "net rpc testjoin".
> >        via  1242ab0 s3:libnet: let the caller truncate the pw in
> >        libnet_join_joindomain_rpc_unsecure() via  d398a12 s3-libnetjoin:
> >        move "net rpc oldjoin" to use libnetjoin.
> Hi!

Hi,

> The quoted set of patches break the "net rpc join" with "security =
> domain". I assume that this is not intended and is to be rated as a bug,
> isn't it?

if security = domain is set and the workgroup is set correctly too. Then 
everything should be fine.

See libnet_join_check_config() source3/libnet/libnet_join.c

if (valid_workgroup && valid_security) {
	return WERR_OK;
}

So either your workgroup or your security setting doesn't match what it 
expects.


I suggest to step with gdb trough it.


	-- andreas

> 
> Using the commit 3e4ded48bbeacdcd128f3c667cbdd12a3efca312 net says:
> # ./bin/net rpc join -UAdministrator%Passw0rd
> Failed to join domain: Invalid configuration ("realm" set to '', should
> be 'doma.private') and configuration modification was not requested
> Failed to join domain: Invalid configuration ("realm" set to '', should
> be 'doma.private') and configuration modification was not requested
> 
> Using d398a12f7907866189c1b253ca6a40e5454f42a1 the join is working, but
> tells the same "Invalid configuration" issue.
> # ./bin/net rpc join -UAdministrator%Passw0rd
> Failed to join domain: Invalid configuration ("realm" set to '', should
> be 'doma.private') and configuration modification was not requested
> Joined domain DOMA.
> # ./bin/net rpc testjoin
> Join to 'DOMA' is OK
> 
> Using c4d6d75cf48aed7b17728e283581366143fa4233 the join is just "OK".
> 
> Best regards,
> Björn

-- 
Andreas Schneider                   GPG-ID: CC014E3D
Samba Team                             asn at samba.org
www.samba.org



More information about the samba-technical mailing list