method_version struct member in nsswitch/winbind_nss_aix.c

Albert Chin samba-technical at
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)

          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

More information about the samba-technical mailing list