This is the mail archive of the
mailing list for the Cygwin project.
Re: Unknown+User Unix_Group+505 on smb shares in a domian
- From: Linda Walsh <cygwin at tlinx dot org>
- To: cygwin at cygwin dot com
- Date: Sun, 02 Oct 2016 20:58:24 -0700
- Subject: Re: Unknown+User Unix_Group+505 on smb shares in a domian
- Authentication-results: sourceware.org; auth=none
- References: <57EB4449.firstname.lastname@example.org> <20160928180456.GA1128@hdmetxxxx33004g.AD.UCSD.EDU> <57F199B9.email@example.com> <20161002234944.vywfzlwv3lwiaqof@Chronos>
Wayne Porter wrote:
This is how it is currently set up. I can log in to the server via ssh
or use the current method, which is to map the network share using my
account credentials that they have set up for me. This works just fine
in Windows and for the most part in Cygwin. I can read/write from the
files but vim opens all files in read-only mode and I have to save using
I hate it when that happens! ;-)
So the files you are trying to access are from your own local login on those
Is there a reason why the login you have on those machines is a machine-local
I.e. I believe you said earlier, that the machines are joined to the domain.
Say your domainname="domain", and you have a domain login "wporter".
Can you login (or can anyone login) using domain credentials to those linux
machines? OR can you arrange to be able to, then copy your files on those
machines to your domain account.
If the remote files are owned by you and you are logged into your domain
account on your usual cygwin machine, then the permissions should match.
There's alot of permissions/privileges on Windows that don't map to anything
on Linux or cygwin. So while cygwin can compare the access rights in the
things it knows about, it can't begin to know about various windows permissions
and controls that might allow you to override the normal file-access controls.
If you can't login to the linux machines on your domain account, could
you get root access long enough to chown the files over to your domain
If you can't login to the linux machines w/your dom account, authenticating
your login w/the domain server might not be enabled. Might also have
to create home directory for your domain account manually.
If they need to setup login checks for domain logins on those
machines, they need to add some windbind rules to the
/etc/pam.d/common-<files>... Just to give you an idea (they
should figure out the order by looking at relevant docs):
grep winbind /etc/pam.d/common*
/etc/pam.d/common-account:account sufficient pam_winbind.so
/etc/pam.d/common-auth:auth sufficient pam_winbind.so
/etc/pam.d/common-password:password sufficient pam_winbind.so
/etc/pam.d/common-session:session sufficient pam_winbind.so
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple