Web lists-archives.com

Re: [Samba] "getent passwd" works, "getent passwd username" does not




On 14/05/2019 20:11, Neil Price via samba wrote:
Domain member server (Debian stretch with 4.8 from the Van Belle repo)

getent passwd| grep nprice

GIBB\nprice:*:1001104:1000513::/home/GIBB/nprice:/bin/false

getent passwd GIBB\\nprice

(returns nothing)


Now that is weird, it is usually 'getent password' returns nothing ;-)

Just one thought, because '\n' is a linefeed, it might just be that, so try <getent password 'GIBB\nprice'>


getent passwd 1001104 also returns nothing

That should also work

Rowland



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba