Peter_Van_Epp@CC.SFU.CA (09/20/90)
I have been trying to bring Kerberos up on both the IBM RT under AIX and the RS6000 under AIX, and in both cases once I get the code to compile and install, the database updates die due to flock() differences between BSD and SYSV. The RT doesn't have flock() at all and it was faked using fcntl() calls and it looks like the RS6000 does the same thing. The problem with this is that in order to get an exclusive lock, the file needs to be open for write (which the database files aren't and so the update quietly fails without comment!). Is there a way around this (ie. a PD non kernel implementation of flock()!) that I am either not seeing or don't know about? One solution that I see is changing all the open calls to open the files r/w, which is less than good from a security point of view should at least let it work (or is there something I'm not seeing there as well?) any other suggestions? Peter_Van_Epp@cc.sfu.ca
Peter_Van_Epp@CC.SFU.CA (09/20/90)
Thanks for all the responses! The general opinion seems to be: change the open calls to read/write instead of read. I did that this morning and it now seems to work (at least as far as adding names ok, I haven't checked further yet!).