summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* r23444: Merge r20210 from3_0:Michael Adam2007-06-122-58/+1
| | | | | | | * registry_fetch_values is not needed anymore * fix comment typo Michael
* r23443: Merge r20006 from 3_0:Michael Adam2007-06-121-55/+30
| | | | | | Convert the registry shares to use the new API (reg_api.c) Michael
* r23442: Merge r20004 from 3_0:Michael Adam2007-06-121-2/+1
| | | | | | Remove a const, "name" is allocated anyway. Michael
* r23441: Merge r20037 from 3_0:Michael Adam2007-06-122-115/+69
| | | | | | "Reduce code size slightly by shuffling stuff around." Michael
* r23440: Merge r20016 from 3_0:Michael Adam2007-06-121-1/+95
| | | | | | Add two utility functions for easy opening/creating registry keys. Michael
* r23439: Merge r20005 from 3_0:Michael Adam2007-06-121-0/+58
| | | | | | | new function reg_open_path should become the replacement for regkey_open_internal Michael
* r23438: Merge r21959 from 3_0: fix a comment.Michael Adam2007-06-121-1/+2
| | | | Michael
* r23437: Merge r21547 from 3_0:Michael Adam2007-06-122-3/+10
| | | | | | Refuse registry shares without path. Michael
* r23436: Merge (a considerable amount of) r19991 from 3_0:Michael Adam2007-06-1212-95/+620
| | | | | | | | | | | | * Introduce registry/reg_api.c, which closely resembles the winreg api. This is important for the subsequent merges of the "net conf" code. * The rewrite of rpc_server/srv_winreg_nt.c is _not_ merged since the preliminary changes have not been merged. * Change some routines from NTSTATUS to WERROR. * Remove "parent" argument to regkey_open_internal (and rewrite to use the new api functions like reg_openhive and so on). Michael
* r23435: Merge r19777 from 3_0:Michael Adam2007-06-121-20/+22
| | | | | | Make regsubkey_ctr_addkey return WERROR. Michael
* r23431: Merge rpcclient/cmd_spoolss.c portion of r16945 and r19811.Michael Adam2007-06-121-9/+15
| | | | Michael
* r23430: Merge r19963 from 3_0:Michael Adam2007-06-1213-61/+472
| | | | | | Add 'registry shares = yes' and registry key security descriptors. Michael
* r23428: Merge r19828 from 3_0: Add registry_fetch_values.Michael Adam2007-06-121-0/+56
| | | | Michael
* r23427: Merge r19947 from 3_0:Michael Adam2007-06-124-92/+98
| | | | | | | | | | | Change regkey_open_internal to take the parent key and a talloc_ctx as arguments. This also replaces regkey_close_internal by TALLOC_FREE. (The modification to srv_winreg_nt.c differs from the original patch and is kept as minimal as possible due to preliminary commits not having been merged.) Michael
* r23426: Correct a comment. The default timeout is not 1min, but 30s. WhileVolker Lendecke2007-06-121-17/+21
| | | | | | | | there, do some reformatting. Jeremy, I think we should also kill the child. It might hang in something (an fcntl lock for example) that the next child might run into immediately again.
* r23425: Volker noticed this obvious fix for the wins serverJeremy Allison2007-06-121-2/+2
| | | | | code :-). Thanks Volker ! Jeremy.
* r23424: Thanks to Jerry, we finally tracked down the :Jeremy Allison2007-06-111-0/+62
| | | | | | winbindd: Exceeding 200 client connections, no idle connection found" bug #3204. This fixes it in Jerry's testing ! Jeremy.
* r23423: Use the correct structure types in the NT_ACL operations. It's notJames Peach2007-06-111-2/+2
| | | | | clear to my why the catia module feels it's necessary to implement these operations, but at least they're now the right type.
* r23422: Merge (parts of) r19807, r19811, r19827.Michael Adam2007-06-113-3/+143
| | | | | | Preleminary merge for subsequent merge of restructuring of registry code. Michael
* r23421: Merge parts of r18963 that apply:Michael Adam2007-06-114-62/+72
| | | | | | | | Move defines from rpc_reg.h to reg_object.h. rpc_reg.h is not completely removed, since not all of the hand-marshalled code is replaced by ndr code in 3_0_26. Michael
* r23416: Forgot to "svn add lib/util_reg.c" in r23415...Michael Adam2007-06-111-0/+110
| | | | Michael
* r23415: Merge introduction of lib/util_reg.c from r16945.Michael Adam2007-06-113-50/+44
| | | | | | (Can't find logs/diffs from trunk anymore.) Michael
* r23414: Merge r23387 and r23389 from 3_0:Michael Adam2007-06-111-74/+43
| | | | | | | | | | 1. Unify Posix ACL detection (Linux, FreeBSD, ...) 2. Turn ACL support detection on by default. 3. Disable ACL support for darwin. This should finally fix Bug #4543. Michael
* r23411: We were missing displayName and that was preventing usSimo Sorce2007-06-111-0/+1
| | | | | | | | from successfully deleting an entry when "account" is the STRUCTURAL objectclass used for users and machines. "account" is used each time the user entry is in /etc/passwd and we have only the samba attributes in ldap, as well as for rfc2307(bis) standard based directories.
* r23410: Merge the core of the cluster code.Volker Lendecke2007-06-1021-16/+2394
| | | | | | | | | | | | | | | | I'm 100% certain I've forgotten to merge something, but the main code should be in. It's mainly in dbwrap_ctdb.c, ctdbd_conn.c and messages_ctdbd.c. There should be no changes to the non-cluster case, it does survive make test on my laptop. It survives some very basic tests with ctdbd enables, I did not do the full test suite for clusters yet. Phew... Volker
* r23409: Fix the non-developer buildVolker Lendecke2007-06-101-1/+1
|
* r23408: Remove a bogus commentVolker Lendecke2007-06-101-1/+0
|
* r23407: While verifying a bug I found out that for some reasonSimo Sorce2007-06-091-17/+14
| | | | | | | | | | | the code to add a machine was different then the one used to add a user, the old code led to the machine SID not being built out correctly allocationg a new RID out of the passdb but instead by using the old algorithmic method. This may easily end up in creating duplicated SID when the RID counter get close to the values built by the algorithmic method. Simo.
* r23406: Evn if not strictly currently necessary do check for correctSimo Sorce2007-06-092-0/+16
| | | | | | init also in idmap_nss and idmap_passdb for coherency and to prevent errors in future if we change the init functions to actually do something and not just return NT_STATUS_OK
* r23404: Fix wrong (and missing) action on error condition in ldap reply ↵Simo Sorce2007-06-091-1/+5
| | | | | | evaluation loop Fixes one of the segfaults in bug #4667
* r23402: Got bitten by a talloc hierarchy. Make sure we allocJeremy Allison2007-06-091-3/+3
| | | | | | off the pipe ctx now ->names is part of the containing struct. Jeremy.
* r23401: 3.0.26 differs here from 3.0.25.Jeremy Allison2007-06-091-6/+3
| | | | Jeremy.
* r23400: Fix lsa crash bug #4683. The "names" enum structJeremy Allison2007-06-094-36/+19
| | | | | | | | | | | in a lookup_sidX reply isn't optional - like the lookup_sidX query it needs to be defined in the struct. All this will go away with PIDL (thank goodness....). Jerry - I think this is a showstopper to be merged for 3.0.25b. I'll be watching the build farm to see if anything broke. Jeremy.
* r23399: Merge branches/SAMBA_3_0@23398 James Peach2007-06-092-0/+64
| | | | | Support membership of >16 groups on Darwin by making sure we opt in to the dynamic group resolution mechanism when switching UNIX credentials.
* r23397: Merge branches/SAMBA_3_0@23396James Peach2007-06-081-8/+9
| | | | | Make VFS callbacks static. Mark operations as OPAQUE because they do not pass through.
* r23395: Merge branches/SAMBA_3_0@23393James Peach2007-06-083-27/+103
| | | | | Support BSD group semantics by making sure that the effective GID is always passed as the first GID when calling setgroups(2).
* r23394: Fix missing $ in variable expansion.James Peach2007-06-081-1/+1
|
* r23392: Merge r19841 from SAMBA_3_0.Michael Adam2007-06-081-17/+51
| | | | | | | | (Adapted to the later change in r22935.) wrap regdb_store_keys and regdb_store_values in tdb transactions Michael
* r23391: Second part of the patch for Apple.Jeremy Allison2007-06-081-14/+22
| | | | | | | | | | | | | | | | | Change the sequence : gain_root(); sys_setgroups(ngroups, groups); become_id(uid, gid); to a function call : set_unix_security_ctx(uid_t uid, gid_t gid, int ngroups, gid_t *groups) James - should be safe for you to create a Darwin-specific version of this function now. Jeremy.
* r23390: First part of the patch to make Apple's life easier.Jeremy Allison2007-06-081-6/+6
| | | | | | | | | | | | | | | | Doing this in two stages to make it very easy to review. Context switching must look like : gain_root(); sys_setgroups(ngroups, groups); become_id(uid, gid); Re-arrange order so these three calls are always seen together. Next will be to turn these into a function. Jeremy.
* r23388: Start merging the newer registry code.Michael Adam2007-06-081-4/+12
| | | | | | | | | | | | | | I found some checkins that apply almost seamlessly: r19837, r19838, r19839 There is not much flesh to these. - Inteded do reduce the diff for subsequent merges. * reformat some long lines * in regdb_store_keys(), delete value record too when deleting old keys, otherwise the old values will pop up again when re-creating the key. Michael
* r23378: Fix the RPC_ANONYMOUS_AUTH_TYPE in ↵Michael Adam2007-06-071-0/+7
| | | | | | | | | rpc_server/srv_pipe.c:api_pipe_bind_req. This had the effect of not being able to set privileges via (e.g.) net rpc rights. Michael
* r23377: Patch from Bjoern Jacke <bjoern@j3e.de> to dealGerald Carter2007-06-071-2/+2
| | | | with non-GNU implementations of tr in autogen.sh
* r23376: More warningsVolker Lendecke2007-06-071-4/+6
|
* r23375: Fix a 64-bit warningVolker Lendecke2007-06-071-1/+1
|
* r23372: Remove restriction on string length for rpcclient commands.Jeremy Allison2007-06-071-3/+4
| | | | Jeremy.
* r23371: Fix the misleading comment I added - it really *should*Jeremy Allison2007-06-071-2/+2
| | | | | | say "locks chain and returned record", not "and returns record" Jeremy.
* r23370: Traverse in tdb wasn't consistently using theJeremy Allison2007-06-071-8/+10
| | | | | | | | | | | | travlocks.lock_rw for lock read/write types, it was sometimes using it (tdb_next_lock) and sometimes explicitly using F_WRLCK instead. Change this to consistently use travlocks.lock_rw only. I'm pretty sure about this fix (else I woudn't be checking this in :-) but tridge and Volker please review. Jeremy.
* r23368: Make "winbind:rpc only" a full blown parameter. Thanks to Karolin forVolker Lendecke2007-06-062-1/+4
| | | | the patch :-)
* r23367: check the "use mmap" option for ldb tooAndrew Tridgell2007-06-063-0/+14
|