nmbd/nmbd_processlogon.c - CODE 12???

Allen Reese allen at driversoft.com
Thu Jul 1 16:47:44 GMT 1999


about 6 months ago I had a similar problem where login's wouldn't work du
to an NT machine fighting with my server over who got to be the lmb.  I
set the registry key on all of my NT boxes and that fixed it for me.

Allen Reese
Senior Software Engineer
Driversoft, Inc.
allen at driversoft.com

On Fri, 2 Jul 1999, Lisa Becktold {CADIG STAFF} wrote:

> Hi:
> 
> I have Samba 2.1.0-prealpha running on a Sun Ultra 10.  My NT PC joined
> the domain without a problem, but I can't logon.  Every time I attempt
> to log into the Samba domain, the NT screen blanks as it usually does
> during login, but then the "Begin Login" screen reappears.
> 
> I see this message in my samba/var/log.nmb file whenever I try to login:
> 
> [1999/06/29 10:43:20, 1] nmbd/nmbd_processlogon.c:process_logon_packet(68)
>   process_logon_packet: Logon from 131.122.84.162: code = 12
> [1999/06/29 10:43:20, 1] nmbd/nmbd_processlogon.c:process_logon_packet(68)
>   process_logon_packet: Logon from 131.122.84.162: code = 12
> [1999/06/29 10:43:20, 1] nmbd/nmbd_processlogon.c:process_logon_packet(68)
>   process_logon_packet: Logon from 131.122.84.162: code = 12
> 
> Does anybody know what "code = 12" means?  The IP address is the correct
> IP for the NT workstation.
> 
> At the same time, the NT workstation and the Samba server are constantly
> quibbling about who is the local master browser.  I think this can be
> corrected with a registry setting on the NT workstation.  But would
> these constant elections cause any problems with my login?  Sample of
> my log.nmb file is appended below.
> 
> THANKS!
> 
>     ----------------------------------------------------------
>       Lisa M. Becktold - lisa at usna.navy.mil, (410) 293-6480
>                United States Naval Academy - CADIG          
>     590 Holloway Road, Rickover Hall, Annapolis, MD 21402-5000
>     ----------------------------------------------------------
> 
> *****************************************************************************
> [1999/06/29 10:34:59, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bca
> st(284)
>   become_domain_master_browser_bcast:
>   Attempting to become domain master browser on workgroup CADIGTST on subnet 131
> 122.84.201
> [1999/06/29 10:34:59, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bca
> st(298)
>   become_domain_master_browser_bcast: querying subnet 131.122.84.201 for domain 
> master browser on workgroup CADIGTST
> [1999/06/29 10:35:03, 0] nmbd/nmbd_logonnames.c:become_logon_server_success(118)
>   become_logon_server_success: Samba is now a logon server for workgroup CADIGTS
> T on subnet 131.122.84.201
> [1999/06/29 10:35:07, 0] nmbd/nmbd_become_dmb.c:become_domain_master_stage2(118)
>   *****
>   
>   Samba server HERMES is now a domain master browser for workgroup CADIGTST on s
> ubnet 131.122.84.201
>   
>   *****
> [1999/06/29 10:35:21, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(406)
>   *****
>   
>   Samba name server HERMES is now a local master browser for workgroup CADIGTST 
> on subnet 131.122.84.201
>   
> [1999/06/29 10:47:09, 0] nmbd/nmbd_incomingdgrams.c:process_local_master_announc
> e(309)
>   process_local_master_announce: Server PC109S03 at IP 131.122.84.162 is announc
> ing itself as a local master browser for workgroup CADIGTST and we think we are
> master. Forcing election.
> [1999/06/29 10:47:09, 0] nmbd/nmbd_become_lmb.c:unbecome_local_master_success(15
> 6)
>   *****
>   
>   Samba name server HERMES has stopped being a local master browser for workgrou
> p CADIGTST on subnet 131.122.84.201
>   
>   *****
> [1999/06/29 10:47:26, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(406)
>   *****
>   
>   Samba name server HERMES is now a local master browser for workgroup CADIGTST 
> on subnet 131.122.84.201
>   
> ******************************************************************************
> 



More information about the samba-technical mailing list