Nicolay wrote: > [b]Problem:[/b] > We have Debian as a NIS server and Solaris 10 as NIS client but > authentication can't be made, although ypmatch shows that everything works > perfect. > > We've found out a [b]reason:[/b] > Solaris pam module recieves only 'x' as a password hash. That happens > because `passwdutil` library routine looks for password hash only in > `passwd.byname` and `passwd.ajunct.byname` NIS maps, but not in the > `shadow.byname` NIS map. (This looks very strange, but this is how the things > are settled) > > We've came up with a [b]solution:[/b] > Patch `passwdutil` library - add a section to look up the hash in > `shadow.byname` if it wasn't found in `passwd` or `passwd.ajunct` previously. > Very simple. > > So, any ideas about it? Is it a good way? Have anybody encountered this > problem?
There is no such map as shadow.byname. This must be a Linuxism, as is often the case in this area Linux has done an embrace and extend. -- Darren J Moffat