|
List Info
Thread: Winbind...
|
|
| Winbind... |

|
2007-07-27 03:12:46 |
Hi,
new to this list and Gentoo, keep that in mind
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!(?)
Any ideas out there?
Thanks!!!
--
============================================
Microsoft is not the answer.
Microsoft is the question.
And 'No' is the answer!
--------------------------------------------
Anders Trobck
http://www.troback.com
--
gentoo-user gentoo.org mailing list
|
|
| Re: Winbind... |

|
2007-07-27 07:02:46 |
|
On 7/27/07, Anders Trobäck < public troback.com">public troback.com> 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! cat /etc/nsswitch.conf
I have not done anything with my PAM files yet but I think this step should work anyway!(?) Yes. This step should work without pam.
-- Vladimir Rusinov GreenMice Solutions: IT-решния на базе Linux
http://greenmice.info/
|
| Re: Winbind... |

|
2007-07-27 07:12:56 |
On Fri, 27 Jul 2007 16:02:46 +0400
"Vladimir Rusinov" <vladimir greenmice.info> wrote:
> On 7/27/07, Anders Trobck <public troback.com> 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!
>
>
> cat /etc/nsswitch.conf
>
> I have not done anything with my PAM files yet but I
think this
> > step should work anyway!(?)
>
>
> Yes. This step should work without pam.
>
>
cat /etc/nsswitch.conf:
passwd: compat winbind
shadow: compat
group: compat winbind
hosts: files dns
networks: files dns
services: db files
protocols: db files
rpc: db files
ethers: db files
netmasks: files
netgroup: files
bootparams: files
automount: files
aliases: files
--
============================================
Microsoft is not the answer.
Microsoft is the question.
And 'No' is the answer!
--------------------------------------------
Anders Trobck
http://www.troback.com
--
gentoo-user gentoo.org mailing list
|
|
| Re: Winbind... |

|
2007-07-27 08:38:37 |
On 27 Jul 2007, at 09:12, Anders Trobck 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 :
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,ale
x,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.--
gentoo-user gentoo.org mailing list
|
|
| Re: Winbind... |

|
2007-07-29 04:25:50 |
|
On 7/27/07, Stroller < stroller stellar.eclipse.co.uk">stroller stellar.eclipse.co.uk> wrote:
> 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 : 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 I had the simular problem.
I had winbind uid range 1000-10000, and I had real user with uid 1001.
Solution was to set uid range to 1010-10000.
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.
Also, try to add winbind everywhere at nsswitch. I can't reach my config now, but I'm sure I have more the 2 winbind lines at nsswitch.conf.
PS: sorry for my English.
--
Vladimir Rusinov GreenMice Solutions: IT-решния на базе Linux http://greenmice.info/
|
[1-5]
|
|