Bug report.

Sean Mathews mathewss at nutech.com
Wed Nov 25 01:48:48 GMT 1998



 I have to get myself home before the wife puts my
dinner out to the dog.. but here is as far as i got on
finding a new bug in cvs today where i cant login to
my boxes anymore.

 start searching for mathewss user to login then it 
switches to another user.

  search by name3: mathewss
[1998/11/24 17:15:51, 6] lib/util_file.c:getfileline(248)
  getfileline: skipping comment or blank line
[1998/11/24 17:15:51, 6] lib/util_file.c:getfileline(248)
  getfileline: skipping comment or blank line
[1998/11/24 17:15:51, 6] lib/util_file.c:getfileline(248)
  getfileline: skipping comment or blank line
[1998/11/24 17:15:51, 5] passdb/smbpass.c:getsmbfilepwent(201)
  getsmbfilepwent: returning passwd entry for user root, uid 0
[1998/11/24 17:15:51, 5] passdb/smbpass.c:getsmbfile21pwent(276)
  getsmbfile21pwent
[1998/11/24 17:15:51, 10] passdb/passdb.c:iterate_getsam21pwnam(282)
  search by name4: root
                 ^^^^^^^ Whoops.. 


from passdb.c with a few debug's added to locate problem.


        DEBUG(10, ("search by name3: %s\n", name));
/* name = mathewss */
        while ((pwd = getsam21pwent(fp)) != NULL &&
!strequal(pwd->smb_name, nam
e))
        {
                DEBUG(10, ("iterate: %s 0x%x\n", pwd->smb_name,
pwd->user_rid));
        }
/* name now = root */
       DEBUG(10, ("search by name4: %s\n", name));

        if (pwd != NULL)
        {
                DEBUG(10, ("found by name: %s\n", name));
        }                   


 Regards 
  Sean Mathews Nu Tech CTO

struct SoftwareProfessional { 
  double salary;
  long   lunches;
  float  jobs;
  char   unstable;
  void   work;
  short  tempers; 
};




More information about the samba-ntdom mailing list