Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#20351 - [samba] Add shared-module compilation for idmap_*.so to PKGBUILD
Attached to Project:
Arch Linux
Opened by Manuel Josupeit-Walter (delinquent) - Tuesday, 03 August 2010, 17:35 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 29 August 2010, 10:49 GMT
Opened by Manuel Josupeit-Walter (delinquent) - Tuesday, 03 August 2010, 17:35 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 29 August 2010, 10:49 GMT
|
DetailsDescription:
The current samba packages don't include shared modules for "winbind nss info" options other than "template", such as "rfc2307". As a result, idmapping can't be done using Microsoft Identity Management for Unix (if you try to enable it in smb.conf, you can see several log entries pointing out that /usr/lib/samba/nss_info/rfc2307.so is missing, what should be a symlink to /usr/lib/samba/idmap/ad.so). A possible solution would be adding "--with-shared-modules=idmap_ad,idmap_adex,idmap_rid,idmap_hash" to samba's configure parameters in PKGBUILD to include the necessarry modules. Additional info: * Seen in x86_64 version of samba-3.5.4-1 Steps to reproduce: 1. Install samba 2. Configure samba to authenticate against active directory with "winbind nss info" option set to rfc2307 3. Start winbind 4. Configure active directory to use Microsoft Identity Management for Unix 5. Create a new domain-user and set its unix-home dir to /home/new_home_path 6. Join the linux client to the ad 7. Call "getent passwd" on the linux client Expected result: * All users are shown including the domain-members. * The newly created user's home dir points to /home/new_home_path Real result: * All users are shown including the domain-members. * The newly created user's home dir still points to /home/${DOMAIN_NAME}/${USERNAME}, what is the default behaviour without rfc2307 idmapping. * The log file /var/log/samba/log.wb-${DOMAIN} says "/usr/lib/samba/nss_info/rfc2307.so: cannot open shared object file: No such file or directory" |
This task depends upon
Closed by Tobias Powalowski (tpowa)
Sunday, 29 August 2010, 10:49 GMT
Reason for closing: Fixed
Additional comments about closing: 3.5.4-2
Sunday, 29 August 2010, 10:49 GMT
Reason for closing: Fixed
Additional comments about closing: 3.5.4-2