evaluate a variable in smb.conf

Joel Hammer Joel at HammersHome.com
Mon Nov 19 08:24:51 GMT 2001


Please be more specific. What do you mean by:
"I can write" or "I cannot write".
What is the actual problem? What have you already done (You referred to
tests you performed in your first post on this problem.) What value is %u
providing for you. %u is supposed to be the name of the user in the share,
whereas U is the name the user tries to get.
Joel
On Mon, Nov 19, 2001 at 05:07:31PM +0100, Benoit MARCHAL wrote:
> I can write
> 	LOGON PATH = \\%N\profiles\%u
> in global section
> 
> so while I cannot write
> 	include = profiles.%g
> 
> isn't the same thing ?
> 
> Message de Joel Hammer:
> > I do not think it is possible to use %u or %g in global. Those are the names
> > that are assigned to the user when using a specific share, not the names
> > that the user presents to samba when he logs onto it. (%U)
> > Somebody please correct me if I am wrong.
> > Joel
> > On Mon, Nov 19, 2001 at 04:11:32PM +0100, Benoit Marchal wrote:
> > > Hello
> > > 
> > > I want to use a variable in the global section of smb.conf
> > > 
> > > If the variable is %u (or %g), it concerns the current user (root at 
> > > this moment) and not the veritable user. while ?
> > > 
> > > does somebody can help me ?
> > > 
> > > thanks
> > > ------------------------------------------------------------------------------
> > > | Benoît Marchal                | Tel   : (33) 03.83.59.55.75                |
> > > | E.N.S.E.M.                    | Fax   : (33) 03.83.44.07.63                |
> > > | 2, Avenue de la Forêt de Haye | E-mail: Benoit.Marchal at ensem.inpl-nancy.fr |
> > > | F-54516 Vandoeuvre-les-Nancy  |                                            |
> > > ------------------------------------------------------------------------------
> > > 
> > > -- 
> > > To unsubscribe from this list go to the following URL and read the
> > > instructions:  http://lists.samba.org/mailman/listinfo/samba
> 
> 
> -- 
> Benoit Marchal                     | Tel   : 33 3.83.59.55.75
> E.N.S.E.M.                         | Fax   : 33 3.83.44.07.63
> Service de Maintenance Informatique| email : Benoit.Marchal at ensem.inpl-nancy.fr
> 2, avenue de la Foret de Haye      | 
> 54516 Vandoeuvre les Nancy         |




More information about the samba mailing list