1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-18 17:57:55 +03:00

21462 Commits

Author SHA1 Message Date
Steve French
738d29dbcc r21224: Initial checkin of cifs_host_name resolver helper script
(needed by /sbin keyctl utils to finish the upcall)
2007-10-10 12:17:48 -05:00
Jeremy Allison
470a4dc308 r21223: Try and fix bug #4361 - Vista backup fails.
Based on work from  Joe Meadows <jameadows@webopolis.com>.
One for the Vista patchset.
Jeremy.
2007-10-10 12:17:48 -05:00
Volker Lendecke
92fdb1193d r21219: Speed up the initial startup time of smbd on systems with loaded disk
subsystems. See the comment in the diff.

Volker
2007-10-10 12:17:48 -05:00
Volker Lendecke
5b25ce3002 r21218: Fix typo 2007-10-10 12:17:48 -05:00
Volker Lendecke
a5d0d1c1e6 r21217: Just found a system that does not define in_addr_t but only struct
in_addr. Okay, it's a SuSE 7.0, but if the fix is so simple I think we should
not drop that :-)

Volker
2007-10-10 12:17:48 -05:00
Jeremy Allison
5fa720f04f r21210: Fix POSIX open to return an info level.
Jeremy.
2007-10-10 12:17:47 -05:00
Jeremy Allison
36afae2d48 r21207: Make the code match the spec :-).
Jeremy.
2007-10-10 12:17:47 -05:00
Steve French
739a608ead r21204: Add define for new QFS Info for "who am i" 2007-10-10 12:17:47 -05:00
Jelmer Vernooij
1dc2ba09c7 r21203: Regenerate C files after pidl updates. 2007-10-10 12:17:47 -05:00
Volker Lendecke
4ea654857a r21202: On some build hosts, the first tests fail with CONNECTION_REFUSED. On my
solaris 9 box I could solve that with an increased wait time.

Volker
2007-10-10 12:17:47 -05:00
Jeremy Allison
83dbbdff34 r21191: Add in the POSIX open/mkdir/unlink calls.
Move more error code returns to NTSTATUS.
Client test code to follow... See if this
passes the build-farm before I add it into
3.0.25.
Jeremy.
2007-10-10 12:17:47 -05:00
Gerald Carter
b10f4cdfc0 r21188: bumping passdb version number to make sure this is different than the 3.0.25 branch 2007-10-10 12:17:46 -05:00
Volker Lendecke
22c9511314 r21184: Dummy checkin to let the build farm pick up r21183 of Samba4 2007-10-10 12:17:46 -05:00
Gerald Carter
615a104356 r21182: * Refactor the code to obtain the LDAP connection credentials
from both idmap_ldap_{alloc,db}_init()
* Fix the backwards compat support in idmap_ldap.c
* Fix a spelling error in the idmap_fetch_secret() function name
2007-10-10 12:17:46 -05:00
Volker Lendecke
3dd1bf667f r21181: Add some debug, fix the NT_STATUS_IO_TIMEOUT problems in the RAW-NOTIFY test
in the build farm.

Volker
2007-10-10 12:17:46 -05:00
Gerald Carter
01af19cc9d r21180: fix backwards compatible idmap backends parameter parsing 2007-10-10 12:17:46 -05:00
Andrew Tridgell
04f6f01dfe r21176: merged va_end() changes from Samba4 2007-10-10 12:17:45 -05:00
Jeremy Allison
1e25501e8e r21166: Ensure we return the correct "EROFS" error on a non-writable
filesystem.
Jeremy.
2007-10-10 12:17:45 -05:00
Volker Lendecke
de216a574c r21165: Lets try the build farm without inotify, we're seeing some
NT_STATUS_IO_TIMEOUT with it.

Samba4 disables inotify as well. Does anybody know why Samba4 does it? Maybe
the same justification holds for 3 as well.

Volker
2007-10-10 12:17:45 -05:00
Jeremy Allison
b16707a861 r21164: Fix from Martin Zielinski <mz@seh.de> for EnumprinterdataEX
on Vista.
Jeremy.
2007-10-10 12:17:45 -05:00
Günther Deschner
f4a704745c r21161: Another fix for pam_winbind: Move the entire pwd expiry handling into
the PAM_SUCCESS block.

Guenther
2007-10-10 12:17:44 -05:00
Günther Deschner
02713f314b r21160: Some more pam_winbind fixes:
* Consolidate all pam_winbind password expiry warnings in the one
_pam_send_password_expiry_message() call.
* Also convert some more NTSTATUS codes to error messages.
* Add paranoia check to only do all the post-processing after PAM_SUCCESS.

Guenther
2007-10-10 12:17:44 -05:00
Günther Deschner
034d42ba72 r21159: Cleanup pam_sm_chauthtok() in pam_winbind:
Set info3 strings, krb5ccname and returned username after we changed a
password and sucessfully re-authenticated afterwards. In that case we
ended up without this information.

Guenther
2007-10-10 12:17:44 -05:00
Günther Deschner
1feb961577 r21158: Add _pam_setup_krb5_env() and _pam_warn_logon_type() functions for
pam_winbind.

Guenther
2007-10-10 12:17:44 -05:00
Stefan Metzmacher
04feb8e39c r21157: this is 3.0.26 trunk
metze
2007-10-10 12:17:44 -05:00
Günther Deschner
86b34cd5d6 r21155: Forgot one _PAM_LOG_STATE_DATA_STRING call (only in 3_0).
Guenther
2007-10-10 12:17:44 -05:00
Günther Deschner
97a0b1b794 r21154: Add PAM_WINBIND_LOGONSERVER, also merge the various pam_set_data calls.
Guenther
2007-10-10 12:17:43 -05:00
Günther Deschner
ebfae9a671 r21152: Correctly omit pam conversations when PAM_SILENT has been set by the
calling application.

Guenther
2007-10-10 12:17:43 -05:00
Gerald Carter
1d46b2ae34 r21151: applying patches for CVE-2007-045[34] 2007-10-10 12:17:43 -05:00
Volker Lendecke
39809d7391 r21150: Activate RAW-NOTIFY 2007-10-10 12:17:43 -05:00
Günther Deschner
a9ac4630b4 r21149: Only say we are a groupmember for the optimized (rid 513) membership
lookup when we actually are. Although the Linux nss winbind backend
protects against num_mem != 0 && buf == NULL.

Guenther
2007-10-10 12:17:43 -05:00
Günther Deschner
cdef1d00b8 r21146: Fix debug typos.
Guenther
2007-10-10 12:17:43 -05:00
Günther Deschner
1b82c5fa0e r21145: Convert some int to BOOL in pam_winbind (only in 3_0).
Guenther
2007-10-10 12:17:42 -05:00
Günther Deschner
2ac9cb3bbd r21144: Create more accurate warning message when the pam_winbind chauthtok has
received NT_STATUS_PASSWORD_RESTRICTION.

Guenther
2007-10-10 12:17:42 -05:00
Günther Deschner
88e2185d29 r21143: Fix wrong check for pam error codes for getpwnam and lookup winbind
requests in pam_winbind (Bug #4094).

Inspired by fix from Lars Heete.

Guenther
2007-10-10 12:17:42 -05:00
Derrell Lipman
e479a9c094 r21133: - Apply patch from ages ago, which should allow following \\server\share\path
DFS referrals.  This doesn't appear to break anything in the non-DFS case,
  but I don't have an environment to test DFS referrals.  Need confirmation
  from OP that this solves the problem.
2007-10-10 12:17:42 -05:00
Derrell Lipman
2f9be59c10 r21132: - Fixes bug 4366. Documentation for smbc_utimes() was incorrect.
- Should fix bug 4115 (but needs confirmation from OP).  If the kerberos use
  flag is set in the context, then also pass it to smbc_attr_server for use by
  cli_full_connection()

- Should fix bug 4309 (but needs confirmation from OP).  We no longer send a
  keepalive packet unconditionally.  Instead, we assume (yes, possibly
  incorrectly, but it's the best guess we can make) that if the connection is
  on port 139, it's netbios and otherwise, it isn't.  If netbios is in use, we
  send a keepalive packet.  Otherwise, we check that the connection is alive
  using getpeername().
2007-10-10 12:17:42 -05:00
Volker Lendecke
b9300e1d5a r21131: Some notify fixes 2007-10-10 12:17:41 -05:00
Gerald Carter
5c36d67d27 r21130: Don't mix SAFE_FREE() and TALLOC_FREE(). 2007-10-10 12:17:41 -05:00
Jeremy Allison
0e9ad2b29f r21129: Fix from Martin Zielinski <mz@seh.de> - ensure
the hand marshalled container size is a multiple
of 4 bytes for RPC alignment.
Jeremy.
2007-10-10 12:17:41 -05:00
Jeremy Allison
45dcf62960 r21128: Fix Vista connecting to Samba in share level security.
Vista sends the NTLMv2 blob by default in the tconX
packet. Make sure we save off the workgroup the user
was logged into on the client in the sessionsetupX
and re-use it for the NTLMv2 calc.
Jeremy.
2007-10-10 12:17:41 -05:00
Volker Lendecke
918a6910d0 r21127: Add a mitigating comment ;-)) 2007-10-10 12:17:41 -05:00
Volker Lendecke
d663b729c0 r21123: Make notify_fsp() static to notify.c.
Volker
2007-10-10 12:17:41 -05:00
Günther Deschner
08ca5ea6f1 r21122: Simplify code in pam_winbind a bit.
Guenther
2007-10-10 12:17:40 -05:00
Volker Lendecke
2d0a0a0b34 r21121: Fix error message, based on RAW-NOTIFY 2007-10-10 12:17:40 -05:00
Volker Lendecke
3b3ed7429e r21120: Make notify a bit more robust: Delete the notify records if we figured out
that the process holding it is not around anymore.

Tridge, please review this and possibly also include it in 4. We can discuss
the error message for "unknown target" from messaging_send, INVALID_HANDLE
seemed to be most appropriate to me.

Volker
2007-10-10 12:17:40 -05:00
Günther Deschner
4036cb5169 r21117: Add rpccli_samr_chgpasswd_user to rpcclient for testing.
Guenther
2007-10-10 12:17:40 -05:00
Volker Lendecke
f4b073d8c8 r21116: Fix the build -- sorry! 2007-10-10 12:17:39 -05:00
Volker Lendecke
3f620d181d r21115: notify_internal.c needs to remove the table entry if a process has crashed. So
it needs the specific error message.

Make messages.c return NTSTATUS and specificially NT_STATUS_INVALID_HANDLE if
sending to a non-existent process.

Volker
2007-10-10 12:17:39 -05:00
Volker Lendecke
5b12eb873f r21114: Fix 'net usershare': Adding "guest_ok=y" required a correct acl. Set the
default if "" is set. And fix the calculation for too man shares.

Thanks to Karolin Seeger <ks@sernet.de>

Volker
2007-10-10 12:17:39 -05:00