How the heck can it work?

Ron Alexander rcalex at home.com
Fri Jul 28 12:48:42 GMT 2000


I have no idea what the official Standard says. I use the more readable
Stevens book as my reference.

-----Original Message-----
From: John E. Malmberg [mailto:wb8tyw at qsl.net]
Sent: July 28, 2000 2:27 AM
To: Ron Alexander
Cc: samba-technical at samba.org
Subject: Re: How the heck can it work?


> [Ron Alexander <rcalex at home.com>]
> > Unfortunatly, you have to pass the check at line 365 in order to get
> > to the code starting at 379. Since the Get_Pwnam function is POSIX.1
> > compliant on our system, the password is NOT returned, and therefore
> > always fails.

Does the POSIX standard specifically state that the fields are not to be
present?

The X/OPEN single UNIX specification has several structures where some
fields are optionally implemented, and in many cases state that the
structures must contains the mininum mentioned members.  More could be added
for a specfic implementation.

The structure that getpwnam returns a pointer to is one of these.

[In the interests of cross-platform compatability, should bug reports be
filed where SAMBA is always assuming the presence of something that is not
in the "Official" Single Unix Standard from The Open Group as required for
an implementation?]






More information about the samba-technical mailing list