Hi, In NetBSD SHM_R and SHM_W are not defined. This crashes src/profile/profile.c. I had to insert following lines to get it compiled: #ifndef SHM_R #define SHM_R 0400 #endif #ifndef SHM_W #define SHM_W 0200 #endif It might be a good idea to insert these somewhere as netbsd is broken?? //Patrik -- samba-tech at cat.iki.fi