Machine Account is Inaccessible (1.9.19-prealpha)

Jeremy Allison jallison at whistle.com
Wed Apr 22 16:38:48 GMT 1998


Gerald Carter wrote:

> 
> I think this is the problem.  In the three files
> 
>         source/lib/rpc/server/srv_wkssvc.c:create_wks_info_100()
>         source/lib/rpc/server/srv_srvsvc.c:srv_reply_net_srv_get_info()
>         source/lib/rpc/server/srv_netlog.c:api_net_sam_logon()
> 
> There is a call which sets the name returned to be the DNS name.  Since
> the DNS name and NetBIOS name are different, this breaks things.  I my
> case, I was running a second samba server acting as the PDC.  The login
> script would not run because it was trying to get a reponse from the
> server on the primary interface.
> 
> You can either try changing the NetBIOS name to the DNS name.  Or
> comment out the call to get_myname(myname, NULL) in the 3 functions
> listed above.  Since myname is a global variable that should already
> have the NetBIOS name in it, commenting out these calls should be of no
> consequence.  In fact, they probably should not be there at all unless
> the myname string is empty.
> 

Indeed you are completely correct. I am fixing this
in the head branch.

Thanks,

	Jeremy.

-- 
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------


More information about the samba-ntdom mailing list