public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Cc: "Harris, Todd" <Brian.Harris@progeny.net>
Subject: Re: missing user name
Date: Fri, 03 Aug 2012 15:14:32 -0400	[thread overview]
Message-ID: <1502137.fsIWu9ny2I@x2> (raw)
In-Reply-To: <CE9F636BC12CA0449033D1E0B8B57C440744D27B98@ES2K7-MBX-1.progeny.net>

On Tuesday, July 31, 2012 03:06:44 PM Harris, Todd wrote:
> I'm looking at a problem that has me really scratching my head.
> 
> I've got a rhel 5.4 system that's using likewise and active directory to
> authenticate users, at least ones that are not defined locally.  Locally
> defined users work just fine, but any user that is defined in the active
> directory server is showing up in events as "unknown(uid)" the uid appears
> to be filled out correctly, and if the user is defined locally as well as
> in active directory it works just fine, but that kind of defeats the
> purpose.

Ausearch/report/libauparse all use the glibc function, getpwuid(). So, the 
names would need to be available via that function. That said, there are ways 
to hook it up so that it resolves with NSS or nscd. It would seem like more 
than just ausearch would have problems resolving user names since getpwnam and 
getpwuid are central to almost all Linux programs that display uid or names.


> Also failed logins are showing up correctly, 

This is because they are handled differently. They are in an acct field rather 
than auid field.

-Steve

      parent reply	other threads:[~2012-08-03 19:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-31 19:06 missing user name Harris, Todd
2012-07-31 19:16 ` Saunders, Thomas D. II
2012-07-31 20:33   ` Harris, Todd
2012-08-01 12:30     ` Daniel J Walsh
2012-08-01 15:10       ` Harris, Todd
2012-08-03 19:14 ` Steve Grubb [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1502137.fsIWu9ny2I@x2 \
    --to=sgrubb@redhat.com \
    --cc=Brian.Harris@progeny.net \
    --cc=linux-audit@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox