1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

16535 Commits

Author SHA1 Message Date
Paul Green
968f265c1b r15218: Update Makefile.in to avoid building libmsrpc.so on systems that do not support shared libraries.
(This used to be commit a1c12d7949f9110530526cc7133424e842cdcc71)
2007-10-10 11:16:29 -05:00
Jeremy Allison
ba52fd71dc r15216: Fix the build for machines without krb5. Oops, sorry.
Jeremy.
(This used to be commit bea87e2df45c67cc75d91bd3ed1acc4c64a1c8ea)
2007-10-10 11:16:29 -05:00
Jeremy Allison
b68b05854f r15210: Add wrapper functions smb_krb5_parse_name, smb_krb5_unparse_name,
smb_krb5_parse_name_norealm_conv that pull/push from unix charset
to utf8 (which krb5 uses on the wire). This should fix issues when
the unix charset is not compatible with or set to utf8.
Jeremy.
(This used to be commit 37ab42afbc9a79cf5b04ce6a1bf4060e9c961199)
2007-10-10 11:16:28 -05:00
Günther Deschner
ad8493d90c r15198: Mention the auditing tool in "net rpc help".
Guenther
(This used to be commit e55e1e1e96e1a1e6d2bcc5897a44828ddc2c9f3b)
2007-10-10 11:16:28 -05:00
Paul Green
e18c9a926f r15196: Update a comment that I found confusing (I confuse easily).
(This used to be commit eb53f01863f8f9d2980d9c2c8d27899dd39e5fa2)
2007-10-10 11:16:28 -05:00
Günther Deschner
8fca274e47 r15194: We need to be able to join as PDC as well. Thanks to Andrew Bartlett.
Guenther
(This used to be commit ba81b508caa4ab21a04d142f3621e43a55e859cf)
2007-10-10 11:16:28 -05:00
Lars Müller
e241563472 r15180: Use tdb_lock_bystring_with_timeout().
(This used to be commit 1ff6ae68b66ec3c78abbadd1fb9d50e50fc247dd)
2007-10-10 11:16:28 -05:00
Volker Lendecke
ba6f1b1f9e r15175: Try to get Stratus VOS back to build. Thanks, Paul.
Volker
(This used to be commit 74511aed221d7f9856fed7532f24c789c49c8175)
2007-10-10 11:16:28 -05:00
Volker Lendecke
817aa0bea3 r15174: Check in Ronan Waide's wbinfo -i. Thanks :-)
Volker
(This used to be commit c4cdb8086a3aa8a2e1f724e70616143adfea6e87)
2007-10-10 11:16:28 -05:00
Volker Lendecke
22c4ad8a10 r15173: Fix a non-critical memleak
(This used to be commit bb8c69162f9228343e0b05812e0e5a9ca4eb56bf)
2007-10-10 11:16:27 -05:00
Jeremy Allison
7b75d2c650 r15162: Patch for bug #3668. Windows has a bug with LARGE_READX
where if you ask for exactly 64k bytes it returns 0.
Jeremy.
(This used to be commit dcef65acb5bc08ea4b61ef490a518b7e668ff2ee)
2007-10-10 11:16:27 -05:00
Jeremy Allison
ad1fcb7b15 r15160: Fix from William Jojo I thought had already been added (but
hadn't).
Jeremy.
(This used to be commit dcbece8254e5de861d04b691d733616fc25cd585)
2007-10-10 11:16:26 -05:00
Gerald Carter
4af4ccc1ab r15154: bump version to 3.0.23pre2
(This used to be commit d6940c09cc9b9ac8bd4cba95ca382fa63c19748b)
2007-10-10 11:16:26 -05:00
Alexander Bokovoy
3cd1101c9b r15152: Fix a case when target is offline. Jerry, this needs to be in 3.0.23pre1
(This used to be commit f068862e56861d74021d72726248cb738a2ff0fe)
2007-10-10 11:16:26 -05:00
Günther Deschner
97355b7e35 r15150: Adding winbind debug class to the main daemon.
Guenther
(This used to be commit 37d03695c6fb4aa02522c1739b9783c5dc7bf735)
2007-10-10 11:16:26 -05:00
Jeremy Allison
2ebcc2933a r15141: Fix for #3592 inspired by Justin Best <justinb@pdxmission.org>.
Ignore a file in a tar output if the first read fails. Also
cope with <2GB read fail.
Jeremy.
(This used to be commit 1b73e699e11c6e26e9a9123e74190eebd170fc05)
2007-10-10 11:16:26 -05:00
Jeremy Allison
f60111e074 r15138: Teach Samba the difference between exclusive and batch oplocks.
Pass Samba4 oplock test (with kernel oplocks off).
Jeremy.
(This used to be commit 3c260bcce2de76d724279e07dca61eadddfb8782)
2007-10-10 11:16:26 -05:00
Volker Lendecke
fb1f83b05d r15137: Refuse to join if our netbios name is longer than 15 chars. I think this is
sufficient to fix bug #3659.

Volker
(This used to be commit 0ef5e4372c45a60d66a902a6dbca58ae98529358)
2007-10-10 11:16:26 -05:00
Volker Lendecke
d4d04313ea r15136: Fix join consistency check
(This used to be commit a6e88785e7116c1a88e1bfdfa2afadecd501bfb0)
2007-10-10 11:16:25 -05:00
Volker Lendecke
335637b2eb r15133: in_server is not used anywhere
(This used to be commit c981bc7f31483e7821b9654eb30d665283aa07d5)
2007-10-10 11:16:25 -05:00
Volker Lendecke
396b377971 r15132: Fix some shadowed variable warnings
(This used to be commit 97d2c20b0b37ac07b6e37e9614ff41ab7e131c98)
2007-10-10 11:16:25 -05:00
Jeremy Allison
0498f3b889 r15129: Separate out mechanism and policy for NTLMSSP auth/sign/seal.
With this change (and setting lanman auth = no in smb.conf)
we have *identical* NTLMSSP flags to W2K3 in SPNEGO auth.
Jeremy
(This used to be commit 93ca3eee55297eb7fdd38fca38103ce129987e2a)
2007-10-10 11:16:25 -05:00
Günther Deschner
4549efe696 r15123: Don't even try to join with an inproper configuration.
Guenther
(This used to be commit 22b687589785051eca16a868e3475f066b647ea7)
2007-10-10 11:16:25 -05:00
Volker Lendecke
bdbd173e8c r15119: Initialize our global sam sid first, quite a lot of the other initialization
routines further down depend on it.

Fix bug 3696.

Volker
(This used to be commit 6c65cccc83aa7b726e23684f979f1488bed3f751)
2007-10-10 11:16:24 -05:00
James Peach
e69b32e8c2 r15116: Allow the user to set winbind nss timeouts in seconds on IRIX. Don't
convert the default timeout to milliseconds twice.
(This used to be commit 853ebd6e84cf52a309945f39cdf188ca346da8eb)
2007-10-10 11:16:24 -05:00
Jeremy Allison
6ca1ba3814 r15115: Fix error return on sessionsetup. Ensure no
data blob is added if the logon call failed.
Jeremy.
(This used to be commit 71d0191c313e2106ae2bdef3119b3ff6e591ee1b)
2007-10-10 11:16:24 -05:00
Jeremy Allison
5445694eb9 r15112: Move strict locking default to auto. Fix up the error
return for one of the Samba4 torture tests.
Jeremy.
(This used to be commit 9db6617756ff155eb7549c3c622a9920189e577d)
2007-10-10 11:16:24 -05:00
Jeremy Allison
a3fdf8ac21 r15107: 64 bit fixes. size_t on a 64-bit box is not uint32.
Jeremy.
(This used to be commit 634e0dc3c73968da8f1f50186ca15f8873f380ce)
2007-10-10 11:16:23 -05:00
Volker Lendecke
30832e95dc r15104: Implement Samba4's tdb_name().
Volker
(This used to be commit d52002c1c9d28e637ca4d1553e800b0b97790f36)
2007-10-10 11:16:23 -05:00
Volker Lendecke
76e581b983 r15103: Okay, looking closer: Samba4 tdb not exporting u32 is a bug in samba4's
tdb. tdb_open_ex needs it. Can someone from samba4 tell me how this should be
handled?

Thanks,

Volker
(This used to be commit 0a2f1ed5e9012e07ef158666b68994d0961768b6)
2007-10-10 11:16:23 -05:00
Volker Lendecke
4f24046294 r15102: u32 is a tdb-only thing that's not exported by samba4 tdb. Replace by uint32.
Volker
(This used to be commit 0a1665a1b78d063840e42e85229ace5a751e3985)
2007-10-10 11:16:23 -05:00
Volker Lendecke
e17302200c r15101: Little step towards getting Samba4 tdb into 3: tdb_lock_bystring does not
have the timeout argument in Samba4. Add a new routine
tdb_lock_bystring_with_timeout.

Volker
(This used to be commit b9c6e3f55602fa505859a4b2cd137b74105d685f)
2007-10-10 11:16:23 -05:00
Volker Lendecke
76a2ac3ac3 r15098: Make smbclient -L use RPC to list shares, fall back to RAP. This should list
long share names.

Volker
(This used to be commit d3d388180dacb7b9db5d122bc3f2ce1045434f53)
2007-10-10 11:16:23 -05:00
Lars Müller
afb96206aa r15093: Align to the last winbind changes.
(This used to be commit 74fa3a2554b769382b2b3b43adfbc0cfbca3cd10)
2007-10-10 11:16:22 -05:00
Jeremy Allison
010c725b36 r15088: Remove all time() and gettimeofday() calls out of the mainline
packet processing code. Only do these when needed (ie. in the
idle timeout code). We drop an unneccessary global here too.
Jeremy.
(This used to be commit 8272a5ab0605fcf95527143c4f909aa1008e5b94)
2007-10-10 11:16:22 -05:00
Gerald Carter
a2e2032d08 r15086: Get defensive about creating user accounts when winbindd
fails (but is present).
(This used to be commit 77fb19c45dcb07f5b675831979fbd74a99e30638)
2007-10-10 11:16:22 -05:00
Jeremy Allison
cc203f3e59 r15084: Try and squeeze more out of the non-read/write code path.
Jeremy.
(This used to be commit 23dcff4d50d1d35b7ddee0d0cb79c16a312f179c)
2007-10-10 11:16:22 -05:00
Jeremy Allison
713eaf1d67 r15083: Using talloc with destructors is nice and all, but in this
case it's in a performace critical path and it *hurts* us.
Go back to plain malloc/free with an explicit destructor
call.
Jeremy.
(This used to be commit 1c99aed563c29e1b3d70939878af747a0660bfec)
2007-10-10 11:16:22 -05:00
Günther Deschner
1f19676903 r15080: As discussed with Jerry, remove the CAP_LIBS again (we don't need that
handling anymore when we remove $(LIBS) from pam_winbind again.

Also make sure to build our own copy of iniparser with -fPIC.

Guenther
(This used to be commit e32c4f6f6e090ca5babe9f131bbcb9babedcec05)
2007-10-10 11:16:21 -05:00
Gerald Carter
8aa8b0db84 r15074: Remove -lcap from pam_winbind (not needed)
Temporary linking fix for --with-included-iniparser
(gd will do a proper fix later).
(This used to be commit 7d5adcf3a7237d130efea6cc9f6e5d28e65e2e51)
2007-10-10 11:16:21 -05:00
Gerald Carter
9de61b560a r15072: Last bit of 32/64 bit portabilities fixes for winbind
clients and aservers.  Strange compiler-fu on 64-bit
SLES9 says sizeof(time_t) == 4 but the memory alignment
is on 8 bytes.  Change time_t to uint32 to fix alignment.
Remove 'char **gr_mem' from struct winbindd_gr since
it was not being used.
(This used to be commit b68e66d5c4f7348e674b8a009656ebfbbc06e288)
2007-10-10 11:16:01 -05:00
Volker Lendecke
87029b8b4a r15068: Fix a shadowed variable warning
(This used to be commit 066f69fe88b360b856f3dc49089f8c21b721cce9)
2007-10-10 11:16:00 -05:00
Jeremy Allison
fdd55885da r15060: The brlock code gets called a lot. Ensure we keep the
key around while we're using it - saves many calls to
locking_key() (now deleted).
Jeremy.
(This used to be commit 2f8b527dcf4a36fbb933ce79c720c0425de76b4a)
2007-10-10 11:16:00 -05:00
Gerald Carter
8c9eb7631e r15053: fix portabilities issues between 32-bit winbind clients and a 64-bit winbindd server
(This used to be commit a95d11345e76948b147bbc1f29a05c978d99a47a)
2007-10-10 11:16:00 -05:00
James Peach
7a5ff0885d r15047: Add support for using libunwind to generate a backtrace. This is
primarily intended for ia64 systems where libunwind knows more about
the different ways of walking the stack that just about anything else.
(This used to be commit 256a19d722f360dac3c8e83f5bfac453fa70db96)
2007-10-10 11:16:00 -05:00
James Peach
a407405438 r15046: Fix bug #3490 reported by Jason Mader. Do not continue to check for LDAP
and AD requirements if --without-ldap and --without-ads have been given
to configure.
(This used to be commit 1d5e4830d33906da433655ecaf87300ed874b06f)
2007-10-10 11:15:59 -05:00
Günther Deschner
3f2b06d614 r15044: Fix the build. (void returning non-void).
Guenther
(This used to be commit 3ff278b852b4085461127bc7ccb2c5dba81fb3c8)
2007-10-10 11:15:59 -05:00
Günther Deschner
c8fabfbf19 r15043: Only build our copy of iniparser when the system doesn't have one.
Guenther
(This used to be commit 5ae22cf46b1077b8892a2941a2891fe7412f1b9f)
2007-10-10 11:15:59 -05:00
Günther Deschner
655b04e4f8 r15041: Adding rpc client calls to manipulate auditing policies on remote CIFS
servers. Also add a new "net rpc audit" tool. The lsa query infolevels
were taken from samb4 IDL, the lsa policy flags and categories are
partly documented on msdn. I need to cleanup the double
lsa_query_info_policy{2}{_new} calls next.

Guenther
(This used to be commit 0fed66926f4b72444abfc8ffb8c46cca8d0600aa)
2007-10-10 11:15:59 -05:00
Günther Deschner
adc0a34ceb r15040: Stripping the parametric options in pam_winbind and use
/etc/security/pam_winbind.conf as config file for the PAM module by
default.

Guenther
(This used to be commit 41b79ee80c7b0f4836ded51d42c7dc91cba75ccd)
2007-10-10 11:15:59 -05:00