How the heck can it work?

Ron Alexander rcalex at
Mon Jul 24 23:06:16 GMT 2000

Similar to *nixes. They are stored using a one way encryption scheme.

-----Original Message-----
From: James Sutherland [mailto:jas88 at]
Sent: July 24, 2000 6:25 PM
To: Ron Alexander
Cc: Steve Langasek; Gerald Carter; Samba-Technical
Subject: RE: How the heck can it work?

On Mon, 24 Jul 2000, Ron Alexander wrote:

> What I meant, is that the returning of the password (encrypted or not) is
> not allowed in a POSIX conforming application. The API call is 'struct
> passwd *getpwnam(const char *name);' Neither the pw_password nor pw_gecos
> fields of the  passwd struct are available in POSIX.1.
> As far as I know, there is no other method to get the password.
> The 'toeing the line' comment was from a friend of mine who pointed out
> many non POSIX conforming systems were changing the getpwnam call to NOT
> return the password so they would be POSIX conforming. Now that I think
> about it though, it makes no sense unless there is another way to
> authenticate a user.

OK, how are passwords stored on this system?


More information about the samba-technical mailing list