Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2008-12-16 | A more-commented version of rpc_server crash fix, matching closer the | Andrew Bartlett | 1 | -1/+14 | |
previous behaviour for the 'bad bind' case. (It is only close, not matching - Windows 2008 sends a different, non-zero, assoc_group_id each time) Andrew Bartlett | |||||
2008-12-16 | Add python extensions for dom_sid. | Jelmer Vernooij | 2 | -2/+59 | |
2008-12-15 | Merge branch 'master' of ssh://git.samba.org/data/git/samba | Jelmer Vernooij | 4 | -25/+79 | |
2008-12-15 | s3:loadparm: fix copy service error (canonicalize_servicename: NULL source name) | Michael Adam | 1 | -1/+1 | |
this was introduced by commit 3358a139d2dc77eb4c842d41722b1acc24bd2cb2. Michael | |||||
2008-12-15 | s3:loadparm: add service-struct based variants of the free-parameter routines | Michael Adam | 1 | -7/+46 | |
and use the abstracted free_one_parameter_common() in old free_one_parameter_by_snum() as well as in new free_one_parameter() Michael | |||||
2008-12-15 | s3:loadparm: rename free_parameters() to free_parameters_by_snum() | Michael Adam | 1 | -4/+5 | |
Michael | |||||
2008-12-15 | s3:loadparm: rename free_parameter() to free_one_parameter_by_snum() | Michael Adam | 1 | -3/+5 | |
Michael | |||||
2008-12-15 | s3:loadparm: add lp_local_ptr() that operates on a service struct | Michael Adam | 1 | -1/+13 | |
and use this in lp_local_ptr_by_snum(). Michael | |||||
2008-12-15 | s3:loadparm: rename lp_local_ptr() to lp_local_ptr_by_snum() | Michael Adam | 3 | -6/+6 | |
Michael | |||||
2008-12-15 | s3:loadparm: fix newly introduced leading whitespaces to tabs | Michael Adam | 1 | -2/+2 | |
Michael | |||||
2008-12-15 | s3:fix build of pam_winbind.so on older Linux systems. | Michael Adam | 1 | -2/+2 | |
Older pam implementations on Linux define PAM_AUTHTOK_RECOVER_ERR instead of PAM_AUTHTOK_RECOVERY_ERR. We have always defined and are using PAM_AUTHTOK_RECOVER_ERR in all other places. Michael | |||||
2008-12-14 | Rename ldap.h to ldap-util.h to avoid clashing with the system ldap.h | Jelmer Vernooij | 1 | -1/+1 | |
2008-12-14 | Merge branch 'master' of ssh://git.samba.org/data/git/samba | Jelmer Vernooij | 37 | -1155/+712 | |
2008-12-14 | Remove the global "cmdline_auth_info" from source3/lib/util.c | Volker Lendecke | 12 | -184/+284 | |
This involves changing all our clients, that's why it's so large. | |||||
2008-12-14 | Move 128 bytes from the data to the text segment | Volker Lendecke | 2 | -2/+2 | |
2008-12-14 | Remove a pointless static variable | Volker Lendecke | 1 | -1/+1 | |
2008-12-13 | Added torture test for doing an openX over a directory | Jeremy Allison | 1 | -0/+47 | |
to ensure we get the correct error message. Jeremy. | |||||
2008-12-13 | don't return 0 on error - bad for scripts | Herb Lewis | 1 | -0/+2 | |
2008-12-13 | Remove a pointless static variable | Volker Lendecke | 1 | -7/+7 | |
Every sane compiler will only allocate "*SMBSERVER" once | |||||
2008-12-13 | Remove a static variable | Volker Lendecke | 1 | -6/+5 | |
Derrell, please check! Thanks, Volker | |||||
2008-12-13 | Micro-Optimize cliconnect.c | Volker Lendecke | 1 | -22/+27 | |
In this form, the prots array is fully read-only in the text segment and thus can be shared between processes. Probably pointless, but I had fun doing it :-) | |||||
2008-12-13 | s3:dsgetdcname: retry with the clients site | Stefan Metzmacher | 1 | -6/+43 | |
metze | |||||
2008-12-13 | s3:libnet_join: use DS_FORCE_REDISCOVERY | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2008-12-13 | s3:libnet_join: call saf_join_store() after a the join. | Stefan Metzmacher | 1 | -1/+4 | |
metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> (similar to commit feef594d275881466e2c3f59c0ff54609a9cc53b) | |||||
2008-12-13 | s3:libads/ldap.c: store the dc name in the saf cache as in all other places | Stefan Metzmacher | 1 | -3/+2 | |
metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit 543fa85a711337e979c7b631bda5db95d109ef59) | |||||
2008-12-13 | s3:libads/ldap.c: if the client belongs to no site at all any dc is the closest | Stefan Metzmacher | 1 | -0/+5 | |
metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit f86ef9b53a903485deba94febf90dd4e657cc02b) | |||||
2008-12-13 | s3:libads/ldap.c: pass the real workgroup name to get_dc_name() | Stefan Metzmacher | 1 | -1/+10 | |
metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit c2d4a84abe1b6cbf68d6e9f1bb1f8974d0b628fc) | |||||
2008-12-13 | s3:libsmb/namequery.c: add saf_join_store() function | Stefan Metzmacher | 2 | -3/+66 | |
saf_join_store() should be called after a successful domain join, the affinity to the dc used at join time has a larger ttl, to avoid problems with delayed replication. metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit 80e74a27c55c01221091e3eec930c2ac4433c22c) | |||||
2008-12-13 | s3: libsmb/namequery: fallback to returning all dcs, when none is available ↵ | Stefan Metzmacher | 1 | -0/+9 | |
in the requested site It could happen that all dcs in a site are unavailable (some sites have only one dc) and then we need to fallback to get all dcs. metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit c127367b1dd622eeceb1f47de0a047c297dda222) | |||||
2008-12-13 | s3: libads: use get_dc_name() instead of get_sorted_dc_list() in the LDAP case | Stefan Metzmacher | 1 | -1/+25 | |
We use get_dc_name() for LDAP because it generates the selfwritten krb5.conf with the correct kdc addresses and sets KRB5_CONFIG. For CLDAP we need to use get_sorted_dc_list() to avoid recursion. metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit d2f7f81f4d61bae9c4be65cbc1bf962b6c24a31f) | |||||
2008-12-13 | s3: correctly detect if the current dc is the closest one | Stefan Metzmacher | 3 | -3/+1 | |
ads->config.tried_closest_dc was never set. metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit dfe5b00db35e1e7c7bb3ba36729fc3f97eb48db3) | |||||
2008-12-13 | Fix a valgrind error in get_relative_fid_filename | Volker Lendecke | 1 | -1/+1 | |
It doesn't really make sense to check the length of a not-yet-allocated string :-) Volker | |||||
2008-12-13 | For read&x replies, check the offset | Volker Lendecke | 1 | -0/+19 | |
2008-12-13 | s3: fix netlogon rpc_server build after idl change. | Günther Deschner | 1 | -3/+3 | |
Guenther | |||||
2008-12-13 | s3: re-run make samba3-idl. | Günther Deschner | 5 | -14/+8 | |
Guenther | |||||
2008-12-13 | s3: remove duplicate prototypes in proto.h. | Günther Deschner | 1 | -778/+0 | |
Guenther | |||||
2008-12-12 | Move dom_sid to the Samba 3 IDL file, remove the old definition. | Jelmer Vernooij | 18 | -556/+296 | |
2008-12-12 | Manually marshall dom_sid, so we can use a fixed size array for | Jelmer Vernooij | 6 | -50/+36 | |
dom_sid.sub_auths rather than a dynamically allocated one. This makes it possible to use the same DCE/RPC object code for Samba 3 and Samba 4's DCE/RPC parsers and allows copying sids more easily (since they no longer contain any pointers). The cost of having additional manual marshalling code is limited (~35 additional lines of C code). | |||||
2008-12-12 | Don't allow specifying arguments to pidl object constructors, as they'll | Jelmer Vernooij | 1 | -0/+3 | |
be ignored anyway atm. | |||||
2008-12-12 | winbindd: vars for signals must be volatile sig_atomic_t | SATOH Fumiyasu | 1 | -12/+12 | |
2008-12-12 | Fix error code when smbclient puts a file over an existing directory | Volker Lendecke | 1 | -1/+1 | |
Windows returns NT_STATUS_FILE_IS_A_DIRECTORY, as does Samba 3.0. 3.2 and following returned NT_STATUS_INVALID_PARAMETER which is wrong. Before I converted reply_open_and_X to create_file() we called open_file_ntcreate directly. Passing through open&X for a filename that exists as a directory ends up in open_directory after having tried open_file_ntcreate. Some check in there returns NT_STATUS_INVALID_PARAMETER. With this additional FILE_NON_DIRECTORY_FILE flag we get the correct error message back from create_file_unixpath before trying open_directory(). Survives make test, but as this also touches the other open variants I would like others to review this. Volker | |||||
2008-12-12 | s3 sesssetup.c: Add missing line break to debug message. | root | 1 | -1/+1 | |
Karolin | |||||
2008-12-12 | docs: Add hint that "socket address" usually don't need to be set. | Karolin Seeger | 1 | -5/+7 | |
This fixes bug #5950. Thanks to the Debian Samba package maintainers for reporting! Karolin | |||||
2008-12-12 | Allow overriding repr function for pidl-defined types. | Jelmer Vernooij | 1 | -1/+5 | |
2008-12-12 | mount.cifs: allow mounts to ipv6 capable servers | Jeff Layton | 1 | -101/+120 | |
The current name resolution scheme in mount.cifs is IPv4 only. Expand it to be protocol-independent. Also take advantage of the fact that getaddrinfo() returns a list of addresses and have mount.cifs try each in turn until it hits one that's reachable and allows the socket to connect. Signed-off-by: Jeff Layton <jlayton@redhat.com> | |||||
2008-12-12 | Support pyhelper property to allow additional methods to be tucked onto a | Jelmer Vernooij | 2 | -0/+10 | |
pidl-generated type. | |||||
2008-12-12 | Remove noejs property, which is no longer used. | Jelmer Vernooij | 7 | -10/+8 | |
2008-12-12 | Add convenience function for determining if an array should be allocated ↵ | Jelmer Vernooij | 3 | -7/+16 | |
with talloc. | |||||
2008-12-12 | Merge branch 'master' of ssh://git.samba.org/data/git/samba | Jelmer Vernooij | 1 | -1/+1 | |
2008-12-12 | Remove EJS backend for PIDL, as we don't have EJS anymore. | Jelmer Vernooij | 2 | -911/+0 | |