password API needed
bigfoot at astrakan.hgs.se
Mon May 25 06:20:00 GMT 1998
On Thu, 21 May 1998, Luke Kenneth Casson Leighton wrote:
> there are checks in password.c and smbpasswd.c to check that there exists
> a unix account for the smb (nt) user with same name / same unix uid.
> is this done through a single function, for consistency? _should_ it?
> should NIS+ be added ("passwd.org_dir") or is the standard getpwnam()
If the machine uses NIS+ for the passwd table it is sufficient to use
getpwnam() and friends but if not, you have to make the calls to NIS+
So, it depends on the setup of the machine. You can have NIS+ running
without actually using it or maybe just use it for mailaliases or some
other table(s) you want to distribute. All this is controlled from
/etc/nsswitch.conf for the standard tables. In the samba case one might
not want users to be able to login to the server and an easy way to do
that is not using the passwd NIS+ table other than from samba.
Hope this helps,
Benny Holmgren bigfoot at astrakan.hgs.se
Astrakan Computer Club tel. +46-(0)26-183573
Sweden "It's not about length, it's shoesize"
More information about the samba-technical