For my home server i did it like this. Share \\server\backups [backups] path = /media/sambashares/backups read only = No by default everybody had full control on the share. Rights on the folder are 777 In this share/folder i have proctect folders. Like : /media/sambashares/backups/louis /media/sambashares/backups/mywife I created a linux user with the same name as i use in windows. /media/sambashares/backups/louis is set louis:users 700 Now everybody can write/create in the backup folder, but cannot access my own folder. My important settings: security = user guest ok = yes map to guest = bad password dont forget to use : smbpasswd -a (and -e ) on other shares, i use force user = other_username ( a existing local linux user ) force group = other_group ( a existing local linux user ) so i have "open" server, but protected a few folders. Works for me on Ubuntu 14.04, Sernet samba 4.2.7-SerNet-Ubuntu-8.trusty Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens Rodrigo Yoshioka > Verzonden: dinsdag 19 januari 2016 10:42 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] Samba 4 and Windows 10 Problem. > > Hi Daniel, > In that example that I wrote, I didn't create users yet, because I did > public share only, but windows tell that I don't have permission. Do I > need to create groups and users to that situation too? > > But when I add private share, I create local users (add user) and samba > user, but when I type user and password Samba answer that I don't have > permission too.I think the problem might be that when Windows asks me for > credentials It sends local windows account instead what I'm typing.I have > already tried to create same users I have in Windows but no success too. > > After a lot of thinking and reading I tried some tutorials on the > internet, without success too. > https://www.howtoforge.com/samba-server-installation-and-configuration-on- > centos-7 > > http://sharadchhetri.com/2014/10/09/centos-7-rhel-7-install-and-setup- > samba-server-file-sharing/ > I have already tried to change windows 10 smb version too... and not > working too. > I don't know what to do now. > > RODRIGO YOSHIOKA > > Em Terça-feira, 19 de Janeiro de 2016 5:09, Mueller > <mueller at tropenklinik.de> escreveu: > > > Where do you get your users and groups, local? > Did you map the local users and groups to match with samba4/winbind? > > > > EDV Daniel Müller > > Leitung EDV > Tropenklinik Paul-Lechler-Krankenhaus > Paul-Lechler-Str. 24 > 72076 Tübingen > Tel.: 07071/206-463, Fax: 07071/206-499 > eMail: mueller at tropenklinik.de > Internet: www.tropenklinik.de > > > > > -----Ursprüngliche Nachricht----- > Von: Rodrigo Yoshioka [mailto:ro_yoshioka2002 at yahoo.com.br] > Gesendet: Dienstag, 19. Januar 2016 00:24 > An: samba at lists.samba.org > Betreff: [Samba] Samba 4 and Windows 10 Problem. > > Hi... > I'm used to configure samba 3, and now I'm getting some problems using > samba 4. > My scenario: I have a file server which hosts need to access public > folders and private folders.OS: Centos7Samba version: 4.2.3 | > 11.el7_2Selinux DisabledFirewalld disabled smb.conf[global]workgroup > WORKGROUP server string = Samba Server %v netbios name = centossecurity > usermap to guest = bad userdns proxy = no#===========================> Share Definitions ==============================[Anonymous]path > /home/suporte/semsenhabrowsable =yeswritable = yesguest ok = yesread only > = noguest only = yescreate mode = 0777directory mode = 0777 > > folder permissionsdrwxrwxrwx. 2 nobody nobody 6 Jan 18 20:18 semsenha Of > course there isn't private folders configured yet, but I couldn't make it > work with just this. > I can make it work without password if I put "guest account = root" at > global area, and "root = root" at shares area, but after that Private > folders doens't work.At moment I use smbpasswd, public share stop working > too. > The clients are Windows 10 without domain controller. I use Workgroup > Network > > Can anyone help me please? > > > Thanks. > > RODRIGO YOSHIOKA > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
Hi Louis I'll try your configuration too.. Thanks. RODRIGO YOSHIOKA Em Terça-feira, 19 de Janeiro de 2016 8:37, L. P. H. van Belle <belle at bazuin.nl> escreveu: For my home server i did it like this. Share \\server\backups [backups] path = /media/sambashares/backups read only = No by default everybody had full control on the share. Rights on the folder are 777 In this share/folder i have proctect folders. Like : /media/sambashares/backups/louis /media/sambashares/backups/mywife I created a linux user with the same name as i use in windows. /media/sambashares/backups/louis is set louis:users 700 Now everybody can write/create in the backup folder, but cannot access my own folder. My important settings: security = user guest ok = yes map to guest = bad password dont forget to use : smbpasswd -a (and -e ) on other shares, i use force user = other_username ( a existing local linux user ) force group = other_group ( a existing local linux user ) so i have "open" server, but protected a few folders. Works for me on Ubuntu 14.04, Sernet samba 4.2.7-SerNet-Ubuntu-8.trusty Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens Rodrigo Yoshioka > Verzonden: dinsdag 19 januari 2016 10:42 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] Samba 4 and Windows 10 Problem. > > Hi Daniel, > In that example that I wrote, I didn't create users yet, because I did > public share only, but windows tell that I don't have permission. Do I > need to create groups and users to that situation too? > > But when I add private share, I create local users (add user) and samba > user, but when I type user and password Samba answer that I don't have > permission too.I think the problem might be that when Windows asks me for > credentials It sends local windows account instead what I'm typing.I have > already tried to create same users I have in Windows but no success too. > > After a lot of thinking and reading I tried some tutorials on the > internet, without success too. > https://www.howtoforge.com/samba-server-installation-and-configuration-on- > centos-7 > > http://sharadchhetri.com/2014/10/09/centos-7-rhel-7-install-and-setup- > samba-server-file-sharing/ > I have already tried to change windows 10 smb version too... and not > working too. > I don't know what to do now. > > RODRIGO YOSHIOKA > > Em Terça-feira, 19 de Janeiro de 2016 5:09, Mueller > <mueller at tropenklinik.de> escreveu: > > > Where do you get your users and groups, local? > Did you map the local users and groups to match with samba4/winbind? > > > > EDV Daniel Müller > > Leitung EDV > Tropenklinik Paul-Lechler-Krankenhaus > Paul-Lechler-Str. 24 > 72076 Tübingen > Tel.: 07071/206-463, Fax: 07071/206-499 > eMail: mueller at tropenklinik.de > Internet: www.tropenklinik.de > > > > > -----Ursprüngliche Nachricht----- > Von: Rodrigo Yoshioka [mailto:ro_yoshioka2002 at yahoo.com.br] > Gesendet: Dienstag, 19. Januar 2016 00:24 > An: samba at lists.samba.org > Betreff: [Samba] Samba 4 and Windows 10 Problem. > > Hi... > I'm used to configure samba 3, and now I'm getting some problems using > samba 4. > My scenario: I have a file server which hosts need to access public > folders and private folders.OS: Centos7Samba version: 4.2.3 | > 11.el7_2Selinux DisabledFirewalld disabled smb.conf[global]workgroup > WORKGROUP server string = Samba Server %v netbios name = centossecurity > usermap to guest = bad userdns proxy = no#===========================> Share Definitions ==============================[Anonymous]path > /home/suporte/semsenhabrowsable =yeswritable = yesguest ok = yesread only > = noguest only = yescreate mode = 0777directory mode = 0777 > > folder permissionsdrwxrwxrwx. 2 nobody nobody 6 Jan 18 20:18 semsenha Of > course there isn't private folders configured yet, but I couldn't make it > work with just this. > I can make it work without password if I put "guest account = root" at > global area, and "root = root" at shares area, but after that Private > folders doens't work.At moment I use smbpasswd, public share stop working > too. > The clients are Windows 10 without domain controller. I use Workgroup > Network > > Can anyone help me please? > > > Thanks. > > RODRIGO YOSHIOKA > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Hi, I tried another conf, based on your emails, but still, windows say that I don't have permission. [root at samba samba]# testparmLoad smb config files from /etc/samba/smb.confrlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)Processing section "[Anonymous]"Loaded services file OK.Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions # Global parameters[global] netbios name = CENTOS server string = Samba Server %v security = USER map to guest = Bad User idmap config * : backend = tdb guest ok = Yes [Anonymous] path = /home/suporte/semsenha read only = No[root at samba samba]# systemctl restart smb[root at samba samba]# ll /home/suporte/total 0drwxrwxrwx. 2 nobody nobody 6 Jan 18 20:18 semsenha[root at samba samba]# The log doesnt say anything about the problem.... Jan 19 11:51:54 samba systemd: Started Samba SMB Daemon.Jan 19 11:51:54 samba smbd[1019]: [2016/01/19 11:51:54.645682, 0] ../source3/printing/print_cups.c:151(cups_connect)Jan 19 11:51:54 samba smbd[1019]: Unable to connect to CUPS server localhost:631 - Ponto final de transporte não está conectadoJan 19 11:51:54 samba smbd[1018]: [2016/01/19 11:51:54.646763, 0] ../source3/printing/print_cups.c:529(cups_async_callback)Jan 19 11:51:54 samba smbd[1018]: failed to retrieve printer list: NT_STATUS_UNSUCCESSFULJan 19 11:57:54 samba smbd[1031]: [2016/01/19 11:57:54.841210, 0] ../source3/printing/print_cups.c:151(cups_connect)Jan 19 11:57:54 samba smbd[1031]: Unable to connect to CUPS server localhost:631 - Ponto final de transporte não está conectadoJan 19 11:57:54 samba smbd[1018]: [2016/01/19 11:57:54.842579, 0] ../source3/printing/print_cups.c:529(cups_async_callback)Jan 19 11:57:54 samba smbd[1018]: failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL RODRIGO YOSHIOKA Em Terça-feira, 19 de Janeiro de 2016 9:04, Rodrigo Yoshioka <ro_yoshioka2002 at yahoo.com.br> escreveu: Hi Louis I'll try your configuration too.. Thanks. RODRIGO YOSHIOKA Em Terça-feira, 19 de Janeiro de 2016 8:37, L. P. H. van Belle <belle at bazuin.nl> escreveu: For my home server i did it like this. Share \\server\backups [backups] path = /media/sambashares/backups read only = No by default everybody had full control on the share. Rights on the folder are 777 In this share/folder i have proctect folders. Like : /media/sambashares/backups/louis /media/sambashares/backups/mywife I created a linux user with the same name as i use in windows. /media/sambashares/backups/louis is set louis:users 700 Now everybody can write/create in the backup folder, but cannot access my own folder. My important settings: security = user guest ok = yes map to guest = bad password dont forget to use : smbpasswd -a (and -e ) on other shares, i use force user = other_username ( a existing local linux user ) force group = other_group ( a existing local linux user ) so i have "open" server, but protected a few folders. Works for me on Ubuntu 14.04, Sernet samba 4.2.7-SerNet-Ubuntu-8.trusty Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens Rodrigo Yoshioka > Verzonden: dinsdag 19 januari 2016 10:42 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] Samba 4 and Windows 10 Problem. > > Hi Daniel, > In that example that I wrote, I didn't create users yet, because I did > public share only, but windows tell that I don't have permission. Do I > need to create groups and users to that situation too? > > But when I add private share, I create local users (add user) and samba > user, but when I type user and password Samba answer that I don't have > permission too.I think the problem might be that when Windows asks me for > credentials It sends local windows account instead what I'm typing.I have > already tried to create same users I have in Windows but no success too. > > After a lot of thinking and reading I tried some tutorials on the > internet, without success too. > https://www.howtoforge.com/samba-server-installation-and-configuration-on- > centos-7 > > http://sharadchhetri.com/2014/10/09/centos-7-rhel-7-install-and-setup- > samba-server-file-sharing/ > I have already tried to change windows 10 smb version too... and not > working too. > I don't know what to do now. > > RODRIGO YOSHIOKA > > Em Terça-feira, 19 de Janeiro de 2016 5:09, Mueller > <mueller at tropenklinik.de> escreveu: > > > Where do you get your users and groups, local? > Did you map the local users and groups to match with samba4/winbind? > > > > EDV Daniel Müller > > Leitung EDV > Tropenklinik Paul-Lechler-Krankenhaus > Paul-Lechler-Str. 24 > 72076 Tübingen > Tel.: 07071/206-463, Fax: 07071/206-499 > eMail: mueller at tropenklinik.de > Internet: www.tropenklinik.de > > > > > -----Ursprüngliche Nachricht----- > Von: Rodrigo Yoshioka [mailto:ro_yoshioka2002 at yahoo.com.br] > Gesendet: Dienstag, 19. Januar 2016 00:24 > An: samba at lists.samba.org > Betreff: [Samba] Samba 4 and Windows 10 Problem. > > Hi... > I'm used to configure samba 3, and now I'm getting some problems using > samba 4. > My scenario: I have a file server which hosts need to access public > folders and private folders.OS: Centos7Samba version: 4.2.3 | > 11.el7_2Selinux DisabledFirewalld disabled smb.conf[global]workgroup > WORKGROUP server string = Samba Server %v netbios name = centossecurity > usermap to guest = bad userdns proxy = no#===========================> Share Definitions ==============================[Anonymous]path > /home/suporte/semsenhabrowsable =yeswritable = yesguest ok = yesread only > = noguest only = yescreate mode = 0777directory mode = 0777 > > folder permissionsdrwxrwxrwx. 2 nobody nobody 6 Jan 18 20:18 semsenha Of > course there isn't private folders configured yet, but I couldn't make it > work with just this. > I can make it work without password if I put "guest account = root" at > global area, and "root = root" at shares area, but after that Private > folders doens't work.At moment I use smbpasswd, public share stop working > too. > The clients are Windows 10 without domain controller. I use Workgroup > Network > > Can anyone help me please? > > > Thanks. > > RODRIGO YOSHIOKA > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba