[Samba] Username map and UNIX UID assignments
Gerald (Jerry) Carter
jerry at samba.org
Thu Oct 17 22:47:02 GMT 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, 17 Oct 2002, Wieprecht, Karen M. wrote:
> I'm testing Samba 2.2.5 with winbind. I can successfully authenticate
> domain users who do and don't have corresponding UNIX accounts as well as
> domain users who do have a UNIX account. Files created from PC side by
> usera show up in UNIX "ls -l" as owned by usera so I thought the automatic
> username mapping was working correctly, but I found out that usera isn't
> being assigned his UNIX User ID correctly. I found this because UserA
> doesn't have write access in the areas he should when he comes in through
> samba. I had usera write a file in a public space, and from the UNIX side
> did
> ls -n
> to show the UID assigned, and it is one of the Ids in the winbind range,
> not the user's UNIX UID ...
>
> I tried adding a username map to force the UID mapping explicitly, but even
> after doing that, the UID is still the winbind one, not the correct UNIX
> one. I'd like to get this working. Any tips would be most appreciated.
Winbind is consulted first. Usernames that match in the Windows domain
take priority. The has been a lot of discussion about this, but i'm
just letting you know that this current behavior is by design.
jerry
---------------------------------------------------------------------
Hewlett-Packard ------------------------- http://www.hp.com
SAMBA Team ---------------------- http://www.samba.org
GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc
ISBN 0-672-32269-2 "SAMS Teach Yourself Samba in 24 Hours" 2ed
"I never saved anything for the swim back." Ethan Hawk in Gattaca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/
iD8DBQE9rz2RIR7qMdg1EfYRAo50AJ9vJCH4NzbwSXpj8Y7DXL2d2JmRGACg3BM9
2+jUYwS7w5UjMy7ldAQB+EI=
=ON4G
-----END PGP SIGNATURE-----
More information about the samba
mailing list