SMB_OPT_NUM
for (i = 0; i < SMB_OPT_NUM; i++) {
for (index = 0; index < SMB_OPT_NUM && ret == SA_OK; index++) {