I'm using the NetService library provided by Palm developer technical
support to programmatically change network settings.

Generally it works, but I've noticed one serious bug: If I use it to modify
the username or password associated with a network service, the item appears
to be changed but the actual username or password used is not changed.
For instance, an existing connection has a username of "foo" and I use the
NetService library to change it to "bar". I go into the Network prefs panel
and look at the configured username and it reports "bar". I tap Connect, but
the server reports that the actual login attempt used "foo".

I've reproduced this problem using both my own program and the test
application that came with the library. Has anyone found a workaround for
this problem?

This problem only occurs when modifying a service. Creating a service works
properly. I could create a workaround that would copy all the settings of a
service, delete it, and create an identical one with the new username and
password, except for one problem: The NetService library doesn't offer a way
to delete a network service.

Any ideas or suggestions?

Thanks,
Bob Whiteman
Senior Software Engineer
Pico Communications






-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to