Author Topic: Zentyal 6 and WIN 10 1903 sharing problem with error code 0x80070043 (SOLVED)  (Read 378 times)

trackboy

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +1/-0
    • View Profile
Hello everybody! I installed Zentyal 6.0 in VirtualBox only for learning purpose. I added a domain administrator and a new shared folder on web interface. The new share is : /home/samba/shares/kozos.
When i try to mount this share win 10 says that: " network name can not be found "



These are the generated configs:

https://pastebin.com/snHvqm3U?fbclid=IwAR26RYwgXr9_2SOh2G6uzWCnBiasRq_MA8ib6zxvoCio-Un_D_qrNgLy7eE

https://pastebin.com/VL9gSadR?fbclid=IwAR0_6rfLqkzs3EemNHpuOQ18LxtMbNfYCXfOHz2zTSzLnwauprRTVb7fmjM

Thank you very much for any help!
« Last Edit: July 24, 2019, 06:04:11 am by trackboy »

doncamilo

  • Zen Warrior
  • ***
  • Posts: 130
  • Karma: +22/-0
    • View Profile
 :)
The Zentyal shared resources are configured in a really straightforward way.  Probably you have some error with the virtualbox interfaces.
Do you have configured your interfaces as "bridge", "internal", "NAT"?
Do you have pinging your Zentyal server in order to check connectivity?
Run this on your W10:
Code: [Select]
ipconfig /all
And this on your Zentyal
Code: [Select]
sudo ifconfig -a

Do you have the two machines on the same network?

Regards.

trackboy

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +1/-0
    • View Profile
This is not networking issue, i can ping zentyal.test.lan back and forth. I use bridge. WIN 10 get IP address from the Zentyal DHCP server.

doncamilo

  • Zen Warrior
  • ***
  • Posts: 130
  • Karma: +22/-0
    • View Profile
Hi!
So, your Windows 10 have been joined to the domain?
If W10 isn't joined to the domain you'll have to use the IP to access the shares. Could be this the issue?
Cheers!

trackboy

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +1/-0
    • View Profile
I tried with domain ( zentyal.test.lan) and with IP address too ( zentyal.test.lan: 10.10.14.50) and of course i joined to the domain with my domain administrator.

doncamilo

  • Zen Warrior
  • ***
  • Posts: 130
  • Karma: +22/-0
    • View Profile
Hi!
I have checked your "shares.conf" file and you haven't grant permission to any user.!

Code: [Select]
[kozos]
    path = /home/samba/shares/kozos
    browseable = yes
    force create mode = 0660
    force directory mode = 0660
    valid users =
    read list =
    write list =
    admin users =
...

You have to use the access control command on the webadmin shared resource definition in order to grant access to users or security groups.

Cheers!

trackboy

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +1/-0
    • View Profile
I made a "Teszt" security group, i added my domain administrator to this group. The problem is the same.

[kozos]
    path = /home/samba/shares/kozos
    browseable = yes
    force create mode = 0660
    force directory mode = 0660
    valid users = @"Teszt", @"Teszt"
    read list =
    write list = @"Teszt"
    admin users = @"Teszt"
    vfs objects = acl_xattr full_audit recycle
    full_audit:failure = connect opendir disconnect unlink mkdir rmdir open rename
    recycle: directory_mode = 0700
    recycle: keeptree = Yes
    recycle: inherit_nt_acl = Yes
    recycle: versions = Yes
    recycle: excludedir = /tmp|/var/tmp
    recycle: repository = RecycleBin

Maybe this is a WIN 10 problem

doncamilo

  • Zen Warrior
  • ***
  • Posts: 130
  • Karma: +22/-0
    • View Profile
Hi!
Check your logs in order to debug the problem.
Code: [Select]
sudo less /var/log/zentyal/zentyal.log
sudo less /var/log/samba/samba.log
If you don't find any samba related error, you could use this command on a GNU/Linux machine
Code: [Select]
sudo smbclient //yourmachine.yourdomain/yoursharedresource -U authorizeduser password -c ls
You should view the files and folder list of your resource. If this command fails too we could proceed to debug your system more carefully.
If you need some help, paste here the logs.
Cheers!

trackboy

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +1/-0
    • View Profile
I checked samba log, and gave the following problem when i try to map on WIN 10:

" process_usershare_file: stat of /var/lib/samba/usershares/home failed. No such file or directory "


trackboy

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +1/-0
    • View Profile
Ok, i found the problem. I wrote \\10.10.14.50\home\samba\shares\kozos instead of only \\10.10.14.50\kozos.
« Last Edit: July 25, 2019, 09:44:10 am by trackboy »