Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-08-05 | added a uid_wrapper library | Andrew Tridgell | 17 | -7/+265 | |
This library intercepts seteuid and related calls, and simulates them in a manner similar to the nss_wrapper and socket_wrapper libraries. This allows us to enable the vfs_unixuid NTVFS module in the build farm, which means we are more likely to catch errors in the token manipulation. The simulation is not complete, but it is enough for Samba4 for now. The major areas of incompleteness are: - no emulation of setreuid, setresuid or saved uids. These would be needed for use in Samba3 - no emulation of ruid changing. That would also be needed for Samba3 - no attempt to emulate file ownership changing, so code that (for example) tests whether st.st_uid matches geteuid() needs special handling | |||||
2009-08-05 | s4:ldb initialise e->values[i].length before use in python bindings | Andrew Bartlett | 1 | -1/+1 | |
2009-08-05 | s4:dsdb Don't cast an ldb_val into a const char * for schema lookups | Andrew Bartlett | 5 | -52/+129 | |
This removes a number of cases where we did a cast into a const char * of an ldb_val. While convention is to alway have an extra \0 at data[length] in the ldb_val, this is not required, and does not occour at least on build farm host 'svart'. Andrew Bartlett | |||||
2009-08-04 | idmap_adex: Fix usage of talloc_stackframe(). | Gerald Carter | 1 | -22/+26 | |
Pass an explicit TALLOC_CTX* to build_id_filter() and build_alias_filter() rather than relying upon the talloc_stackframe() behavior that allows a caller access to stackframe ctx for called functions. | |||||
2009-08-04 | s4: make install: prevent overwriting failure | Rusty Russell | 1 | -1/+1 | |
We don't have to remove the eventual write privileges to enable the execute ones. | |||||
2009-08-04 | s3-spoolss: Fix Bug #6568: _spoolss_GetPrintProcessorDirectory() implementation. | Günther Deschner | 1 | -1/+5 | |
We should always return a local path so that users are not forced to setup a [prnproc$] share on the server. This restores pre-3.4.0 spoolss behaviour. Guenther | |||||
2009-08-04 | s4: Change my nested groups patch to don't include user's SID itself in the ↵ | Matthias Dieter Wallnöfer | 1 | -17/+24 | |
"groupSID"s structure | |||||
2009-08-04 | s4:torture Make RPC-NETLOGON pass against ncaclrpc servers | Andrew Bartlett | 1 | -122/+132 | |
The original patch didn't cope with a NULL target server name - we now key off that to decide it isn't worth checking against LDAP for this host. I still can't get this to pass against Windows 2008, but mdw was testing against Windows 2008R2. at least 'make test' is happy, and the rest should not be too hard... Andrew Bartlett | |||||
2009-08-04 | Add const | Andrew Bartlett | 1 | -1/+1 | |
2009-08-04 | s4:ldif_handlers Allow a binary nTsecurityDescriptor when parsing LDIF | Andrew Bartlett | 1 | -1/+17 | |
Also allow a SDDL security descriptor, using the domain SID attached to the session (it will search for it during the LDIF parse if need be). Andrew Bartlett | |||||
2009-08-04 | s4:netlogon Fix warnings and segfault in GetDomainInfo call | Andrew Bartlett | 1 | -4/+5 | |
- Correctly use samdb_search_string to do a 'base' search (this needs a NULL, not a "" argument for the format string) - There is no need (and it caused a security hole) to use talloc_asprintf() with the only argument being the string to duplicate. Andrew Bartlett | |||||
2009-08-04 | Merge branch 'master' of ssh://git.samba.org/data/git/samba | Andrew Tridgell | 5 | -11/+163 | |
2009-08-04 | fixed support for readx greater than 64k | Andrew Tridgell | 2 | -3/+4 | |
This fixes bug 6547, where smbclient in S3 reads more than 64k at a time with readx. | |||||
2009-08-04 | s4:torture rework LDAP sort test | Andrew Bartlett | 4 | -79/+45 | |
This reworks the test to be part of the LDAP tests, to make better use of the torture API and the ldb API (in particular around adding controls), and a general cleanup. This also adds the test to the 'make test' run. Andrew Bartlett | |||||
2009-08-04 | s4:torture Add test for correct server-side sorting over LDAP | Matthieu Patou | 3 | -3/+194 | |
2009-08-04 | Use smbclient binary for the test file in smbclient test | Andrew Bartlett | 1 | -7/+2 | |
In the vein hope that a larger file might show problems better than a small file. Andrew Bartlett | |||||
2009-08-04 | param/pyparam: Cope with string list parameters being empty. | Ricardo Jorge | 1 | -1/+7 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2009-08-04 | python/loadparm: Get shares listing working. | Ricardo Jorge | 1 | -5/+6 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2009-08-04 | pyldb: Properly keep copies of Python string contents, rather than | Jelmer Vernooij | 1 | -9/+21 | |
relying on reference leaks :-) | |||||
2009-08-04 | s4-ldap_server: fix generated error string in map_ldb_error(). | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-08-04 | s3-spoolss: fix crash bug in spoolss_addprinterex_level_2. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-08-03 | Add some const to winbind_userinfo | Volker Lendecke | 12 | -41/+49 | |
2009-08-03 | Fix a typo | Volker Lendecke | 1 | -1/+1 | |
2009-08-03 | Fix some nonempty blank lines | Volker Lendecke | 1 | -3/+3 | |
2009-08-03 | pyldb: Raise proper exception when attempting to assign a string to a dn | Jelmer Vernooij | 2 | -5/+24 | |
attribute. | |||||
2009-08-03 | s3-pdb_ldap: Make ldapsam_alias_memberships behave like the tdbsam equivalent. | Günther Deschner | 1 | -0/+7 | |
This lets samr_GetAliasMembership return with NT_STATUS_OK when called with 0 sids (just what w2k3 does). Guenther | |||||
2009-08-03 | s4: Change constant to comply with the merged build | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2009-08-03 | s3/docs: Fix typos. | Karolin Seeger | 1 | -2/+2 | |
Thanks to OPC oota <t-oota@dh.jp.nec.com> for reporting! Karolin | |||||
2009-08-03 | s3/s4: Add new autogenerated files from "make idl_full" | Matthias Dieter Wallnöfer | 5 | -748/+1183 | |
2009-08-03 | s4: Torture test for enhancements in "netr_LogonGetDomainInformations" call | Matthias Dieter Wallnöfer | 1 | -26/+275 | |
This corrects and enhances the torture test of the mentioned call. | |||||
2009-08-03 | s4: Enhancements in the "netr_LogonGetDomainInformations" call | Matthias Dieter Wallnöfer | 1 | -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 | |||||
2009-08-03 | netlogon.idl: Prework to enhance the "netr_LogonGetDomainInformation" call ↵ | Matthias Dieter Wallnöfer | 1 | -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. | |||||
2009-08-03 | netlogon.idl: Removes the form "str[]" for string declarations | Matthias Dieter Wallnöfer | 1 | -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. | |||||
2009-08-03 | Return infinite time for last last logoff when last logoff = 0 | Matthieu Patou | 3 | -2/+18 | |
2009-08-03 | s3: check in .po files for pam_winbind. | Bo Yang | 18 | -0/+2850 | |
Signed-off-by: Bo Yang <boyang@samba.org> | |||||
2009-08-02 | Fix some nonempty blank lines | Volker Lendecke | 3 | -56/+56 | |
2009-08-02 | Fix breakage for connect function after API change (connect -> connect_fn) | Alexander Bokovoy | 2 | -2/+2 | |
2009-08-02 | Refactor 9b78af1f: Fix lookupname recursion | Volker Lendecke | 7 | -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 | |||||
2009-08-01 | Some mods for recent coding conventions | Volker Lendecke | 2 | -3/+6 | |
2009-08-01 | Place a comment correctly | Volker Lendecke | 1 | -1/+4 | |
2009-08-01 | Fix indentation | Volker Lendecke | 1 | -1/+1 | |
2009-07-31 | Refactoring: mem_ctx is not needed as an argument to centry_sid | Volker Lendecke | 1 | -21/+25 | |
2009-07-31 | Rename LOOKUP_NAME_EXPLICIT to LOOKUP_NAME_NO_NSS | Volker Lendecke | 3 | -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. | |||||
2009-07-31 | Fix some nonempty lines | Volker Lendecke | 2 | -9/+9 | |
2009-07-31 | Remove a pointless variable | Volker Lendecke | 1 | -3/+1 | |
2009-07-31 | We're not changing last write, but setting this to be ↵ | Jeremy Allison | 1 | -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. | |||||
2009-07-31 | s3: Remove invalid constant | Matthias Dieter Wallnöfer | 1 | -1/+0 | |
2009-07-31 | Merge branch 'master' of git://git.samba.org/samba | Matthias Dieter Wallnöfer | 1 | -0/+1 | |
2009-07-31 | s4: Correct renamed constants | Matthias Dieter Wallnöfer | 2 | -6/+6 | |
2009-07-31 | Provide a mem_ctx for child requests | Volker Lendecke | 1 | -0/+1 | |