2.2.2: need %G (not %g) for logon script

Jeremy Allison jra at samba.org
Thu Nov 29 16:29:04 GMT 2001

On Fri, Nov 30, 2001 at 11:09:10AM +1100, Paul Szabo wrote:
> Up until 2.2.1a I used to have
> 	logon script = %g.bat
> in my smb.conf, but now I find I need instead
> 	# At 2.2.2 we need %G (%g would be root/system?)!
> 	logon script = %G.bat
> Is this a bug (or is it a feature)?

%g is the unix group name of the current connected user,
%G is the unix group name of the %U user, which is the
username that the client requested, not the one they
neccessarily got.


More information about the samba mailing list