summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2008-07-18netapi: add libnetapi_samr_close_domain/connect_handle.Günther Deschner2-0/+52
Guenther (This used to be commit b042787ec61bb5cb98f882ac7be8df1691a78921)
2008-07-18netapi: add libnetapi_private_ctx and init function.Günther Deschner3-0/+48
Guenther (This used to be commit 45fff2d37ae21c76d100f66d9154f6add446f380)
2008-07-18netapi: fix NetGroupGetInfo() against NT4.Günther Deschner1-1/+11
Guenther (This used to be commit c0fea9c4d0d3d297972c052c17b9be6d0530e098)
2008-07-18netapi: fix NetGroupDel() against NT4.Günther Deschner1-1/+3
Guenther (This used to be commit 55035d7240bd163abb155239029a03f399c8f41f)
2008-07-18netapi: fix NetUserAdd() against NT4.Günther Deschner1-0/+15
Guenther (This used to be commit 42c44d18eeb4d37e7c2e1209c421b3ec3a07ae28)
2008-07-18netapi: typo in NetGroupEnum example code.Günther Deschner1-1/+1
Guenther (This used to be commit b0c44d7e6cf321f84bd7b9cdb25635304bbfea81)
2008-07-18netapi: fix build warning for ConvertSidToStringSid().Günther Deschner1-3/+3
Guenther (This used to be commit 5136daec0a35e7f099477409009672ddd960b684)
2008-07-18smbldap: Fix typo in debug message.Karolin Seeger1-1/+1
Karolin (This used to be commit 6e9e85b897431d7378396aada2c32ae470af0edd)
2008-07-17Simplify samba_version_string.Andreas Schneider1-34/+11
This adds a new macro for a vender version function which will be returned by the samba_version_string() function if defined. Signed-off-by: Andreas Schneider <anschneider@suse.de> Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit 8b9301fbc73f28c657ec81c605760a0ff7a1973a)
2008-07-17netapi: use ConvertSidToStringSid in NetGetGroupInfo query.Günther Deschner1-1/+6
Guenther (This used to be commit d9d0cf6411a29d456735e980f9ac8ad75f3edfbd)
2008-07-17netapi: add NetGroupEnum example code.Günther Deschner2-0/+159
Guenther (This used to be commit 133ea72a996a1eefda1b6351277f415823db55fc)
2008-07-17netapi: fill in NetGroupEnum_r().Günther Deschner1-2/+259
Guenther (This used to be commit 64700e09ce9417c0b0128cc016abd34ab92f3695)
2008-07-17netapi: fix map_group_info_to_buffer for GROUP_INFO_3 change.Günther Deschner2-5/+7
Guenther (This used to be commit f2875677194f440ffebf18e6f5171be948114353)
2008-07-17netapi: add NetGroupEnum to public headers.Günther Deschner1-0/+28
Guenther (This used to be commit 4564581f9aaf4afd6c47c6d5a9a299bc5012244d)
2008-07-17netapi: add skeleton for NetGroupEnum().Günther Deschner3-0/+82
Guenther (This used to be commit 21a0d9d254d5c21c4bc9fe305e9df2126476f3f4)
2008-07-17netapi: add ConvertSidToStringSid() for convenience of the callers.Günther Deschner2-0/+65
Guenther (This used to be commit b7633998ed76c7bb2faa803841fafe9126a39847)
2008-07-17util: add policy_hnd_equal().Günther Deschner1-0/+10
Guenther (This used to be commit 6aca163e898bfeeff824725bb27b2ef4f7b729f9)
2008-07-17netapi: fix documentation for NetGroupSetInfo.Günther Deschner1-2/+2
Guenther (This used to be commit 7b4f84793b39f2940381bccae27f65275cc39572)
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)