Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 16487  / 2 Years ago, mon, november 14, 2022, 11:35:06

Installed UBUNTU-server 12.04 and configured /etc/samba/smb.conf as:



 #======================= Global Settings =======================

[global]
workgroup = HEMMA
server string = %h server (Samba, Ubuntu)
security = user
wins support = yes
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
encrypt passwords = no
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Entersnews*spassword:* %n
*Retypesnews*spassword:* %n
*passwordsupdatedssuccessfully* .
pam password change = yes
map to guest = bad user
############ Misc ############
usershare allow guests = yes

#======================= Share Definitions =======================
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = no
read only = yes
create mask = 0700

# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no

[Bilder original]
comment = Original bilder
path = /mnt/bilder/org
browseable = yes
read only = no
guest ok = no
create mask = 0755
[Bilder publika]
comment = Bilder för allmän visning
path = /mnt/bilder/public
browseable = yes
read only = yes
guest ok = yes
[Musik]
comment = Musik
path = /mnt/music/public
browseable = yes
read only = yes
guest ok = yes


I have a network setup around a 4G router "HUAWEI B593" where some computers are connected by WIFI and others by LAN.



The server is connected by LAN.



On one computer running windows XP I can see the server but are not allowed to acces them.



On another computer on the WIFI-net running win7 I cannot see the server at all but I can ping the server and I can see the smb-protocoll is running when sniffing with wireshark.



I don't primarily want to use passwords, computers on the lan and wifi should be able to connect without any login-procedure.



I'm sure my config is not sufficient but have hard to understand how I should do. Theres a lot of descriptions on the net but most is old and none have been of any help.



I'm also confused by the fact that I can not se the sever on my win7-machine even though it communicates with the samba-server.



Would be very happy if anyone could spread some light over this mess.


More From » networking

 Answers
6

If you are able to ping the Ubuntu server, and still not able to map network drive from Windows follow this:



Just disconnect the LAN cable , connect to WLAN. Now type-in the IP-address/username(eg: //192.134.23.23/joe) into the explorer.
Mostly you should be able to connect. If yes, just copy the path to network map the drive.
Hope this works.
The problem should be with the server hostname mapping with ip-address.


[#30594] Wednesday, November 16, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
fotres

Total Points: 35
Total Questions: 124
Total Answers: 112

Location: Federated States of Micronesia
Member since Sat, Jun 4, 2022
2 Years ago
;