View Issue Details

IDProjectCategoryView StatusLast Update
0007535CentOS-7sambapublic2014-09-02 03:43
Reporterrsync Assigned To 
PriorityhighSeveritymajorReproducibilityhave not tried
Status newResolutionopen 
Platformx86-64OSCentOSOS Version7
Product Version7.0-1406 
Summary0007535: [Samba] Does not work 'force user' from a client machine Windows 8.1 x64.
DescriptionFrom a Windows client machine, "force user" is ignored in CentOS 7-1406 and Samba 4.1.1-37, does not allow connection in windows 8.1 x86.

I have to put "valid users = user" but does not allow me to force user, it is only allowed to "force group = user"

The version of the package is as follows:

samba-libs-4.1.1-37.el7_0.x86_64
samba-client-4.1.1-37.el7_0.x86_64
samba-common-4.1.1-37.el7_0.x86_64
samba-4.1.1-37.el7_0.x86_64

With samba 3.x works perfect.
Steps To Reproduceuseradd -M user -s /sbin/login

smbpasswd -a user

setsebool -P samba_export_all_rw on

chcon -t samba_share_t /var/www/html

ls -lsa

total 8
0 drwxr-xr-x. 4 root root 31 Aug 20 21:54 .
4 drwxr-xr-x. 22 root root 4096 Aug 20 22:36 ..
0 drwxr-xr-x. 2 root root 6 Jul 23 16:48 cgi-bin
4 drwxrwxr-x. 34 root users 4096 Aug 24 06:51 html

pwd

/var/www

cd /etc

cat group

root:x:0:
bin:x:1:
daemon:x:2:
sys:x:3:
adm:x:4:
tty:x:5:
disk:x:6:
lp:x:7:
mem:x:8:
kmem:x:9:
wheel:x:10:
cdrom:x:11:
mail:x:12:postfix
man:x:15:
dialout:x:18:
floppy:x:19:
games:x:20:
tape:x:30:
video:x:39:
ftp:x:50:
lock:x:54:
audio:x:63:
nobody:x:99:
users:x:100:user
utmp:x:22:
utempter:x:35:
ssh_keys:x:999:
systemd-journal:x:190:
dbus:x:81:
polkitd:x:998:
avahi:x:70:
avahi-autoipd:x:170:
dip:x:40:
postdrop:x:90:
postfix:x:89:
chrony:x:997:
sshd:x:74:
apache:x:48:
mysql:x:27:
named:x:25:
samba:x:1001:
user:x:1002:
---

smb.conf

workgroup = HOME
server string = Samba Server Version %v
netbios name = LINUX
hosts allow = 127. 192.168.0.
log file = /var/log/samba/log.%m
max log size = 50
security = user
passdb backend = tdbsam
local master = yes
os level = 64
preferred master = yes
[webs]
        comment = webs
        path = /var/www/html
        guest ok = no
        read only = no
        write list = @users
        directory mask = 0755
        create mask = 0644
        force user = apache
        force group = apache
Additional InformationClient windows is configured for the same shape that he allows connections to samba 3.x
TagsNo tags attached.
abrt_hash
URL

Activities

rsync

rsync

2014-08-30 19:01

reporter   ~0020791

In the changelog of samba appears as follows:

Changes since 4.1.6:
--------------------

o Jeremy Allison <jra@samba.org>
    * BUG 9878: Make "force user" work as expected.
    * BUG 9942: Fix problem with server taking too long to respond to a
      MSG_PRINTER_DRVUPGRADE message.
    * BUG 9993: s3-printing: Fix obvious memory leak in
      printer_list_get_printer().
    * BUG 10344: SessionLogoff on a signed connection with an outstanding notify
      request crashes smbd.
    * BUG 10431: Fix STATUS_NO_MEMORY response from Query File Posix Lock request.
    * BUG 10508: smbd: Correctly add remote users into local groups.
    * BUG 10534: Cleanup messages.tdb record after unclean smbd shutdown.
tigalch

tigalch

2014-08-30 19:58

manager   ~0020793

Last edited: 2014-08-30 19:58

Please make this bug fix request upstream at RedHats bugzilla.redhat.com. Once the fix gets there, CentOS will inherit the it. Could you please cross reference the bug-ID from CentOS to RH and vice versa. Thanks.

rsync

rsync

2014-08-30 20:54

reporter   ~0020794

I've already sent it, Thanks so much.
rsync

rsync

2014-09-02 03:43

reporter   ~0020805

https://bugzilla.redhat.com/show_bug.cgi?id=1135723

Issue History

Date Modified Username Field Change
2014-08-26 02:37 rsync New Issue
2014-08-30 19:01 rsync Note Added: 0020791
2014-08-30 19:58 tigalch Note Added: 0020793
2014-08-30 19:58 tigalch Note Edited: 0020793
2014-08-30 20:54 rsync Note Added: 0020794
2014-09-02 03:43 rsync Note Added: 0020805