NethServer Version: 7.6.1810 (final)
Module: shared folders
I am very new to NethServer and IT in general, also I apologize for the lengthy post.
Setup: I have a nethserver vm, inside a proxmox host. I am passing two network interfaces to the vm. One is being assigned an ip (by dhcp) - this is a red interface inside nethserver. The other one I am assigning a static ip from within nethserver, and its set to be a green interface.
Domain: I have created an active directory domain, with a different ip (this was required to be), and it is up and running .
NetBIOS domain name: XXXXXXXXXXXX
LDAP server: 192.168.xx.xx
LDAP server name: xxxx-xxxxxxxx.xxxxxx.lan
Realm: XXXXXXXXX.XXX
Bind Path: dc=XXXXXXXXX,dc=XXX
LDAP port: 389
Server time: Thu, 14 Mar 2019 10:51:26 EDT
KDC server: 192.168.xx.xx
Server time offset: 0
Last machine account password change: Mon, 11 Mar 2019 13:46:35 EDT
Join is OK
whenCreated: 20190311174635.0Z
name: XXXXXXX
objectSid: S-1-5-21-1343530846-794443157-150560365-1104
accountExpires: 9223372036854775807
sAMAccountName: XXXXXXXXXX$
pwdLastSet: 131967999953904420
dNSHostName: xxxxxxx.xxxxxxxx.xxx
servicePrincipalName: HOST/XXXXXX
servicePrincipalName: HOST/xxxxx.xxxxx.lan
servicePrincipalName: smtp/nethserver
servicePrincipalName: smtp/nethserver.xxxxxxxx.lan
servicePrincipalName: pop/nethserver
servicePrincipalName: pop/nethserver.xxxxx.lan
servicePrincipalName: imap/nethserver
servicePrincipalName: imap/nethserver.xxxxxxx.lan
whenChanged: 20190311174653.0Z
lastLogon: 131970484543334600
distinguishedName: CN=NETHSERVER,CN=Computers,DC=xxxxxx,DC=lan
Problem: In active directory, I have created a few users, and a group that has all users. I have also created a few shared folders. All folders allow guest access, and I have also enabled the browseable option. Inside nethserver, I can see that that smb service is running, and also the relevant ports are open in the firewall.
I ran nmap from an ubuntu container on the domain controller’s ip and it did show the relevant ports open.
According to the documentation, I think the shared folders can be accessed just like samba shares. But when I try to access the shares, using the domain controller’s ip, (in windows) I can see only two shares - netlogon and sysvol.
In windows explorer, when I try to access the domain controller’s ip like \\<ip>\ , it asks me for a username and password, once I enter the credentials, I can see only netlogon and sysvol.
From ubuntu, I tried to use smbclient.
smbclient //<domain controller ip>/characterization -U username -W <WORKGROUP>
I get a warning that “syslog” option is deprecated, and then a password, upon entering the password, I get
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
However, In the same fashion I am able to access netlogon and sysvol, and I can look at the different files in sysvol.
How do I access the shared folders?
I have tried restarting the smb service from the status>>services page, I have tried rebooting the server,etc, but nothing changed the situation.
Please help!!
Any help or suggestion is appreciated.