[Samba] share enumeration, samba-dcerpcd, variable %i

Zhuchenko Valery zvn at belkam.com
Mon Jul 29 11:20:33 UTC 2024


hi, samba team and other,

client software calls samba and samba reads /etc/samba/smb.conf where 
some parameter contains variable %i (client ip address), but when samba 
calls samba-dcerpcd, it again reads /etc/samba/smb.conf where some 
parameter contains variable %i and at that moment %i is not client ip 
address, it is equal 0.0.0.0

for example I need client ip1 and client ip2 to get different shares 
lists (include = /etc/samba/shares-%i.conf), I can't do that because the 
folder list is received via samba-dcerpcd

best regards,
Valery



More information about the samba mailing list