method_version struct member in nsswitch/winbind_nss_aix.c

Albert Chin samba-technical at mlists.thewrittenword.com
Thu Jul 22 23:03:23 GMT 2004


AIX 4.3.x and 5.1 don't have method_version as a member of struct
secmethod_table so nsswitch/winbind_nss_aix.c fails to compile:
  ...

  int wb_aix_init(struct secmethod_table *methods)
  {
          ZERO_STRUCTP(methods);

          methods->method_version = SECMETHOD_VERSION_520;

          methods->method_getgrgid           = wb_aix_getgrgid;
          ...

Should I just add an autoconf test for method_version and #ifdef the
method_version code? Can method_version safely be ignored?

-- 
albert chin (china at thewrittenword.com)


More information about the samba-technical mailing list