Finding the UID for samba users

Tim Holmes tholmes at mcaschool.net
Fri Aug 5 17:20:24 UTC 2005


> -----Original Message-----
> From: fedora-list-bounces at redhat.com [mailto:fedora-list-
> bounces at redhat.com] On Behalf Of Paul Howarth
> Sent: Friday, August 05, 2005 1:11 PM
> To: For users of Fedora Core releases
> Subject: Re: Finding the UID for samba users
> 
> Tim Holmes wrote:
> >>getent passwd username | cut -d: -f3
> >>
> >>Substitute "username" with the username you're interested in.
> >>
> >
> > [Tim Holmes]
> > Paul:
> >
> > Thanks so much --
> >
> >
> > Just as a learning tool for me, could you explain the switches that
you
> > used after the pipe in that command?  I am not familiar with them.
> 
> See "man cut" for explanation of options for the "cut" program...
> 
> Paul.
> 
[Tim Holmes] 

Paul 

It appears, that since the users are being validated against the active
directory, there are no entries for them in the passwd database.  The
getent passwd command returns no values

Any other ideas?

TIM






More information about the fedora-list mailing list