Merge of setenv->putenv for winbind client.