[Samba] FreeBSD 7.2 domain member problem

Daniel O'Connor darius at dons.net.au
Thu Nov 5 01:03:03 MST 2009


On Thu, 5 Nov 2009, Michael Wood wrote:
> 2009/11/4 Ivo Karabojkov <ivo at kit-bg.com>:
> > I am trying to set a FreeBSD 7.2, Samba 3.3.8 as an AD domain
> > member server. I am not using LDAP, but idmap_rid. I have properly
> > configured nsswitch.conf.
> >
> > Joining to domain and wbinfo -u work OK, but when I try
> > pw show user -a
> > I get only user accounts of FreeBSD. So, I cannot set owners,
> > ACLs...
> >
> > My main source is Samba guide chapter 7:
> > http://www.samba.org/samba/docs/man/Samba-Guide/unixclients.html#id
> >2597100 All tests from Procedure 7.4 of the guide, except getent
> > (eq. to pw show user -a) work OK.
> >
> > It seems that FreeBSD does not use nsswitch. What should I do or
> > what I am missing?
>
> [...]
>
> I have no idea what the problem is, but FreeBSD does seem to use
> nsswitch:
> http://www.freebsd.org/cgi/man.cgi?query=nsswitch.conf&apropos=0&sekt
>ion=0&manpath=FreeBSD+7.2-RELEASE&format=html

It does indeed use nsswitch.

I suggest testing with getent rather than pw. I believe pw only handles 
local users/groups (this is a bug ;)

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.samba.org/pipermail/samba/attachments/20091105/fd8a1cd8/attachment.pgp>


More information about the samba mailing list