1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-31 01:48:16 +03:00

7971 Commits

Author SHA1 Message Date
Andrew Tridgell
85d7e70d1f fixed mapping of SIDs for local users
(This used to be commit df9e345366078ccaa94df7c2f2e33b292605e88a)
2002-03-13 00:19:40 +00:00
Andrew Tridgell
08a0230855 fixed 2 reconnection bugs in the ADS backend support
(This used to be commit 1aaa2091d54e7e50cf75927d658e57776792d6ae)
2002-03-12 20:17:34 +00:00
John Terpstra
fc3d0ca2cd Sorry, forgot to commit this last night.
(This used to be commit 8e2f4bb35be5bf5db379c8e047cd2882e26f433e)
2002-03-12 19:29:16 +00:00
Andrew Tridgell
f36deb7b21 get the test for disconnection the right way around!
(This used to be commit ed80311b41f9869084d1e510cd8fd4213c3a1c19)
2002-03-12 18:47:27 +00:00
Jim McDonough
34dd544343 Yet another build fix for popt. I gotta get me one of these picky systems...
(This used to be commit 19546bdd5541785dc8430f8ffa2afcdb42015b96)
2002-03-12 17:30:09 +00:00
Jim McDonough
b9377e811e Missing comma from systems that have ACLs.
(This used to be commit 96e4282dca757e8621d23a54fb7203c93d2d41fc)
2002-03-12 16:32:25 +00:00
Jim McDonough
fb361dc503 Aack. Don't change too much. vfs.c still won't build, but this should fix some other build stuff I screwed up.
(This used to be commit 4490ad340cff1ea2a5b519150ad5c49bcea23766)
2002-03-12 15:21:04 +00:00
John Terpstra
cbad04053f Update samba.pam from 2.2.4pre branch.
Fixups for incorrect man page location by installman.sh
	- Note: FHS standard for man pages if /usr/share/man/XX
		where XX is the language mneumonic
(This used to be commit e3e0a5aca9593f18e5f218b54641048cd823ac03)
2002-03-12 06:52:35 +00:00
John Terpstra
89d998547d Fix up location of libsmbclient.so so it always goes to /usr/lib.
(This used to be commit e508b07fe766c679d6fc2a940bec72b9b2a61b01)
2002-03-12 06:48:48 +00:00
John Terpstra
8859f627a2 It builds the RPMS, now for the testing...
(This used to be commit 917a5f2cdb861dca1708585f6b7ff51f576ca497)
2002-03-12 06:18:00 +00:00
John Terpstra
4ccc894a37 Cleaning things up for test deployment.
(This used to be commit 675a78d09a693004cf959fd6cec62b6b72c67194)
2002-03-12 05:28:09 +00:00
John Terpstra
9ec285c568 Added wins entry.
(This used to be commit a4be3b7b93ac95d16c01519a57fd9c57b20ffcae)
2002-03-12 04:18:51 +00:00
John Terpstra
82bd0604d0 Hack, hack, where is my sledge hammer?
(This used to be commit b07aa46d83810009d5d690f81cf82932dd67f04c)
2002-03-12 04:17:48 +00:00
Jeremy Allison
8cb4e34b3a Removed unused var.
Jeremy.
(This used to be commit 45bf5f6c050bbe69209a5c80141ef8e54354f5ea)
2002-03-12 02:33:31 +00:00
Jeremy Allison
0235736212 Ensure, if we're a PDC or BDC, that the SID stored for the domain name
and the machine name are identical.
Jeremy.
(This used to be commit 87e6b08964d13d6613342c9be21871a2e776e2e6)
2002-03-12 02:26:33 +00:00
John Terpstra
879c18397c Still hacking at it.
(This used to be commit 153091597cd4f2e26a3aa80c32bba27bc358b0b2)
2002-03-12 01:01:04 +00:00
Tim Potter
92e59edc41 Merge of enumprinters vs getprinter naming patch from 2.2
(This used to be commit dfd51bc8d0714473880bf50369f7994304c1d83f)
2002-03-12 00:16:03 +00:00
Jeremy Allison
3bb219161a Added POSIX ACL layer into the vfs.
Jeremy.
(This used to be commit 7d59445b6962547a8938928a9371651a09e26516)
2002-03-12 00:08:08 +00:00
Tim Potter
6a5adf3051 Added tdbbackup.
(This used to be commit a41750f86af2840e207be310d2036fad7bfb7cf3)
2002-03-12 00:05:22 +00:00
Tim Potter
40976c3bc6 Removed bogus calles to D() debugging function. Perhaps these should
be replaced by DEBUG() calls?
(This used to be commit 33dd07d1fc6946e53d3bdaad025adfc20abfab77)
2002-03-11 23:59:20 +00:00
Andrew Tridgell
87bba35a62 always make winbindd try for the PDC first before trying for a BDC
this prevents propogation delays in the SAM between the PDC and BDCs
(This used to be commit 967cb3ed0c3190f3e95a227e4d998a7312b5990b)
2002-03-11 22:25:14 +00:00
Jeremy Allison
db4c62d7ed Implemented default ACL patch (set inherit acls = true on a per share basis).
Based on code donated by Olaf Frczyk <olaf@cbk.poznan.pl>. Further commit
will change to sending via vfs interface.
Jeremy.
(This used to be commit d85133e2697eb22f1573c78447b57791ae63dd6b)
2002-03-11 21:57:12 +00:00
Jim McDonough
3bc38669ef Another program converted to popt...smbstatus this time.
(This used to be commit 00d3a064f16101fecebaeaaabaf841f0a5c91523)
2002-03-11 21:37:01 +00:00
John Terpstra
c82ff4c942 More temp. changes. - Bear with me, this will soon be resolved.
(This used to be commit cb38843ac753992be0c6a109a8de175b73fe7db2)
2002-03-11 21:35:38 +00:00
John Terpstra
54f52525c2 Transient change - not final - don;t want to lose this between systems and testers.
NOTE: This is not useable for now.
(This used to be commit 0fe968378a94e70c8a7c4b15bf2516ded1edd52c)
2002-03-11 19:37:01 +00:00
Andrew Tridgell
59100a45a0 only try an ordinary file in lock6
(This used to be commit 965e23537c284dd312c714c111ec172d9a33b019)
2002-03-11 15:56:59 +00:00
Andrew Tridgell
bd3a6e6cc9 put in the ADS DNS hack, but commented out
(This used to be commit 3396a671c59e6afe70a22ce64e4a9381b1d6fef8)
2002-03-11 04:06:30 +00:00
Andrew Tridgell
9bdb6e2b22 expanded the lock6 test a bit to try lsarpc as well
this allows us to check that we refuse locking on pipes
(This used to be commit 3e69ea6846e455d6ebb15e4481d4f98fd038c8a2)
2002-03-11 01:57:39 +00:00
Andrew Tridgell
2fb07df753 added a LOCK6 test for weird lockingX lock type bits
warning! this test reboots w2k or wxp
(This used to be commit 568e1d7b4389e5a49aa1d52eb4c74bc53dbc125f)
2002-03-11 01:37:08 +00:00
Andrew Tridgell
57970fd4e2 make sure we give an error for unknown lockingX locktype bits
(This used to be commit 72cb43b912a4c1831f9d7b2fd23ce51aebb09c8f)
2002-03-11 01:34:14 +00:00
Andrew Tridgell
cc24c353bb added cli_locktype() for testing different lockingX lock types
(This used to be commit 136b9752fc9da86f0ad0e1f46dc389b752975aea)
2002-03-11 01:33:06 +00:00
Andrew Tridgell
ec4f138436 a bit more portability for tdbbackup
(This used to be commit 6edb5bea5f6dcbabe29f772c7ad7bcaaf2a72d53)
2002-03-11 00:01:54 +00:00
Andrew Tridgell
0843c37abd failed timed locks always give LOCK_CONFLICT not LOCK_NOT_GRANTED
(This used to be commit ec71c1a66f9fd4b9cb4cad5a9b5b17e20de7aeb1)
2002-03-10 23:18:44 +00:00
Andrew Tridgell
e450ba6639 added -E and -Z options, and allow for the 2 servers to have different
usernames/passwords
(This used to be commit 0ae4ba18e578d35206628fa29203c8becbbdc5cd)
2002-03-10 23:17:47 +00:00
Andrew Tridgell
be389e25dd this attempts to handle the rather bizarre lock cache semantics in
w2k. It isn't entirely accurate, but its close
(This used to be commit e02d7364707c4939efa4ff0ddf9b6d4f48e5d411)
2002-03-10 23:17:07 +00:00
Andrew Tridgell
69b395d2c1 better handling of a zero timeout in cli_lock
(This used to be commit 56662a75f58d35cec1a5b2d6c9a4315d95a22420)
2002-03-10 23:16:15 +00:00
John Terpstra
59361453d9 Update to build 3.0.0 alphas
(This used to be commit 9c4011d6519b05a311b168f6d48b71bb3680b345)
2002-03-10 21:49:04 +00:00
John Terpstra
590bace59d Initscript from 2.2.4 tree.
(This used to be commit d61f3810443a1828ea8c6c6782708f3ddd7caaea)
2002-03-10 21:41:56 +00:00
Andrew Tridgell
96300f6008 make tdbbackup more portable
(This used to be commit 9cc1dadfb09c2352ed188d668b02ccffaa009895)
2002-03-10 08:30:15 +00:00
Andrew Tridgell
1975b3e4a2 forgotten file, oops
(This used to be commit 98196e79b733e029341578b382bdfabf3f9a0bdc)
2002-03-10 06:56:59 +00:00
Samba Release Account
1b285c23c9 preparing for release of 3.0-alpha16
(This used to be commit 77fe6a914888f09f96b4468ea5d1bc1953fe63c5)
2002-03-10 04:45:18 +00:00
Martin Pool
a984db9723 Fix typo.
(This used to be commit 58c1b11439ef58313895a23a2e9a0ec735903eb6)
2002-03-10 03:14:00 +00:00
Andrew Tridgell
cfbbf73677 yipee! Finally put in the patch from Alexey Kotovich
<a.kotovich@sam-solutions.net> that adds the security decsriptor code
for ADS workstation accounts

thanks for your patience Cat, and thanks to Andrew Bartlett for
extensive reviews and suggestions about this code.
(This used to be commit 6891393b5db868246fe52ff62b3dc6aa5ca6f726)
2002-03-10 01:54:44 +00:00
Andrew Tridgell
9b9d681870 try to use our workstation account password for ADS leave
(This used to be commit 2a42e91397d7871d326abed0e99af297e71dd77e)
2002-03-10 01:52:09 +00:00
Andrew Tridgell
683ba419ff add a note about the meaning of global_sam_sid
(This used to be commit 3db97530b62ac12d334d0244ea52db8750cebf2e)
2002-03-10 01:51:15 +00:00
Andrew Tridgell
b84c24092e remove an unused variable
(This used to be commit 9c44ad4e42892be8fc99998fd53c3027353c0d1b)
2002-03-10 01:47:12 +00:00
Andrew Tridgell
34623e023a prevent bogus compiler complaints about comments in comments
(This used to be commit 73b3487daf4d7c65aac2c8ec150539791d19e1f5)
2002-03-10 01:46:56 +00:00
Andrew Tridgell
664fa8e572 return the correct SID and domain name for the samr enum_domain and
lookup_domain calls. We were incorrectly returning the PDCs domain
nameand SID when we are a domain member. We should only do that when
we are the DC
(This used to be commit f56d689497eaa670cbfb214486ba88d5972129db)
2002-03-10 01:45:49 +00:00
Andrew Tridgell
02a601b98c rewrote the machine sid storage code to store the SID in secrets.tdb
rather than MACHINE.SID. We try to load MACHINE.SID only if we can't
fetch the SID from secrets.tdb

This also fixes the value of global_sam_sid for the DC/non-DC case
(This used to be commit bcd018f07c2e2c0aabdb4574d199d7f5f199a264)
2002-03-10 01:44:21 +00:00
Andrew Tridgell
e7d5f890f5 make sure we use consistent keys in secrets.tdb by uppercasing domain
names
(This used to be commit 4cb7b6954b96e6964743e65413e122f7b4d39052)
2002-03-10 01:43:04 +00:00