View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007535 | CentOS-7 | samba | public | 2014-08-26 02:37 | 2014-09-02 03:43 |
Reporter | rsync | Assigned To | |||
Priority | high | Severity | major | Reproducibility | have not tried |
Status | new | Resolution | open | ||
Platform | x86-64 | OS | CentOS | OS Version | 7 |
Product Version | 7.0-1406 | ||||
Summary | 0007535: [Samba] Does not work 'force user' from a client machine Windows 8.1 x64. | ||||
Description | From 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 Reproduce | useradd -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 Information | Client windows is configured for the same shape that he allows connections to samba 3.x | ||||
Tags | No tags attached. | ||||
abrt_hash | |||||
URL | |||||
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. |
|
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. |
|
I've already sent it, Thanks so much. | |
https://bugzilla.redhat.com/show_bug.cgi?id=1135723 | |