[Samba] "getent passwd" works, "getent passwd username" does not
Rowland penny
rpenny at samba.org
Tue May 14 19:30:18 UTC 2019
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
More information about the samba
mailing list