Wondering if anyone can help...
here is my setup:
RedHat 7.3 with XFS (using the XFS install disk)
After installation I'd downloaded 2.2.7 src rpm from redhat and rebuilt it
with the --with-acl-support option in the samba.spec file
then upgraded the resulting rpm files
I've added the machine accounts and made root a smb user
I can log in successfully(after applying the xp registry hack), the problem
comes in when I try to change permission on a file from windows explorer.
For example adding users to give them rwx permissions on a file gives me
access denied.
Now... I tried getfacl and setfacl and both work. When I use setfacl on a
file and add a user, that user does not show up on the security tab in XP.
And one other thing... I check the log for the XP machine and it has this
error
"is104 (192.168.0.104) couldn't find service screenings"
Any help would be greatly appreciated!!!!
Thanks
here is my smb.conf file:
[global]
smb passwd file = /etc/samba/smbpasswd
passwd program = /usr/bin/passwd %u
domain master = yes
dns proxy = no
encrypt passwords = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
short preserve case = no
printcap name = /etc/printcap
wins support = yes
max log size = 0
preferred master = yes
logon script = %U.bat
password level = 4
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
security = user
domain logons = yes
unix password sync = Yes
workgroup = JDMC
server string = JDMC Samba Server
local master = yes
netbios name = THE-SCOOP
log file = /var/log/samba/%m.log
load printers = no
os level = 64
[netlogon]
path = /home/netlogon
public = no
read only = yes
[homes]
path = %H
volume = Private
writable = yes
comment = Private Share
valid users = %S
browseable = no
create mode = 0764
directory mode = 0775
[general]
path = /shares/general
writeable = yes
public = yes
valid users = @users,@root,root
force group = users
force create mode = 764
Brad Sagowitz
Operating Systems Specialist III
A+, MCP, Linux+, CCAI-UNIX
1125 E. Alameda
Norman, OK 73071
brad@jdmc.org
I've added a line to the share in smb.conf: nt acl support = yes See if that helps. Thomas On Thu, 2003-02-27 at 09:47, Brad Sagowitz wrote:> Wondering if anyone can help... > > here is my setup: > > RedHat 7.3 with XFS (using the XFS install disk) > After installation I'd downloaded 2.2.7 src rpm from redhat and rebuilt it > with the --with-acl-support option in the samba.spec file > then upgraded the resulting rpm files > I've added the machine accounts and made root a smb user > I can log in successfully(after applying the xp registry hack), the problem > comes in when I try to change permission on a file from windows explorer. > For example adding users to give them rwx permissions on a file gives me > access denied. > Now... I tried getfacl and setfacl and both work. When I use setfacl on a > file and add a user, that user does not show up on the security tab in XP. > And one other thing... I check the log for the XP machine and it has this > error > "is104 (192.168.0.104) couldn't find service screenings" > > Any help would be greatly appreciated!!!! > > Thanks > > > > > here is my smb.conf file: > > [global] > smb passwd file = /etc/samba/smbpasswd > passwd program = /usr/bin/passwd %u > domain master = yes > dns proxy = no > encrypt passwords = yes > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > short preserve case = no > printcap name = /etc/printcap > wins support = yes > max log size = 0 > preferred master = yes > logon script = %U.bat > password level = 4 > passwd chat = *New*password* %n\n *Retype*new*password* %n\n > *passwd:*all*authentication*tokens*updated*successfully* > security = user > domain logons = yes > unix password sync = Yes > workgroup = JDMC > server string = JDMC Samba Server > local master = yes > netbios name = THE-SCOOP > log file = /var/log/samba/%m.log > load printers = no > os level = 64 > > [netlogon] > path = /home/netlogon > public = no > read only = yes > > [homes] > path = %H > volume = Private > writable = yes > comment = Private Share > valid users = %S > browseable = no > create mode = 0764 > directory mode = 0775 > > [general] > path = /shares/general > writeable = yes > public = yes > valid users = @users,@root,root > force group = users > force create mode = 764 > > Brad Sagowitz > Operating Systems Specialist III > A+, MCP, Linux+, CCAI-UNIX > 1125 E. Alameda > Norman, OK 73071 > brad@jdmc.org
Hi, Which version of libacl and libattr do you use ? Because I think that for samba you need at least de version 2.0.12. See you, Rapha?l On Thu, 2003-02-27 at 16:47, Brad Sagowitz wrote:> Wondering if anyone can help... > > here is my setup: > > RedHat 7.3 with XFS (using the XFS install disk) > After installation I'd downloaded 2.2.7 src rpm from redhat and rebuilt it > with the --with-acl-support option in the samba.spec file > then upgraded the resulting rpm files > I've added the machine accounts and made root a smb user > I can log in successfully(after applying the xp registry hack), the problem > comes in when I try to change permission on a file from windows explorer. > For example adding users to give them rwx permissions on a file gives me > access denied. > Now... I tried getfacl and setfacl and both work. When I use setfacl on a > file and add a user, that user does not show up on the security tab in XP. > And one other thing... I check the log for the XP machine and it has this > error > "is104 (192.168.0.104) couldn't find service screenings" > > Any help would be greatly appreciated!!!! > > Thanks > > > > > here is my smb.conf file: > > [global] > smb passwd file = /etc/samba/smbpasswd > passwd program = /usr/bin/passwd %u > domain master = yes > dns proxy = no > encrypt passwords = yes > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > short preserve case = no > printcap name = /etc/printcap > wins support = yes > max log size = 0 > preferred master = yes > logon script = %U.bat > password level = 4 > passwd chat = *New*password* %n\n *Retype*new*password* %n\n > *passwd:*all*authentication*tokens*updated*successfully* > security = user > domain logons = yes > unix password sync = Yes > workgroup = JDMC > server string = JDMC Samba Server > local master = yes > netbios name = THE-SCOOP > log file = /var/log/samba/%m.log > load printers = no > os level = 64 > > [netlogon] > path = /home/netlogon > public = no > read only = yes > > [homes] > path = %H > volume = Private > writable = yes > comment = Private Share > valid users = %S > browseable = no > create mode = 0764 > directory mode = 0775 > > [general] > path = /shares/general > writeable = yes > public = yes > valid users = @users,@root,root > force group = users > force create mode = 764 > > Brad Sagowitz > Operating Systems Specialist III > A+, MCP, Linux+, CCAI-UNIX > 1125 E. Alameda > Norman, OK 73071brad@jdmc.org -- Raphael Berghmans <raphael@arafox.com>
On Thu, 27 Feb 2003 09:47:53 -0600 "Brad Sagowitz" <brad@jdmc.org> wrote:> RedHat 7.3 with XFS (using the XFS install disk) > After installation I'd downloaded 2.2.7 src rpm from redhat and > rebuilt it with the --with-acl-support option in the samba.spec fileDid you have "acl-dev" installed when compiling Samba? Of not, the configure-process will kick ACL-support but continue compiling although you specified --with-acl-support. Make sure your smbd has ACL-support built in: ldd /usr/sbin/smbd The output should contain something like "libacl.so.1 => /lib/libacl.so.1" So long, Max -- The first time any man's freedom is trodden on, we're all damaged. <Cpt. Picard, "The Drumhead", StarTrek TNG> http://homex.subnet.at/~max/
Max... this was my problem. I had loaded acl-dev... but it didn't compile. I installed the new updates with the ones Raphael supplied then recompiled samba from src rpms and installed with the --force option. Everything works great!!! Thanks EVERYONE I really appreciate all the help! Brad Sagowitz Operating Systems Specialist III A+, MCP, Linux+, CCAI-UNIX 1125 E. Alameda Norman, OK 73071 (405) 307-2883> RedHat 7.3 with XFS (using the XFS install disk) > After installation I'd downloaded 2.2.7 src rpm from redhat and > rebuilt it with the --with-acl-support option in the samba.spec fileDid you have "acl-dev" installed when compiling Samba? Of not, the configure-process will kick ACL-support but continue compiling although you specified --with-acl-support. Make sure your smbd has ACL-support built in: ldd /usr/sbin/smbd The output should contain something like "libacl.so.1 => /lib/libacl.so.1" So long, Max Brad Sagowitz Operating Systems Specialist III A+, MCP, Linux+, CCAI-UNIX 1125 E. Alameda Norman, OK 73071 (405) 307-2883