LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-08-2018, 09:24 PM   #1
catiewong
Member
 
Registered: Aug 2018
Posts: 190

Rep: Reputation: Disabled
unix group in windows server


In my centos server , there is a folder shared to windows via share , it was setup by pervious colleagues.

I just find that in windows side , the shared folder properties show that in security tab "Group or user Name" , one user called "root(Unix Group]\root) , but I can't find ( by search )this user in windows server , how can I add this user ?

#vi /etc/samba/smb.conf
path= /ori/dataa

browsable = yes
writable = yes
valid users = ori-user
read only = no
create mask = 777
force create mode = 777
directory mask = 775
force directory mode = 775
 
Old 10-08-2018, 11:49 PM   #2
Honest Abe
Member
 
Registered: May 2018
Distribution: CentOS 7, OpenSUSE 15
Posts: 420
Blog Entries: 1

Rep: Reputation: 202Reputation: 202Reputation: 202
Your samba client (which is windows) should access the share as ori-user.
 
Old 10-09-2018, 02:33 AM   #3
catiewong
Member
 
Registered: Aug 2018
Posts: 190

Original Poster
Rep: Reputation: Disabled
thanks reply

I have question , how do I know existing drive , is using what user ID to connect ?
 
Old 10-09-2018, 05:47 AM   #4
Honest Abe
Member
 
Registered: May 2018
Distribution: CentOS 7, OpenSUSE 15
Posts: 420
Blog Entries: 1

Rep: Reputation: 202Reputation: 202Reputation: 202
Generally, from windows, go to run (Win+r) then type the share name [syntax -> \\server.fqdn\sharename]. If all goes well, it should ask you for credentials, where you enter the credentials for samba user (ori-user in your case). A file explorer should ten open listing the available contents of the share.

It is also possible to assign a windows style drive letter to the samba share (often Z:).


More info ->
https://bcg.biostat.wisc.edu/content...ap-samba-drive
https://www.linux.com/news/using-sam...ux-and-windows
https://www.laptopmag.com/articles/m...ive-windows-10

Quote:
how do I know existing drive , is using what user ID to connect
No idea how to check on windows, but on a linux samba server (your centos machine) you may use smbclient or smbstatus -b utility.
Check this out too: https://docs.microsoft.com/en-us/pow...?view=win10-ps
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Identifying UNIX and Windows Server devUnix Linux - Server 7 08-23-2012 03:07 AM
Setting up PXE Server for Linux, Unix and Windows linuxunix Linux - Newbie 4 01-10-2012 12:28 AM
LXer: Windows Server 8: Now with added VMware and Unix LXer Syndicated Linux News 0 09-15-2011 07:40 AM
windows virus on a unix server andyong Linux - Networking 1 08-17-2004 02:13 PM
How can apply group policies on windows clients from Linux Server linuxeagle Linux - Networking 5 11-17-2003 10:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration