Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(7398)

Issue 6545054: code review 6545054: os/user : use username as fullname if all else fails (o...

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 7 months ago by shiv
Modified:
11 years, 7 months ago
Reviewers:
brainman
CC:
golang-dev, brainman
Visibility:
Public.

Description

os/user : use username as fullname if all else fails (on windows) Fixes issue 4113.

Patch Set 1 #

Patch Set 2 : diff -r 90c9121e26c3 https://code.google.com/p/go #

Patch Set 3 : diff -r 90c9121e26c3 https://code.google.com/p/go #

Total comments: 1

Patch Set 4 : diff -r 99fee67bd747 https://code.google.com/p/go #

Patch Set 5 : diff -r c1c1dd3940c6 https://code.google.com/p/go #

Total comments: 1

Patch Set 6 : diff -r c1c1dd3940c6 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M src/pkg/os/user/lookup_windows.go View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 16
shiv
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
11 years, 7 months ago (2012-09-21 15:07:33 UTC) #1
brainman
http://codereview.appspot.com/6545054/diff/5001/src/pkg/os/user/lookup_windows.go File src/pkg/os/user/lookup_windows.go (right): http://codereview.appspot.com/6545054/diff/5001/src/pkg/os/user/lookup_windows.go#newcode13 src/pkg/os/user/lookup_windows.go:13: return username, nil Are you sure, you want to ...
11 years, 7 months ago (2012-09-23 04:12:34 UTC) #2
shiv
Hello golang-dev@googlegroups.com, alex.brainman@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 7 months ago (2012-09-23 06:57:16 UTC) #3
shiv
On 2012/09/23 04:12:34, brainman wrote: > http://codereview.appspot.com/6545054/diff/5001/src/pkg/os/user/lookup_windows.go#newcode13 > src/pkg/os/user/lookup_windows.go:13: return username, nil > Are you ...
11 years, 7 months ago (2012-09-23 07:00:33 UTC) #4
brainman
I appreciate your effort, but I do not see how your changes fixes issue 4113. ...
11 years, 7 months ago (2012-09-24 04:40:04 UTC) #5
shiv
On 2012/09/24 04:40:04, brainman wrote: <snip> > have applied your patch, and running test on ...
11 years, 7 months ago (2012-09-24 07:48:52 UTC) #6
brainman
On 2012/09/24 07:48:52, gns wrote: > ... > What is your windows version? > Windows ...
11 years, 7 months ago (2012-09-24 10:57:19 UTC) #7
brainman
@gns Thinking again about your problem. Perhaps, you could leave all existing code alone and ...
11 years, 7 months ago (2012-09-25 01:41:17 UTC) #8
shiv
Returning GetUserNameEx() when everything else fails may not be good enough improvement on the current ...
11 years, 7 months ago (2012-09-26 13:56:29 UTC) #9
shiv
On 2012/09/26 13:56:29, gns wrote: > > [2] Servers having AD authentication and running go ...
11 years, 7 months ago (2012-09-26 13:59:54 UTC) #10
brainman
On 2012/09/26 13:56:29, gns wrote: > ... > issue 4113 affects 2 kind of users: ...
11 years, 7 months ago (2012-09-27 04:08:00 UTC) #11
shiv
Hello golang-dev@googlegroups.com, alex.brainman@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 7 months ago (2012-09-29 03:19:20 UTC) #12
brainman
CL description is too long. Please, just say what it does. For example: >>> os/user: ...
11 years, 7 months ago (2012-09-29 12:30:44 UTC) #13
shiv
Hello golang-dev@googlegroups.com, alex.brainman@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 7 months ago (2012-09-29 12:47:08 UTC) #14
brainman
LGTM I will leave for others to comment. For a day or so. Thank you. ...
11 years, 7 months ago (2012-09-29 12:52:14 UTC) #15
brainman
11 years, 6 months ago (2012-10-03 00:33:32 UTC) #16
*** Submitted as http://code.google.com/p/go/source/detail?r=c763565f31ff ***

os/user : use username as fullname if all else fails (on windows)

Fixes issue 4113.

R=golang-dev, alex.brainman
CC=golang-dev
http://codereview.appspot.com/6545054

Committer: Alex Brainman <alex.brainman@gmail.com>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b