summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2008-04-20Make convert_samr_dispinfo_to_NET_DISPLAY() staticVolker Lendecke1-5/+5
(This used to be commit a30a26d471a572167ee13bf10be1a275a6592851)
2008-04-20Introduce rpc_pipe_np_smb_conn()Volker Lendecke1-1/+1
This abstracts away all references to rpc_pipe_client->cli, the only reference is now in cli_pipe.c. (This used to be commit c56e1c08cef107ff33a34346ceeca3475a102b19)
2008-04-20Remove the pipe_idx variable from rpc_pipe_clientVolker Lendecke1-1/+1
(This used to be commit 4840febcd481563c3d9b2fabc1fe1b2ae5a76cf6)
2008-04-20Add "desthost" to rpc_pipe_clientVolker Lendecke1-1/+1
This reduces the dependency on cli_state (This used to be commit 783afab9c891dd7bcb78895b2a639b6f3a0edf5b)
2008-04-19Fix bug 5400Volker Lendecke1-2/+2
Thanks to Jason Mader! Volker (This used to be commit 87d8a63ce4e6dd91ea3193d0a2574520a5857be2)
2008-04-19Fix an uninitialized variableVolker Lendecke1-1/+1
(This used to be commit 825f78d9f12b5b3e835bd91961e00402cab0bf60)
2008-04-18util: add reinit_after_fork() functionStefan Metzmacher1-0/+30
metze (This used to be commit 5f6c3a4f6db68c985884cbe9401a4dbe515f756b)
2008-04-18messages_ctdbd: autocreate a ctdb connection, this will fix segfaults in the ↵Stefan Metzmacher1-0/+18
client tools metze (This used to be commit 6f67c4ddf8101b1d06889055e3767a6ce0db360c)
2008-04-18messages_ctdbd: make sure a ctdbd connection is only used in the process ↵Stefan Metzmacher1-1/+11
that created it metze (This used to be commit 259786980a3a65fa67a4de12a65d33095fa53ce2)
2008-04-18Janitor for tridge. Keep lib/replace in sync with the gcc4Jeremy Allison3-3/+4
changes. Jeremy. (This used to be commit b496f133228b74bf613dab81167a5b9670511c51)
2008-04-17libnetapi: Disable talloc_enable_leak_report.Günther Deschner1-1/+1
Guenther (This used to be commit 4ba98dd0cc13984a8dc54e4d4935487fc8938039)
2008-04-17netdomjoin-gui: Fix label alignment showing up with lower screen-resolution.Günther Deschner1-1/+1
Guenther (This used to be commit e06a54aa7da857e006649469e7eb8d76711221c1)
2008-04-16libsmbconf: fix segfault in listing share names / config.Michael Adam1-1/+1
Discovered by Günther while giving a talk. - Sorry Günther! Michael (This used to be commit 518f4d4e6662138a2e71acc2296acedefc7c739a)
2008-04-16Fix out of tree build. Remove the embedded srcdir path from talloc and tdb.Gerald W. Carter1-4/+4
(This used to be commit 359921acd436684a0b4cf76ba15f82a224d2c337)
2008-04-16libnetapi: Add initial inline doxygen comments.Günther Deschner1-36/+195
Guenther (This used to be commit 01bc4b6ac03b98c2371b4dfc0948f5ef8d06bcbc)
2008-04-16libnetapi: Let NetUserAdd_l/NetUserDel_l talk to the local RPC server.Günther Deschner1-10/+20
Guenther (This used to be commit 9bbb6cea0b21d98ae13f7a41226b437515bd5a2f)
2008-04-16libnetapi: do not overwrite status in libnetapi_get_error_string().Günther Deschner1-2/+3
Guenther (This used to be commit 143e2b573043dd04a6404fc91d781e8a727bd092)
2008-04-15libnetapi: Add missing headers.Günther Deschner1-0/+25
Guenther (This used to be commit 3fda711f2526914bf18ec004d553453e692b1e85)
2008-04-15libmsbconf: add handling of NULL share parameters to registry backend.Michael Adam1-14/+92
Michael (This used to be commit 6c1181fda2f040d9555917b10a65bc0dfc1f0593)
2008-04-15libsmbconf: don't complain with WERR_ALREADY_EXISTS for NULL share in ↵Michael Adam1-1/+1
smbconf_create_share(). These are values stored inside the base key for registry. This is not getting deleted. Michael (This used to be commit aa167de8252bb615bd21fb3fd9468383b8357d32)
2008-04-15libsmbconf: make sure to always list the NULL section first in text backend.Michael Adam1-3/+16
Michael (This used to be commit b50fdf321dc8056caa2b057cbd7f83792dfbcd4d)
2008-04-15libsmbconf: default to the NULL section when a parameter is encountered w/o ↵Michael Adam1-2/+8
section Michael (This used to be commit e1b98f1cbce72d12085d86da834f0949ecbfbf67)
2008-04-15libsmbconf: allow NULL sharename in smbconf_share_exists().Michael Adam1-3/+0
Michael (This used to be commit cb23052b2055d77924b2a593ec14f0c1de9a3b51)
2008-04-15libsmbconf: add handling of NULL strings to smbconf_find_in_array().Michael Adam1-2/+4
Michael (This used to be commit a5923bafe9b543d50dca06d251186948baeac8cc)
2008-04-15libsmbconf: add handling of "NULL" strings to smbconf_add_string_to_array()Michael Adam1-5/+9
Michael (This used to be commit aba261a9143bc7ab681b1c57ccfc08da0cffcfe7)
2008-04-15lib/sharesec.c: fix the upgrade code, db_traverse returns the number of records!Stefan Metzmacher1-2/+4
metze (This used to be commit ccdebe97f85b76378e42d8cf08324228bd19cf32)
2008-04-14Enable multiple fd events on a single file descriptorVolker Lendecke1-1/+1
Now we can have multiple events listen on a single fd. The order in which they are called is naturally not defined, meaning that it is only deterministic if exactly one event is readable or writeable. (This used to be commit 61503f822b60f98dd1f7549707ec89b48e32caeb)
2008-04-14Fix the build of db_open_trans with CLUSTER_SUPPORT enabledVolker Lendecke1-0/+2
Metze, you might want to check this. (This used to be commit 3b4a402bc5c3490000581d43a12388883bcf8150)
2008-04-13libsmbconf: add a smbconf init dispatcher smbconf_init().Michael Adam2-1/+99
The dispatcher takes a config source argument in the form of "backend:path" where backend can (currently) be one of "txt" (aka "file") or "reg" (aka "registry"). When the path is omitted, it is up to the backend to provide a default path. When there is no separator ":" and the string is not a recognized backend, then file backend is assumed and the string is passed in as the path argument. Michael (This used to be commit cc613a60eb0f6b92cae98e8669e5e569a1eb9324)
2008-04-13libsmbconf: move setting of verbatim variable into a more internal function.Michael Adam1-2/+2
Michael (This used to be commit 9efd7b515183fa28f400fe88af63e0b0126e3e00)
2008-04-13libsmbconf: add a check for talloc failure to smbconf_txt_init().Michael Adam1-0/+3
Michael (This used to be commit f76ec7d87e206426c795374397ba725ecdeec784)
2008-04-13libsmbconf: remove the bool verbatim parameter from txt backend init function.Michael Adam3-6/+4
Always be verbatim for now. Backend config options may be added later via some private data pointer. Michael (This used to be commit e8bafcfbf4a7ab1dc1ce4f2acd24b0eb74933256)
2008-04-13libsmbconf: rename smbconf_init() to smbconf_init_internal().Michael Adam4-6/+6
smbconf_init should be the name of the dispatcher (to be written) Michael (This used to be commit 3fb95ab757650712716472ebaccb7119feb27596)
2008-04-13libnetapi: add libnetapi_set_use_kerberosGünther Deschner4-2/+25
Don't unconditionally set the kerberos flag for authentication. Guenther (This used to be commit 15bef5ae413adf278cccc0e547c4b8ccd180eca2)
2008-04-13libnetapi: Add NetQueryDisplayInformation header.Günther Deschner1-0/+8
Guenther (This used to be commit 3c107934acc907e3eedd116b42d1d07ee0574183)
2008-04-13libnetapi: add NetQueryDisplayInformation example.Günther Deschner2-1/+105
Guenther (This used to be commit 5f9332cf1f60bb5a23a16776b95af3a83c5deb40)
2008-04-13libnetapi: fill in NetQueryDisplayInformation_r.Günther Deschner1-1/+295
Guenther (This used to be commit 7fb9991b4c54fd0b9629e47afc1e5bbc2cfc1088)
2008-04-13libnetapi: don't reset the error code in NetUserAdd_r if the operation failed.Günther Deschner1-6/+2
Guenther (This used to be commit 9edb067f62b1e36f1da461b3eb09cb123d2089dd)
2008-04-13libnetapi: add NetQueryDisplayInformation skeleton.Günther Deschner3-0/+82
Guenther (This used to be commit 6ec4a62b6d584f6745c3285474372f235614b598)
2008-04-13libnetapi: don't to try to free NULL struct.Günther Deschner1-0/+4
Guenther (This used to be commit eb33d30d80ab2fe770e248f5b2a70a83a43dd156)
2008-04-13registry: change registry_init_smbconf() to return WERROR instead of boolMichael Adam1-2/+2
Michael (This used to be commit 7c343c60574cda091f59861fbcb2893aefb564e9)
2008-04-13adt_tree: change pathtree_add to return WERR instead of bool.Michael Adam1-6/+6
Michael (This used to be commit da45fb92f69221758f36db4cbb7d871e3ce60718)
2008-04-13registry: make registry_init_smbconf() hook the registry ops onto given key.Michael Adam1-1/+1
This still defaults to HKLM\Software\Samba\smbconf, but is interchangeable now. This allows us to open the libsmbconf registry backend on different registry keys. Michael (This used to be commit 8fe1a2f567afbecbe487f08825cb43b038065e99)
2008-04-13Fix ou handling in netdomjoin-gui.Günther Deschner1-0/+5
The ou list was concatenated again and again... Guenther (This used to be commit 84608e165e24c68c12d40086f81684ef37f69159)
2008-04-13libnetapi: fix a C++ warning by making implicit cast explicitMichael Adam1-1/+1
Michael (This used to be commit b62dd61cc56ec33601289fd4e23058c7f9ad3f0d)
2008-04-13dbwrap_tdb2: fix a C++ warning by making implicit cast explicitMichael Adam1-3/+3
Michael (This used to be commit 18ced7e42072953a1968db15b0a344b54214b83d)
2008-04-12dbwrap: use db_open_tdb2() in for db_open_trans() if "dbwrap:use_tdb2=yes"Stefan Metzmacher1-2/+57
For clustered setups you need to disable the ctdb backend for each tdb which should use the tdb2 backend (e.g. ctdb:registry.tdb=no). To disable tdb2 per tdb use something like "tdb2:passdb.tdb=no" metze (This used to be commit 5cea2bf3673c982bafeef4a8bbd3bd2ab73cc0c5)
2008-04-12dbwrap: add dbwrap_tdb2 backendStefan Metzmacher1-0/+1265
This backend can be used untill ctdb knows about real transactions. It stores a master tdb in a shared location and a readonly copy on the local harddisk. Reads are always on the local tdb and writes always on both. Change notify messages are send to all message context, which ask for them. With the notifies it's possible to just update the changed records, instead of copying all records (which is the fallback). You need to configure: dbwrap:use_tdb2=yes dbwrap_tdb2:master directory=/some/shared/path dbwrap_tdb2:local directory=/var/lib/samba metze (This used to be commit aa6230de0d5f1875aa8c12c4fc017d3a40f90890)
2008-04-12messaging: add FLAG_MSG_DBWRAP message class flagStefan Metzmacher1-0/+2
metze (This used to be commit ee6325495f48bab43a37d740a6eca57192004d57)
2008-04-12registry: move normalize_dbkey() from lib/util_reg.c to registry/reg_util.cMichael Adam1-7/+0
This function is only used inside registry code. Michael (This used to be commit 48745e3fbd6b38f39678938b8c3f145769065e7b)