The setting netlogon script doesn't accept parameters like %m or %U. They are simply ignored/empty. I would like to query them in netlogon.bat via batch variables like %1.
Can't work. The client has no iea of smb.conf variables. You could look at autogenerating the netlogon scripts or pulling these from standard environment variables.
What does that have to do with the client? I thought when using a variable, Samba would fill it (e.g. %U or %m) with the variables it got? Or is it impossible for Samba to know what client it is connected to?