summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* wafsamba: Require public libraries to have headers.Jelmer Vernooij2011-08-211-0/+3
|
* dcerpc-binding: Install header file.Jelmer Vernooij2011-08-211-0/+1
|
* gensec: Install header file.Jelmer Vernooij2011-08-211-0/+1
|
* samdb: Install header file.Jelmer Vernooij2011-08-211-0/+1
|
* s4/libpolicy: Install header file.Jelmer Vernooij2011-08-214-8/+6
|
* wafsamba: Require public libraries to have a pc file specified, or ↵Jelmer Vernooij2011-08-214-8/+21
| | | | explicitly specified that they don't need one.
* wbclient: Add pkg-config file.Jelmer Vernooij2011-08-212-0/+12
|
* samba-credentials: Add pkg-config file.Jelmer Vernooij2011-08-212-0/+12
|
* Ensure we never wait past absolute entime to do a get_cached_ldap_connect().Jeremy Allison2011-08-201-8/+15
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Aug 20 20:09:37 CEST 2011 on sn-devel-104
* Remove the tortured logic in another_ldap_try() and turn it intoJeremy Allison2011-08-191-58/+70
| | | | | | | | get_cached_ldap_connect(), which much better describes it's function. Now we always break at the right places in the loop, we can replace the while (another_ldap_try(ldap_state, &rc, &attempts, abs_endtime)) construct with simply while (1).
* Factor out the ldap_get_option calls into a function.Jeremy Allison2011-08-191-20/+14
|
* Simplify the logic on the another_ldap_try() loops by breakingJeremy Allison2011-08-191-95/+105
| | | | early out of the loop on success.
* Move the alarm setup/teardown out of another_ldap_try() and into separateJeremy Allison2011-08-191-48/+43
| | | | | functions that bracket the another_ldap_try() loop. We now never leave a dangling alarm pending on success.
* Allow the timeout pointer to ldap_search_ext_s() to be NULL if ↵Jeremy Allison2011-08-191-4/+8
| | | | lp_ldap_timeout() == 0.
* Make it clear the time here is an absolute endtime. Don't set the alarm if ↵Jeremy Allison2011-08-191-15/+35
| | | | the LDAP timeout is zero.
* Always remove the alarm before changing the handler, not the other way around.Jeremy Allison2011-08-191-1/+1
|
* Remove old_handler as alarms can't be nested. Use SIG_IGN instead.Jeremy Allison2011-08-191-4/+2
|
* Change got_alarm from bool to the correct type of SIG_ATOMIC_T.Jeremy Allison2011-08-191-3/+3
|
* If "ldap timeout" is non-zero, set the local search timeout toJeremy Allison2011-08-191-19/+36
| | | | | | | | | be one second longer than the remote search timeout (which is set to the "ldap timeout" value). This allows the remote search timeout to fire in preference. Allow lp_ldap_timeout() to be zero. Don't set the any local alarm if so.
* Re-arrange the optimization to reduce tdb fcntl calls if smbd is notIra Cooper2011-08-201-1/+5
| | | | | | | | clustered. procid_is_me() is much cheaper to test and can optimize up to 50% of the calls to serverid_exists(). Volker please check. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Aug 20 01:15:07 CEST 2011 on sn-devel-104
* s3:passdb/py_passdb.c - restore Python >= 2.4 compatibilityMatthias Dieter Wallnöfer2011-08-191-0/+7
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Aug 19 21:03:44 CEST 2011 on sn-devel-104
* ldb:ldb_controls.c - cosmetic indentation fixMatthias Dieter Wallnöfer2011-08-191-5/+4
|
* ldb - two cosmetic fixesMatthias Dieter Wallnöfer2011-08-192-4/+2
| | | | | @ldb.h: Removes an invalid comment line @pyldb.c: Fixes indentation
* Revert "s3-messaging: IDMAP_ messages belongs to the Winbind range"Simo Sorce2011-08-191-4/+4
| | | | | | | | | | This reverts commit 102f39ae3e7df26faf81595c8e0120b2e2a45bbd. These messages are handled by smbd not winbind, and could potentially be of general interest. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Fri Aug 19 16:16:05 CEST 2011 on sn-devel-104
* s3-passdb pdb_samba4 handles PDB_PWHISTORY alreadyAndrew Bartlett2011-08-191-1/+0
| | | | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Aug 19 10:40:16 CEST 2011 on sn-devel-104
* s3_upgrade: Set the administrator password on upgradeAmitay Isaacs2011-08-191-2/+22
| | | | | | | | In the upgrade process, set the administrator password from the existing root or administrator account. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-passdb: Fix the get/set routines for pw_history for samuAmitay Isaacs2011-08-191-2/+2
| | | | | | | | Return pw_history with current string length (which is a multiple of PW_HISTORY_ENTRY_LEN) and same thing for setting the pw_history. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3_upgrade: Do not add administrator and root accounts from s3 to s4Amitay Isaacs2011-08-191-0/+2
| | | | | | | Need to copy the password from s3 for administrator/root to s4. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* python-samba3: Secrets file loaded from private dir, not lib dirAmitay Isaacs2011-08-192-2/+8
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-passdb: Display username when reporting error on add_sam_account.Amitay Isaacs2011-08-191-1/+2
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-passdb: Use pdb_get_nt_passwd() to get nt passwd.Amitay Isaacs2011-08-191-1/+1
| | | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3upgrade: Add idmap migration, users/groups importAmitay Isaacs2011-08-191-40/+193
| | | | | | | | Added users/groups import from s3 using python wrapper for passdb. Fix idmap entries for users/groups when migrating from s3 idmap. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* provision: Add idmap database handle to the result of provisionAmitay Isaacs2011-08-191-0/+2
| | | | | | | It is required in s3_upgrade script to migrate idmap database from s3 to s4. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba3-python: Add methods to get any entry (user/group) and its sid from idmapAmitay Isaacs2011-08-191-0/+14
| | | | | | | This is required in upgrade_s3 script to migrate idmap database from s3 to s4 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* py_security: Fix comparison between two dom_sid objectsAmitay Isaacs2011-08-191-1/+9
| | | | | | | | dom_sid_compare() function can return values other than -1, 0, 1. Python requires compare function to return value from [-1, 0, 1]. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-passdb: Fix call for search_aliases(). It returns bool and not NTSTATUS.Amitay Isaacs2011-08-191-4/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-passdb: Return list of sids from python wrapper enum_group_membersAmitay Isaacs2011-08-191-5/+9
| | | | | | | | Instead of returning rids as the C api does, return sids, so it is similar to enum_aliasmem and can be used easily in s3_upgrade. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-passdb: Make arguments for python wrapper enum_group_mapping() optionalAmitay Isaacs2011-08-191-5/+10
| | | | | | | Set the defaults, if no arguments are provided. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-passdb: Added python wrapper for passdb methodsAmitay Isaacs2011-08-191-21/+831
| | | | | | | | | | | | | Added following methods - uid_to_sid, gid_to_sid, sid_to_id, new_rid - get_trusteddom_pw, set_trusteddom_pw, del_trusteddom_pw, enum_trusteddoms - get_trusted_domain, get_trusted_domain_by_sid, set_trusted_domain, del_trusted_domain, enum_trusted_domains - get_secret, set_secret, delete_secret Updated documentation for all methods Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-passdb: Python wrapper for passdbAmitay Isaacs2011-08-191-8/+1283
| | | | | | | | | | | | | | | | | | | - Added Groupmap python wrapper - Added passdb methods getgrsid, getgrgid, getgrnam create_dom_group, delete_dom_group add_group_mapping_entry, update_group_mapping_entry, delete_group_mapping_entry enum_group_mapping, enum_group_members add_groupmem, del_groupmem create_alias, delete_alias get_aliasinfo, set_aliasinfo add_aliasmem, del_aliasmem, enum_aliasmem get_account_policy, set_account_policy search_groups, search_aliases Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-passdb: Replace SMB_MALLOC_ARRAY()/SAFE_FREE() with talloc equivalents.Amitay Isaacs2011-08-194-16/+16
| | | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* Fix bug #8370 - vfs_chown_fsp broken -- returns in the wrong directoryJeremy Allison2011-08-192-5/+18
| | | | | | | Ensure we always use vfs_ChDir() to keep the singleton cache coherent. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Aug 19 00:43:05 CEST 2011 on sn-devel-104
* credentials: Rename library to samba-credentials to avoid name clashes.Jelmer Vernooij2011-08-1819-34/+34
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Aug 18 22:16:38 CEST 2011 on sn-devel-104
* smb_common: Fix include paths.Jelmer Vernooij2011-08-181-5/+5
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Aug 18 16:54:01 CEST 2011 on sn-devel-104
* cli-raw: Add public libsmbclient-raw library.Jelmer Vernooij2011-08-188-12/+24
|
* libcliraw: Install more header files.Jelmer Vernooij2011-08-184-4/+4
|
* smb_common: Install some more headers.Jelmer Vernooij2011-08-182-2/+3
|
* libcliraw: Install request.h and signing.h.Jelmer Vernooij2011-08-181-1/+2
|
* smb_composite: Remove unnecessary include of signing header.Jelmer Vernooij2011-08-181-1/+0
|
* smb_composite: Integrate prototypes in header file.Jelmer Vernooij2011-08-183-4/+69
|