summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-pdb_ldap: Make ldapsam_alias_memberships behave like the tdbsam equivalent.Günther Deschner2009-08-031-0/+7
| | | | | | | This lets samr_GetAliasMembership return with NT_STATUS_OK when called with 0 sids (just what w2k3 does). Guenther
* s4: Change constant to comply with the merged buildMatthias Dieter Wallnöfer2009-08-031-1/+1
|
* s3/docs: Fix typos.Karolin Seeger2009-08-031-2/+2
| | | | | | Thanks to OPC oota <t-oota@dh.jp.nec.com> for reporting! Karolin
* s3/s4: Add new autogenerated files from "make idl_full"Matthias Dieter Wallnöfer2009-08-035-748/+1183
|
* s4: Torture test for enhancements in "netr_LogonGetDomainInformations" callMatthias Dieter Wallnöfer2009-08-031-26/+275
| | | | This corrects and enhances the torture test of the mentioned call.
* s4: Enhancements in the "netr_LogonGetDomainInformations" callMatthias Dieter Wallnöfer2009-08-031-65/+194
| | | | | | | | This addresses bug #4888 and #6596 in SAMBA 4 Bugzilla - It implements the call in the complete form as specified in the MSPP/WSPP docs and on the discussion on the "cifs-protocol" list - Therefore client informations (OS name, OS version, "servicePrincipalName"...) are now saved in the AD each time the client invokes the call
* netlogon.idl: Prework to enhance the "netr_LogonGetDomainInformation" call ↵Matthias Dieter Wallnöfer2009-08-031-48/+114
| | | | | | | correctly This enhances the "netlogon.idl" file to allow enhancements on the mentioned call. Therefore this is also the base for fixing up bug #4888.
* netlogon.idl: Removes the form "str[]" for string declarationsMatthias Dieter Wallnöfer2009-08-031-40/+40
| | | | | | | In this file two different forms are used to explain the same datatype ("str[]" and "*str"). I didn't find this very nice and unified the occurrences to always use "*str". This patch is of cosmetic nature.
* Return infinite time for last last logoff when last logoff = 0Matthieu Patou2009-08-033-2/+18
|
* s3: check in .po files for pam_winbind.Bo Yang2009-08-0318-0/+2850
| | | | Signed-off-by: Bo Yang <boyang@samba.org>
* Fix some nonempty blank linesVolker Lendecke2009-08-023-56/+56
|
* Fix breakage for connect function after API change (connect -> connect_fn)Alexander Bokovoy2009-08-022-2/+2
|
* Refactor 9b78af1f: Fix lookupname recursionVolker Lendecke2009-08-027-30/+24
| | | | | | Pass a "flags" argument instead of the original winbind command down the name_to_sid chain. This way we are independent of the winbind commands and can take the decision at a much higher level
* Some mods for recent coding conventionsVolker Lendecke2009-08-012-3/+6
|
* Place a comment correctlyVolker Lendecke2009-08-011-1/+4
|
* Fix indentationVolker Lendecke2009-08-011-1/+1
|
* Refactoring: mem_ctx is not needed as an argument to centry_sidVolker Lendecke2009-07-311-21/+25
|
* Rename LOOKUP_NAME_EXPLICIT to LOOKUP_NAME_NO_NSSVolker Lendecke2009-07-313-8/+11
| | | | | It took me a bit to understand what this flag does. I hope this is a bit clearer, at least it is to me.
* Fix some nonempty linesVolker Lendecke2009-07-312-9/+9
|
* Remove a pointless variableVolker Lendecke2009-07-311-3/+1
|
* We're not changing last write, but setting this to be ↵Jeremy Allison2009-07-311-1/+1
| | | | | | | | FILE_NOTIFY_CHANGE_CREATION doesn't work. So use FILE_NOTIFY_CHANGE_LAST_WRITE (now seems to reliably fix bug #6529 - Offline files conflict with Vista and Office 2003. Jeremy.
* s3: Remove invalid constantMatthias Dieter Wallnöfer2009-07-311-1/+0
|
* Merge branch 'master' of git://git.samba.org/sambaMatthias Dieter Wallnöfer2009-07-311-0/+1
|\
| * Provide a mem_ctx for child requestsVolker Lendecke2009-07-311-0/+1
| |
* | s4: Correct renamed constantsMatthias Dieter Wallnöfer2009-07-312-6/+6
|/
* s4: Adds a small test for the new enhanced error messages from the AD LDAP ↵Matthias Dieter Wallnöfer2009-07-311-4/+183
| | | | server
* s4: Enhances the LDAP server to display error messages like Windows ServerMatthias Dieter Wallnöfer2009-07-311-27/+178
| | | | | | | Those error messages also include the WERROR code of the failed operation(s) in this manner: <error code eight chars in HEX>: <further error message> This also addresses bug #4949
* Adds new error codes (needed for enhancing error messages for SAMBA 4 AD ↵Matthias Dieter Wallnöfer2009-07-314-18/+83
| | | | LDAP server)
* Slightly restructure the async winbind request calling conventionVolker Lendecke2009-07-314-20/+17
| | | | The main loop now allocates the response, this has to be done everywhere
* s4:libcli/ldap: the tls code steals the original socket on its own nowStefan Metzmacher2009-07-311-3/+0
| | | | metze
* s4:ldap_server: the tls code steals the original socket on its own nowStefan Metzmacher2009-07-312-2/+2
| | | | metze
* s4:tls: avoid using talloc_reference() in tls_init_client()Stefan Metzmacher2009-07-311-6/+2
| | | | metze
* s4:tls: avoid using talloc_reference() in tls_init_server()Stefan Metzmacher2009-07-311-8/+1
| | | | metze
* s4:libnet: use talloc_strdup() instead of talloc_reference()Stefan Metzmacher2009-07-312-2/+2
| | | | metze
* s4:build: make sure that we regenerate proto headers when source files changeStefan Metzmacher2009-07-311-0/+2
| | | | metze
* librpc/ndr_drsuapi: fix a memory leak on ndr_push_drsuapi_DsReplicaOID()Stefan Metzmacher2009-07-311-0/+1
| | | | metze
* util/asn1: fix potential memory leak in asn1_write_OID()Stefan Metzmacher2009-07-311-0/+1
| | | | metze
* s4:auth: make sure we have elements returned at all in ↵Stefan Metzmacher2009-07-311-0/+6
| | | | | | authsam_expand_nested_groups() metze
* s4: Patch to implement nested group and privilegesMatthias Dieter Wallnöfer2009-07-311-34/+100
| | | | | | | | | This patch adds a function "authsam_expand_nested_groups" (calculation of rights through expanding groups of a certain SID) which basically collects all memberships through "memberOf" attributes. It works with either user or group SIDs. For avoiding loops it tests on each call if the SID hasn't been added yet (through the helper function "sids_contains_sid"). The function itself is called by "authsam_make_server_info".
* tdb: don't alter tdb->flags in tdb_reopen_all()Rusty Russell2009-07-311-6/+13
| | | | | | | The flags are user-visible, via tdb_get_flags/add_flags/remove_flags. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* tdb: Reimplementation of Metze's "lib/tdb: if we know pwrite and pread are ↵Rusty Russell2009-07-311-5/+10
| | | | | | | | | | | | | | | | | | | thread/fork safe tdb_reopen_all() should be a noop". This version just wraps the reopen code, so we still re-grab the lock and do the normal sanity checks. The reason we do this at all is to avoid global fd limits, see: http://forums.fedoraforum.org/showthread.php?t=210393 Note also that this whole reopen concept is fundamentally racy: if the parent goes away before the child calls tdb_reopen_all, the database can be left without an active lock and another TDB_CLEAR_IF_FIRST opener will clear it. A fork_with_tdbs() wrapper could use a pipe to solve this, but it's hardly elegant (what if there are other independent things which have similar needs?). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* tdb: Revert "lib/tdb: if we know pwrite and pread are thread/fork safe ↵Rusty Russell2009-07-311-5/+0
| | | | | | | | | | tdb_reopen_all() should be a noop" This reverts commit e17df483fbedb81aededdef5fbb6ae1d034bc2dd. tdb_reopen_all also restores the active lock, required for TDB_CLEAR_IF_FIRST. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* .gitignore: ignore more generated filesStefan Metzmacher2009-07-311-0/+5
| | | | metze
* winsif.idl: add definition of winsif_WinsDoScanvengingNew()Stefan Metzmacher2009-07-311-1/+14
| | | | metze
* winsif.idl: add definition of winsif_WinsStatusWHdl()Stefan Metzmacher2009-07-311-1/+5
| | | | metze
* winsif.idl: add definition of winsif_WinsStatusNew()Stefan Metzmacher2009-07-311-1/+17
| | | | metze
* winsif.idl: add definition of winsif_WinsGetDbRecsByName()Stefan Metzmacher2009-07-311-2/+9
| | | | metze
* winsif.idl: add definition of winsif_WinsGetBrowserNames()Stefan Metzmacher2009-07-311-1/+10
| | | | metze
* winsif.idl: add definition of winsif_WinsSetFlags()Stefan Metzmacher2009-07-311-1/+3
| | | | metze
* winsif.idl: add definition of winsif_WinsDeleteWins()Stefan Metzmacher2009-07-311-1/+3
| | | | metze