I'm running a combination wireless/wired network with a Linksys router. I have 3 Windows XP machines, plus a MacBook Pro laptop that's running OS X Snow Leopard 10.6.3, and 3 virtual machines (Ubuntu 9.10, Kubuntu 9.10, and Windows XP Pro SP3) via Parlallels 5.0.
I'm new to configuring Samba on multiple machines. The Samba server on OS X works fine, as does the one on Ubuntu. The Kubuntu one, however keeps getting the following error:
Code:
smbtree returns NT_STATUS_ACCESS_DENIED from Windows computers
My smb.conf file for Kubuntu is:
Code:
peterv@MBP17K<686>$: nl smb.conf
1 [global]
2 ; General server settings
3 netbios name = MBP17K
4 server string =
5 workgroup = HADEN
6 announce version = 5.0
7 socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
8
9 passdb backend = tdbsam
10 security = user
11 null passwords = true
12 username map = /etc/samba/smbusers
13 : name resolve order = hosts wins bcast
14 name resolve order = lmhosts wins bcast host
15
16 wins support = yes
17
18 printing = CUPS
19 printcap name = CUPS
20
21 syslog = 1
22 syslog only = yes
23
24 [print$]
25 path = /var/lib/samba/printers
26 browseable = yes
27 guest ok = yes
28 read only = yes
29 write list = root
30 create mask = 0664
31 directory mask = 0775
32
33 [printers]
34 path = /tmp
35 printable = yes
36 guest ok = yes
37 browseable = no
38
39 [Home]
40 path = /home/peterv/
41 browseable = yes
42 read only = no
43 guest ok = no
44 create mask = 0644
45 directory mask = 0755
46 force user = peterv
47 force group = peterv
48
49 [Perl]
50 path = /home/peterv/perl
51 browseable = yes
52 read only = no
53 guest ok = no
54 create mask = 0644
55 directory mask = 0755
56 force user = peterv
57 force group = peterv
The screen output from when I start samba:
Code:
peterv@MBP17K<684>$: start_samba
* Starting Samba 4 daemon samba Unknown parameter encountered: "passdb backend"
Ignoring unknown parameter "passdb backend"
Unknown parameter encountered: "username map"
Ignoring unknown parameter "username map"
Unknown parameter encountered: "printing"
Ignoring unknown parameter "printing"
Unknown parameter encountered: "printcap name"
Ignoring unknown parameter "printcap name"
Unknown parameter encountered: "syslog"
Ignoring unknown parameter "syslog"
Unknown parameter encountered: "syslog only"
Ignoring unknown parameter "syslog only"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
Unknown parameter encountered: "write list"
Ignoring unknown parameter "write list"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
Unknown parameter encountered: "force user"
Ignoring unknown parameter "force user"
Unknown parameter encountered: "force group"
Ignoring unknown parameter "force group"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
Unknown parameter encountered: "force user"
Ignoring unknown parameter "force user"
Unknown parameter encountered: "force group"
Ignoring unknown parameter "force group"
[ OK ]
root 3291 0.0 0.0 52524 1604 ? Rs 14:36 0:00 /usr/sbin/samba -D
root 3292 0.0 0.0 52524 1572 ? S 14:36 0:00 /usr/sbin/samba -D
peterv 3297 0.0 0.0 7336 900 pts/2 R+ 14:36 0:00 grep -i samba
root 3298 0.0 0.0 52656 1576 ? S 14:36 0:00 /usr/sbin/samba -D
Thu Apr 22 14:22:43 EDT 2010
/etc/samba ->
The command I run to start samba is:
Code:
alias start_samba="sudo /etc/init.d/samba start ; ps aux | grep -i 'samba'"
I don't understand why it shows 3 samba processes were started.
Output from testparm:
Code:
Thu Apr 22 14:22:43 EDT 2010
/etc/samba ->
peterv@MBP17K<689>$: findsmb
*=DMB
+=LMB
IP ADDR NETBIOS NAME WORKGROUP/OS/VERSION
---------------------------------------------------------------------
192.168.1.100 MBP17 +[ HADEN ]
192.168.1.105 MBP17U [ HADEN ]
192.168.1.109 MBP17K [HADEN] [Unix] [Samba 4.0.0alpha9-GIT-27087e6]
192.168.1.109 MBP17K [HADEN] [Unix] [Samba 4.0.0alpha9-GIT-27087e6]
192.168.1.109 MBP17K [HADEN] [Unix] [Samba 4.0.0alpha9-GIT-27087e6]
Thu Apr 22 14:22:43 EDT 2010
/etc/samba ->
peterv@MBP17K<690>$:
This shows MBP17 - The OS X os, MBP17U - The Ubuntu os, and 3 instances of MBP17K - The Kubuntu os, there should only be one, and there should be one for SERVER2 - my Windows XP machine. (The other XP machines are offline right now.)
Output from smbtree:
Code:
peterv@MBP17K<690>$: smbtree
Enter peterv's password:
HADEN
\\SERVER2
cli_start_connection: failed to connect to SERVER2<20> (0.0.0.0). Error NT_STATUS_CONNECTION_REFUSED
\\MBP17U
cli_start_connection: failed to connect to MBP17U<20> (0.0.0.0). Error NT_STATUS_CONNECTION_REFUSED
\\MBP17 MBP17
cli_start_connection: failed to connect to MBP17<20> (0.0.0.0). Error NT_STATUS_CONNECTION_REFUSED
Thu Apr 22 14:22:43 EDT 2010
/etc/samba ->
I've been working on this for days, but have made little headway. I noticed a similar post from a few years ago, but that didn't help, so I'm hoping the posters there will see this. Sorry for the long post, but I figured the more information, the better chance of getting some help.
I would greatly appreciate any assistance anyone can provide. I really need to get this working asap.
Thanks,
Peter V.