On Sun, 7 Apr 2013 11:03:02 +0100
"Philip Oakley" <philipoak...@iee.org> wrote:

> If you are on an internal 'local (file) network' I would expect that
> you can simply use the URL that you would use to look at the same
> folder with Win Explorer, e.g. \\PC-3\OtherGuy\HisRepo (note this
> uses the windows backslash separator)  I use this method with Git
> Extensions and Git for Windows (msysgit compiled) at work. It doesn't
> need usernames or passwords as teh permissions are done by the file
> system.

^^^ This is a gross oversimplification which might mislead the OP.

In fact the file system kicks in only after the SMB (or CIFS, if you
wish to call it this way) protocol did authentication and authorization
(if "OtherGuy" is a "shared folder" on \\PC-3 then it has its own
security settings associated with it which are applied before the file
system is accessed).

Hence when one works with SMB shares on a Windows network using Git,
one still has to think about the authen/authz stuff.  Either
pass-through authentication must work or the target share must be
configured to allow passwordless (guest) access or one has to first
connect to the share by hand (via `net use` or using Explorer) with
correct credentials and once the authentication is complete and the
connection is cached one can run Git to access the resource.

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to