I have a Solaris 10 box running samba. I have it joined to a windows 2003 domain. I can authenticate to the samba server. However I am not getting group informaiton. I have in nsswith.conf I have passwd: files winbind group: files winbind winbindd is running libnss_windbind.so and so.1 are in /usr/lib when I run wbinfo -u or -g it returns users and groups from AD. When I do a getent passwd I get the results for /etc/passwd and nothing from AD. When I auth to the samba server the permissions set based on groups do not work. Any help is appreciated. Thanks Mark -- Mark Campbell Systems Analyst Digital Library Technologies The Pennsylvania State University mcc171@psu.edu, 814-865-4774
Hi Mark, Is nscd running? If so, stop it and try again. Please post a sanitized smb.conf if this was not the problem. Joshua M. Miller - RHCE, VCP Ditree Consulting http://ditree.com/ Mark Campbell wrote:> I have a Solaris 10 box running samba. I have it joined to a windows > 2003 domain. I can authenticate to the samba server. However I am > not getting group informaiton. > I have in nsswith.conf I have > > passwd: files winbind > group: files winbind > > winbindd is running > > libnss_windbind.so and so.1 are in /usr/lib > > when I run wbinfo -u or -g it returns users and groups from AD. > > When I do a getent passwd I get the results for /etc/passwd and > nothing from AD. > > When I auth to the samba server the permissions set based on groups do > not work. > > Any help is appreciated. > > Thanks > > Mark > >
On Fri, Aug 10, 2007 at 02:23:37PM -0400, Mark Campbell wrote:> When I do a getent passwd I get the results for /etc/passwd and nothing > from AD.That's planned. See "winbind enum users" / "winbind enum groups".> When I auth to the samba server the permissions set based on groups do > not work.How do you exactly test? Really logging in as the user or via "su - <username>"? Volker -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20070811/60a3fb91/attachment.bin
0n Fri, Aug 10, 2007 at 02:23:37PM -0400, Mark Campbell wrote: >when I run wbinfo -u or -g it returns users and groups from AD. >When I do a getent passwd I get the results for /etc/passwd and nothing from AD. >When I auth to the samba server the permissions set based on groups do not work. This makes 2 of us. On FreeBSD 7.0-CURRENT #1: Wed Jul 25 17:31:15 WST 2007. e.g. #wbinfo -u | wc -l 9150 #getent passwd | wc -l 24 -aW IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email.