summaryrefslogtreecommitdiffstats
path: root/source4/scripting/python/samba/idmap.py
Commit message (Collapse)AuthorAgeFilesLines
* Move python modules from source4/scripting/python/ to python/.Jelmer Vernooij2013-03-021-98/+0
| | | | | | | Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sat Mar 2 03:57:34 CET 2013 on sn-devel-104
* s4-python: Formatting fixes, break lines.Jelmer Vernooij2012-09-161-2/+0
| | | | | Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Sun Sep 16 15:58:04 CEST 2012 on sn-devel-104
* LDB/s4 - do not use the "(dn=...)" syntax on filters anymoreMatthias Dieter Wallnöfer2012-03-261-1/+1
| | | | | | | Make it AD-compatible using "(distinguishedName=...)". Reviewed-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-python: Remove env from non-executable samba scripts.Andreas Schneider2012-03-131-2/+0
|
* Some formatting fixes, remove unused imports.Jelmer Vernooij2011-11-061-4/+3
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 6 06:22:33 CET 2011 on sn-devel-104
* s4-param Remove 'idmap database'Andrew Bartlett2011-06-061-1/+1
| | | | This is now just idmap.ldb in the private dir, which remains.
* s4-python: python is not always in /usr/binAndrew Tridgell2010-06-241-1/+1
| | | | | | | | Using "#!/usr/bin/env python" is more portable. It still isn't ideal though, as we should really use the python path found at configure time. We do that in many places already, but some don't. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-python: Fix formatting.Jelmer Vernooij2010-06-111-10/+9
|
* s4: Make unixid optionalMatthieu Patou2010-01-211-2/+26
| | | | | Make unixid optional, if value not supplied next id from id pool will be used. Create a function to get next id in id pool.
* s4:samdb.py - Unification of the interfacesMatthias Dieter Wallnöfer2009-09-181-1/+1
| | | | | | | | | - When a user account is requested by a call always the search filter will be passed as argument. This helps us to unify the API - Add/fix some comments; in particular new comments inform the developer which requirements exist if he wants to use calls which manipulate the "userPassword" attribute (On s4 no problem - but on certain domain levels on Windows Server)
* s4: Major rework of the LDB/SAMDB/IDMAP python bindingsMatthias Dieter Wallnöfer2009-08-171-13/+13
| | | | | | | | | | - Centralise the lookups for the default domain (root) in the call "domain_dn" - Reduce the LDB connections attempts ("connect" calls) from three to one - tools should load faster - Make the LDB connection init more like the "ldb_wrap_connection" call - Load the right UTF8 casefolder which fixes up problems with special characters (discovered by me: e.g. small "Umlaute" (ä, ö, ü, ...) in the DN weren't upcased - so records "seemed" lost in TDB)
* Remove unnecessary imports.Jelmer Vernooij2009-07-191-2/+0
|
* py: Fix initialisation of subtypes, fix segfaults.Jelmer Vernooij2008-12-211-2/+2
|
* Use restructuredText formatting for docstrings.Jelmer Vernooij2008-05-231-0/+2
| | | | (This used to be commit 0cc58decd74d20f3d7dff93ddef1c8bce4d49ad0)
* Fix newuser and setpassword scripts, and port to idmap.Andrew Bartlett2008-04-141-0/+7
| | | | | | | | | 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)
* provision: Set up id mappings in the idmap db, only map Administrator.Kai Blin2008-04-021-0/+73
(This used to be commit 206b7d387c6d17e5cc40fd45b489abac9235a7a4)