assemble/copy value (Client-ID) from Request to Reply

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

assemble/copy value (Client-ID) from Request to Reply

stephan@sanders.koeln

 

Hi,

 

is it possible to return the client a value via option-space which was originated from Client to Server (Client-ID)?

 

In Detail:

 

Client is sending option 61 with a serial number.  e.g.: TD1234567

 

Server has a proper configuration for option-spaces per vendor:

 

option ENROLL.subject-name code 1 = string;

...

option ENROLL.subject-name Client-ID".vendor.com";

 

The server should assemble the serial from client with a string to the certificate name.

e.g: TD1234567.vendor.com

 

Does this work with any version of isc-dhcp?

 

Best regards

Stephan

 


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

AW: assemble/copy value (Client-ID) from Request to Reply

stephan@sanders.koeln

 

Update....

 

found the small "=" difference within documentation...

 

Thats the way to set an option with any constructed value

 

option ENROLL.subject-name = concat("CN=",option dhcp-client-identifier,".vendor.com");

 

regards

Stephan

 

 

 

-----Original-Nachricht-----

Betreff: assemble/copy value (Client-ID) from Request to Reply

Datum: 2019-02-11T14:20:27+0100

Von: "[hidden email]" <[hidden email]>

An: "[hidden email]" <[hidden email]>

 

 

 

 

Hi,

 

is it possible to return the client a value via option-space which was originated from Client to Server (Client-ID)?

 

In Detail:

 

Client is sending option 61 with a serial number.  e.g.: TD1234567

 

Server has a proper configuration for option-spaces per vendor:

 

option ENROLL.subject-name code 1 = string;

...

option ENROLL.subject-name Client-ID".vendor.com";

 

The server should assemble the serial from client with a string to the certificate name.

e.g: TD1234567.vendor.com

 

Does this work with any version of isc-dhcp?

 

Best regards

Stephan

 


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users