ldap for legacy uid user

jarrisola1

Cadet
Joined
Mar 5, 2021
Messages
2
Howdy,

I have a TrueNAS-12.0-U2.1 system running LDAP, the LDAP is working but we have a legacy user whos UID is under 1000. The system cannot detect that user when executing 'id username' , I tired editing the ldmap but it is not allowing to input values below 1000. Is there a way to allow ldap to query users whos uid is under 1000?

thanks,
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
Howdy,

I have a TrueNAS-12.0-U2.1 system running LDAP, the LDAP is working but we have a legacy user whos UID is under 1000. The system cannot detect that user when executing 'id username' , I tired editing the ldmap but it is not allowing to input values below 1000. Is there a way to allow ldap to query users whos uid is under 1000?

thanks,
How low is the id?
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
There's an undocumented ability to drop the lower range for LDAP by adding the following auxiliary parameter to the LDAP directory service:
nss_min_uid 500 where 500 is the lowest ID you have in LDAP.
 
Top