-----Original Message----- From: fedora-list-bounces@redhat.com [mailto:fedora-list- bounces@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
Tim Holmes wrote:
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?
Are you including the domain name with the username, e.g.
getent passwd 'DOMAIN\USER' | cut -d: -f3
Paul.
On Fri, 2005-08-05 at 13:20 -0400, Tim Holmes wrote:
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?
If you're using winbind to authenticate you can use wbinfo to query the remote authentication server.