Cannot Login to Domain

Greg Dickie greg at discreet.com
Tue Dec 8 19:32:43 GMT 1998


I believe this is the problem with getgrpunixpwent always returning the same
group. Can you push debug level to 10 and look for lines like 
"getgrpunixpwent: enum unix group entry"

in the log file?

It seems to me that it gets stuck in an infinite loop enumerating groups, thus
eating all the CPU and never logging you in.


Greg

On 08-Dec-98 Michael S. Hulet wrote:
> I downloaded a fresh cvs Monday morning 12/8/98.  Same problems.  I cannot 
> login and smbd eats up 98% of my cpu time.  I don't know if anyone on the
> samba team is looking into this anomaly.  We are running samba on a DEC
> Alpha 4.0d and it looks like Irix is experiencing the same problem.  
> Michael Hulet
> 
> 
> On Wed, 2 Dec 1998, Greg Dickie wrote:
> 
>> 
>> YUp, this is what I'm seeing to. It looks like getgrent is, in fact not
>> cycling
>> through the file but always returning the same entry. I'm trying to figure
>> this
>> out at the moment. You're not on IRIX by any chance, are you?
>> 
>> Greg
>> 
>> On 02-Dec-98 Michael S. Hulet wrote:
>> > The latest CVS code (12/2/98) does not allow me to login to the domain. 
>> >   PID USERNAME PRI NICE  SIZE   RES STATE   TIME    CPU COMMAND
>> > 17933 root      53    0 5784K 1638K run     2:19 99.00% <smbd>
>> > 
>> > smbd starts up another process until it brings my server to its knees.
>> >   PID USERNAME PRI NICE  SIZE   RES STATE   TIME    CPU COMMAND
>> > 18191 root      53    0 5128K  786K run     0:23 49.70% <smbd>
>> > 17933 root      53    0 5920K 1703K run     2:43 49.60% <smbd>
>> > 
>> > NT gives me The system cannot log you on to this domain because the
>> > system's computer account in its primary domain is missing or the password
>> > on the account is incorrect after a couple of minutes.  smbd continues to
>> > consume 99% of my cpu time until I kill it.
>> >  Just started happening this week.
>> > 
>> > The log file shows a continues loop of 
>> > [1998/12/02 10:05:02, 10] lib/domain_namemap.c:lookupsmbpwnam(884)
>> >   lookupsmbpwnam: unix user name root
>> > [1998/12/02 10:05:02, 10] lib/domain_namemap.c:lookupsmbpwuid(908)
>> >   lookupsmbpwuid: unix uid 0
>> > [1998/12/02 10:05:02, 10] lib/domain_namemap.c:lookupsmbpwnam(884)
>> >   lookupsmbpwnam: unix user name hulet
>> > [1998/12/02 10:05:02, 10] lib/domain_namemap.c:lookupsmbpwuid(908)
>> >   lookupsmbpwuid: unix uid 204
>> > [1998/12/02 10:05:02, 10] groupdb/groupunix.c:getgrpunixpwent(203)
>> >   line: 'system::1001:,hulet'
>> > [1998/12/02 10:05:02, 5] groupdb/groupdb.c:iterate_getusergroupsnam(239)
>> >   group name system members: 2
>> > [1998/12/02 10:05:02, 10] groupdb/groupdb.c:user_is_member(195)
>> >   searching against user root...
>> > [1998/12/02 10:05:02, 10] groupdb/groupdb.c:user_is_member(195)
>> >   searching against user hulet...
>> > [1998/12/02 10:05:02, 10] groupdb/groupdb.c:user_is_member(198)
>> >   searching for user hulet: found
>> > [1998/12/02 10:05:02, 10] groupdb/groupdb.c:add_domain_group(175)
>> >   adding group system()
>> > [1998/12/02 10:05:02, 10] groupdb/groupunix.c:getgrpunixpwent(162)
>> >   getgrpunixpwent: enum unix group entry system
>> > [1998/12/02 10:05:02, 10] lib/domain_namemap.c:lookupsmbgrpgid(1143)
>> >   lookupsmbgrpgid: unix gid 0
>> > [1998/12/02 10:05:02, 7] lib/util_sid.c:sid_to_string(50)
>> >   sid_to_string returning S-1-5-32-544
>> > [1998/12/02 10:05:02, 10] lib/domain_namemap.c:map_unixid(759)
>> >   map_unixid: enum entry unix group admin 68 nt Administrators
>> > S-1-5-32-544
>> > [1998/12/02 10:05:02, 7] lib/util_sid.c:sid_to_string(50)
>> >   sid_to_string returning S-1-5-21-2223245607-1664418827-1016294829-512
>> > [1998/12/02 10:05:02, 10] lib/domain_namemap.c:map_unixid(759)
>> >   map_unixid: enum entry unix group ittc 29690 nt Domain Admins
>> > S-1-5-21-2223245607-1664418827-1016294829-512
>> > 
>> > .........100's of times until
>> > 
>> > [1998/12/02 10:06:00, 6] param/loadparm.c:lp_file_list_changed(1783)
>> >   lp_file_list_changed()
>> >   file /usr/system/samba/lib/smb.conf -> /usr/system/samba/lib/smb.conf
>> > last mo
>> > d_time: Wed Dec  2 09:28:29 1998
>> > 
>> > [1998/12/02 10:06:00, 2] smbd/process.c:smbd_process(872)
>> >   Closing idle connection 2.
>> > [1998/12/02 10:06:00, 2] smbd/server.c:exit_server(406)
>> >   Closing connections
>> > [1998/12/02 10:06:00, 3] smbd/service.c:close_cnum(510)
>> >   carmack (0.0.0.0) closed connection to service IPC$
>> > [1998/12/02 10:06:00, 3] smbd/connection.c:yield_connection(40)
>> >   Yielding connection to IPC$
>> > [1998/12/02 10:06:00, 3] smbd/server.c:exit_server(431)
>> >   Server exit (normal exit)
>> > [1998/12/02 10:08:59, 5] smbd/uid.c:unbecome_user(343)
>> >   unbecome_user now uid=(0,0) gid=(0,0)
>> > [1998/12/02 10:08:59, 5] smbd/uid.c:unbecome_user(343)
>> >   unbecome_user now uid=(0,0) gid=(0,0)
>> > [1998/12/02 10:08:59, 2] smbd/server.c:exit_server(406)
>> >   Closing connections
>> > [1998/12/02 10:08:59, 2] smbd/server.c:exit_server(406)
>> >   Closing connections
>> > [1998/12/02 10:08:59, 3] smbd/service.c:close_cnum(510)
>> >   carmack (129.237.123.72) closed connection to service IPC$
>> > [1998/12/02 10:08:59, 3] smbd/connection.c:yield_connection(40)
>> >   Yielding connection to IPC$
>> > [1998/12/02 10:08:59, 3] smbd/server.c:exit_server(431)
>> >   Server exit (caught signal)
>> > [1998/12/02 10:08:59, 3] smbd/service.c:close_cnum(510)
>> >   carmack (129.237.123.72) closed connection to service IPC$
>> > [1998/12/02 10:08:59, 3] smbd/connection.c:yield_connection(40)
>> >   Yielding connection to IPC$
>> > [1998/12/02 10:08:59, 3] smbd/server.c:exit_server(431)
>> >   Server exit (caught signal)
>> > 
>> > 
>> > HELP!
>> 

---------------------------------------------------------------------
Greg Dickie
Just A Guy*
*from discreet logic
Montreal 
(514) 954-7171
greg at discreet.com



More information about the samba-ntdom mailing list