In 3.0.25rc1, --- smbd/password.o --- cc-1164 c99: WARNING File = smbd/password.c, Line = 452 Argument of type "const char *" is incompatible with parameter of type "char *" . if (innetgr(ngname, NULL, user, mydomain)) { ^ cc-1164 c99: WARNING File = smbd/password.c, Line = 452 Argument of type "const char *" is incompatible with parameter of type "char *" . if (innetgr(ngname, NULL, user, mydomain)) { ^ cc-1164 c99: WARNING File = smbd/password.c, Line = 468 Argument of type "const char *" is incompatible with parameter of type "char *" . if (innetgr(ngname, NULL, lowercase_user, mydomain)) { ^ --- lib/access.o --- cc-1164 c99: WARNING File = lib/access.c, Line = 93 Argument of type "const char *" is incompatible with parameter of type "char *" . netgroup_ok = innetgr(tok + 1, hostname, (char *) 0, mydomain); ^
Actually I think this is a case where the header definitions in IRIX are incorrect. This is the Linux definition : int innetgr(const char *netgroup, const char *host, const char *user, const char *domain); The character strings should be const, as innetgr will not modify them. Jeremy.