evaluate a variable in smb.conf

Benoit MARCHAL Benoit.Marchal at ensem.inpl-nancy.fr
Mon Nov 19 08:08:04 GMT 2001


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