Re: logging producing redundant entries

2006-03-31 Thread Jed Parsons
le doesn't cause the number to increase. It's a good thing for Zope to reload modules when you touch them, but I didn't anticipate that this would be a side-effect. Thanks again for your help. Cheers, j Kent Johnson wrote: > Jed Parsons wrote: >> Thanks, Peter and alex23,

Re: logging producing redundant entries

2006-03-31 Thread Jed Parsons
ger except NameError: _logger = logging.getLogger('login') etc... Thanks again for any suggestions. I'm pretty well baffled. j Peter Otten wrote: > Jed Parsons wrote: > >> I'm using the logging module for the first time. I'm using it from >&

logging producing redundant entries

2006-03-30 Thread Jed Parsons
g? Log snippet: 2006-03-30 16:20:14,173 INFO: Login: Jed Parsons 2006-03-30 16:20:14,173 INFO: Login: Jed Parsons 2006-03-30 16:20:14,173 INFO: Login: Jed Parsons 2006-03-30 16:20:14,173 INFO: Login: Jed Parsons 2006-03-30 16:20:14,173 INFO: Login: Jed Parsons 2006-03-30 16:20:14,173 INFO: Log

Re: ldap usage

2006-03-30 Thread Jed Parsons
y favorite books or sites where I can learn more about ldap? Many thanks, j Michael Ströder wrote: > Jed Parsons wrote: >> As an addendum, I discovered one little gotcha, namely that this: >> >> l.bind_s(username, password, ldap.AUTH_SIMPLE) >> >> throws

Re: ldap usage

2006-03-29 Thread Jed Parsons
ed me to. Thanks again. Cheers! j Michael Ströder wrote: > Jed Parsons wrote: >> import ldap >> l = ldap.open('our.ldap.server') >> try: >> l.bind_s(username, password, ldap.AUTH_SIMPLE) >> authenticated = True >> exc

RE: ldap usage

2006-03-28 Thread Jed Parsons
ginal Message- From: [EMAIL PROTECTED] on behalf of Jed Parsons Sent: Tue 3/28/2006 5:55 PM To: python-list@python.org Subject: ldap usage Hi,   authenticates a user against our ldap server.: User types in name and password, and module sees if name and password check out right with the ldap serve

ldap usage

2006-03-28 Thread Jed Parsons
hrough an ssl tunnel or something? Thanks for any tips. Cheers! j -- Jed Parsons Industrial Light + Magic (415) 746-2974 grep(do{for(ord){(!$_&&print"$s\n")||(($O+=(($_-1)%6+1)and grep(vec($s,$O++,1)=1,1..int(($_-6*6-1)/6}},(split(//, "++,++2-27,280