[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sitesummary2ldapdhcp issue



[Giorgio Pioda]
> Seems that a couple of entries had not the MAC set (some manually
> added printers, NAS, whatever). Inserting the correct values solves.

Wow, that is strange.  Wonder how sitesummary2ldapdhcp could fail to
do that right thing in that case.  The LDAP search in question look
like this:

"(&(|(objectClass=goServer)(objectClass=device)(objectClass=GOhard)(objectClass=gotoWorkstation)(objectClass=gotoTerminal))(|(cn=$hostname)(macAddress=$mac)))"

Without duplicate host names or duplicate mac addresses in LDAP, I
expect only one LDAP object to be returned.  But obviously something
go wrong here.

-- 
Happy hacking
Petter Reinholdtsen


Reply to: