summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-06-18Ok, this patch removes the privilege stuff we had in, unused, for some time.Simo Sorce16-689/+184
The code was nice, but put in the wrong place (group mapping) and not supported by most of the code, thus useless. We will put back most of the code when our infrastructure will be changed so that privileges actually really make sense to be set. This is a first patch of a set to enhance all our mapping code cleaness and stability towards a sane next beta for 3.0 code base Simo. (This used to be commit e341e7c49f8c17a9ee30ca3fab3aa0397c1f0c7e)
2003-06-18Updated Debian patches so they apply cleanly and without warnings atEloy Paris1-11/+10
build time. (This used to be commit 37acf55b609e90d4ae1a4b6bafb6067487352cee)
2003-06-18Remove the -A option of wbinfo, leaving only the long version,Jim McDonough1-1/+1
--set-auth-user. There was enough confusion, as in bug #158, when a user accidentally typed -A instead of -a, and would get themselves stuck with a non-working winbind. I've made the changes to docs/docbook/manpages/wbinfo.xml, but I'm not sure what to do beyond that. Is checking that in enough? (This used to be commit 70fe85e4698ce2c26372b050417986bf4a96680b)
2003-06-18There's nothing particularly secret in idmap.tdb, so create it withVolker Lendecke1-1/+1
0644 as the other databases. Volker (This used to be commit 5849053930474b1e735f3232995813ef5126ad00)
2003-06-18And some more memory leaks in mapping.c and pdb_tdb.c. tdb_nextkeyVolker Lendecke2-2/+15
mallocs its key, so we should free it after use. Volker (This used to be commit 9750799ba2e1aaa59fa255f23880c9c618195c3d)
2003-06-18Better panic cleanly than segfault later when no sid can be found and created.Volker Lendecke1-2/+3
Everybody who calls get_global_sam_sid expects this to return non-NULL, and there are way too many places where this is called. Volker (This used to be commit 2dfa896e6fdd52aa0eebe7d811c7b4072fe98be3)
2003-06-17And more other memory leaks. One new (idmap) and one ancient (groupdb).Volker Lendecke2-0/+5
Volker (This used to be commit 2392f460aeb11f32759e84faf1e7ace73c5db281)
2003-06-17Fix a memory leak in pdb_tdb.c.Volker Lendecke1-0/+2
Simo, I remember you complaining about a memleak there, could it be this one, or did you resolve it at that time? Volker (This used to be commit c660595deda2ce836c0a191da0236f850004ba0d)
2003-06-17Make static (patch from metze)Jelmer Vernooij2-2/+2
(This used to be commit 908b16cc2a8b6c5c67aae0e1af9d51f57fe31212)
2003-06-17Fix building idmap_winbind as shared moduleJelmer Vernooij1-1/+1
(This used to be commit 255603779621be4025d4892f589f39f3bfa08976)
2003-06-17The return value of init_module functions is NTSTATUS, not intJelmer Vernooij2-6/+4
(This used to be commit f09df852ac0b25470fb9435c79a4a417e06e9b75)
2003-06-17Fix memory leak in idmap. Valgrind is soooo cool.Volker Lendecke1-0/+2
Volker (This used to be commit dcdb6683a7c9d675c23cc2c0295cefec81f469a7)
2003-06-17Const fixes by metzeVolker Lendecke3-8/+8
Volker (This used to be commit c0e35f3be8a33f19823826c5a84c885764c62508)
2003-06-16Update link to DTDJelmer Vernooij1-1/+1
(This used to be commit 2737518b2571fecf60fcbcd99575dd6cf5bd0bdb)
2003-06-16Add DTD used by XML passdb backendJelmer Vernooij1-0/+46
(This used to be commit f3fd321b61dbf53b1dc33a42afe8a943c94c1135)
2003-06-16Fix for non-bourne shellsJelmer Vernooij1-4/+4
(This used to be commit 4ffe0b9f5452ce60511a030febe4e92dfa853073)
2003-06-16Fix caseJelmer Vernooij1-1/+1
(This used to be commit def4f2e81c8d6a73e372827a94bdf027b68c60b6)
2003-06-16Squelch one small compiler warningRichard Sharpe1-1/+2
(This used to be commit d9ac2540dd0d56d97625fa02e55a57a1f5ac4abf)
2003-06-16Patch from metze to update VFS docs to include notes on multiple instancesJelmer Vernooij1-23/+43
of the same VFS module (This used to be commit 32ef93d31c9e5bad290c9ac35ca59d8e5215811d)
2003-06-16- Only put PNG files in CVS, not EPS.Jelmer Vernooij2-1/+2
- Remove tag that breaks tex build (This used to be commit 569675412675b864273a23794d423ac061fe20d5)
2003-06-16Replace all use of bzero with memset ...Richard Sharpe1-15/+15
(This used to be commit e21aab516b33b01536dd9ea067a16b94a38ff4b1)
2003-06-16Fix some information, based on comments by Andrew Bartlett.Jelmer Vernooij2-48/+26
(This used to be commit 443b00c949b37b2fe593adb9d46ad248e69f9deb)
2003-06-16This glosses over John's problem at SambaXP 2003. When we want to joinVolker Lendecke1-3/+17
a NT4 domain as a BDC with an existing workstation account (existing bdc is fine), we fail. Print a friendly error message in this case. The correct solution would probably be to delete the account and try again. But even this makes us better than NT: NT4 fails in this situation with an empty warning message box and an unusable BDC. It has unsuccessfully tried to suck down the domain database, and thus has no administrator account to log in after reboot.... Volker (This used to be commit 1ddeea2179b11cedccf205c7ffea523ee6750b24)
2003-06-16Fix misleading debug message.Volker Lendecke1-1/+1
Volker (This used to be commit a4f76f2520515d820eb4a320036b998c88c596a8)
2003-06-16Make net rpc vampire return an error if the sam sync RPC returns an error.Tim Potter1-9/+29
E.g if we are pointing at a win2k native mode domain we are returned an NT_STATUS_NOT_SUPPORTED error. (This used to be commit 6053c30f26cdf60f2bbfa6fb58ced6f7bcbd2e83)
2003-06-16Quieten another debug message.Tim Potter1-1/+1
(This used to be commit 2c47893c7542889d9e2ee097897a1df248b1a5e2)
2003-06-16Quieten debug message.Tim Potter1-1/+1
(This used to be commit 02d12cc4b9b9c5cfb7a05a6c2cf71cc59144bec9)
2003-06-16Update nsstest to cope with wins NSS module as well as winbind NSSTim Potter1-12/+183
module. Use "wins" as the nss name to invoke this behaviour. Also, fixed nsstest so it doesn't segfault when a nss function can't be dlopened(). Log an error and abort the test gracefully instead. (This used to be commit 66bafbe371359bbdec402ae47bc15024bec33f4e)
2003-06-16Build libnss_wins.so as part of nsswitch target. Fix for bug #160Tim Potter2-15/+23
found by andreas@conectiva.com.br (This used to be commit fa24fd6f5b9f3648ca0db393905b577f205c8ee0)
2003-06-16we need to call ads_first_entry() before using a ldap result,Andrew Tridgell1-5/+12
otherwise we can segv or return garbage (This used to be commit d1316656b03e2bc85263b65d24977923ee6f39b7)
2003-06-16reverted locale patch put in by jht (originally from vorlon).Andrew Tridgell3-47/+0
There are lots of things wrong with this patch, including: 1) it overrides a user chosen configuration option 2) it adds lots of complexity inside a loop when a tiny piece of code outside the loop would do the same thing 3) it does no error checking, and is sure to crash on some systems If you want this functionality then try something like this at the end of charset_name(): #ifdef HAVE_NL_LANGINFO if (strcasecmp(ret, "LOCALE") == 0) { const char *ln = nl_langinfo(CODESET); if (ln) { DEBUG(5,("Substituting charset '%s' for LOCALE\n", ln)); return ln; } } #endif then users can set 'display charset = LOCALE' to get the locale based charset. You could even make that the default for systems that have nl_langinfo(). (This used to be commit 382b9b806b1ecd227b1ea247e3825d6848090462)
2003-06-16Fix some compiler warnings.Tim Potter1-2/+0
(This used to be commit eec1758e048f38e2ac48a7dda96b90a74ec95449)
2003-06-16another improved debug statementAndrew Tridgell1-1/+1
(This used to be commit ac69b9c83cde306f89143fe43038adff876dd0b0)
2003-06-16made a debug statement more usefulAndrew Tridgell1-2/+3
(This used to be commit 3f7a24d183095a7e391fe35100a30fc572a8d769)
2003-06-15Patch from vorlon@debian.org, see bugzilal #122John Terpstra3-0/+47
Samba should preferentially use the locale information from the native system, and only fall back on 'display charset' if this is unavailable or unsupported. (This used to be commit 1e445fb4220cdf4700dd9d1850a42746a1065c5a)
2003-06-15This patch is Vorlon's fault!John Terpstra1-22/+34
(This used to be commit 56d2049561e5d5c22ac9d76cb013643083d9644e)
2003-06-14Adding last two files.John Terpstra2-0/+10
(This used to be commit 91c6570c47e06c042bb2ad198af0dd48efbac4c4)
2003-06-14Adding missing docs to tree.John Terpstra30-229/+26347
These docs are needed for SWAT Support. Also, not everyone can build the docs so we do need to include them. (This used to be commit a1b6e7007b6257bc001e661c20fd20d4643b1eca)
2003-06-14Adding missing documents and man page stothe tree.John Terpstra9-594/+1039
(This used to be commit 7c65b3fc629e8ada61fb5ac16fcdcb6ef05d8b61)
2003-06-14Updating html stuff.John Terpstra17-542/+3433
(This used to be commit ab1f2fe4a840c9603bf5da5c133c137542fe0319)
2003-06-14Added missing man pages.John Terpstra2-0/+321
(This used to be commit f65370b5c4fd4f5d4c4fdffd87a7cbe0bc2a7021)
2003-06-14Updating smb.conf.5John Terpstra1-0/+6075
(This used to be commit af10f7860a3d85d9e1c9ece11fb2aa7b7df80745)
2003-06-14Fix typoJohn Terpstra1-1/+1
(This used to be commit 4d86c66b8356899b7316b63a2005b7a4dbc16e45)
2003-06-14Add 'net idmap restore'. This restores a broken idmap fileVolker Lendecke3-1/+115
from the output of 'net idmap dump'. 'net idmap dump' now also prints the USER/GROUP HWM. Volker (This used to be commit c0575be936572bb091a77c58361bd3a4fe9549ff)
2003-06-14This patch modifies 'net rpc vampire' to add new and existing users to bothAndrew Bartlett2-20/+43
the idmap and the SAM. The basic idea is this: Lookup the user with GetPwnam(), and if they exist then use that uid. This is what people expect. If the user does not exist, try and run the right script. This is also what people expect from previous Samba 3.0 behaviour, where the Get_Pwnam() was at runtime. If the idmap entry for this SID isn't valid, or isn't the right value, modify the idmap to account for this mapping. Also, the same logic is applied to the primary gid - if it has changed, update the user's primary unix group. This patch allows users to be added without a mapping - this is fine for machine accounts, for example. I've given it a quick test against my Win2k DC, and I *think* it's sane. Andrew Bartlett (This used to be commit d2a70bfff182352da50cd6c23ddfa80fe1b353c7)
2003-06-13Forward port the app-head changes for dc name cache into 3.0.Jeremy Allison5-38/+188
Jeremy. (This used to be commit 8bcc3116a22ce11b55a35f3363230f54bc5735fc)
2003-06-13Fix an spelling mistake.Richard Sharpe1-1/+1
(This used to be commit 8e37c1d579ed801fd602d698174f981deff435d9)
2003-06-13Trivial extension to 'net' to dump current local idmap.Volker Lendecke2-0/+62
(This used to be commit 18f3a5efea7c60d764d5ed82f3a83e1608f8c34e)
2003-06-13Rename some uuid functions so as not to conflict with systemTim Potter4-6/+6
versions. Fixes bug #154. (This used to be commit 986eae40f7669d15dc75aed340e628aa7efafddc)
2003-06-13Fix shadow variable warning.Tim Potter1-4/+4
(This used to be commit c22a4074bd2b998339826ba629fe48153639ec18)