On 27 Jul 2007, at 09:12, Anders Trobäck wrote:
...
I'm trying to set up winbind on a Gentoo box but I can't get it to
work!
I have joined the domain and I have added winbind
to /etc/nsswitch.conf. "wbinfo -u" and "wbinfo -g" are working but
"getent passwd" and "getent group" only list the local accounts and
groups!
I have not done anything with my PAM files yet but I think this
step should work anyway!(?)
I have found `getent passwd` and `getent group` not to work entirely
as expected.
EG:
$ getent group | grep -i dave
domain users:x:
10000:administrator,support_399845a0,krbtgt,iusr_bodmin,iwam_bodmin,mobi
le user tmpl,user tmpl,power user tmpl,administrator tmpl,sbs backup
user,ned,usertemplate-
lanesre,evelyn,tim,charlotte,dave,mandi,kim,vebra,deanne,alex,laura,anne
,anne.h,gillian,maintenance,gail
$ getent passwd | grep -i dave
$
This is on a mail server which has been running perfectly on the
Windows domain for 18 months. Users are added on the Windows 2003
server & can then get their mail from the mailserver running on the
above Linux host. It seems necessary to restart Samba on the Linux
box after adding a user on the Windows server, but I can assure you
that Dave has been getting his mail quite happily ever since the
system was set up.
My advice is to move on to the next step (PAM) & see what happens. I
have always worked off the "Testing Things Out" section of Chapter 24
of the Samba manual, "Winbind: Use of Domain Accounts" <http://
www.samba.org/samba/docs/man/Samba-HOWTO-Collection/winbind.html> and
have always found following it to work perfectly, but winbind doesn't
seem well-documented elsewhere or by 3rd parties.
Stroller.--
[EMAIL PROTECTED] mailing list