Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 2004 09:17:33 -0500
From:      "Will Saxon" <WillS@housing.ufl.edu>
To:        "Jacques A. Vidrine" <nectar@FreeBSD.org>
Cc:        current@freebsd.org
Subject:   RE: nss_winbind support
Message-ID:  <0E972CEE334BFE4291CD07E056C76ED8CBBE2A@bragi.housing.ufl.edu>

next in thread | raw e-mail | index | archive | help
>=20
> I haven't been following this thread, but the above
> information does not seem correct.  If the Samba port is built
> WITH_WINBIND_NSS, then the NSS module will be correctly installed as
> `/usr/local/lib/nss_windbind.so.1'.
>=20
> What problem exactly are you having?

After installation of the port (net/samba-devel) those modules were not
installed, although I did not try the option you mentioned since it does
not exist in the port Makefile v1.98 that I have. It does exist for=20
the net/samba 2.2.8 port.

Originally when copying the modules by hand I was not able to resolve
domain users or groups with the pw utility nor was I able to set user
or group permissions on directories. The /var/log/debug.log file =
contained
several line like 'NSSWITCH(nss_method_lookup): winbind, group, =
getgrent_r,=20
not found' and similar.

Looking through some samba mailing list archives suggests that they did
not implement nsswitch stuff for freebsd exactly correctly, but this has =

been fixed in the CVS tree.

After compiling the latest CVS as of yesterday afternoon and copying the
nss modules over to /usr/lib I was able to set permissions for domain
users and groups using chown and I am able to look at group information
using the pw utility (pw group show DOMAIN+name. Trying to resolve users
in this fashion results in 'pw: invalid character `+` at position 6 in
userid/group name'

I am still getting lots of the NSSWITCH errors in my debug.log, if that
makes a difference.

Today I am going to try to get some shares set up that work. I shared
out a directory with permissions set to 1755 for my domain user and =
group.=20
I was able to access the directory but I was not able to write to it.

I've never really used samba for anything before and certainly not using
ADS authentication and winbind, so please if I am just completely =
missing
the point somewhere let me know.

-Will



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0E972CEE334BFE4291CD07E056C76ED8CBBE2A>