summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2008-07-16Add ndr_syntax_id_equal()Volker Lendecke1-1/+9
(This used to be commit 5fc90908deb417130af122941e084542304a2543)
2008-07-15netapi: fix vim(?)-typoMichael Adam1-1/+1
Michael (This used to be commit 7a7bddd75413dba3c0c43fab68a115cf0445f12b)
2008-07-15netapi: Correctly increase idx when displaying user informationKai Blin1-1/+3
(This used to be commit 5fad9de2507b88820149def31faa28e5e45f7b5f)
2008-07-15dbwrap: don't panic in db_open_trans() if called with TDB_CLEAR_IF_FIRST.Michael Adam1-1/+1
return NULL instead and leave appropriated measures to the caller. Michael (This used to be commit 1002507b56a13420d8178c5397610edd839a7584)
2008-07-15dbwrap: don't panic in db_open_trans() when attaching to ctdb fails.Michael Adam1-2/+0
Michael (This used to be commit 308fc7d5bf5f5ccfc73677b052a4e6ecede25921)
2008-07-15dbwrap: don't panic in db_open() when attaching to ctdb fails.Michael Adam1-2/+1
Michael (This used to be commit b9c008d9bd8b8119007e7ad03a40235998af4f5c)
2008-07-15dbwrap: when clustering = yes, don't fall back to db_open_tdb in db_open_trans.Michael Adam1-1/+8
Michael (This used to be commit 013d29c70438bfd43bd11cbb13ba707b256f9b18)
2008-07-15dbwrap: when clustering = yes, don't fall back to db_open_tdb in db_openMichael Adam1-1/+8
Michael (This used to be commit 33188a991f7e2f8dc1b5beed1dde1b7f77403e1a)
2008-07-15popt: add a popt_common_debuglevel set of options providing -d|--debuglevelMichael Adam1-0/+6
Michael (This used to be commit e7d08b673066a63aaa7ab54ac59566ae8a975672)
2008-07-14Fix typo.Karolin Seeger2-2/+2
retieve -> retrieve Karolin (This used to be commit 37c64130701ab13b6f34998ac17fec2d128c2e08)
2008-07-11Revert "Return timed out entries from gencache_get if timeout param != NULL"Volker Lendecke1-15/+10
This reverts commit 2954b2be563149380e1fae7fe088b98d6cbd42e7. (This used to be commit 77ab2fb306a7ad59447a3e1591c2af03447e09c5)
2008-07-11Revert "Remove gencache_[un]lock_entry"Volker Lendecke1-0/+25
This reverts commit 7a5a575ffe5196caecedc93970a25abfbe6f8059. (This used to be commit 62e444dd50ae974c2ab9a553cdf7f188a8f2c538)
2008-07-10Fix a segfault in base64_encode_data_blobVolker Lendecke1-1/+3
We did not allocate enough memory for the \0 and a = at the end (This used to be commit ea110de1dc6257b78631b7d83b7bbb728180c1a1)
2008-07-10A brown paper bag bug fix for "net sam rights"Volker Lendecke1-1/+1
(This used to be commit 8a455b012827cfb917473a160c5710a90490451a)
2008-07-09Revert "tdbtool: fix off-by-one error in argument length. (bug #2344)"Michael Adam1-1/+1
This reverts commit fafb8ad2b81b9a46cf8259bedc1dca5023b06115. This fix is not valid: 1. convert_string() is not only used for key strings but also for data. 2. Some databases use string_tdb_data() i.e. non-null-terminated strings as keynames and others (like the one I was using), use string_term_tdb_data(), i.e. zero-terminated key strings. After discussion with Metze, the easiest (and proper way) to handle this is to specify key names as "keyname\0" for databases which use string_term_tdb_data(). Sorry for the noise... Michael (cherry picked from commit 17c012c4645f4e9542537c15f80d9b4e74304d11) (This used to be commit 42c953c106b3da90e8c3452c4a246392502c200d)
2008-07-08Merge branch 'v3-3-test' of ssh://git.samba.org/data/git/samba into v3-3-testDerrell Lipman1-2/+2
(This used to be commit 2dab9ad77954dc608f8910bf4d3cb92fcaad5cb6)
2008-07-08[BUG 5580] Allow access to DFS shares via libsmbclientDerrell Lipman1-0/+5
Brian Sheehan provided a nice patch intended for the 3.0 code base. This commit applies a similar patch for the 3.3 code base. It adds a new public function to libsmbclient -- smbc_set_credentials() -- that may be called from the authentication callback when DFS referrals are in use. Derrell (This used to be commit 888f922bd0d1c84a687d404e95ae314a9dd0aee1)
2008-07-08Minor style correctionZach Loafman1-2/+2
Set sin[6]_family instead of ss_family in in[6]_addr_to_sockaddr_storage so that assignments look like they're going to the same place. (This used to be commit 3d19112f645fb0f4bb6b644207ed2cee0b6b3ea9)
2008-07-08tdbtool: fix off-by-one error in argument length. (bug #2344)Michael Adam1-1/+1
This prevented all commands operating on keys (all non-traverse commands) in tdbtool to fail with a "fetch failed" or "delete failed" message. It seems that it fixes bug #2344 ... Apparently this bug was introduced with 94e53472666ed in 2005. Either nobody is using tdbtool or else tdb_find() has become more strict about the key legth in the meantime. :-) Michael (This used to be commit 9be6b46f7715cdc7f77308d7613e8df73effe3c1)
2008-07-03Remove gencache_[un]lock_entryVolker Lendecke1-25/+0
Günther agreed that it might be unnecessary in dsgetdcname_cache_store() :-) (This used to be commit 7a5a575ffe5196caecedc93970a25abfbe6f8059)
2008-07-03Return timed out entries from gencache_get if timeout param != NULLVolker Lendecke1-10/+15
net cache get was the only one interested in the timeout. That single caller can take care of the timeout itself then. With this API change idmap_cache.c can be converted to gencache. (This used to be commit 2954b2be563149380e1fae7fe088b98d6cbd42e7)
2008-07-03netapi: fix doxygen warning.Günther Deschner1-1/+1
Guenther (This used to be commit cfd59383d680e41a885e546842b0eb8585123acb)
2008-07-02Remove worrying warning message when safe_strcpy tries to copy a pseaudo ↵Jeremy Allison1-1/+1
interface name that's too long. Reported by James Kosin <JKosin@intcomgrp.com>. Jeremy. (This used to be commit 3a7542fd495223c3a504571a52e2d00551fea0e2)
2008-07-02Fix bug #5578, reported by sendel2000@hotbox.ru. Bad (non-Samba) use of ↵Jeremy Allison1-0/+3
strlcat gives error. Jeremy. (This used to be commit d7c82997bdcf1acd7ac104efa0ad05e0b94935ea)
2008-07-01MSG_DEBUG now forwarded to all the winbindd children by parent.Darshan Purandare1-1/+1
smbcontrol winbindd debug level would only set the debug level of the parent winbindd process and not the child processes. This patch adds the functionality of broadcasting the debug message to all winbindd children. Now the debug level message is propagated to all the winbindd processes that includes parent and children. (This used to be commit cfbcfc3ffe74f28ec874a6bf1ab93f55f405b6e6)
2008-07-01Jim Brown <jim.brown@miami.edu> was right, this needs to be a signed int orJeremy Allison1-1/+1
the loop never terminates. Jeremy. (This used to be commit 80e547665d104a6db376ff4c48bcc01dfd3513ee)
2008-07-01Fix problem noticed by Jim Brown <jim.brown@miami.edu>. When reverse ↵Jeremy Allison1-1/+1
searching decrement index, not increment. Michael please check ! Jeremy. (This used to be commit d89f9d404f478fc9887bb6e67ce28a61464bcf93)
2008-06-27Do not segfault if corepath is not set up properlyVolker Lendecke1-0/+5
(This used to be commit 41d1b9541ccb802f01f12038b3b81853b3b7c32d)
2008-06-27Fix warnings on SuSE 9.0.Karolin Seeger1-0/+8
The macros "[un]likely" are already defined on SuSE 9.0. Patch from Volker. (This used to be commit 30d181c92463aecd6e649330d3645d86d5a17e43)
2008-06-26ctdbd_connect: bump debug level to 1 for "connect failed" message.Michael Adam1-1/+1
Leave level 0 message for higher level callers. Michael (This used to be commit fee770e5d080b0513418e61e469f2824a1d771ec)
2008-06-26messages: bump debug level to 1 for "messaging_ctdb_init failed".Michael Adam1-2/+2
Leave level 0 messages to higher level callers. Michael (This used to be commit 7bbf29137bf051044cbf0db8d9fe564a7c9d7a29)
2008-06-25netapi: add NetUserChangePassword() example code.Günther Deschner2-0/+105
Guenther (This used to be commit ac5aaf29004584d0f1821689eb985d837cda1aa1)
2008-06-25netapi: add NetUserChangePassword() to public headers.Günther Deschner1-0/+20
Guenther (This used to be commit 5d06891238d7dddedeb6fe2aca677c765b90c74a)
2008-06-25netapi: add NetUserChangePassword skeleton.Günther Deschner3-0/+72
Guenther (This used to be commit f4ce6887103d0f50bf9a91251e2aceb77674604f)
2008-06-24libads: use ads_connect_user_creds in some places.Günther Deschner1-1/+1
Guenther (This used to be commit ebf31203e7cf22e32b986c536279688b17a65d22)
2008-06-23time: move uint64s_nt_time_to_unix_abs() to lib/time.cGünther Deschner1-0/+7
Guenther (This used to be commit 58f54f180f0a942776455ab6e813628422493dac)
2008-06-23libsmbconf: add "includes" to the forbidden_valnames[].Michael Adam1-0/+1
This removes the warning messages 'Unknown parameter encountered: "includes"'. Michael (This used to be commit b20019ceaaf4a8964792f6ba37f50f91b6847e7f)
2008-06-23libsmbconf: fastpaths first in smbconf_reg_valname_valid().Michael Adam1-2/+2
Before dropping into lp_parameter_is_valid(). Michael (This used to be commit 59beb7acd777a4c224dce90fbbff7a137d2b89c1)
2008-06-23init_shared_module -> init_samba_moduleVolker Lendecke2-4/+4
(This used to be commit 9b174871a87677f7dfbd897a80e526f203906bea)
2008-06-21Use "init_shared_module" instead of "init_module" for initializing .so'sVolker Lendecke2-5/+7
(This used to be commit 0c2fd687b25e32d446ef799927db6933bc61223d)
2008-06-20Fix bug #5531 - fix conversion of ns units when converting from nttime to ↵Jeremy Allison1-2/+6
timespec. Fix from hkurma@datadomain.com. Jeremy. (This used to be commit 8c87a4319cc83f55fb105cae81a8efbc3fb5b98b)
2008-06-19Wrap the unix token info in a unix_user_token in auth_serversupplied_infoVolker Lendecke1-1/+1
No functional change, this is a preparation for more current_user ref removal (This used to be commit dcaedf345e62ab74ea87f0a3fa1e3199c75c5445)
2008-06-19Fix the build on FreeBSD 4.6.2Volker Lendecke1-4/+5
(This used to be commit 4f50cb63e9b565ae0747127baa651a1a1874298b)
2008-06-18Fix Bug #5548 (segfauls in handle_include with %m macro expansion).Michael Adam1-1/+4
In alloc_sub_basic, when expanding '%m', substitute "" instead of NULL for remote_machine when this is NULL. Else a NULL string is returned. Michael (This used to be commit c65b456c6a145d15b7fd27a2a3440a0709fc3277)
2008-06-17netapi: use NetUserEnum filter in example code.Günther Deschner1-1/+1
Guenther (This used to be commit ad105177686da823ef9cce1c1bedaf0f84a49b8c)
2008-06-17netapi: add NetUserEnum filter constants to public headers.Günther Deschner1-0/+6
Guenther (This used to be commit 32a66131eb56e1c66b89e348141047c6b98cf35e)
2008-06-17netapi: implement NetUserEnum filters.Günther Deschner1-1/+22
Guenther (This used to be commit 0bd69df7704789888eba2a07aba505dce037c4eb)
2008-06-17netapi: add NetRemoteTOD example code.Günther Deschner2-1/+90
Guenther (This used to be commit 2b82779a401dd1d14f5842872ac37b2454efc92b)
2008-06-17netapi: implement NetRemoteTOD().Günther Deschner1-2/+32
Guenther (This used to be commit 76877680a8a6400bc2d3b5e3b788b7d5fc683850)
2008-06-17netapi: make NetRemoteTOD() headers public.Günther Deschner1-0/+31
Guenther (This used to be commit 1262ab1843a8a8cb794f6bbfb113bd2d99ffba22)