Jelmer Vernooij
ddb4db7c65
Move some samdb-specific code out of provision.
2009-02-11 18:31:52 +01:00
Jelmer Vernooij
f13895851f
Cancel transactions when exceptions are raised.
2009-02-11 17:54:58 +01:00
Jelmer Vernooij
2e7a6cb6bf
py: Fix initialisation of subtypes, fix segfaults.
2008-12-21 03:08:14 +01:00
Andrew Tridgell
9817f3d785
Add a setexpiry operation in samdb.py
...
This makes it easy to set the expiry (or no expiry) for a samdb user
(This used to be commit 25171f18a4b242b5a731f4ac1eefc51cc82efd74)
2008-08-30 07:32:44 +10:00
Jelmer Vernooij
fff006bd84
Move domain DN determination out of newuser function.
...
(This used to be commit cbac27e6faa99ebaa3e6d653017c968db836560a)
2008-08-01 20:47:22 +02:00
Andrew Bartlett
44ea6a26fd
rename sambaPassword -> userPassword.
...
This attribute is used in a very similar way (virtual attribute
updating the password) in AD on Win2003, so eliminate the difference.
This should not cause a problem for on-disk passwords, as by default
we do not store the plaintext at all.
Andrew Bartlett
(This used to be commit 1cf0d751493b709ef6b2234ec8847a7499f48ab3)
2008-07-12 15:26:42 +10:00
Jelmer Vernooij
c401aa9357
Use restructuredText formatting for docstrings.
...
(This used to be commit 0cc58decd74d20f3d7dff93ddef1c8bce4d49ad0)
2008-05-23 00:37:22 +02:00
Andrew Bartlett
5a37b3fc5d
Fix newuser and setpassword scripts, and port to idmap.
...
The new idmap world does not use the unixUser any more, so we need to
set up the entry (if wanted) in the idmap database. Users without a
backing unix user will get an allocated uid by idmap later.
Andrew Bartlett
(This used to be commit 8bd8bc1475ddf22d4702dcd17028a9043a5e629f)
2008-04-14 11:51:02 +02:00
Kai Blin
8ac91d9132
provision: Set up id mappings in the idmap db, only map Administrator.
...
(This used to be commit 206b7d387c6d17e5cc40fd45b489abac9235a7a4)
2008-04-02 23:07:53 +02:00
Andrew Bartlett
786deaf928
Make the setup/newuser and setup/setpassword scripts actually work...
...
These need a testsuite, but this will come soon.
Andrew Bartlett
(This used to be commit fbcaa622bd1929399e32326349e96b6676a49b96)
2008-03-28 12:08:54 +11:00
Jelmer Vernooij
b4ce9dc360
Fix invalid symbol.
...
(This used to be commit bd0ef811c4e6419ba05076fbc151827cea5d1ca1)
2008-02-13 01:21:06 +01:00
Jelmer Vernooij
dcb04065cd
python: Fix representation of UUIDs as strings in zone files rather than binary blobs, fix escaping of LDAP URL's in PHP LDAP admin configuration.
...
Pair-programmed with Andrew, but git doesn't appear to support multiple --author arguments. :-(
(This used to be commit dff54ff043563f93b86361039c46e662045f62cc)
2008-01-25 03:54:33 +01:00
Jelmer Vernooij
37f35d2a03
python/provision: Reconcile code partitions-only provisioning and generic provisioning, some other minor refactoring of the provisioning.
...
Pair-programmed by Andrew and me using obby :-)
(This used to be commit 688adcbb635af87fcfedb869b7f1857a947fd2f9)
2008-01-25 01:02:13 +01:00
Jelmer Vernooij
859b847a68
python: Add bindings for SamDB.set_invocation_id().
...
(This used to be commit c09efa7b778f9cb29032a6abfd914fcaae8df163)
2008-01-24 22:08:39 +01:00
Jelmer Vernooij
7c3e8c838f
Python: Simplify code in a couple of places. Copy Andrew's changes from g53b5166.
...
(This used to be commit f056f624958af79204c972eba3f85e36e93daed7)
2008-01-11 16:13:46 +01:00
Jelmer Vernooij
6817c5d885
r26628: python: Add more documentation, simplify code in Samba3 module.
...
(This used to be commit 3c329ee73d9979236313c37e51750ec06b8dd69e)
2007-12-29 12:21:04 -06:00
Jelmer Vernooij
109a903750
r26545: Sync output with ejs.
...
(This used to be commit 48ceaa964327ed7094275780cc3c0767636bcb18)
2007-12-21 06:28:46 +01:00
Jelmer Vernooij
c2fffa8335
r26538: Pass path generation function around rather than base directory.
...
(This used to be commit 5f921af41e4dcd6844f6a662d56bd27c4e76ff88)
2007-12-21 05:51:59 +01:00
Jelmer Vernooij
1c29a63d44
r26523: Refactor provisioning code.
...
(This used to be commit ac1083178f9e521dcd5d3d8b5199abcb00159adf)
2007-12-21 05:51:44 +01:00
Jelmer Vernooij
54a48d40a1
r26522: Fix warnings on SamDB connect from Python, simplify the setup code for the various LDBs.
...
(This used to be commit 20c686f501b652ec0578a075a124b72ecb5f41b6)
2007-12-21 05:51:42 +01:00
Jelmer Vernooij
63f53094ef
r26520: More Python updates.
...
(This used to be commit a8b1fe15ac853082961132ede061fe1556ae29f7)
2007-12-21 05:51:31 +01:00
Jelmer Vernooij
f89c7a6e5e
r26505: Add python bindings for some samdb-related functions, improve provisioning in python.
...
(This used to be commit d2402251666738c0372bbbaeaa1d26c06e254033)
2007-12-21 05:51:09 +01:00
Jelmer Vernooij
b0360e3a86
r26496: Move some provision functions to a new SamDB class, support setting session_info on a ldb context from python.
...
(This used to be commit 75cfb0d609687538048a7d72a499a5205af46a34)
2007-12-21 05:50:50 +01:00