Re: [Errno 13] Permission denied error when sending emails

2013-08-20 Thread Stephen Gallagher
On 08/20/2013 12:34 PM, Michaela Newell wrote:
> Hi Stephan,
> 
> Thanks for reply. It is RHEL/CentOS 6. It did not go away when I tried
> the command but the error message has changed. Output from log now is:
> 
> - Error sending e-mail notification with subject 'Review Request 2: gfhgf' on 
> behalf of '"" ' to '"" ': 
> STARTTLS extension not supported by server.
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/reviewboard/notifications/email.py", 
> line 244, in send_review_mail
> message.send()
>   File "/usr/lib/python2.6/site-packages/django/core/mail/message.py", line 
> 248, in send
> return self.get_connection(fail_silently).send_messages([self])
>   File "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", 
> line 85, in send_messages
> new_conn_created = self.open()
>   File "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", 
> line 51, in open
> self.connection.starttls()
>   File "/usr/lib64/python2.6/smtplib.py", line 611, in starttls
> raise SMTPException("STARTTLS extension not supported by server.")
> SMTPException: STARTTLS extension not supported by server.
> 

Ok, so that's a different problem, which *does* mean that the initial
"permission denied" error was caused by SELinux. So we'll work on that next.

This error above tells me that you misconfigured your email
configuration. It's trying to use TLS for communicating with the SMTP
server, which that server doesn't support. You probably need to confer
with your mail administrator for what the proper settings are there.


> 
> The audit2allow -a command came back with command not found, running as
> root.

You need to do 'yum install /usr/bin/audit2allow' if you don't already
have it.

> 
> Michaela
> 
> On Tuesday, 20 August 2013 14:48:30 UTC+1, Stephen Gallagher wrote:
> 
> On 08/20/2013 09:46 AM, Michaela Newell wrote:
> > I am attempting to set-up emails. I have all three options
> selected and
> > a valid smtp server. When I add a new user the logs show nothing
> but the
> > email does not get sent. When I add a new review request I get
> this in
> > the log:
> >
> >  - Error sending e-mail notification with subject 'Review Request
> 1: ...' on behalf of '" " ' to '"
> " ': [Errno 13] Permission denied
> > Traceback (most recent call last):
> >   File
> "/usr/lib/python2.6/site-packages/reviewboard/notifications/email.py",
> line 244, in send_review_mail
> > message.send()
> >   File
> "/usr/lib/python2.6/site-packages/django/core/mail/message.py", line
> 248, in send
> > return self.get_connection(fail_silently).send_messages([self])
> >   File
> "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", line
> 85, in send_messages
> > new_conn_created = self.open()
> >   File
> "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", line
> 48, in open
> > local_hostname=DNS_NAME.get_fqdn())
> >   File "/usr/lib64/python2.6/smtplib.py", line 239, in __init__
> > (code, msg) = self.connect(host, port)
> >   File "/usr/lib64/python2.6/smtplib.py", line 295, in connect
> > self.sock = self._get_socket(host, port, self.timeout)
> >   File "/usr/lib64/python2.6/smtplib.py", line 273, in _get_socket
> > return socket.create_connection((port, host), timeout)
> >   File "/usr/lib64/python2.6/socket.py", line 567, in
> create_connection
> > raise error, msg
> > error: [Errno 13] Permission denied
> >
> >
> > Does anyone know of any causes?
> >
> 
> Is this RHEL/CentOS 6? It's possibke that SELinux might be interfering.
> Does it go away if you do 'setenforce 0' as root? If so, please run the
> command:
> audit2allow -a
> 
> and send me the output.
> 
> -- 
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~--~~~~--~~--~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en
> ---
> You received this message because you are subscribed to the Google
> Groups "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.

Re: [Errno 13] Permission denied error when sending emails

2013-08-20 Thread Michaela Newell
Actually, figured out what the last bits were it was because I had TLS 
ticked but my server didn't have it. Fixed now :) Thanks very much. Your 
command audit2allow -a did not work however.

On Tuesday, 20 August 2013 17:34:39 UTC+1, Michaela Newell wrote:
>
> Hi Stephan,
>
> Thanks for reply. It is RHEL/CentOS 6. It did not go away when I tried the 
> command but the error message has changed. Output from log now is:
>
> - Error sending e-mail notification with subject 'Review Request 2: gfhgf' on 
> behalf of '"" ' to '"" ': 
> STARTTLS extension not supported by server.
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/reviewboard/notifications/email.py", 
> line 244, in send_review_mail
> message.send()
>   File "/usr/lib/python2.6/site-packages/django/core/mail/message.py", line 
> 248, in send
> return self.get_connection(fail_silently).send_messages([self])
>   File "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", 
> line 85, in send_messages
> new_conn_created = self.open()
>   File "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", 
> line 51, in open
> self.connection.starttls()
>   File "/usr/lib64/python2.6/smtplib.py", line 611, in starttls
> raise SMTPException("STARTTLS extension not supported by server.")
> SMTPException: STARTTLS extension not supported by server.
>
>
> The audit2allow -a command came back with command not found, running as 
> root.
>
> Michaela
>
> On Tuesday, 20 August 2013 14:48:30 UTC+1, Stephen Gallagher wrote:
>>
>> On 08/20/2013 09:46 AM, Michaela Newell wrote: 
>> > I am attempting to set-up emails. I have all three options selected and 
>> > a valid smtp server. When I add a new user the logs show nothing but 
>> the 
>> > email does not get sent. When I add a new review request I get this in 
>> > the log: 
>> > 
>> >  - Error sending e-mail notification with subject 'Review Request 1: 
>> ...' on behalf of '" " ' to '" " 
>> ': [Errno 13] Permission denied 
>> > Traceback (most recent call last): 
>> >   File 
>> "/usr/lib/python2.6/site-packages/reviewboard/notifications/email.py", line 
>> 244, in send_review_mail 
>> > message.send() 
>> >   File "/usr/lib/python2.6/site-packages/django/core/mail/message.py", 
>> line 248, in send 
>> > return self.get_connection(fail_silently).send_messages([self]) 
>> >   File 
>> "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", line 
>> 85, in send_messages 
>> > new_conn_created = self.open() 
>> >   File 
>> "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", line 
>> 48, in open 
>> > local_hostname=DNS_NAME.get_fqdn()) 
>> >   File "/usr/lib64/python2.6/smtplib.py", line 239, in __init__ 
>> > (code, msg) = self.connect(host, port) 
>> >   File "/usr/lib64/python2.6/smtplib.py", line 295, in connect 
>> > self.sock = self._get_socket(host, port, self.timeout) 
>> >   File "/usr/lib64/python2.6/smtplib.py", line 273, in _get_socket 
>> > return socket.create_connection((port, host), timeout) 
>> >   File "/usr/lib64/python2.6/socket.py", line 567, in create_connection 
>> > raise error, msg 
>> > error: [Errno 13] Permission denied 
>> > 
>> > 
>> > Does anyone know of any causes? 
>> > 
>>
>> Is this RHEL/CentOS 6? It's possibke that SELinux might be interfering. 
>> Does it go away if you do 'setenforce 0' as root? If so, please run the 
>> command: 
>> audit2allow -a 
>>
>> and send me the output. 
>>
>>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Errno 13] Permission denied error when sending emails

2013-08-20 Thread Michaela Newell
Hi Stephan,

Thanks for reply. It is RHEL/CentOS 6. It did not go away when I tried the 
command but the error message has changed. Output from log now is:

- Error sending e-mail notification with subject 'Review Request 2: gfhgf' on 
behalf of '"" ' to '"" ': 
STARTTLS extension not supported by server.
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/reviewboard/notifications/email.py", 
line 244, in send_review_mail
message.send()
  File "/usr/lib/python2.6/site-packages/django/core/mail/message.py", line 
248, in send
return self.get_connection(fail_silently).send_messages([self])
  File "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", 
line 85, in send_messages
new_conn_created = self.open()
  File "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", 
line 51, in open
self.connection.starttls()
  File "/usr/lib64/python2.6/smtplib.py", line 611, in starttls
raise SMTPException("STARTTLS extension not supported by server.")
SMTPException: STARTTLS extension not supported by server.


The audit2allow -a command came back with command not found, running as 
root.

Michaela

On Tuesday, 20 August 2013 14:48:30 UTC+1, Stephen Gallagher wrote:
>
> On 08/20/2013 09:46 AM, Michaela Newell wrote: 
> > I am attempting to set-up emails. I have all three options selected and 
> > a valid smtp server. When I add a new user the logs show nothing but the 
> > email does not get sent. When I add a new review request I get this in 
> > the log: 
> > 
> >  - Error sending e-mail notification with subject 'Review Request 1: 
> ...' on behalf of '" " ' to '" " 
> ': [Errno 13] Permission denied 
> > Traceback (most recent call last): 
> >   File 
> "/usr/lib/python2.6/site-packages/reviewboard/notifications/email.py", line 
> 244, in send_review_mail 
> > message.send() 
> >   File "/usr/lib/python2.6/site-packages/django/core/mail/message.py", 
> line 248, in send 
> > return self.get_connection(fail_silently).send_messages([self]) 
> >   File 
> "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", line 
> 85, in send_messages 
> > new_conn_created = self.open() 
> >   File 
> "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", line 
> 48, in open 
> > local_hostname=DNS_NAME.get_fqdn()) 
> >   File "/usr/lib64/python2.6/smtplib.py", line 239, in __init__ 
> > (code, msg) = self.connect(host, port) 
> >   File "/usr/lib64/python2.6/smtplib.py", line 295, in connect 
> > self.sock = self._get_socket(host, port, self.timeout) 
> >   File "/usr/lib64/python2.6/smtplib.py", line 273, in _get_socket 
> > return socket.create_connection((port, host), timeout) 
> >   File "/usr/lib64/python2.6/socket.py", line 567, in create_connection 
> > raise error, msg 
> > error: [Errno 13] Permission denied 
> > 
> > 
> > Does anyone know of any causes? 
> > 
>
> Is this RHEL/CentOS 6? It's possibke that SELinux might be interfering. 
> Does it go away if you do 'setenforce 0' as root? If so, please run the 
> command: 
> audit2allow -a 
>
> and send me the output. 
>
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: post-review: Error uploading diff

2013-08-20 Thread Steven MacLeod
The minimum Review Board version which fully supports the rbt commands is RB
1.6.12. There were some changes to the web API in this version which rbt
relies on. Unfortunately, you won't be able to make use of most of rbt
without a newer version of Review Board.

Admittedly, the error reporting here was terrible, but is something I'm
working on imporoving.


On Tue, Aug 20, 2013 at 8:43 AM, Akshaya Samantaray <
akshaya.samanta...@gmail.com> wrote:

> Thank for the response David .
>
> I had rbtool 0.4.1 so rbt was not there so i installed 0.5.2 and got rbt
> script  .
>
> To attach a arbitary file to existing review ,as per you i am using *"rbt
> attach 359 --filename=diff"* (where 359 is ReviewID), it giving below
> usage messge
>
>
> hostname:/vobs/ms 167 % *rbt attach 359 --filename=diff*
> *Usage: rbt attach [options]  *
> *
> *
> *rbt: error: Invalid number of arguments provided*
>
>
> So i tried the command as *"rbt attach 359 diff"* (where 359 is the
> reviewID and diff is the filename) but it giving error *" CRITICAL:root:"
> .Please have look and let me know what could be the issue .*
> *
> *
> *Note:The reviewBoard server version 1.6.3 and Rbtools is 0.5.2 ,Python
> 2.7 *
>
> rbt attach 359 diff
> CRITICAL:root:
>
> *below is the debug output :*
>
>  169 % rbt attach 359 diff -d
> DEBUG:root:Checking for a Subversion repository...
> DEBUG:root:Checking for a Git repository...
> DEBUG:root:Checking for a Mercurial repository...
> DEBUG:root:Checking for a CVS repository...
> DEBUG:root:Checking for a Perforce repository...
> DEBUG:root:Checking for a Plastic repository...
> DEBUG:root:Checking for a ClearCase repository...
> DEBUG:root:Running: cleartool pwv -short
> DEBUG:root:Running: diff --version
> DEBUG:root:Running: cleartool lsview -full -properties -cview
> DEBUG:root:Running: cleartool describe -short vob:.
> DEBUG:root:Running: cleartool pwv -root
> DEBUG:root:repository info: Path: /vobs/ms-test, Base path: /vobs/ms-test,
> Supports changesets: False
> DEBUG:root:Making HTTP GET request to https://ppsappdev02:443/api/
> Traceback (most recent call last):
>   File "/clearcase/tools/bin/rbt", line 9, in 
> load_entry_point('RBTools==0.5.2', 'console_scripts', 'rbt')()
>   File
> "/usr/local/project/tools/ActivePython-2.7/lib/python2.7/site-packages/RBTools-0.5.2-py2.7.egg/rbtools/commands/main.py",
> line 106, in main
> command.run_from_argv([RB_MAIN] + args)
>   File
> "/usr/local/project/tools/ActivePython-2.7/lib/python2.7/site-packages/RBTools-0.5.2-py2.7.egg/rbtools/commands/__init__.py",
> line 157, in run_from_argv
> exit_code = self.main(*args) or 0
>   File
> "/usr/local/project/tools/ActivePython-2.7/lib/python2.7/site-packages/RBTools-0.5.2-py2.7.egg/rbtools/commands/attach.py",
> line 67, in main
> request = self.get_review_request(request_id, api_root)
>   File
> "/usr/local/project/tools/ActivePython-2.7/lib/python2.7/site-packages/RBTools-0.5.2-py2.7.egg/rbtools/commands/attach.py",
> line 55, in get_review_request
> request = api_root.get_review_request(review_request_id=request_id)
>   File
> "/usr/local/project/tools/ActivePython-2.7/lib/python2.7/site-packages/RBTools-0.5.2-py2.7.egg/rbtools/api/resource.py",
> line 278, in __getattr__
> raise AttributeError
> AttributeError
>
>
>
>
>
>
>
>
>
>
>
> On Tuesday, August 20, 2013 1:01:04 AM UTC+5:30, David Trowbridge wrote:
>
>> You can't use "post-review --diff-filename" to upload arbitrary files.
>> The newer "rbt" commands will let you upload file attachments with "rbt
>> attach  --filename="
>>
>> For your existing
>>
>>
>>
>> On Mon, Aug 19, 2013 at 4:35 AM, Akshaya Samantaray <
>> akshaya.s...@gmail.com> wrote:
>>
>>> Hi David ,
>>>
>>> My object is just to upload a file which  can be any file (*.gif  or
>>> *.bmp ) (need not be a diff file) using commandline "post-review
>>> --diff-filename=file_name " to review-board server in our clear-case
>>> environment
>>>
>>> How to do it using post-review in clearcase environment ? let me know if
>>>  any other option to post-review  is there ?
>>>
>>> Thanks
>>>
>>>
>>>
>>> On Monday, August 19, 2013 4:39:59 PM UTC+5:30, Akshaya Samantaray wrote:

 HI David ,

 Thanks for the response .

 d1.diff is just diff file i have created manually i.e the diff between
 my dev branch changes & Integration branch changes redirected to file
 called  d1.diff and i am trying to upload this manually created diff file
 d1.diff using  "*post-review --diff-filename=d1.diff --server="
 https://MyRbServer " .*
 *
 *
 I can upload this manually created diff file d1.diff file from GUI in
 reviewboard  page  but not sure why its not uploading using  from command
 line using  "post-review diff-**filen**ame=d1.diff --server="
 https://MyRbServer "" .I am not getting any clue
 from the post-review debug log or reviewboard server log .

 Do i need to have any set

Re: [Errno 13] Permission denied error when sending emails

2013-08-20 Thread Stephen Gallagher
On 08/20/2013 09:46 AM, Michaela Newell wrote:
> I am attempting to set-up emails. I have all three options selected and
> a valid smtp server. When I add a new user the logs show nothing but the
> email does not get sent. When I add a new review request I get this in
> the log:
> 
>  - Error sending e-mail notification with subject 'Review Request 1: ...' on 
> behalf of '" " ' to '" " 
> ': [Errno 13] Permission denied
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/reviewboard/notifications/email.py", 
> line 244, in send_review_mail
> message.send()
>   File "/usr/lib/python2.6/site-packages/django/core/mail/message.py", line 
> 248, in send
> return self.get_connection(fail_silently).send_messages([self])
>   File "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", 
> line 85, in send_messages
> new_conn_created = self.open()
>   File "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", 
> line 48, in open
> local_hostname=DNS_NAME.get_fqdn())
>   File "/usr/lib64/python2.6/smtplib.py", line 239, in __init__
> (code, msg) = self.connect(host, port)
>   File "/usr/lib64/python2.6/smtplib.py", line 295, in connect
> self.sock = self._get_socket(host, port, self.timeout)
>   File "/usr/lib64/python2.6/smtplib.py", line 273, in _get_socket
> return socket.create_connection((port, host), timeout)
>   File "/usr/lib64/python2.6/socket.py", line 567, in create_connection
> raise error, msg
> error: [Errno 13] Permission denied
> 
> 
> Does anyone know of any causes?
> 

Is this RHEL/CentOS 6? It's possibke that SELinux might be interfering.
Does it go away if you do 'setenforce 0' as root? If so, please run the
command:
audit2allow -a

and send me the output.

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: error when setting up LDAP log reports - LDAP error: The specified object does not exist in the Directory or provided invalid credentials: uid=xxxx

2013-08-20 Thread Stephen Gallagher
On 08/20/2013 09:42 AM, Michaela Newell wrote:
> I am attempting to setup LDAP for the first time.
> 
> The GUI login page is stating that:
> 
> 
>   Log in with your standard username and password
> 
> There's no need to register a new account. Your standard username and
> password should work fine.
> 
> But it does not actually have authentication.
> 
> The log states:
> LDAP error: The specified object does not exist in the Directory or
> provided invalid credentials: uid=
> 
> Does anyone know the potential causes of this?
> 


My guess is that you don't have the full DN specified. Chances are, your
directory uses uid=XXX,cn=users,dc=example,dc=com or similar to specify
the user. Just uid=XXX won't find them.

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Errno 13] Permission denied error when sending emails

2013-08-20 Thread Michaela Newell
I am attempting to set-up emails. I have all three options selected and a 
valid smtp server. When I add a new user the logs show nothing but the 
email does not get sent. When I add a new review request I get this in the 
log:

 - Error sending e-mail notification with subject 'Review Request 1: ...' on 
behalf of '" " ' to '" " 
': [Errno 13] Permission denied
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/reviewboard/notifications/email.py", 
line 244, in send_review_mail
message.send()
  File "/usr/lib/python2.6/site-packages/django/core/mail/message.py", line 
248, in send
return self.get_connection(fail_silently).send_messages([self])
  File "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", 
line 85, in send_messages
new_conn_created = self.open()
  File "/usr/lib/python2.6/site-packages/django/core/mail/backends/smtp.py", 
line 48, in open
local_hostname=DNS_NAME.get_fqdn())
  File "/usr/lib64/python2.6/smtplib.py", line 239, in __init__
(code, msg) = self.connect(host, port)
  File "/usr/lib64/python2.6/smtplib.py", line 295, in connect
self.sock = self._get_socket(host, port, self.timeout)
  File "/usr/lib64/python2.6/smtplib.py", line 273, in _get_socket
return socket.create_connection((port, host), timeout)
  File "/usr/lib64/python2.6/socket.py", line 567, in create_connection
raise error, msg
error: [Errno 13] Permission denied


Does anyone know of any causes?

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


error when setting up LDAP log reports - LDAP error: The specified object does not exist in the Directory or provided invalid credentials: uid=xxxx

2013-08-20 Thread Michaela Newell
I am attempting to setup LDAP for the first time.

The GUI login page is stating that:
Log in with your standard username and password

There's no need to register a new account. Your standard username and 
password should work fine.
But it does not actually have authentication.

The log states:
LDAP error: The specified object does not exist in the Directory or 
provided invalid credentials: uid=

Does anyone know the potential causes of this?

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: post-review: Error uploading diff

2013-08-20 Thread Akshaya Samantaray
Thank for the response David .

I had rbtool 0.4.1 so rbt was not there so i installed 0.5.2 and got rbt 
script  .

To attach a arbitary file to existing review ,as per you i am using *"rbt 
attach 359 --filename=diff"* (where 359 is ReviewID), it giving below usage 
messge 


hostname:/vobs/ms 167 % *rbt attach 359 --filename=diff*
*Usage: rbt attach [options]  *
*
*
*rbt: error: Invalid number of arguments provided*


So i tried the command as *"rbt attach 359 diff"* (where 359 is the 
reviewID and diff is the filename) but it giving error *" CRITICAL:root:" 
.Please have look and let me know what could be the issue .*
*
*
*Note:The reviewBoard server version 1.6.3 and Rbtools is 0.5.2 ,Python 2.7 
*

rbt attach 359 diff
CRITICAL:root:

*below is the debug output :*

 169 % rbt attach 359 diff -d
DEBUG:root:Checking for a Subversion repository...
DEBUG:root:Checking for a Git repository...
DEBUG:root:Checking for a Mercurial repository...
DEBUG:root:Checking for a CVS repository...
DEBUG:root:Checking for a Perforce repository...
DEBUG:root:Checking for a Plastic repository...
DEBUG:root:Checking for a ClearCase repository...
DEBUG:root:Running: cleartool pwv -short
DEBUG:root:Running: diff --version
DEBUG:root:Running: cleartool lsview -full -properties -cview
DEBUG:root:Running: cleartool describe -short vob:.
DEBUG:root:Running: cleartool pwv -root
DEBUG:root:repository info: Path: /vobs/ms-test, Base path: /vobs/ms-test, 
Supports changesets: False
DEBUG:root:Making HTTP GET request to https://ppsappdev02:443/api/
Traceback (most recent call last):
  File "/clearcase/tools/bin/rbt", line 9, in 
load_entry_point('RBTools==0.5.2', 'console_scripts', 'rbt')()
  File 
"/usr/local/project/tools/ActivePython-2.7/lib/python2.7/site-packages/RBTools-0.5.2-py2.7.egg/rbtools/commands/main.py",
 
line 106, in main
command.run_from_argv([RB_MAIN] + args)
  File 
"/usr/local/project/tools/ActivePython-2.7/lib/python2.7/site-packages/RBTools-0.5.2-py2.7.egg/rbtools/commands/__init__.py",
 
line 157, in run_from_argv
exit_code = self.main(*args) or 0
  File 
"/usr/local/project/tools/ActivePython-2.7/lib/python2.7/site-packages/RBTools-0.5.2-py2.7.egg/rbtools/commands/attach.py",
 
line 67, in main
request = self.get_review_request(request_id, api_root)
  File 
"/usr/local/project/tools/ActivePython-2.7/lib/python2.7/site-packages/RBTools-0.5.2-py2.7.egg/rbtools/commands/attach.py",
 
line 55, in get_review_request
request = api_root.get_review_request(review_request_id=request_id)
  File 
"/usr/local/project/tools/ActivePython-2.7/lib/python2.7/site-packages/RBTools-0.5.2-py2.7.egg/rbtools/api/resource.py",
 
line 278, in __getattr__
raise AttributeError
AttributeError











On Tuesday, August 20, 2013 1:01:04 AM UTC+5:30, David Trowbridge wrote:
>
> You can't use "post-review --diff-filename" to upload arbitrary files. The 
> newer "rbt" commands will let you upload file attachments with "rbt attach 
>  --filename="
>
> For your existing 
>
>
> On Mon, Aug 19, 2013 at 4:35 AM, Akshaya Samantaray <
> akshaya.s...@gmail.com > wrote:
>
>> Hi David ,
>>
>> My object is just to upload a file which  can be any file (*.gif  or 
>> *.bmp ) (need not be a diff file) using commandline "post-review 
>> --diff-filename=file_name " to review-board server in our clear-case 
>> environment 
>>
>> How to do it using post-review in clearcase environment ? let me know if 
>>  any other option to post-review  is there ?
>>
>> Thanks
>>
>>
>>
>> On Monday, August 19, 2013 4:39:59 PM UTC+5:30, Akshaya Samantaray wrote:
>>>
>>> HI David ,
>>>
>>> Thanks for the response .
>>>
>>> d1.diff is just diff file i have created manually i.e the diff between 
>>> my dev branch changes & Integration branch changes redirected to file 
>>> called  d1.diff and i am trying to upload this manually created diff file 
>>> d1.diff using  "*post-review --diff-filename=d1.diff --server="
>>> https://MyRbServer " .*
>>> *
>>> *
>>> I can upload this manually created diff file d1.diff file from GUI in 
>>> reviewboard  page  but not sure why its not uploading using  from command 
>>> line using  "post-review diff-**filename=d1.diff --server="
>>> https://MyRbServer "" .I am not getting any clue 
>>> from the post-review debug log or reviewboard server log .
>>>
>>> Do i need to have any setup for apache or reviewboard server side 
>>>  configuration ?where can i check to get the exact clue for this error ? 
>>>
>>> Please have a look and get back to me .I am waiting for your response .
>>>
>>> Thanks
>>>
>>> >>> HTTP POSTing to 
>>> >>> https://MyRbServer/api/**review-requests/370/diffs/:
>>> >>>  
>>> {'basedir': u'/view/ppreleng_**reviewboardAdmin/vobs/ms-test'**}
>>> *>>> Got API Error 105 (HTTP code 400): One or more fields had errors*
>>> *>>> Error data: {u'fields': {u'path': [u'The diff file is empty']}, 
>>> u'stat': u'fail', u

Re: Attempting to reset authentication setup

2013-08-20 Thread Michaela Newell
Hi David,

I tried that it also didn't work.

However, I did manage to find a solution:

***rb-site manage  shell*
*from djblets.siteconfig.models import SiteConfiguration*
*siteconfig = SiteConfiguration.objects.get_current()*
*siteconfig.set('auth_backend', 'builtin')*
*siteconfig.save()*
This resets the authentication.


On Monday, 19 August 2013 19:59:09 UTC+1, David Trowbridge wrote:
>
> Michaela,
>
> It looks like the documentation got a little fuzzed in the translation 
> between plain text and html. The correct command is this (note the extra 
> "--"):
>
> rb-site manage /path/to/site set-siteconfig -- --key=auth_backend 
> --value=builtin
>
> -David
>
>
> On Mon, Aug 19, 2013 at 2:45 AM, Michaela Newell 
> 
> > wrote:
>
>> I have tried to reset my authentication setup using the command:
>>
>> rb-site manage /path/to/site set-siteconfig ––key=auth_backend 
>> –value=builtin
>>
>> as stated on review boards website how the command is not working and is 
>> returning:
>>
>> no such option: --key
>>
>> Any ideas?
>>
>> Many Thanks,
>> Michaela
>>
>> -- 
>> Want to help the Review Board project? Donate today at 
>> http://www.reviewboard.org/donate/
>> Happy user? Let us know at http://www.reviewboard.org/users/
>> -~--~~~~--~~--~--~---
>> To unsubscribe from this group, send email to 
>> reviewboard...@googlegroups.com 
>> For more options, visit this group at 
>> http://groups.google.com/group/reviewboard?hl=en
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to reviewboard...@googlegroups.com .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


error when adding svn repository callback_ssl_client_cert_prompt required

2013-08-20 Thread Michaela Newell
Hi,

I already have repositories added that do not need certificates however 
when I try and add a repo with a certificate the logs show the message:
ERROR -  - SVN: Failed to get repository information for : 
callback_ssl_client_cert_prompt required

The site also displays:
A repository was not found at the specified path.


Do you know what is causing this? The certificate is on the client under 
/path/to/site/data/.subversion

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.