Question on substitutions in smb.conf

Gerald Carter jerry at samba.org
Thu Jan 24 07:19:23 GMT 2002


On Wed, 16 Jan 2002, Paul Baumgarten wrote:

> In my efforts to get it working I resorted to creating a share with
> some substitution fields in the comment to see what results they were
> returning. The following is a sample of what my conf file had:
> "comment = %u %U %g %G %m".  This produced the following comment when
> viewed through Windows Explorer: "%u paulb %g %G phixx".  It appears
> as though %u, %g, %G aren't working.
>
> I'm assuming that this would be a known problem.  I was wondering if
> there is a fix anyone knows of?  I am using samba 2.2.1a-4 (as
> provided with RH7.2)... Would installing the latest version solve the
> problem?

You should definitely try 2.2.2.  I can't really remember when we
addressed this.





chau, jerry
 ---------------------------------------------------------------------
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--





More information about the samba mailing list