Prepending "\" to user name w/Win98 Domain Login

Mike Gerdts Michael.Gerdts at
Fri Aug 16 07:18:01 GMT 2002

On Fri, 2002-08-16 at 11:21, Jeff Mandel wrote:
> 2) The wacky thing here is that \user actually returns successful with NIS.
> jeff at host% getent passwd jeff
> jeff:x:6789:6789::/export/home/jeff:/bin/ksh
> jeff at host% getent passwd \jeff
> jeff:x:6789:6789::/export/home/jeff:/bin/ksh

Not quite right.  Your shell handled the "\j" and determined that it
should have just been "j".  As such, the getent command really saw
"jeff", not "\jeff".  The proper test would have been

   jeff at host% getent passwd \\jeff

In this case your shell would have translated "\\jeff" into "\jeff"
before sending it as an argument to getent.


More information about the samba-technical mailing list