[Samba] %g variable not working
Gerald (Jerry) Carter
jerry at samba.org
Thu Aug 18 21:19:18 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Noah Dain wrote:
| [homes]
| comment = %U's Home Directory
| path = /home/%D/%M/%U
%M is the client's hostname. You need to set
'hostname lookups = yes' for this to work.
| valid users = %D+%S
| read only = No
| browseable = No
| root preexec = /etc/samba/scripts/mk_sambadir %D "%U" "%G" %m %M %I
|
| I even tried using a reverse lookup script for
| the hostname, but that only gets the proper directory
| path created, one that Samba is unaware of.
For the client netbios name, you probably need to
set 'smb ports = 139'
cheers, jerry
=====================================================================
Alleviating the pain of Windows(tm) ------- http://www.samba.org
GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc
"I never saved anything for the swim back." Ethan Hawk in Gattaca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDBPtWIR7qMdg1EfYRAjrTAJ9kD86pVeSk9gma8s555SfI5aeytACfbqR5
NF69jHkC3Df1AT64mWWp0OE=
=h9C9
-----END PGP SIGNATURE-----
More information about the samba
mailing list