Karmic-Networking (SAMBA) just does not work, even with detailed attention.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Invalid
|
Low
|
Unassigned | ||
Bug Description
Binary package hint: samba
I have been tryiong to get my 3 PC's networked, for the past few Ubuntu releases, with no success. As I have more experience with Ubuntu than most novice users, this may indicate something that needs substantial attention for Lucid. I don't expect a Windows Wizard, with an "out of the box" instant connection, but there is still way too much CLI as well as educated guessing in what should be a straightforward process. I know the network works, because I can get them connected in Windows XP.
I have "system-
When I go to "Places > Network", "Windows Shares on <workgroup>" I click and eventually only see one machine - this one.
I have seen DBus error org.freedesktop
All are Karmic (beta) updated machines, but this has been through Jaunty back to about Dapper for me.
This is the procedure I have used on all 3 machines:
"1. sudo ufw disable
2. gksu gedit /etc/default/ufw
Find and change to this: IPT_MODULES=
3. sudo ifconfig | grep Bcast
Look for "inet addr: and replace last segment of this IP address with "0/24". In my case it's: 192.xxx.x.0/24. Now do:
sudo ufw allow proto udp to any port 137 from 192.xxx.x.0/24
sudo ufw allow proto udp to any port 138 from 192.xxx.x.0/24
sudo ufw allow proto udp to any port 139 from 192.xxx.x.0/24
sudo ufw allow proto udp to any port 445 from 192.xxx.x.0/24
4. Enable and confirm: sudo ufw enable | sudo ufw status
5. Add a user to the Database or change an existing user's password (as root) with smbpasswd:
sudo smbpasswd -a <username>
New SMB password: ######
Retype new SMB password: ######
6. Confirm with: sudo pdbedit -L
7. Paste this stanza into smb.conf:
[global]
workgroup = WORKGROUP_NAME
netbios name = NETBIOS_NAME
server string =
name resolve order = bcast host lmhosts wins
preferred master = no
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
load printers = yes
use client driver = yes
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
create mask = 0700
browseable = No
guest ok = Yes
[print$]
comment = Printer Drivers
path = /var/lib/
browseable = yes
read only = yes
guest ok = no
8. Each share is defined in a separate stanza in smb.conf. - In my case it's: path = /home/<
[ShareName]
path = /path_to/
read only = no
9. Then: sudo chmod 1777 /path_to/
10. Restart Samba: sudo /etc/init.d/samba restart."
Again, this is not even attempting to network alternate OS's , this is strictly Karmic to Karmic to Karmic.
Changed in samba (Ubuntu): | |
status: | Incomplete → Confirmed |
What happens when you disable ufw?
Regards
chuck