2019-05-15, 11:40
I have the latest git veriosn of iPXE compiled from sources by myself.
There is login commands in 2 places - in embed script:
which is compiled in during make step, for example make bin/undionly.kpxe EMBED=script.ipxe
and in menu itself:
But 1 during first login command empty username and password is sent to Web server.
As following, Permission is denied.
I saw at its logs.
During second login is ok.
But if is to remove login command from embed script and specify exact user/password at http string all is ok.
That is:
After that, login in menu works fine.
Is it right functioing by design ?
There is login commands in 2 places - in embed script:
Code:
#!ipxe
ifconf || reboot
login || reboot
chain http://${username:uristring}:${password:uristring}@fqdn/folder/menu.ipxe
which is compiled in during make step, for example make bin/undionly.kpxe EMBED=script.ipxe
and in menu itself:
Code:
login
kernel http://${username:uristring}:${password:uristring}@fqdn/folder/folder1/wimboot
initrd http://${username:uristring}:${password:uristring}@fqdn/folder/folder1/BCD BCD
.....
But 1 during first login command empty username and password is sent to Web server.
As following, Permission is denied.
I saw at its logs.
During second login is ok.
But if is to remove login command from embed script and specify exact user/password at http string all is ok.
That is:
Code:
#!ipxe
imgfree
ifconf || reboot
chain http://rightuser:rightpass@fqdn/folder/menu.ipxe
After that, login in menu works fine.
Is it right functioing by design ?