Bug 4509 - winbind nss info
Summary: winbind nss info
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: winbind (show other bugs)
Version: 3.0.25
Hardware: x86 Linux
: P1 normal
Target Milestone: 3.0.25
Assignee: Gerald (Jerry) Carter (dead mail address)
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-13 02:55 UTC by Anders Strandberg
Modified: 2007-04-17 16:28 UTC (History)
0 users

See Also:


Attachments
smb.conf (780 bytes, text/plain)
2007-04-13 07:45 UTC, Anders Strandberg
no flags Details
configure options used (438 bytes, text/plain)
2007-04-13 07:46 UTC, Anders Strandberg
no flags Details
Makefile fix linking the sfu.so and rfc2307.so plugins in $libdir/nss_info to idmap/ad.so (1.85 KB, patch)
2007-04-17 16:27 UTC, Gerald (Jerry) Carter (dead mail address)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Strandberg 2007-04-13 02:55:13 UTC
There has been changes to winbind nss info directive with 3.0.25.  Previously we have used :

winbind nss info = rfc2307

which gave the possibility to specify loginShell in AD. According to man-page sfu and template are valid entries but neither sfu nor rfc2307 works in 3.0.25. 

According to release notes for 3.0.25 :New plug-in interface for the "winbind nss info" parameter. How do you utilize this enhancement ?


With winbind nss info = rfc2307

log.wb-MYDOMAIN:  Error loading module '/app/samba/3.0.25/lib/nss_info/rfc2307.so': /app/samba/3.0.25/lib/nss_info/rfc2307.so: cannot open shared object file: No such file or directory


With winbind nss info = sfu

log.wb-MYDOMAIN:  Error loading module '/app/samba/3.0.25/lib/nss_info/sfu.so': /app/samba/3.0.25/lib/nss_info/sfu.so: cannot open shared object file: No such file or directory
Comment 1 Gerald (Jerry) Carter (dead mail address) 2007-04-13 07:14:40 UTC
What configure options did you use?  Also please attach the [global]
section from your smb.conf.  Thanks.
Comment 2 Anders Strandberg 2007-04-13 07:45:13 UTC
Created attachment 2384 [details]
smb.conf 

Adding smb.conf directives used
Comment 3 Anders Strandberg 2007-04-13 07:46:16 UTC
Created attachment 2385 [details]
configure options used
Comment 4 Gerald (Jerry) Carter (dead mail address) 2007-04-17 16:24:10 UTC
Some of these options are wrong:

 ./configure --prefix=/app/samba/3.0.25 --with-acl-support 
   --with-ads --with-vfs --with-pam --with-krb5=/app/heimdal/0.7.1 
   --with-lockdir=/var/spool/locks --with-privatedir=/env/samba/private 
   --with-configdir=/env/samba/lib 
   --enable-rfc2307bis --enable-schema-mapping 
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   <-- from an nss_ldap build?
   --sysconfdir=/env/samba/etc 
   --sharedstatedir=/env/samba/com --localstatedir=/var/log 
   --with-shared-modules=idmap_ad,idmap_rid,rfc2307
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The nss_info_rfc2307 plugin is included in the idmap_ad mopdule.

   --with-libiconv=/app/libiconv/1.9.1


Patch in next comment.
Comment 5 Gerald (Jerry) Carter (dead mail address) 2007-04-17 16:27:47 UTC
Created attachment 2392 [details]
Makefile fix linking the sfu.so and rfc2307.so plugins in $libdir/nss_info to idmap/ad.so

Patch will be included in 3.0.25rc2.
Comment 6 Gerald (Jerry) Carter (dead mail address) 2007-04-17 16:28:00 UTC
Fixed.