Bug 1321
Summary: | Samba 2.0.2 permissions | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | ta.honermann |
Component: | samba | Assignee: | Trond Eivind Glomsrxd <teg> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5.2 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 1999-07-21 22:21:55 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
ta.honermann
1999-02-24 22:14:41 UTC
smbmount and smbumount are not shipped setuid. I believe the previous versions were? Or maybe they did not have to be setuid root to work for non root users. AFAICR, smb(u)mount were never shipped setuid. If the sysadmin of a system wants to allow a user to mount shares, he can make them setuid. In any case, I doubt that that's what the message is from. what are uid/gid 100 on your system? OK, I downloaded the source to Samba and recompiled it on my machine. I copied the newly compiled smbd & nmbd over the ones installed by the RedHat Samba 2.0.2 and kept all the other files installed by the RedHat Samba 2.0.2 and everything works fine. The compiled smbd & nmbd that RedHat is distributing does not work correctly on my machine. can you check and see what are the permissions on smbd/nmbd you just compiled? ls -l /usr/sbin/smbd -rwxr-xr-x 1 root root 740705 Feb 24 19:26 /usr/sbin/smbd* ls -l /usr/sbin/nmbd -rwxr-xr-x 1 root root 365806 Feb 24 19:26 /usr/sbin/nmbd* what options did you pass to configure when you compiled it? None. I just ran configure, changed the Makefile for the directories that RedHat uses (/etc/smbpasswd instead of /usr/local/samba...), ran make and then copied smbd and nmbd to the new locations. Hm. I still can't reproduce this here. Could you try rebuilding the source RPM from Raw Hide/Starbuck (samba-2.0.3-*) and see if that works for you? Possibly, it will take me a while to get around to it. I haven't tried samba-2.0.3 yet, maybe that will fix things on its own. Right now things are working fine so I don't have much of an incentive to work on this unless other people are having the same problem. OK. I'm going to close this bug until we can see if the changes persist, or someone else can duplicate it. OK This came about due to an autoconf test that succeeded because our build machine was *running* a 2.2 kernel, even though we compiled against a 2.0.... Bleah. This will be fixed with the samba-2.0.5 RPMs, which will be available RSN. |