jschiwal;3882753Could you post the results of `nmbstatus'?
***************************************
I get: ande@ubuntu1:~$ nmbstatus
No command 'nmbstatus' found, did you mean:
Command 'smbstatus' from package 'samba4' (universe)
Command 'smbstatus' from package 'samba' (main)
nmbstatus: command not found
ande@ubuntu1:~$ smbstatus
The program 'smbstatus' can be found in the following packages:
* samba
* samba4
Try: sudo apt-get install <selected package>
smbstatus: command not found
*****************************************
Also try "nmblookup <host1> <host2>" with the names of the hosts you have on the lan.
***************************************
I get: ande@ubuntu1:~$ nmblookup redone alive
querying redone on 192.168.11.255
192.168.11.6 redone<00>
querying alive on 192.168.11.255
192.168.11.4 alive<00>
169.254.2.2 alive<00>
****************************************
This should list the shares offered.
smbclient -L <hostname>
***************************************
I get: ande@ubuntu1:~$ smbclient -L ubuntu1
Enter ande's password:
Connection to ubuntu1 failed (Error NT_STATUS_CONNECTION_REFUSED)
***************************************
Check that smbd and nmbd are running:
ps -e | egrep mbd
***************************************
I get nothing as shown:
ande@ubuntu1:~$ ps -e | egrep mbd
ande@ubuntu1:~$ ps -e | egrep nmbd
ande@ubuntu1:~$ ps -e | egrep smbd
***************************************
Check the ports. Remember udp as well.
Code:
netstat -ln | egrep ':(137|138|139|445)'
tcp 0 0 :::139 :::* LISTEN
tcp 0 0 :::445 :::* LISTEN
udp 0 0 192.168.1.106:137 0.0.0.0:*
udp 0 0 0.0.0.0:137 0.0.0.0:*
udp 0 0 192.168.1.106:138 0.0.0.0:*
udp 0 0 0.0.0.0:138 0.0.0.0:*
*****************************************
I get nothing.
ande@ubuntu1:~$ netstat -ln | egrep '
137|138|139|445)'
ande@ubuntu1:~$
*****************************************
Check you firewall settings. You want to open 137/udp, 138/udp, 139/tcp and 445/tcp.
Code:
PORT STATE SERVICE
137/udp open|filtered netbios-ns
138/udp open|filtered netbios-dgm
139/tcp open netbios-ssn
445/tcp open microsoft-ds
*********************************
I have no firewall set-up, until I can find a way to actually set-up and use Ubuntu.
***********************************
I tried to set-up a Group in Samba. However, Ubuntu will not allow me access to add a Group. How do I gain access to root in ubuntu? Do I have to do everything from the command line with sudo?
Thanks