Re: LDAP Groups not being synchronized correctly

2013-04-02 Thread Andrea Veri
The old LDAP url reference was still in use on the ftpadmin script, it
should be fixed now!

cheers,


2013/4/1 Jens Georg 

> On Fr, 2013-03-29 at 11:57 +0100, Andrea Veri wrote:
> > Everything's back at full capacity since a few hours.
> >
> >
> > Have an awesome day everyone!
>
> There's still something fishy:
>
> Doing notifications:
>  - Informing ftp-release-listTraceback (most recent call last):
>   File "/usr/local/bin/ftpadmin", line 1688, in 
> main()
>   File "/usr/local/bin/ftpadmin", line 1673, in main
> options.func(options, parser)
>   File "/usr/local/bin/ftpadmin", line 1363, in cmd_install
> module.install(unattended=options.unattended)
>   File "/usr/local/bin/ftpadmin", line 994, in install
> self.inform()
>   File "/usr/local/bin/ftpadmin", line 1039, in inform
> 'X-Maintainer-Upload': str(self.pw.pw_name in
> self.moduleinfo.maintainers)
>   File "/usr/local/bin/ftpadmin", line 719, in maintainers
> self._set_ldap()
>   File "/usr/local/bin/ftpadmin", line 711, in _set_ldap
> data = get_module_info(self.module)
>   File "/usr/local/bin/ftpadmin", line 1341, in get_module_info
> data = l.search_s (LDAP_BASE, ldap.SCOPE_SUBTREE, filter, None)
>   File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line
> 516, in search_s
> return
>
> self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=self.timeout)
>   File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line
> 510, in search_ext_s
> return self.result(msgid,all=1,timeout=timeout)[1]
>   File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line
> 436, in result
> res_type,res_data,res_msgid = self.result2(msgid,all,timeout)
>   File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line
> 440, in result2
> res_type, res_data, res_msgid, srv_ctrls =
> self.result3(msgid,all,timeout)
>   File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line
> 446, in result3
> ldap_result = self._ldap_call(self._l.result3,msgid,all,timeout)
>   File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line 96,
> in _ldap_call
> result = func(*args,**kwargs)
> ldap.NO_SUCH_OBJECT: {'desc': 'No such object'}
>
>
>
>


-- 
Cheers,

Andrea

Debian Developer,
Fedora / EPEL packager,
GNOME Sysadmin,
GNOME Foundation Membership & Elections Committee Chairman

Homepage: http://www.gnome.org/~av
___
foundation-list mailing list
foundation-list@gnome.org
https://mail.gnome.org/mailman/listinfo/foundation-list


Re: LDAP Groups not being synchronized correctly

2013-04-01 Thread Jens Georg
On Fr, 2013-03-29 at 11:57 +0100, Andrea Veri wrote:
> Everything's back at full capacity since a few hours. 
> 
> 
> Have an awesome day everyone!

There's still something fishy:

Doing notifications:
 - Informing ftp-release-listTraceback (most recent call last):
  File "/usr/local/bin/ftpadmin", line 1688, in 
main()
  File "/usr/local/bin/ftpadmin", line 1673, in main
options.func(options, parser)
  File "/usr/local/bin/ftpadmin", line 1363, in cmd_install
module.install(unattended=options.unattended)
  File "/usr/local/bin/ftpadmin", line 994, in install
self.inform()
  File "/usr/local/bin/ftpadmin", line 1039, in inform
'X-Maintainer-Upload': str(self.pw.pw_name in
self.moduleinfo.maintainers)
  File "/usr/local/bin/ftpadmin", line 719, in maintainers
self._set_ldap()
  File "/usr/local/bin/ftpadmin", line 711, in _set_ldap
data = get_module_info(self.module)
  File "/usr/local/bin/ftpadmin", line 1341, in get_module_info
data = l.search_s (LDAP_BASE, ldap.SCOPE_SUBTREE, filter, None)
  File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line
516, in search_s
return
self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=self.timeout)
  File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line
510, in search_ext_s
return self.result(msgid,all=1,timeout=timeout)[1]
  File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line
436, in result
res_type,res_data,res_msgid = self.result2(msgid,all,timeout)
  File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line
440, in result2
res_type, res_data, res_msgid, srv_ctrls =
self.result3(msgid,all,timeout)
  File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line
446, in result3
ldap_result = self._ldap_call(self._l.result3,msgid,all,timeout)
  File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line 96,
in _ldap_call
result = func(*args,**kwargs)
ldap.NO_SUCH_OBJECT: {'desc': 'No such object'}



___
foundation-list mailing list
foundation-list@gnome.org
https://mail.gnome.org/mailman/listinfo/foundation-list


Re: LDAP Groups not being synchronized correctly

2013-03-30 Thread Sriram Ramkrishna
Thanks Andrea!  Now I know what all those restarts was about. :)

sri


On Fri, Mar 29, 2013 at 3:57 AM, Andrea Veri  wrote:

> Everything's back at full capacity since a few hours.
>
> Have an awesome day everyone!
>
>
> 2013/3/29 Andrea Veri 
>
>> Hi,
>>
>> the SSSD daemons (the one responsible for getting all the relevant
>> details from LDAP and setting up user/groups accordingly on all the GNOME
>> machines) were restarted due to some changes on their configuration files.
>>
>> SSSD has an internal cache and right after the restart some user/groups
>> entries were purged and the real problem popped up. For some reason the
>> client isn't able to query the groups field on our LDAP server correctly,
>> and that's blocking git pushes.
>>
>> I'll keep debugging what's going on and keep you informed as soon as
>> everything is back to normality.
>>
>> Thanks for your patience,
>>
>>
>> --
>> Cheers,
>>
>> Andrea
>>
>> Debian Developer,
>> Fedora / EPEL packager,
>> GNOME Sysadmin,
>> GNOME Foundation Membership & Elections Committee Chairman
>>
>> Homepage: http://www.gnome.org/~av
>>
>
>
>
> --
> Cheers,
>
> Andrea
>
> Debian Developer,
> Fedora / EPEL packager,
> GNOME Sysadmin,
> GNOME Foundation Membership & Elections Committee Chairman
>
> Homepage: http://www.gnome.org/~av
>
> ___
> foundation-list mailing list
> foundation-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/foundation-list
>
>
___
foundation-list mailing list
foundation-list@gnome.org
https://mail.gnome.org/mailman/listinfo/foundation-list


Re: LDAP Groups not being synchronized correctly

2013-03-29 Thread Andika Triwidada
On Fri, Mar 29, 2013 at 5:57 PM, Andrea Veri  wrote:
> Everything's back at full capacity since a few hours.
>
> Have an awesome day everyone!

Thank you Andrea.


>
>
> 2013/3/29 Andrea Veri 
>>
>> Hi,
>>
>> the SSSD daemons (the one responsible for getting all the relevant details
>> from LDAP and setting up user/groups accordingly on all the GNOME machines)
>> were restarted due to some changes on their configuration files.
>>
>> SSSD has an internal cache and right after the restart some user/groups
>> entries were purged and the real problem popped up. For some reason the
>> client isn't able to query the groups field on our LDAP server correctly,
>> and that's blocking git pushes.
>>
>> I'll keep debugging what's going on and keep you informed as soon as
>> everything is back to normality.
>>
>> Thanks for your patience,
>>
>>
>> --
>> Cheers,
>>
>> Andrea
>>
>> Debian Developer,
>> Fedora / EPEL packager,
>> GNOME Sysadmin,
>> GNOME Foundation Membership & Elections Committee Chairman
>>
>> Homepage: http://www.gnome.org/~av
>
>
>
>
> --
> Cheers,
>
> Andrea
>
> Debian Developer,
> Fedora / EPEL packager,
> GNOME Sysadmin,
> GNOME Foundation Membership & Elections Committee Chairman
>
> Homepage: http://www.gnome.org/~av
>
> ___
> foundation-list mailing list
> foundation-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/foundation-list
>
___
foundation-list mailing list
foundation-list@gnome.org
https://mail.gnome.org/mailman/listinfo/foundation-list


Re: LDAP Groups not being synchronized correctly

2013-03-29 Thread Andrea Veri
Everything's back at full capacity since a few hours.

Have an awesome day everyone!


2013/3/29 Andrea Veri 

> Hi,
>
> the SSSD daemons (the one responsible for getting all the relevant details
> from LDAP and setting up user/groups accordingly on all the GNOME machines)
> were restarted due to some changes on their configuration files.
>
> SSSD has an internal cache and right after the restart some user/groups
> entries were purged and the real problem popped up. For some reason the
> client isn't able to query the groups field on our LDAP server correctly,
> and that's blocking git pushes.
>
> I'll keep debugging what's going on and keep you informed as soon as
> everything is back to normality.
>
> Thanks for your patience,
>
>
> --
> Cheers,
>
> Andrea
>
> Debian Developer,
> Fedora / EPEL packager,
> GNOME Sysadmin,
> GNOME Foundation Membership & Elections Committee Chairman
>
> Homepage: http://www.gnome.org/~av
>



-- 
Cheers,

Andrea

Debian Developer,
Fedora / EPEL packager,
GNOME Sysadmin,
GNOME Foundation Membership & Elections Committee Chairman

Homepage: http://www.gnome.org/~av
___
foundation-list mailing list
foundation-list@gnome.org
https://mail.gnome.org/mailman/listinfo/foundation-list