Unknown+User Unix_Group+505 on smb shares in a domian

Andrey Repin anrdaemon@yandex.ru
Thu Sep 29 20:35:00 GMT 2016


Greetings, Wayne Porter!

> On Thu, Sep 29, 2016 at 12:10:53AM +0300, Andrey Repin wrote:
>> Greetings, Wayne Porter!
>> 
>> > On Tue, Sep 27, 2016 at 09:17:13PM -0700, Linda Walsh wrote:
>> >> Wayne Porter wrote:
>> >> > My system is joined to a domain and is connected to multiple servers via
>> >> > mapped network shares in Windows. All of the windows servers allow read/write
>> >> > access to all files, but the Fedora servers all open with read-only access.
>> >> > I can still write to most files in vim by specifying :w! so it's not like
>> >> > I can't do anything, it just becomes an inconvenience.
>> >> >     d---r-x---+ 1 NT SERVICE+TrustedInstaller NT SERVICE+TrustedInstaller 0 Sep 26 08:50 c
>> >> >     drwxrwx---+ 1 Administrators              Domain Users                0 Sep 14 11:57 i
>> >> >     drwxrwx---+ 1 SYSTEM                      SYSTEM                      0 Sep 26 12:55 j
>> >> >     drwxrwx---+ 1 Administrators              Domain Users                0 Sep 27 07:55 m
>> >> >     drwxr-xr-x  1 root                        ieng6_root                  0 Jul 12 04:04 v
>> >> >     drwxrwxr-x  1 Unknown+User                Unix_Group+505              0 Sep 21 09:41 w
>> >> >     drwxrwxr-x  1 Unix_User+99                Unix_Group+101              0 Sep 21 15:20 y
>> >> > 
>> >> 
>> >> > 
>> >> > Can anything tell me what I might be missing?
>> >> ---
>> >> Does the linux server, where cygdrive "w" is located have the share/files owned
>> >> by a domain group?  I.e. On any system (win or lin) you can have domain accounts and
>> >> local accounts.  In order to share files with the rest of the domain, files
>> >> on the server for drive 'w' have to be owned by a domain account.  It looks
>> >> like
>> >> the files are owned by a linux-local account.
>> >> 
>> >> 
>> > The server that the W: drive is mapped on is not using domain accounts. As far as I know,
>> > all Linux servers we have are running local accounts. Is there something I can set in
>> > my local /etc/passwd to convince Cygwin to map it to my user account?
>> 
>> You can tell your IT dep to pull their asses up and join all servers to AD.
>> That would be a much more straightforward solution.
>> 

> That's part of my problem, I can't get them to do anything without a couple
> arguments and eventually settling on a solution that doesn't work. I'm just
> trying to make things work in the environment I'm in.

Then, as Linda pointed out, your machines are NOT in the domain, and
essentially can't be reliable operated inside domain environment.
You may try ls -ln to see if the ID's on these shares are unique enough to
warrant their addition to the /etc/passwd, but I really, really do not envy
you in that case. You may get readable names, but you will never be able to
identify one of these accounts as yourself.


-- 
With best regards,
Andrey Repin
Thursday, September 29, 2016 22:17:56

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list