pivasoftware / easycwmp

EasyCwmp:
http://www.easycwmp.org/
GNU General Public License v2.0
73 stars 59 forks source link

ACS request authentication dont seem to work.. #30

Open carlberg74 opened 7 years ago

carlberg74 commented 7 years ago

Hi,

I cant get authentication on ACS Request to work, using easycwmp-1.4.1. Have tested with different configuration, but only receive HTTP 401. Have wireshark traffic and I cant see any "Authorization" header in the request to the ACS. I am expecting a "Authorization: Digest" header...but it seem to be missing.

Using follow config: config acs option periodic_enable '1' option periodic_interval '100' option periodic_time '0001-01-01T00:00:00Z' option parameter_key 'Device.ManagementServer.' option username 'acs' option password 'password123' option url 'http://server.domain.com:8000'

Have also tested with: digest_enable='1', without success. Have read and follow: http://support.easycwmp.org/view.php?id=156&history=1

Looking at the code, http.c, cant see any Authorization Digest header added in http_send_message. but I might be looking at the wrong place.

Any suggestions?

Cheers -Anders