summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r24365: Implemet backend for wbinfo -S, sid2uidKai Blin2-0/+79
(This used to be commit 682e7124fb4218ce599fdcea1399b6a7a46079e2)
2007-10-10r24364: Remove sync call from name2domain, bump debug level to 5Kai Blin1-13/+3
(This used to be commit 95783210d2d076b9df490acbec9de04b9828f999)
2007-10-10r24363: Add template shell and template homedir settings to smb.confKai Blin1-0/+8
(This used to be commit c7a44fcdc80cad5507750b110ac8ef7e8db815b5)
2007-10-10r24350: Remove offsetof() replacement to see if there are actually anyJelmer Vernooij2-5/+0
hosts that don't have it. (This used to be commit b37d86242de1ee82b0cd760d965f8ad37a83cf09)
2007-10-10r24345: Add --format=html option to selftest.Jelmer Vernooij6-9/+166
(This used to be commit de66bced9468b338e94d430a474616016c6078a5)
2007-10-10r24342: Move environments into a separate directory.Jelmer Vernooij7-94/+33
(This used to be commit e3fe7ef92bae1a870c9de9f90becb3a3c67f98fe)
2007-10-10r24339: Move output functions to separate files.Jelmer Vernooij3-178/+227
(This used to be commit f4ff4c5f61189c71ab60a5455272302add9e1d97)
2007-10-10r24338: Add callbacks for starting and finishing tests.Jelmer Vernooij2-11/+44
(This used to be commit 824833b59a1c9c829cea4e5c4bfd2387b1bc7a2f)
2007-10-10r24337: Make libreplace provide offsetof.Jelmer Vernooij3-4/+5
(This used to be commit 48d1aa4fcf6a323e3e6a14825f83cd20e3fc3a26)
2007-10-10r24336: Use standard data type uint32_t rather than tdb-specific u32.Jelmer Vernooij8-59/+56
(This used to be commit f90a698387c53508862eb6359bd4d1fba1d2b4b0)
2007-10-10r24335: Fix -N support.Jelmer Vernooij1-1/+1
(This used to be commit 18ea767d396bf6d956fd83ee3d2687d98897ae36)
2007-10-10r24333: Add convenience function for checking the contents of a file in tests.Jelmer Vernooij3-3/+29
(This used to be commit 4e304101241ea7bcb9111b757bb51b16665d492d)
2007-10-10r24313: Merge r23377 from 3_2Volker Lendecke1-2/+2
Patch from Bjoern Jacke <bjoern@j3e.de> to deal with non-GNU implementations of tr in autogen.sh (This used to be commit c77c74efdbca414ffc51415c52206eff6ca57fe3)
2007-10-10r24301: The less escape characters the better. This changes the winbindAndrew Bartlett2-3/+4
seperator to /, which is not an escape character, and uses the fact that we always support / as the DOMAIN/username seperator. Andrew Bartlett (This used to be commit 84c1bea458518a1550619a5103d8237fc4db2503)
2007-10-10r24300: Try to get the LOCAL-EVENT test to pass on hosts with epoll() inAndrew Bartlett1-1/+9
glibc, but not in the host kernel. Andrew Bartlett (This used to be commit bd70b0d1063c2ad471b1580361b818d64aadfe29)
2007-10-10r24286: (missed from previous commit)Andrew Bartlett1-1/+1
A number of machines on the build farm fail because while they use SOCKET_WRAPPER, they don't compile with --enable-developer. As such the winbind tests fail. We need to ensure that on production systems we never have SOCKET_WRAPPER set, or this could be a security issue. Andrew Bartlett (This used to be commit 3d2dbcf50dbe3d36ec86e1bc1d7bdcb72dbdef00)
2007-10-10r24285: A number of machines on the build farm fail because while they useAndrew Bartlett1-1/+1
SOCKET_WRAPPER, they don't compile with --enable-developer. As such the winbind tests fail. We need to ensure that on production systems we never have SOCKET_WRAPPER set, or this could be a security issue. Andrew Bartlett (This used to be commit eccc2d11da86661cb2086a6f5ce970571d744ec9)
2007-10-10r24284: change brlock_tdb.c to use the dbwrap API. This actually makes theAndrew Tridgell3-100/+67
backend abstraction for brlock pointless, but I have left it in place for now. It would be useful for other clustering systems that can't map to dbwrap, and would also be useful if we wanted to keep the remote function call capabilities in ctdb instead of the less efficient fetch_locked() call in dbwrap (This used to be commit 912c014b7c131ab051ff6eb2db4e68cb6fbbeb14)
2007-10-10r24283: added a dbwrap API for temporary databases, based on the one from theAndrew Tridgell5-0/+357
s3 clustering code. This commit just establishes the API. The ctdb backend for this will come soon. (This used to be commit 3767e755db7b58aee4ff375896beb00b133cc413)
2007-10-10r24282: Try to fix the occasional Samba4 crash in BASE-BENCH-READWRITE, asAndrew Bartlett2-5/+10
seen in particular on opi. This looked like a Heimdal problem, but I think it was simply that we didn't do a talloc_reference() to keep tabs on the memory we were using, and in between obtaining the pointer and using it, it was assigned to unrelated memory. Andrew Bartlett (This used to be commit a650ad8b37d58ba64458a33313714d1abfc4850b)
2007-10-10r24277: Tidyup as requested by metze.Andrew Bartlett1-8/+14
Andrew Bartlett (This used to be commit 43d62181f204fb32e487b7689729c1a91b8d23ad)
2007-10-10r24276: don't mark a stream readable until after the messaging setup isAndrew Tridgell1-2/+4
complete. This is needed because messaging setup with ctdb involve events, and we don't want a SMB packet to be processed on this stream until after the stream structure is fully setup (This used to be commit 8e378051e594372dfb2c00a380ef4bc151021ea2)
2007-10-10r24275: - setup the connection to the ctdb daemonAndrew Tridgell1-0/+17
- disable the brlock ctdb backend for now (This used to be commit b04bcf46e135af597b89994148a28275d29cdba6)
2007-10-10r24274: - merge from ctdb bzr treeAndrew Tridgell8-23/+200
- use ctdb_attach() instead of ctdb_db_handle() - make ctdb_attach() return an existing db handle if it exists (This used to be commit be85c48f8d4a22fd4ed922be6f7f1979f349d291)
2007-10-10r24273: Fix bug #4817 by <mwallnoefer@yahoo.de>. (Unable to add a computerAndrew Bartlett1-5/+10
from MMC Active Directory Users and Computers). Windows sets a 14 UCS2 char buffer as the password in this case. We need to allow random buffers to be accepted as complex passwords, even if they don't have ASCII upper or lower case characters. (If half the bytes are > 127, then it's likely a random buffer). Also make the test match the documented windows behaviour of '3 of the 4 classes: upper, lower, digit, special'. Andrew Bartlett (This used to be commit 5ef26a2ba3561580f0a73ee61eb707573cc98cd3)
2007-10-10r24263: Fix bug 4846 (unable to copy users in MMC Active Directory Users andAndrew Bartlett1-3/+47
Computers). We now generate a security descriptor for each object, when it is created. This seems to keep MMC happy. The next step is to honour it. Andrew Bartlett (This used to be commit 72f4ae82463c5c1f9f6b7f18f125c4c8fb56ae4f)
2007-10-10r24262: Set the objectCategory by default in the objectclass module, rather ↵Andrew Bartlett2-6/+10
than using templates. Modify the samba3sam test to be less fussy, and not use the objectclass module (which requires proper schema stuff now). Andrew Bartlett (This used to be commit 53c248c2645e86fbc8720860aed92a479483b528)
2007-10-10r24261: Fix the standalone ldb build after I moved the objectclass module out.Andrew Bartlett2-3/+0
Andrew Bartlett (This used to be commit c4c3afcdcb6ac5dc220f353b25689056484ac6c9)
2007-10-10r24260: Ensure we always override any existing values for these generatedAndrew Bartlett1-0/+4
attributes. Anything else leads to madness. Andrew Bartlett (This used to be commit af092a361df6b98e1890cbd3e2d1fed168701364)
2007-10-10r24259: Rework the objectclass module to use the new schema, rather than theAndrew Bartlett3-38/+37
ldb_subclass list. Next step will be to have this module also set the objectCategory and default ntSecurityDescriptor Andrew Bartlett (This used to be commit 0f7135a4685a1117a54c2f019df6c6de22b8dd32)
2007-10-10r24249: Thse generated attributes should not be pushed this far down the stackAndrew Bartlett1-69/+0
in any cse. Andrew Bartlett (This used to be commit 5f08a686a6b002a21803a0dd2f9ee0ae9ef928f5)
2007-10-10r24248: Attempt to fix bug #4830 by <mwallnoefer@yahoo.de>. If there is noAndrew Bartlett1-0/+1
payload to the control, we still need to inialise *value, as otherwise we read uninitialised data later. Andrew Bartlett (This used to be commit f6566480b7f1b4036b38284aa539f3a69f5c4573)
2007-10-10r24247: Remove extra newlines from ldb_debug() calls - it already adds one.Andrew Bartlett3-23/+23
Andrew Bartlett (This used to be commit e5fdcda2a1e97c587d48baf3521b18515277f6de)
2007-10-10r24246: Avoid the annoying 'probable memory leak in ldb' messages, by fixingAndrew Bartlett3-9/+11
some issues in the NBT server (this was a false positive, but easily worked around) and DRSUAPI server. We should take care not to use the ldb_context as a talloc pool, and to always ensure that any results from ldb_search() are moved off that pool with talloc_steal or talloc_free(). To work around the issue in provision, for which I can find no fault (other than a lot of work being done in provision), I've moved the detector trigger to 400 additional blocks. This fixes Bug #4810 by <mwallnoefer@yahoo.de> Andrew Bartlett (This used to be commit 42bcf856203ae3cf43130519904828a143ac8d18)
2007-10-10r24245: Fix bug #4828 - we need to set the samba LDB debug handler early, soAndrew Bartlett1-10/+20
we catch messages pushed out by modules during startup. This also sets an explict mapping between ldb and Samba debug levels. Andrew Bartlett (This used to be commit 50913a401dda9fb29a8c05f1926c41d3473efa93)
2007-10-10r24157: Merge from ↵Kai Blin1-1/+1
kai/samba4-gsoc.git;h=728deba680f8cf85cab168a6278a2cf657f65fdb Make WBSRV_SAMBA3_SET_STRING use safe_strcpy instead of strncpy. (This used to be commit 6b92b816fc70278d83d23f835275acf5f227dd74)
2007-10-10r24146: It is not an error for a Win2k3-only server not to support the NT4Andrew Bartlett3-0/+5
replication call. Andrew Bartlett (This used to be commit 59cba32c09f5b014788e4fb0479ed31f26a3d7e2)
2007-10-10r24127: Set the Domain SID into the libnet context, and have libnet_UserInfoAndrew Bartlett6-7/+20
return full SIDs for the user SID and primary group sid. This should help kai with his getpwnam work in winbind. Andrew Bartlett (This used to be commit 078671d5015c63e4bcd96815e150dae918763b83)
2007-10-10r24118: Start fixing #4842 (usrmgr polcies menu not working) by removing rangeAndrew Bartlett1-1/+1
restriction on the maximum returned size. There isn't a good reason to have a limit on this one. Andrew Bartlett (This used to be commit 9a8315019e20f736c6977451c1d1f1f3fcba16f2)
2007-10-10r24112: Complete initialistion of the libnet_ctx when setting up the domain.Andrew Bartlett1-0/+4
We need to set the access_mask and the domain name, or else libnet will try to do this itself. This seems to fix the issues Kai was having. Andrew Bartlett (This used to be commit 44c193272b05959c756ee0078d666bcdf1374023)
2007-10-10r24111: Untested code is broken code, untested code is broken code...Andrew Bartlett2-2/+2
Apologies for my previous commit, which should never have been commited untested. Andrew Bartlett (This used to be commit ec69f41d093df598cb3969be0efdd6b8b804d423)
2007-10-10r24110: I hate seeing callers manually filling in the composite context. UseAndrew Bartlett2-4/+3
the helper functions instead (and in kai's new code, which just copied the previous bad practice). Andrew Bartlett (This used to be commit 0908d8232e8621e5c7bce74b19e5d1e75fc115ab)
2007-10-10r24109: Add a wb_name2domain callKai Blin2-0/+132
(This used to be commit a6a45ab9706961ea2a9a7451d9a38cb8dea7baf2)
2007-10-10r24108: Split out samba3_parse_domuser to a seperate file and rename, so it ↵Kai Blin3-23/+51
can be used for a name2domain call. (This used to be commit 75e41da039e10127820635500e185e24ea55c777)
2007-10-10r24083: Don't fail the test (looking for the user in the enum) if we didn'tAndrew Bartlett1-3/+7
create the user in the first place. Andrew Bartlett (This used to be commit db0f81734d39b228dbfcf53b911edf83a2a2fd8c)
2007-10-10r24082: Following the removal of a fanstsy condition from the SAMR testsuite,Andrew Bartlett1-7/+0
allow the server side to enumerate all domain controllers and domain members... Andrew Bartlett (This used to be commit d42150ff0a05e891d36d1d3f1ec93952e6d4affd)
2007-10-10r24081: Domain Controllers are also shown in this enumeration.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit 3e332ff77120003da2a23df8e0d30a330847f0f1)
2007-10-10r24080: Set the primary group (matching windows) when creating new users inAndrew Bartlett3-4/+30
SAMR. This can't be done in the ldb templates code, as it doesn't happen over direct LDAP. As noted in bug #4829. Andrew Bartlett (This used to be commit 3bfa6dbf7ded06df78310f7bd39d8a8d4edbb4ef)
2007-10-10r24075: As suggested by metze, match the behaviour of ntvfs_posix, and removeAndrew Bartlett1-0/+1
the backend data (effectivly closing the handle) when we close an IPC FD. This should fix #4821. Andrew Bartlett (This used to be commit efaf91b9d53c1d9b882c53e069e8e7c15394e0f3)
2007-10-10r24074: Test both permitted logon hours and permitted workstations in theAndrew Bartlett3-6/+73
RPC-SAMLOGON test. This showed that, as noted by bug #4823, we didn't test for invalid workstations. In fact, the code had been ported across, but because untested code is broken code, it never worked... Andrew Bartlett (This used to be commit 5e07417ada56d189a911ef888b0c87adebe60763)