[Samba] Version 3: %U returns null value in security = share

Gerald (Jerry) Carter jerry at samba.org
Mon May 10 15:08:52 GMT 2004


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

Gavin-Francis Fernandes wrote:

| When we upgraded to v3 (pretty much any build that
| we've tried) all of a sudden, the %U variable/macro is null.

I'm not sure why people ever really expected %U to work
when using security = share.  Sha remode security by design
doesn't really support the concept of users.  Samba goes
to great lengths to bridge the gap between user/pws in UNIX
and share mode security.

You're best bet is to use 'security = user|domain|ads' and set
'map to guest = bad user' for guest access.




cheers, jerry
- ----------------------------------------------------------------------
Hewlett-Packard            ------------------------- http://www.hp.com
SAMBA Team                 ---------------------- http://www.samba.org
GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
"...a hundred billion castaways looking for a home." ----------- Sting
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAn5sEIR7qMdg1EfYRAod1AKClWk6PcectEJKxEwbvIMdabbXADQCg6t37
6NUoua6rSGi4Cv17OHdSGxs=
=H2WA
-----END PGP SIGNATURE-----


More information about the samba mailing list