Re: Ldap module and base64 oncoding

2013-05-26 Thread Michael Ströder
Joseph L. Casale wrote: > I have some data I am working with that is not being interpreted as a string > requiring > base64 encoding when sent to the ldif module for output. > > The base64 string parsed is ZGV0XDMzMTB3YmJccGc= and the raw string is > det\3310wbb\pg. > I'll admit my understanding

Re: Ldap module and base64 oncoding

2013-05-26 Thread Michael Ströder
Joseph L. Casale wrote: >> Can you give an example of the code you have? > > I actually just overrode the regex used by the method in the LDIFWriter class > to be far more broad > about what it interprets as a safe string. Are you sure that you fully understood RFC 2849 before doing this? Which

Re: Ldap module and base64 oncoding

2013-05-26 Thread Michael Ströder
Joseph L. Casale wrote: >> I'm not sure what exactly you're asking for. >> Especially "is not being interpreted as a string requiring base64 encoding" >> is >> written without giving the right context. >> >> So I'm just guessing that this might be the usual misunderstandings with use >> of base64

Re: Ldap module and base64 oncoding

2013-05-27 Thread Michael Ströder
Joseph L. Casale wrote: > After parsing the data for a user I am simply taking a value from the ldif > file and writing > it back out to another which fails, the value parsed is: > > officestreetaddress:: T3R0by1NZcOfbWVyLVN0cmHDn2UgMQ== > > > File "C:\Python27\lib\site-packages\ldif.py", lin

Re: Ldap module and base64 oncoding

2013-05-28 Thread Michael Ströder
Joseph L. Casale wrote: > I had some time today, so I attempted to open the ldif files in binary mode > to simply > work with the raw byte strings but the moment the first entry was parsed, > parse() > stumbled on a character in the first entries dict and passed a dn of None for > the last half?

ANN: python-ldap 2.4.11

2013-05-28 Thread Michael Ströder
Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.4.11 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related st

ANN: python-ldap 2.4.13

2013-06-27 Thread Michael Ströder
Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.4.11 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related st

Re: Dynamically scheduling Cron Jobs for Python Scripts.

2012-09-07 Thread Michael Ströder
Miki Tebeka wrote: >> I want to re run the script at that schedule time to send me a email. > > Calculate how much time until the meeting. And spawn the script that will > sleep that amount of time and then send email. And if the process gets interrupted in the meantime (e.g. because of reboot)?

Re: [fcgi.py] Force cache upgrade?

2012-10-05 Thread Michael Ströder
Gilles wrote: > On Fri, 28 Sep 2012 23:57:14 +0200, Gilles wrote: >> I guess the FastCGI server (Flup) only updates its cache every so >> often. Do I need to type a command to force Flup to recompile the >> Python script? > > Turns out that, yes, mod_fcgid is configured to reload a script only >

Re: python ldap bind error

2012-12-22 Thread Michael Ströder
Jorge Alberto Diaz Orozco wrote: > hi there. > I'm working with python ldap and I need to authenticate my user. > this is the code I'm using. > > import ldap > ldap.set_option(ldap.OPT_REFERRALS,0) > ldap.protocol_version = 3 > conn = ldap.initialize("ldap://ldap.domain.cu";) > conn.simple_bind_s(

Re: ldap proxy user bind

2012-02-11 Thread Michael Ströder
sajuptpm wrote: I have developed a LDAP auth system using python-ldap module. Using that i can validate username and password, fetch user and groups info from LDAP directory. Now i want to implement ldap proxy user bind to the ldap server. What do you mean exactly? Are you talking about LDAPv

Re: ldap proxy user bind

2012-02-12 Thread Michael Ströder
sajuptpm wrote: Yea i am not totally clear about that Client's Requirement is option to have a ldap proxy user bind to the ldap server if it needs more directory rights than an anonymous bind. option to use a ldap proxy user when searching. As said: there's the proxy authorization control (see

ANN: python-ldap 2.4.8

2012-02-22 Thread Michael Ströder
Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.4.8 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related st

Re: exec

2012-03-01 Thread Michael Ströder
Rolf Wester wrote: The reason to use exec is just laziness. The worst reason for using it. So I hope you carefully read Steven's comment and get rid of exec() for anything serious: <4f4f85eb$0$29989$c3e8da3$54964...@news.astraweb.com> Ciao, Michael. -- http://mail.python.org/mailman/listinf

ANN: python-ldap 2.4.9

2012-03-15 Thread Michael Ströder
Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.4.8 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related st

Enforcing hash randomization (was: [RELEASED] Second release candidates for Python 2.6.8, 2.7.3, 3.1.5, and 3.2.3)

2012-03-20 Thread Michael Ströder
Benjamin Peterson wrote: > Hash randomization causes the iteration order of dicts and sets to be > unpredictable and differ across Python runs. Python has never guaranteed > iteration order of keys in a dict or set, and applications are advised to > never > rely on it. Historically, dict iteration

Re: "convert" string to bytes without changing data (encoding)

2012-03-30 Thread Michael Ströder
Steven D'Aprano wrote: > On Thu, 29 Mar 2012 17:36:34 +, Prasad, Ramit wrote: > Technically, ASCII goes up to 256 but they are not A-z letters. >>> Technically, ASCII is 7-bit, so it goes up to 127. >> >>> No, ASCII only defines 0-127. Values >=128 are not ASCII. >>> >>> >From https

Re: Best way to disconnect from ldap?

2012-04-05 Thread Michael Ströder
John Gordon wrote: > class ldap.LDAPObject > Instances of LDAPObject are returned by initialize() and open() > (deprecated). The connection is automatically unbound and closed > when the LDAP object is deleted. > > So, given that, do I need to do anything at all? Hmm,

ANN: python-ldap 2.4.0

2011-06-03 Thread Michael Ströder
Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.4.0 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related st

Re: User Authentication

2011-06-24 Thread Michael Ströder
Anurag wrote: > My application is a web based application for both windows and Linux. > The web part is developed using Django. So if Python does not support > it then any support for local sytem account authentication in Django? > > I am looking for a common library for both Linux and Windows. An

Re: LDAP: How get all users belongs to a group.

2011-06-24 Thread Michael Ströder
sajuptpm wrote: > How get all users belongs to a group using python ldap module. There are several ways of storing grouping information in a LDAP server. I assume the groups are normal group entries of object class 'groupOfNames' which is most commonly used. Such an entry has the attribute 'membe

Re: LDAP: How get all users belongs to a group.

2011-06-24 Thread Michael Ströder
sajuptpm wrote: > --- User > > cn=AJP2203,ou=Internal PCA,o=CUST has group memberships > to the following Groups: > groupMembership: cn=My-Group-1,ou=Groups,o=CUST > groupMembership: cn=My-Group-2,u=Groups,o=CUST > groupMembership: cn=My-Group-3,ou=Groups,o=

Re: LDAP: How get all users belongs to a group.

2011-06-25 Thread Michael Ströder
sajuptpm wrote: > results = ldapClient.search_s("cn=My-Group-1,ou=Groups,o=CUST", > ldap.SCOPE_BASE) > > Is this method work for all types of groups (groupOfNames, > posixGroup) ??? Yes, but the member attribute differs. 'member' in entries of object class 'groupOfNames' contains the DN of the m

ANN: python-ldap 2.4.1

2011-07-05 Thread Michael Ströder
Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.4.1 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related stu

ANN: python-ldap 2.4.3

2011-07-23 Thread Michael Ströder
Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.4.3 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related stu

New mailing list for python-ldap

2011-04-01 Thread Michael Ströder
HI! The old SF mailing list python-ldap-dev was shut down today. I'd be happy to see you on the new mailing list for http://python-ldap.org under the umbrella of python.org. List info here: http://mail.python.org/mailman/listinfo/python-ldap All announcements, discussion and support related to

Re: Active Directory user creation with python-ldap

2011-04-29 Thread Michael Ströder
Nello wrote: > I need to create an Active Directory user using python-ldap library. So, I > authenticate with an admin account and I use "add_s" to create the user. This is possible. Which version of AD are you working with. > Anyway, by default users are disabled on creation, That's the correct

pypi download links (e.g. for ansible)

2016-05-09 Thread Michael Ströder
HI! Deep-links for downloading a specific version from PyPI seemed to work like this: $ wget https://pypi.python.org/packages/source/a/ansible/ansible-2.0.1.0.tar.gz [..] Saving to: ‘ansible-2.0.1.0.tar.gz’ But this recent version does not work: $ wget https://pypi.python.org/packages/source/a

Re: pypi download links (e.g. for ansible)

2016-05-09 Thread Michael Ströder
harirammano...@gmail.com wrote: > On Monday, May 9, 2016 at 3:30:31 PM UTC+5:30, Michael Ströder wrote: >> HI! >> >> Deep-links for downloading a specific version from PyPI seemed to work like >> this: >> >> $ wget >> https://pypi.python.org/pac

Re: pypi download links (e.g. for ansible)

2016-05-09 Thread Michael Ströder
Steven D'Aprano wrote: > On Mon, 9 May 2016 08:00 pm, Michael Strc3b6der wrote: > >> HI! >> >> Deep-links for downloading a specific version from PyPI seemed to work >> like this: >> >> $ wget >> https://pypi.python.org/packages/source/a/ansible/ansible-2.0.1.0.tar.gz >> [..] >> Saving to: ‘ansibl

ANN: python-ldap-2.0.10

2005-09-23 Thread Michael Ströder
Find a new release of python-ldap: http://python-ldap.sourceforge.net/ python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related stuff (e.g. p

Re: RE + UTF-8

2005-09-24 Thread Michael Ströder
[EMAIL PROTECTED] wrote: > > I have tried to test RE and UTF-8 in Python generally and the results > are even more confusing (done with locale cs_CZ.UTF-8 in konsole): > >>>locale.getpreferredencoding() > > 'UTF-8' > print re.sub("(\w*)","X","[Chelcický]",re.L) You first have to turn the r

Fixes since 2.4.2c1? (was: RELEASED Python 2.4.2 (final))

2005-09-28 Thread Michael Ströder
Anthony Baxter wrote: > On behalf of the Python development team and the Python community, I'm > happy to announce the release of Python 2.4.2 (final). Does that differ from 2.4.2c1? On Monday I noticed a crash in the test suite on a box running Solaris 8. It seems I can build Python 2.4.1 and run

Re: Fixes since 2.4.2c1?

2005-09-30 Thread Michael Ströder
Martin v. Löwis wrote: > Michael Ströder wrote: > >>Does that differ from 2.4.2c1? On Monday I noticed a crash in the test >>suite on a box running Solaris 8. It seems I can build Python 2.4.1 and >>run make test there without problems. > > There is also a chance

Re: Jargons of Info Tech industry

2005-10-10 Thread Michael Ströder
Rich Teer wrote: > On Sun, 9 Oct 2005, Roedy Green wrote: > >>Normally you send photos to grandma with captions under each photo. >>That is far more convenient for the technopeasant receiver than >>dealing with multiple attachments. > > And even more convenient is "Hey grandma, check out the late

Re: Send password over TCP connection

2005-10-10 Thread Michael Ströder
Dan Stromberg wrote: > On Mon, 10 Oct 2005 15:13:14 -0700, Paul Rubin wrote: >> >>Use SRP if you can. > > Where can I learn more about this? http://www.faqs.org/rfcs/rfc2945.html Ciao, Michael. -- http://mail.python.org/mailman/listinfo/python-list

Re: Send password over TCP connection

2005-10-13 Thread Michael Ströder
dcrespo wrote: > > Ok, I understand it. What about the MD5? Is it good enough to use when > saving a hashed password on the database? > > For example: > user_input = raw_input("Type your password: ") > password = md5.md5(user_input).hexdigest() > SavePasswordInDatabase(user,password) It would be

Re: Documentation for iteration in mappings

2005-10-25 Thread Michael Ströder
Dennis Benzinger wrote: > > I must be blind because I didn't find anything in the documentation > which says iterating over an dictionary iterates over its keys. > > For example > > a_dictionary = {0: "zero", 1: "one"} > for x in a: > print x > > gives you > > 0 > 1 > > Where is this info

Re: Web based applications are possible with wxPython?

2005-10-25 Thread Michael Ströder
HI! Shameless plug: I'm looking for the opposite way. I'd like to run a web application within a pseudo-browser in wxPython without the need to start a web server. Is that possible with a thin wrapper? Ciao, Michael. -- http://mail.python.org/mailman/listinfo/python-list

ANN: python-ldap-2.0.11

2005-11-07 Thread Michael Ströder
Find a new release of python-ldap: http://python-ldap.sourceforge.net/ python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related stuff (e.g. p

Re: SuSe 10.0 missing Idle

2005-11-11 Thread Michael Ströder
Joseph Garvin wrote: > SuSE probably has a seperate package, something like python-tk, that > will install IDLE. # rpm -qf `which idle` python-idle-2.4.1-3 Ciao, Michael. -- http://mail.python.org/mailman/listinfo/python-list

Re: Working with flat files [LDIF].

2005-01-06 Thread Michael Ströder
[EMAIL PROTECTED] wrote: Scott A. McIntyre wrote: I looked around but didn't see any LDIF tools for perl or python... Did you ever get this issue resolved? I have a similar need to merge two LDIF files. Use module LDIF which is part of http://python-ldap.sourceforge.net/. You can use it stand-alo

Re: python connect to db2

2005-01-14 Thread Michael Ströder
yuzx wrote: i try to connect to db2 use python,i find it on python-db2 doc: $ python >>> import DB2 >>> conn = DB2.connect(dsn='sample', uid='db2inst1', pwd='ibmdb2') >>> curs = conn.cursor() but i don't know about dsn, It's the host name. In a former project (using

ANN: python-ldap-2.0.8

2005-06-22 Thread Michael Ströder
Find a new release of python-ldap: http://python-ldap.sourceforge.net/ python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related stuff (e.g. p

Re: website catcher

2005-07-06 Thread Michael Ströder
jwaixs wrote: > I need some kind > of database that won't exit if the cgi-bin script has finished. This > database need to be open all the time and communicate very easily with > the cgi-bin framwork main class. Maybe long-running multi-threaded processes for FastCGI, SCGI or similar is what you'r

Re: DNS access

2005-07-13 Thread Michael Ströder
laksh wrote: > > is it possible to give parameters like the IP of a DNS server and the > DNS query to a python program and obtain the response from the DNS > server ? http://pydns.sf.net http://www.dnspython.org/ http://www.google.com/search?hl=en&q=python+dns&btnG=Google+Search Ciao, Michael.

Re: Filtering out non-readable characters

2005-07-18 Thread Michael Ströder
Peter Hansen wrote: ''.join(chr(c) for c in range(65, 91)) > 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' Wouldn't this be a candidate for making the Python language stricter? Do you remember old Python versions treating l.append(n1,n2) the same way like l.append((n1,n2)). I'm glad this is forbidden now. C

Re: Python ldap pointers for a newbie - Actually just trying to decifer the error..

2005-07-18 Thread Michael Ströder
rh0dium wrote: > > ldap_result_id = cnx.search_s(baseDN, searchScope, searchAttrs, retrieveAttrs) You are already using the synchronous search method which indeed return the search results. So this should read: result_data=cnx.search_s(baseDN,searchScope,searchAttrs,retrieveAttrs) > result_typ

Re: What license to choose for Python programs? (PSF License vs. GPL/LGPL)

2005-07-25 Thread Michael Ströder
Volker Grabsch wrote: > > I noticed that many packages in the PyPI are using the PSF License. > Does this have a special reason? Personally I used Python style license to express that you can do with some of my modules exactly what you can do with Python itself. > So if it is complicated to incl

ANN: python-ldap-2.0.9

2005-07-29 Thread Michael Ströder
Find a new release of python-ldap: http://python-ldap.sourceforge.net/ python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related stuff (e.g. p

Re: Secure email

2005-08-04 Thread Michael Ströder
[EMAIL PROTECTED] wrote: > I need to write a .cgi that will take the content of an https GET or > POST and send it securely as email to an Outlook client. > > I think that OpenSSL is somewhere in this, but I'm not even sure how to > create the right certificate, how to use it to encrypt mail and h

Re: Secure email

2005-08-04 Thread Michael Ströder
Martin P. Hellwig wrote: > > I think you want this more common approach for mail encryption: > > server: > https CGI form --> mail wrapper --> PGP encryption/signing --> send > > client: > recieve mail --> pgp decryption/verification --> read This would require an additional PGP-plugin for Outl

Re: Secure email

2005-08-04 Thread Michael Ströder
Martin P. Hellwig wrote: > Michael Ströder wrote: > >> Martin P. Hellwig wrote: >> >>> I think you want this more common approach for mail encryption: >>> >>> server: >>> https CGI form --> mail wrapper --> PGP encryption/signing

Re: User Identification

2005-02-08 Thread Michael Ströder
Gerhard Haering wrote: os.getuid() will give you the user id, but I don't know if Python has methods to look up more information from that from /etc/passwd or whereever from. >>> import pwd,os >>> pwd.getpwuid(os.getuid()) ('michael', 'x', 1234, 100, 'Michael Str\xf6der', '/home/michael', '/bin/ba

kerberos extension module

2005-02-12 Thread Michael Ströder
John Reuning wrote: I'm interested in updating the very old kerberos extension module. [..] http://www.python.org/ftp/python/contrib-09- Dec-1999/System/krb5module-0.1.tar.gz http://www.python.org/ftp/python/contrib-09- Dec-1999/System/krb5module.README Will it build against heimdal or is this modu

Python2.4: building '_socket' extension fails with `INET_ADDRSTRLEN' undeclared

2004-12-02 Thread Michael Ströder
HI! I'm trying to build Python2.4 on a rather old Debian machine. I only have a shell account there. That's why I'm very limited in my actions. Building _socket fails (see below) although I tried to use configure --disable-ipv6 Any clue? Ciao, Michael. -- snip

ANN: python-ldap-2.0.6

2004-12-03 Thread Michael Ströder
Find a new release of python-ldap: http://python-ldap.sourceforge.net/ python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related stuff (e.g. pro

ANN: python-ldap-2.0.6

2004-12-03 Thread Michael Ströder
Find a new release of python-ldap: http://python-ldap.sourceforge.net/ python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related stuff (e.g. pro

Re: Python2.4: building '_socket' extension fails with `INET_ADDRSTRLEN' undeclared

2004-12-04 Thread Michael Ströder
Martin v. Löwis wrote: Michael Ströder wrote: I'm trying to build Python2.4 on a rather old Debian machine. I only have a shell account there. That's why I'm very limited in my actions. Building _socket fails (see below) although I tried to use configure --disable-ipv6 Any cl

undefined symbol: PyUnicodeUCS4_AsUTF8String

2005-04-29 Thread Michael Ströder
HI! I have the following problem after system upgrade to SuSE Linux 9.3: $ python -c "import cPickle" Traceback (most recent call last): File "", line 1, in ? ImportError: /usr/lib/python2.4/lib-dynload/cPickle.so: undefined symbol: PyUnicodeUCS4_AsUTF8String The Python 2.4.1 installation was

ANN: python-ldap-2.0.7

2005-04-29 Thread Michael Ströder
Find a new release of python-ldap: http://python-ldap.sourceforge.net/ python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related stuff (e.g. p

ANN: python-ldap 2.4.14

2014-02-03 Thread Michael Ströder
Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.4.14 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related st

pylint -> ImportError: No module named lazy_object_proxy

2016-02-10 Thread Michael Ströder
HI! Hmm, I've used pylint before but my current installation gives me an ImportError: $ pylint Traceback (most recent call last): File "/usr/bin/pylint", line 3, in run_pylint() File "/usr/lib/python2.7/site-packages/pylint/__init__.py", line 22, in run_pylint from pylint.lint impo

Re: pylint -> ImportError: No module named lazy_object_proxy

2016-02-10 Thread Michael Ströder
Peter Otten wrote: > Michael Ströder wrote: > >> HI! >> >> Hmm, I've used pylint before but my current installation gives me an >> ImportError: >> >> $ pylint >> [..] >> ImportError: No module named lazy_object_proxy >> >>

Re: asyncio: setting file permissions of a Unix socket?

2014-10-27 Thread Michael Ströder
Martin wrote: > I'm using the asyncio.Protocol interface to build a server which binds > to a unix socket file. I want other system users to connect to the > unix socket, so to communicate with the server. > > Where should I set the permissions of the file? You should start the demon with a stri

Re: netaddr value back to IP

2014-11-14 Thread Michael Ströder
Noah wrote: > I am trying to get a value back to IP using the netaddr python module. > How do I get the value 'ip' back to IP format? how is it done? > > snip > > print IPNetwork(v4_peer_ip).value > ip = IPNetwork(v4_peer_ip).value + 1 > print ip > > --- snip --- >>> ip=n

Re: smptplib problem SMTPRecipientsRefused for emails with ! exclamation mark in local portion of email

2014-12-17 Thread Michael Ströder
Radomir Wojcik wrote: > No need to do more troubleshooting, need to update the config. Found that > exim default config denies these so nothing to do with smptlib indeed: > > What this statement is doing is to accept unconditionally all recipients in > messages that are submitted by SMTP from lo

Re: Hello World

2015-01-08 Thread Michael Ströder
Chris Angelico wrote: > With sudo, you get MUCH finer control. But it's very hard, almost impossible, to really implement fine-grained control with sudo. Too many programs provide shell exits. Well, it's off-topic here. How about taking this to news:comp.security.unix ? Ciao, Michael. -- https

ANN: python-ldap 2.4.19

2015-01-11 Thread Michael Ströder
Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.4.19 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related st

Re: Hello World

2015-01-17 Thread Michael Ströder
alb...@spenarnc.xs4all.nl (Albert van der Horst) wrote: > In article , wrote: >> Michael Torrie wrote: >>> On 01/17/2015 07:51 AM, Albert van der Horst wrote: In article , Chris Angelico wrote: > > But sure. If you want to cut out complication, dispense with user >

Re: Hello World

2015-01-18 Thread Michael Ströder
Steven D'Aprano wrote: > Mark Lawrence wrote: > >> Bah humbug, this has reminded me of doing secure work whereby each >> individual had two passwords, both of which had to be changed every >> thirty days, and rules were enforced so you couldn't just increment the >> number at the end of a word or

Re: Hello World

2015-01-18 Thread Michael Ströder
Michael Torrie wrote: > Like many of you I use a password manager these days. It's pretty > slick. But really it shows the absurdity of the situation. Instead of > passwords we should all just use private/public keypairs and store the > private keys in a digital wallet. Forget this password gar

Re: Hello World

2015-01-18 Thread Michael Ströder
Marko Rauhamaa wrote: > I believe in a > physical, government-issue object Did you forget the smiley? Or where were you during the last 1,5 years? Ciao, Michael. -- https://mail.python.org/mailman/listinfo/python-list

Re: Hello World

2015-01-18 Thread Michael Ströder
Chris Angelico wrote: > Want security? > Push the encryption and authentication down to a lower layer, and save > yourself the trouble. Yes. And now for the next level: How to prevent unauthorized machines to connect to your network… Ciao, Michael. -- https://mail.python.org/mailman/listinfo/py

Re: Hello World

2015-01-18 Thread Michael Ströder
Chris Angelico wrote: > On Mon, Jan 19, 2015 at 12:35 AM, Michael Ströder > wrote: >> Chris Angelico wrote: >>> Want security? >>> Push the encryption and authentication down to a lower layer, and save >>> yourself the trouble. >> >> Yes. And

Re: Hello World

2015-01-18 Thread Michael Ströder
Marko Rauhamaa wrote: > Michael Ströder : > >> Marko Rauhamaa wrote: >>> I believe in a >>> physical, government-issue object >> >> Did you forget the smiley? Or where were you during the last 1,5 years? > > You can jug

Re: Case-insensitive sorting of strings (Python newbie)

2015-01-23 Thread Michael Ströder
John Sampson wrote: > I notice that the string method 'lower' seems to convert some strings (input > from a text file) to Unicode but not others. > This messes up sorting if it is used on arguments of 'sorted' since Unicode > strings come before ordinary ones. I doubt that. Can you provide a short

Re: Check for running DHCP daemon?

2015-01-24 Thread Michael Ströder
Chris Angelico wrote: > On Sat, Jan 24, 2015 at 9:38 AM, wrote: >> Secondly, even if you find a module, keep in mind that the module probably >> won't stay in Python land. It will probably call an external utility itself. >> >> If you REALLY wanted to check it without calling an external utilit

ANN: python-ldap 2.4.15

2014-03-27 Thread Michael Ströder
Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.4.15 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related st

Re: How to manage Git or Mercurial repositories

2013-10-15 Thread Michael Ströder
Andriy Kornatskyy wrote: > Managing version control repositories can be a challenge in multi-user > environment especially when simplification of user collaboration is your > goal. There are usually two primary concerns while considering enterprise > deployment for version control repositories:

ANN: python-ldap 2.4.20

2015-07-07 Thread Michael Ströder
Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.4.20 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related st

Re: Authenticate users using command line tool against AD in python

2015-07-28 Thread Michael Ströder
Prasad Katti wrote: > I am writing a command line tool in python to generate one time > passwords/tokens. The command line tool will have certain sub-commands like > --generate-token and --list-all-tokens for example. I want to restrict > access to certain sub-commands. In this case, when user trie

Re: Authenticate users using command line tool against AD in python

2015-07-31 Thread Michael Ströder
Prasad Katti wrote: > On Tuesday, July 28, 2015 at 12:56:29 AM UTC-7, Michael Ströder wrote: >> Prasad Katti wrote: >>> I am writing a command line tool in python to generate one time >>> passwords/tokens. The command line tool will have certain sub-commands like >

Re: problem with netCDF4 OpenDAP

2015-08-14 Thread Michael Ströder
Tom P wrote: > yes the file does appear to be there, I can download it and I can open and > read the URL using urllib. Since there are a whole bunch of files in the > directory, I really need MFDataset, but according to the documentation that > doesn't work with URLs. Maybe the solution really is

Re: Lightwight socket IO wrapper

2015-09-21 Thread Michael Ströder
Marko Rauhamaa wrote: > I recommend using socket.TCP_CORK with socket.TCP_NODELAY where they are > available (Linux). If these options are not available are both option constants also not available? Or does the implementation have to look into sys.platform? Ciao, Michael. -- https://mail.python

Re: Lightwight socket IO wrapper

2015-09-21 Thread Michael Ströder
Marko Rauhamaa wrote: > Michael Ströder : > >> Marko Rauhamaa wrote: >>> I recommend using socket.TCP_CORK with socket.TCP_NODELAY where they >>> are available (Linux). >> >> If these options are not available are both option constants also not >&g

ANN: python-ldap 2.4.21

2015-09-25 Thread Michael Ströder
deref implementing support for dereference control Tests/ * Unit tests for module ldif (thanks to Petr Viktorin) -- Michael Ströder E-Mail: mich...@stroeder.com http://www.stroeder.com -- https://mail.python.org/mailman/listinfo/python-list

Re: reg multiple login python

2015-10-01 Thread Michael Ströder
harirammanohar...@gmail.com wrote: > I have checked fabric tutorial and examples, it didn't sound that using fab > we can do/push the thing at same time in all servers. What does that mean? Since the posting's subject contains "login" are you trying to minimize the number of authentications neede

JOSE modules

2015-11-17 Thread Michael Ströder
HI! It seems there are already three modules for implementing JOSE (see RFC 7515..7520). :-/ Anyone here who has practical experience with any of them (with Python 2.7.x and preferrably with elliptic curves)? Ciao, Michael. pyjwkest https://pypi.python.org/pypi/pyjwkest JWCrypto https://pypi.p

ANN: python-ldap 2.4.16

2014-09-10 Thread Michael Ströder
Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.4.16 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related st

ANN: python-ldap 2.4.17

2014-09-27 Thread Michael Ströder
Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.4.17 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related st

ANN: python-ldap 2.4.18

2014-10-09 Thread Michael Ströder
Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.4.18 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related st

UnicodeError instead of UnicodeWarning

2011-10-25 Thread Michael Ströder
HI! For tracking the cause of a UnicodeWarning I'd like to make the Python interpreter to raise an UnicodeError exception with full stack trace. Is there a short trick to achieve this? Many thanks in advance. Ciao, Michael. -- http://mail.python.org/mailman/listinfo/python-list

Re: [wanted] python-ldap for Python 2.3 / Win32

2011-10-25 Thread Michael Ströder
Gilles Lenfant wrote: > I have spent a couple of hours asking google, browsing Pypi, SF, and of > course the official www.python-ldap.org site searching for a python-ldap > installer for Python 2.3 on Windows 32 bits. Unsuccessfully :( In theory even recent python-ldap 2.4.3 should still work with

Re: [wanted] python-ldap for Python 2.3 / Win32

2011-10-26 Thread Michael Ströder
Waldemar Osuch wrote: > I did try to build it using my current setup but it failed with some linking > errors. > Oh well. Waldemar, I really appreciate your Win32 support. > Google gods were nicer to me. Here is a couple alternative links. > Maybe they will work for you. > http://web.archive.or

ANN: python-ldap 2.4.4

2011-10-28 Thread Michael Ströder
Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.4.4 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related stu

ANN: python-ldap 2.4.5

2011-11-25 Thread Michael Ströder
Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.4.4 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related stu

ANN: python-ldap 2.4.7

2012-01-20 Thread Michael Ströder
Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.4.4 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related st

Re: Convert Active Directory Object to string

2006-01-19 Thread Michael Ströder
Dirk Hagemann wrote: > > What I want to do in the end is the following: I get some data from > Active Directory, then I create a SQL-statement including this data and > write this into the database. Which API and protocol are you using to access Active Directory? If you access it via LDAP (e.g.

Re: ldap passwd need help

2006-01-19 Thread Michael Ströder
Sells, Fred wrote: > > I've got the ldap stuff working for groups, but now I'm trying to use it to > change a user password. I get a return of 2 and no error messages but it > does not change ldap. Could you please post a complete Python traceback? If you mean "2" being the LDAP error code this

  1   2   3   >