Trang thông tin tổng hợp
Trang thông tin tổng hợp
  • Người nổi tiếng
  • Chính tả
  • Hình ảnh đẹp
  • Thơ văn học
Người nổi tiếng Chính tả Hình ảnh đẹp Thơ văn học
  1. Trang chủ
  2. Ảnh tổng hợp
Mục Lục

Xfce Forum

avatar
kangta
01:18 30/11/2025
Theo dõi trên

Mục Lục

First configure Windows Machine [ Just if you are using samba for Domestic usage ]

Remember if on home environtment if you are under Windows Vista / 7 or greatheryou can do the follow, first Run

Find:Console Root -> Local Computer Policy -> Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> Security Options

When you're there change the following policies

Microsoft network client: Send unencrypted password to third-party SMB server: Switch it to "Enabled".

Network security: LAN Manager authentication level: Select the option: Send LM & NTLM - use NTLMv2 session security if negotiated.

Well its time to clean samba secrets and/or passwords using SeaHorsejust for not have errors like not accepted password when is the correct credential right now. i lost a lot of time for this XD.

If you don't wanna share things like "C$", "ADMIN$", "IPC$", you should do the followOpen the "regedit" with administrative rights and go to follow registry sub-key :

Create or Edit the sub-key called "AutoShareServer" must be type "REG_DWORD" and set to "0"Close edit box, and close the registry editor. now open a cmd with administravive rightsand use the follow commands :

Finish.

Installing & Configuring Samba under Ubuntu 22.04 :

first install this packages :

second try to determine network interfaces :

Third set variables :

Four : use echo & tee commands to set the samba configuration file :

Five enable the samba shares :

Six : again use echo & tee to write another configuration files :

i had write my own file /etc/hosts file with a lot of manual blocks (because i am from Venezuela, and my connection is max 1Mbps and the ads make a several slowdown on my connection)

Seven : allow Ports & Hosts using iptables, use smbpasswd to ser samba user password ,use testparm command to check configuration of samba is correct, restart services winbind, nmbd, smbd, and finally use smbtree and smbclient just to check if working.

Restart services :

Wait around 2 minutes for the services read all reloaded configurations.

If samba is set to be Standalone server for domestic usage, the file /etc/samba/lmhost must not exist or create conflict

Because if that file /etc/samba/lmhost exist, cause fails like this :

But if i use the IP of that pc in smb protocol, for example smb://192.168.1.11 then connect fine

Force Reload of Xfce esential components :

Restart the machine.

Open Thunar and go to " Network " and enter on « Windows Network » now i is working, here screenshots :

You can check your share folder list using the follow command :

Last edited by inukaze (2022-11-09 02:37:45)

0 Thích
Chia sẻ
  • Chia sẻ Facebook
  • Chia sẻ Twitter
  • Chia sẻ Zalo
  • Chia sẻ Pinterest
In
  • Điều khoản sử dụng
  • Chính sách bảo mật
  • Cookies
  • RSS
  • Điều khoản sử dụng
  • Chính sách bảo mật
  • Cookies
  • RSS

Trang thông tin tổng hợp Hauionline

Website Hauionline là blog chia sẻ vui về đời sống ở nhiều chủ đề khác nhau giúp cho mọi người dễ dàng cập nhật kiến thức. Đặc biệt có tiêu điểm quan trọng cho các bạn trẻ hiện nay.

© 2025 - Hauionline

Trang thông tin tổng hợp
  • Trang chủ
  • Người nổi tiếng
  • Chính tả
  • Hình ảnh đẹp
  • Thơ văn học
Đăng ký / Đăng nhập
Quên mật khẩu?
Chưa có tài khoản? Đăng ký