Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301968 - net-fs/samba-3.5.3 don't install rid.so
Summary: net-fs/samba-3.5.3 don't install rid.so
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
: 322279 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-01-23 19:42 UTC by wapr
Modified: 2010-11-10 15:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wapr 2010-01-23 19:42:41 UTC
after splitting samba ebuild into separate ebuilds we lost rid.so library in samba. as result, if we use 'idmap backend = rid:MYDOMAIN=1000-100000' in smb.conf 
winbind cannot convert sid->uid


Reproducible: Always

Steps to Reproduce:
1. USE="server client winbind" emake samba
2. add gentoo_host into domain
3. add idmap backend = rid:DOMAIN=1000-100000 into smb.conf
4. start samba (winbindd)
5. wbinfo -S sid_of_any_domain_user return error





next modification of samba-server.ebuild solve this problem:
 diff samba-server-3.4.5.ebuild samba-server-3.4.5-new.ebuild
83a84,88
> 	use winbind && mymod_shared="--with-shared-modules=idmap_rid"
> 	if use ldap ; then
> 		use winbind && mymod_shared="${mymod_shared},idmap_ad"
> 	fi
> 
153c158,159
< 		$(use_with winbind)
---
> 		$(use_with winbind) \
> 		${mymod_shared}
Comment 1 masc 2010-05-13 13:30:35 UTC
why is 3.4.6 going stable with this P2 bug
Comment 2 Víctor Ostorga (RETIRED) gentoo-dev 2010-05-21 17:59:15 UTC
(In reply to comment #1)
> why is 3.4.6 going stable with this P2 bug
> 

samba-3.4.6 is not splitted anymore
Comment 3 Víctor Ostorga (RETIRED) gentoo-dev 2010-05-31 21:29:21 UTC
*** Bug 322279 has been marked as a duplicate of this bug. ***
Comment 4 Víctor Ostorga (RETIRED) gentoo-dev 2010-06-02 16:02:41 UTC
Support for shared modules idmap_rid (winbind use flag) , idmap_ad (winbind and ads use flag) and idmap_ldap (winbind and ldap use flag) was just added to samba-3.5.3 

Thanks for the bug report
Comment 5 masc 2010-06-03 13:48:54 UTC
current stable 3.4.6 has exactly the same problem, even if it's not splitted.
Comment 6 masc 2010-06-03 14:16:28 UTC
also, I cannot confirm the fix for 3.5.3. after emerging 3.5.3 with useflag winbind, rid.so is still missing.
Comment 7 Víctor Ostorga (RETIRED) gentoo-dev 2010-06-03 19:38:46 UTC
(In reply to comment #6)
> also, I cannot confirm the fix for 3.5.3. after emerging 3.5.3 with useflag
> winbind, rid.so is still missing.
> 

Did you do an emerge --sync beforehand? If so attach your emerge --sync and build.log , please
Comment 8 masc 2010-06-03 20:09:58 UTC
synced, also checked the changelog in local tree. after emerging again to get the build.log idmap libs are there and it works well, so something must have gone wrong before. sorry for the inconvenience, 3.5.3 is ok now.
Comment 9 Víctor Ostorga (RETIRED) gentoo-dev 2010-06-04 18:11:53 UTC
This is fixed then
Comment 10 Alexander Zagrebin 2010-11-10 12:00:43 UTC
(In reply to comment #9)
> This is fixed then
> 

ebuild for the samba-3.4.9 (stable) still has this bug.
Comment 11 Víctor Ostorga (RETIRED) gentoo-dev 2010-11-10 15:33:40 UTC
(In reply to comment #10)
> (In reply to comment #9)
> > This is fixed then
> > 
> 
> ebuild for the samba-3.4.9 (stable) still has this bug.
> 

Try with samba-3.5.6