[Samba] Samba + NIS + ADS

TAKAHASHI Motonobu monyo at monyo.com
Tue Sep 6 10:00:54 MDT 2011


From: "Crombach, Leo B" <CrombachLB at Corning.com>
Date: Tue, 06 Sep 2011 11:00:45 -0400

> What if the UNIX username is different than the Windows username?  Do
> you still use domain\unixuser? 

You can map him using "username map" file like:

-----
unix-user = "domain\windows-user"
-----

---
TAKAHASHI Motonobu <monyo at samba.gr.jp>

-----Original Message-----
From: TAKAHASHI Motonobu [mailto:monyo at monyo.com] 
Sent: Tuesday, September 06, 2011 10:58 AM
To: Crombach, Leo B
Cc: samba at lists.samba.org
Subject: Re: [Samba] Samba + NIS + ADS

From: "Crombach, Leo B" <CrombachLB at Corning.com>
Date: Tue, 06 Sep 2011 10:29:35 -0400

> The OpenSuse box is running in AD as a member server no problem.  The 
> issue is authentication with, or between, NIS and Active Directory.  I

> hoping someone who has a similar environment can provide assistance 
> (Sun NIS/NFS, Samba 3, Windows 2003/2008 AD).

(snip)

> I'm running Winbind now, wasn't before.

Use idmap_nss(8), a sample configuration can be found at:
  https://lists.samba.org/archive/samba/2011-September/163970.html

>  So I'm also using the smbpasswd
> file to map users.  Wasn't using this before either.

Remember that in your "username map" file, users should be specified as
"domain\user" style.

---
TAKAHASHI Motonobu <monyo at samba.gr.jp>


More information about the samba mailing list