[Samba] smb.conf variables not substituting

Gerald (Jerry) Carter jerry at samba.org
Fri Aug 29 05:53:32 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 21 Aug 2003, Hillel Seltzer wrote:

> Hello,
> 
> I am running Samba 3.0.0rc1 on Red Hat 8 with a 2.4.21 kernel
> patched for ACL support.  I am trying to set up Samba to work
> as a member of a Win2k domain with AD.  It seems to be
> authenticating users off of AD for connecting to the server, but
> I am having some trouble setting up the home share.
> 
> It seems that the single character variables used in smb.conf
> (%U, %D, etc.) are not substituting their values.  For example, the
> line "template homedir = /usr/export/user/%u" in the [global] section
> caused the creation of a directory called "%u" under "/usr/export/user"
> when it should have been substituted with the user name.
> If I try "%U" instead in smb.conf, it seems to have no value.
> For example, in the [homes] share section,
> "path = /usr/export/user/%U" is mapping to "/usr/export/user/".

We just fixed a bug related to this.  Try again with RC2 which should be 
out in a few hours.



cheers, jerry
 ----------------------------------------------------------------------
 Hewlett-Packard            ------------------------- http://www.hp.com
 SAMBA Team                 ---------------------- http://www.samba.org
 GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
 "You can never go home again, Oatman, but I guess you can shop there."  
                            --John Cusack - "Grosse Point Blank" (1997)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE/TupcIR7qMdg1EfYRAtiEAKCx9E9fh2ixvkF/2YgwPzjun+skDACdF0NM
hmEubTYRvisNTAzxJLnWFSg=
=U2pw
-----END PGP SIGNATURE-----




More information about the samba mailing list