Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
04-24-2015, 04:56 AM
|
#46
|
Senior Member
Registered: Jan 2015
Posts: 1,432
Original Poster
Rep: 
|
Sorry it was a Misspelling, I mean is "internal domain name/realm name".
I changed "smb.conf" like below :
[test]
path = /home/jason/test
valid users = jason
read only = No
And when I want to open "test" it ask me username and password and repeat it but when I use "SFTP" for open it , Its work correctly and "jason" user can read and write but other users with "SFTP" just can read "test".
What is the problem? I want my Windows users open on my directory and they can't use SFTP 
|
|
|
04-24-2015, 05:33 AM
|
#47
|
Member
Registered: Dec 2005
Location: India
Distribution: centos
Posts: 178
Rep:
|
Change valid users= jason to
valid users = domain\linux
Here domain should be leftmost portion of ur FQDN
for example: qa.example.local
here "qa" is my domain so i would use
Valid users = qa\username or qa\group name
to alloe to write to share add
write list = qa\username or qa\groupname
|
|
|
04-25-2015, 12:23 AM
|
#48
|
Senior Member
Registered: Jan 2015
Posts: 1,432
Original Poster
Rep: 
|
Thank you.
I did it and it worked very nice with SSH and not Explorer in Linux and Windows.
When In Linux I use SSH for connect it worked very nice and in windows via SSH too but When I browse it via Nautilus or Windows explorer It ask me username and password and repeat it.
What is your idea?
|
|
|
04-25-2015, 02:25 AM
|
#49
|
Member
Registered: Dec 2005
Location: India
Distribution: centos
Posts: 178
Rep:
|
SSH and samba are completly different protocols
You have to review the settings of smb.conf file for share while specifying AD users to allow access,where i think u have problems.
If u are using domain users to login from windows box it should allow direct access to the share.
pls post ur log files.
|
|
|
04-25-2015, 03:49 AM
|
#50
|
Senior Member
Registered: Jan 2015
Posts: 1,432
Original Poster
Rep: 
|
My debug settings are :
# Debug logging information
log level = 2
log file = /var/log/samba.log.m
max log size = 50
debug timestamp = yes
And logs are :
[root@printmah log]# cat samba.log.winbindd
[2015/04/25 13:15:50.686814, 2] ../source3/param/loadparm.c:543(max_open_files)
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
[2015/04/25 13:15:50.687361, 2] ../source3/lib/interface.c:341(add_interface)
added interface enp0s3 ip=172.30.10.32 bcast=172.30.10.63 netmask=255.255.255.192
[2015/04/25 13:15:50.687547, 2] ../source3/lib/interface.c:341(add_interface)
added interface enp0s3 ip=172.30.10.32 bcast=172.30.10.63 netmask=255.255.255.192
[2015/04/25 13:15:50.745239, 1] ../source3/lib/tdb_validate.c:480(tdb_validate_and_backup)
tdb '/var/lib/samba/winbindd_cache.tdb' is valid
[2015/04/25 13:15:50.822539, 1] ../source3/lib/tdb_validate.c:490(tdb_validate_and_backup)
Created backup '/var/lib/samba/winbindd_cache.tdb.bak' of tdb '/var/lib/samba/winbindd_cache.tdb'
[2015/04/25 13:15:50.822804, 2] ../source3/winbindd/winbindd_util.c:255(add_trusted_domain)
Added domain BUILTIN (null) S-1-5-32
[2015/04/25 13:15:50.822825, 2] ../source3/winbindd/winbindd_util.c:255(add_trusted_domain)
Added domain PRINTMAH (null) S-1-5-21-2541196549-2125853042-4012361048
[2015/04/25 13:15:50.822962, 2] ../source3/winbindd/winbindd_util.c:255(add_trusted_domain)
Added domain JASONDOMAINI JASONDOMAIN.JJ S-1-5-21-3570103376-2371597222-4282842042
[2015/04/25 13:15:50.823544, 0] ../lib/util/become_daemon.c:136(daemon_ready)
STATUS=daemon 'winbindd' finished starting up and ready to serve connectionsAdded domain ADVER adver.JASONDOMAIN.JJ S-1-5-21-1472177942-2601914714-575203747
[2015/04/25 13:15:58.867287, 2] ../source3/libsmb/cliconnect.c:1312(cli_session_setup_kerberos_send)
Doing kerberos session setup
Why it asked my username and password and repeat it?[COLOR="Silver"]
Last edited by hack3rcon; 04-25-2015 at 03:51 AM.
|
|
|
04-26-2015, 12:03 AM
|
#51
|
Senior Member
Registered: Jan 2015
Posts: 1,432
Original Poster
Rep: 
|
Have Samba any special option about Browsing?
|
|
|
05-12-2015, 07:04 AM
|
#52
|
Senior Member
Registered: Jan 2015
Posts: 1,432
Original Poster
Rep: 
|
Any idea?
|
|
|
All times are GMT -5. The time now is 06:20 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|