1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-22 05:57:43 +03:00

8105 Commits

Author SHA1 Message Date
Andrew Tridgell
29478d3c23 r13098: make check for workgroup and realm case insensitive
(This used to be commit 0cacd69dd57254cb1b51ad7969993bc24bae86c7)
2007-10-10 13:51:24 -05:00
Andrew Tridgell
0fb2e148d1 r13097: move the creation of the default sam name -> unix name mappings into
the main provision logic, so it can also be used as part of the
vampire process
(This used to be commit 95e90169f4e5887ee88116179d96f28f9e06796e)
2007-10-10 13:51:24 -05:00
Andrew Tridgell
0108b1d4a9 r13096: explain what YOURDOM and YOUR.REALM are (in case people confuse the
different meanings of the word domain)
(This used to be commit 0cf99b055b3df00aa2baa8a88b3d154bff5fc9aa)
2007-10-10 13:51:24 -05:00
Stefan Metzmacher
a9109089c3 r13088: - handle non-active static entries
- improve verifiying a replica with a remote wins server
  we now take the ownership of replica records that doesn't match
  the answer from the wins owner and make the record tombstone.
  this hopefully causes the original wins owner to propagate its
  new record, so that it will be replicated back to us

metze
(This used to be commit 49199477f225f3d22b3c70bb4626b92ed096f310)
2007-10-10 13:51:24 -05:00
Stefan Metzmacher
dd5afc5a77 r13087: don't store timestamps for static records
(only a per record timestamp when it's not active)

metze
(This used to be commit aba54b870852a9e1ccc442703591fda0f5bde51b)
2007-10-10 13:51:23 -05:00
Stefan Metzmacher
627983ced0 r13084: fix 'make test'!
I would sugguest to run 'make test && make valgrind' before each commit
at this stage...

metze
(This used to be commit b7a0a778cc77f294aac589416b05dc676696d11e)
2007-10-10 13:51:23 -05:00
Stefan Metzmacher
52e90b4ad9 r13080: fix crash bug
metze
(This used to be commit 0372438000dec9640a2888d44c3114c18ec625ab)
2007-10-10 13:51:23 -05:00
Stefan Metzmacher
36b1a0f82d r13079: add SAMBA_VERSION_RELEASE_NICKNAME
if it's set in source/VERSION

smbd --version will print
4.0.0tp1 (Nickname)

metze
(This used to be commit 780870293b8109250b16101649f110ba22c1932b)
2007-10-10 13:51:23 -05:00
Andrew Tridgell
9c9b42a549 r13078: fixed the ldb comparison function for objectSids
(This used to be commit 3f0600e223c079f82190f7e2a709447d679163e9)
2007-10-10 13:51:23 -05:00
Jelmer Vernooij
541d84f934 r13077: Allow the mkversion script to be used for technology preview releases
(This used to be commit 2636e6c948c850e61debf75ff63b5d02f537e917)
2007-10-10 13:51:22 -05:00
Andrew Tridgell
82b6a5c9fc r13076: catch a easy to make error during vampire install
(This used to be commit 1c49ce8df0fd2150c68d0bf4162f1ef69ff3392a)
2007-10-10 13:51:22 -05:00
Andrew Tridgell
0ef2ef7a53 r13075: tell the admin what needs to be done to finish the install
(This used to be commit a6f5ad5289bb635be3b6c490a03dc7a1913baa30)
2007-10-10 13:51:22 -05:00
Jelmer Vernooij
83e420f93a r13074: Add oLschema2ldif manpage
(This used to be commit 3e3a0c96cdb631798cf2192d0b441d29b33428c0)
2007-10-10 13:51:22 -05:00
Jelmer Vernooij
dcb960e601 r13073: Add manpage for getntacl, disable setntacl
(This used to be commit 656e202233ff11b162a1137150faaaec68d74d2f)
2007-10-10 13:51:22 -05:00
James Peach
81a39f964e r13071: Work around a really annoying compiler warning where header file
ordering causes MIN and MAX to be redefined.
(This used to be commit 0eda8a31975fa6cf4f7026bccc5468fba957860d)
2007-10-10 13:51:21 -05:00
Jelmer Vernooij
818db3efd6 r13070: Add a simple smbd manpage, based on the Samba 3 one.
(This used to be commit cbcce3b5731d27e863c916731fe30acac0602c16)
2007-10-10 13:51:21 -05:00
Andrew Tridgell
e239a46dbc r13069: adding a hack on instructions from andrew
(This used to be commit 65cf522b5e079de2cfd5fc989350cc127f6c5baa)
2007-10-10 13:51:21 -05:00
Jelmer Vernooij
d8d745a09e r13067: Don't install ldbtest
(This used to be commit cc35a4bc0e6d44735fc3efabb1901161e2c6d36c)
2007-10-10 13:51:21 -05:00
Jelmer Vernooij
918e8feac3 r13066: Add (very simple) manpages for gepdump and gwcrontab, remove gwsam from
installed binaries (as it's not ready for use yet)
(This used to be commit 219aebe7e4283d2075ca3910ae700a16919120e4)
2007-10-10 13:51:21 -05:00
Jelmer Vernooij
4abecc0219 r13064: Add 'tags' target to LDB's makefile
(This used to be commit 8195e4f8566ecc71c801aec6638869c494e6bbb4)
2007-10-10 13:51:20 -05:00
Jelmer Vernooij
c95cac9420 r13063: Add --realm option to upgrade
(This used to be commit e6aa4e92f044712ecaa4bd7099d53d9c7d083c42)
2007-10-10 13:51:20 -05:00
Jelmer Vernooij
a54a66ddf1 r13062: Fix upgrade of WINS entries
(This used to be commit cc4cab341e51d26c90534777eae65b7683ed93ce)
2007-10-10 13:51:20 -05:00
Stefan Metzmacher
f25ad21617 r13060: - return only active addresses in name query responses
- replicate only active addresses

metze
(This used to be commit 6325abd95c5df855e8d1de2be9745940a29ba00a)
2007-10-10 13:51:20 -05:00
Stefan Metzmacher
b19ca85e97 r13059: stop playing ping-pong while replicating special group records,
if the addresses and their owners are idetical to the old record
and we're the owner of the old record then we should just gnore the replica

metze
(This used to be commit e4f823ef038eeb74a8a6de05207f2f9aae7262a1)
2007-10-10 13:51:20 -05:00
Stefan Metzmacher
1052673fa6 r13051: this is correct
metze
(This used to be commit ccfc991ad90a44784fc4372cfc8eb22756a09a6f)
2007-10-10 13:51:19 -05:00
Stefan Metzmacher
4915f16ab2 r13050: when we have reloaded the partners from wins_config.ldb
after a new partner connects, try to find the partner struct on a per call
basis if it's not present on the connection yet

add some more useful debug messages

metze
(This used to be commit e57158e216e3564faa337288734d9efb30ab838d)
2007-10-10 13:51:19 -05:00
Stefan Metzmacher
efe7ed72b5 r13044: I finally understand that the [charset()] and [string] properties
are independent...

fix some warnings

metze
(This used to be commit 6ae621437cdfd9ca5beac1d056f60d875a057b22)
2007-10-10 13:51:19 -05:00
Stefan Metzmacher
092fb9e791 r13037: fill in the corrent maxVersion in table replies
metze
(This used to be commit 165538245b0772c4618895779cd468feac8494c0)
2007-10-10 13:51:18 -05:00
Stefan Metzmacher
63bbc2aea6 r13035: active,special group replicas are overwritten by tombstone,special group replicas
metze
(This used to be commit cf669e4b2a4dcfb080cbb01a108797acad802f36)
2007-10-10 13:51:18 -05:00
Andrew Bartlett
6c44ca4eb3 r13034: A couple of clarifications on the release notes.
We still need a lot of work here.

Andrew Bartlett
(This used to be commit c975469f893f67a57fe9a333421ff83f9c365bc0)
2007-10-10 13:51:18 -05:00
Andrew Bartlett
aafdad851b r13033: Thankyou very much to Brad Henry for fixing up many aspects of the
release notes.  I will answer some questions and clarify some points
in the next commit.

Andrew Bartlett
(This used to be commit d01c4dd84895efdde6043b63dd377fe441366094)
2007-10-10 13:51:18 -05:00
Andrew Bartlett
984c7d809b r13031: A first stab at some release notes. Much work needed.
Andrew Bartlett
(This used to be commit 8ff6461e050077f2a94b1daad2c30b291b3e2a29)
2007-10-10 13:51:18 -05:00
Andrew Bartlett
aecd9827c6 r13019: Again protect us against format string mismatches, with the new split
out proto headers.

The reason this is done in this way is that the attribute must be on
the prototype, not the actual function defintion.  Hence the macros
which expand to nothing in the C file, but expand to an __attribute__
in the prototype header.

Andrew Bartlett
(This used to be commit a88933668f908a398bb0d8bc7dc39c96cee40de6)
2007-10-10 13:51:17 -05:00
Andrew Bartlett
bade0ad909 r13018: Fix (correct) warning about mixing C/js interface function types. I
don't use the arguments, but you must connect as the right type
anyway.

Andrew Bartlett
(This used to be commit f50186e9306714b25ae8f92eff9a3e95ad706274)
2007-10-10 13:51:17 -05:00
Stefan Metzmacher
eead6d310b r13007: let our winsclient code register multihomed records with
our winsserver and don't defend our local name against
our own register packets...

this won gave quite confusing logmessages...

metze
(This used to be commit 31ce24d7b1d2945c45c4f5d6376d5041df8b6982)
2007-10-10 13:51:17 -05:00
Stefan Metzmacher
c63937a1c0 r13006: always debug the unicast and broadcast address
metze
(This used to be commit f7481a4c8c9933e8a9ccfe10ca8e15afad717d99)
2007-10-10 13:51:17 -05:00
Stefan Metzmacher
ba4df97eb9 r13005: - use nbtd:max_refresh_time=12345 also for name refresh with a wins server
metze
(This used to be commit 5e3639edaf551068466caaf48faa9b2bbfed1041)
2007-10-10 13:51:17 -05:00
Stefan Metzmacher
a920f2f9a8 r13004: fix compiler warnings
metze
(This used to be commit 833efdf8a943b210ba8e5b219dc754260001bedb)
2007-10-10 13:51:16 -05:00
Stefan Metzmacher
5bd9b3b808 r13002: fix compiler warning
metze
(This used to be commit 3365ad950b1ffdbcff9e6c7fc8525988d1621938)
2007-10-10 13:51:16 -05:00
Stefan Metzmacher
34a815422e r13001: fix compiler warnings
metze
(This used to be commit 32cfd7c8df0fb0fe1da8a4d3acabbaa111326352)
2007-10-10 13:51:16 -05:00
Stefan Metzmacher
b5c818a583 r13000: fix compiler warnings
metze
(This used to be commit 880dd3538ef54af100a715acb72cc16b9947b617)
2007-10-10 13:51:16 -05:00
Stefan Metzmacher
4326572af2 r12999: fix compiler warnings
metze
(This used to be commit ec30a40f042016bc167382b63bd284f656ed7cb1)
2007-10-10 13:51:15 -05:00
Andrew Bartlett
7dad66d8e3 r12998: A big update to samldb.c
This updates the module to handle both SID allocation and nextRid
updating while importing users.  (As imported users already have a
SID, so don't go via the allocation step).  We also ensure that SIDs
in the database are unquie at create time.

Furthermore, at allocation time, we double-check the SID isn't already
in use, and that we don't create a foriegnSecurityPrincipal for a
'local' sid.

Also create random samAccountName entries for users without one (we
were setting $000000-000000000000).

We may want to seperate the uniqueness code from the rest of samldb,
and into a module with the objectguid code, which needs similar
checks.  These checks also need to apply to modification, or those
modifications denied outright.

Also update part of the testsuite to validate this.

Andrew Bartlett
(This used to be commit 7a9c8eee4bea88f5f0bb7c62f701476384b7dc84)
2007-10-10 13:51:15 -05:00
Andrew Bartlett
ba8406fd3f r12997: Feed the right event context to libnet in ejsnet and the auth code.
This should give better behaviour in SWAT.

Fix authentication as Samba, rather than System, users in SWAT.

Andrew Bartlett
(This used to be commit 498d72c4ad4d57d10f43ca58830d6ee8292a55f4)
2007-10-10 13:51:15 -05:00
Andrew Bartlett
1cb9484a42 r12996: Restrict this search to domain objects.
Andrew Bartlett
(This used to be commit 4d69eae382a789910d24ecadfb08b8d95a3c04b0)
2007-10-10 13:51:15 -05:00
Andrew Bartlett
2a187c94f0 r12995: Don't allow overrides on "name" from above, as it can't be correct.
Andrew Bartlett
(This used to be commit 4a50bf95b93310f640a4ba28990f054e85215551)
2007-10-10 13:51:15 -05:00
Simo Sorce
f81d80a4af r12989: move the control parsing and handleng functions to cmdline.c
so that they can be used by the other ldb tools as well
(This used to be commit c12b3c5cb46d428f815c623efacff8edebb6f6e3)
2007-10-10 13:51:14 -05:00
Simo Sorce
b5c432f77e r12988: delete an ancient file that misteriously survived till now.
(This used to be commit 7b9b1ced7d36a1adf8d86b3b434c9e5d4bdfab87)
2007-10-10 13:51:14 -05:00
Stefan Metzmacher
828ee2bc6f r12984: add parse code and ldbsearch cmdline code for
NOTIFICATION LDAP Controls
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ldap/ldap/ldap_server_notification_oid.asp

this doesn't work yet, but it shows that we need to extend ldb to correctly
handle async requests...

metze
(This used to be commit 1fe67189490c9faf499b68a28071a6294a53db0e)
2007-10-10 13:51:14 -05:00
Stefan Metzmacher
8139c1e6f2 r12983: - fix using a DIRSYNC cookie from the command line
- also w2k doesn't work correct with max_attrs = 0, so we should use
  a high number, with this I'm getting the same results from w2k and w2k3

metze
(This used to be commit ce9f086c3c1a65bf1b4c843ec44e8817d9361182)
2007-10-10 13:51:14 -05:00