Zentyal Forum, Linux Small Business Server
Zentyal Server => Installation and Upgrades => Topic started by: trackboy on July 16, 2019, 06:43:27 am
-
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!
-
:)
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:
ipconfig /all
And this on your Zentyal
sudo ifconfig -a
Do you have the two machines on the same network?
Regards.
-
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.
-
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!
-
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.
-
Hi!
I have checked your "shares.conf" file and you haven't grant permission to any user.!
[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!
-
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
-
Hi!
Check your logs in order to debug the problem.
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
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!
-
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 "
-
Ok, i found the problem. I wrote \\10.10.14.50\home\samba\shares\kozos instead of only \\10.10.14.50\kozos.