[Samba] mapping winbind users to nis uids and gids

John H Terpstra jht at samba.org
Tue Sep 21 00:42:26 GMT 2004


On Monday 20 September 2004 18:27, Borut Kurnik wrote:
> Hello!
>
> I've got users that access linux file server from Win stations using
> Samba
> and winbind authentication but also have AIX based workstations
> accessing
> the same server using nis authentication. They have the same username
> registered in NIS domain and in Windows domain.
>
> Is it possible to map winbind users (usually using uid & gid > 10000) to
> nis
> users, so user john authenticating from Windows domain doesn't get new
> uid and gid ( idmap gid, idmap uid), but maps to an existing NIS user
> with
> the same name.

Sure! Check 'man smb.conf' - search for the winbind parameters:

	winbind trusted domains only
	winbind enable local accounts

- John T.
-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
OpenLDAP by Example, ISBN: 0131488732
Other books in production.


More information about the samba mailing list