ldap to bugzilla account sync script, tested against Exchange (for contrib/)

RESOLVED FIXED in Bugzilla 2.18

Status

()

Bugzilla
Bugzilla-General
--
enhancement
RESOLVED FIXED
15 years ago
5 years ago

People

(Reporter: Thomas Stromberg, Assigned: Thomas Stromberg)

Tracking

unspecified
Bugzilla 2.18
Bug Flags:
approval +

Details

Attachments

(2 attachments)

(Assignee)

Description

15 years ago
User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4a) Gecko/20030312 Chimera/0.7+
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4a) Gecko/20030312 Chimera/0.7+

We're only allowed anonymous binds to our Exchange server here, so I wrote a
script 9 months ago that does an anonymous LDAP query for new accounts, and adds
them to Bugzilla with a default password.

Today I went ahead and added the functionality required so that it will also
edit disabledtext for Bugzilla users that no longer exist in the LDAP database.
While I added this feature, I cleaned it up a bit so that some one else in the
same predicament could benefit from my work.

It's so far only been tested against Microsoft Exchange 5.5.


Reproducible: Always

Steps to Reproduce:
(Assignee)

Comment 1

15 years ago
Created attachment 117891 [details]
bugzilla_ldapsync.rb
Can you give me a short readme file to go with this, that includes a description
of what it does and who to contact if people have questions?  Once I get that,
I'll stick it in contrib.
Status: UNCONFIRMED → NEW
Ever confirmed: true
(Assignee)

Comment 3

15 years ago
Created attachment 118153 [details] [diff] [review]
contrib/README patch to add description & contact information for script.
I'll check this in later tonight.  I'm not sure I'm going to use your README
patch verbatim...  there appears to be several files missing in the README
anyhow, as well as several of them missing contact information, so I've pulled
CVS logs and will attempt to redo the whole thing anyway at the same time :)
Flags: approval+
-> author
Assignee: justdave → thomas+mozilla

Updated

15 years ago
Blocks: 199235
Target Milestone: --- → Bugzilla 2.18
Never got around to redoing the README, so I just took this as-is.  I'll do the
rewrite eventually.

Checking in contrib/README;
/cvsroot/mozilla/webtools/bugzilla/contrib/README,v  <--  README
new revision: 1.5; previous revision: 1.4
done
Checking in contrib/bugzilla_ldapsync.rb;
/cvsroot/mozilla/webtools/bugzilla/contrib/bugzilla_ldapsync.rb,v  <-- 
bugzilla_ldapsync.rb
initial revision: 1.1
done
Status: NEW → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → FIXED
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.