summaryrefslogtreecommitdiffstats
path: root/source3/lib
Commit message (Collapse)AuthorAgeFilesLines
* LDB_ERR_INVALID_DN_SYNTAX doesn't exist ...Andrew Tridgell2009-07-021-1/+1
| | | | The correct name is ldb.ERR_INVALID_DN_SYNTAX
* s3:util: let parent_dirname() correctly return toplevel filenamesStefan Metzmacher2009-07-011-1/+1
| | | | metze
* s3:lib/sysquotas: fix usage of SMB_STRUCT_STAT (struct stat_ex).Michael Adam2009-06-291-3/+3
| | | | | | | This fixes the build with quotas / configure time detection of sys_quota interface. Michael
* Fix ndrdump to use a common setup_logging() APIAndrew Bartlett2009-06-291-0/+9
| | | | | | | | | By adding a new common setup_logging_stdout() API, we no longer need to abuse the ABI compatability between the different setup_logging() calls in Samba3 and Samba4's DEBUG() subsystems. The revert of 49a6d757b4d944cd22c91b2838beb83f04fbe1e9 works with this to fix bug 6211. Andrew Bartlett
* Fix bug 6514: net gives unhelpful "lp_load failed" when it's missing smb.confDavid Markey2009-06-291-1/+1
|
* If the connection is down, don't try another write.Volker Lendecke2009-06-281-0/+17
|
* Add tldap_search_vaVolker Lendecke2009-06-281-8/+20
|
* tldap_msg_received: Properly free the asn1_struct in case of an errorVolker Lendecke2009-06-281-0/+1
|
* Move read_ldap_done after read_ldap_sendVolker Lendecke2009-06-271-24/+25
|
* Convert tldap to tstreamVolker Lendecke2009-06-271-11/+17
|
* Add tstream_read_packetVolker Lendecke2009-06-271-0/+139
|
* tldap: Don't fire off more than one read_ldap request during searchesVolker Lendecke2009-06-271-10/+22
|
* Fix some dead code warnings from SUN StudioVolker Lendecke2009-06-262-4/+4
|
* Add tldap paged searches, together with two helper routinesVolker Lendecke2009-06-201-0/+261
|
* Reorganize retrieving errors and server-sent controlsVolker Lendecke2009-06-202-84/+67
| | | | | | | This attaches the data to the tldap_message instead of the tevent_req. It adds tldap_ctx_lastmsg() to retrieve the last message for the users of the sync wrappers.
* Move asn1_load_nocopy() to lib/util/asn1.cVolker Lendecke2009-06-201-7/+0
|
* Move asn1_blob() to lib/util/asn1.cVolker Lendecke2009-06-201-13/+0
|
* Add tldap_supports_controlVolker Lendecke2009-06-201-0/+11
|
* Add tldap_entry_has_attrvalueVolker Lendecke2009-06-201-0/+18
|
* tldap control supportVolker Lendecke2009-06-201-7/+122
|
* Prepare control supportVolker Lendecke2009-06-202-29/+46
| | | | | | | | | We will have arrays of controls passed to tldap.c. Follow a mantra from the classic book "Thinking Forth" by Leo Brodie: Favor counts over terminators :-) This makes the parameter lists to tldap pretty long, but everyone will have wrapper routines anyway, see for example tldap_search_fmt. And the OpenLDAP manpages call the non-_ext routines deprecated, probably for a reason.
* Fix empty linesVolker Lendecke2009-06-201-3/+0
|
* Don't require "Modify property" perms to unjoin bug #6481)Jim McDonough2009-06-191-0/+1
| | | | | | | | | | | | | | | | | | "net ads leave" stopped working when "modify properties" permissions were not granted (meaning you had to be allowed to disable the account that you were about to delete). Libnetapi should not delete machine accounts, as this does not happen on win32. The WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE flag really means "disable" (both in practice and docs). However, to keep the functionality in "net ads leave", we will still try to do the delete. If this fails, we try to do the disable. Additionally, it is possible in windows to not disable or delete the account, but just tell the local machine that it is no longer in the account. libnet can now do this as well.
* Add a missing talloc_move() in tldap_search_recvVolker Lendecke2009-06-191-1/+1
|
* Add tldap_fetch_rootdseVolker Lendecke2009-06-191-0/+131
|
* Make tevent_req_is_ldap_error publicVolker Lendecke2009-06-191-1/+1
|
* Add tldap_context_[gs]etattrVolker Lendecke2009-06-191-0/+78
| | | | | | | | | | This adds the ability to attach extended information to a tldap_context. This will become useful once we start to do automatic reconnects for example, a callback function might want attach a pointer to credentials so that it can rebind. The initial user of this will be a cached rootdse, so that things like the ability to do paged searches can be cached.
* Fix bug 4699: Remove pidfile on clean shutdownVolker Lendecke2009-06-181-8/+18
|
* Fix resource leak in lib/ldb/tools/ldbmodify.cSlava Semushin2009-06-181-0/+1
| | | | Patch for bug #6389
* Fix syntax error in lib/ldb/ldb_sqlite3/base160.cSlava Semushin2009-06-181-1/+1
| | | | Patch for bug #6388
* s3-netapi: Fix Bug #6451: net/libnetapi user rename using wrong access bits.Günther Deschner2009-06-161-0/+2
| | | | Guenther
* s3-netapi: Fix Bug #6305. Correctly prompt for a password when a username ↵Günther Deschner2009-06-161-1/+5
| | | | | | | | | was given. When no callback or wrapping has managed to get a password, prompt in the netapi connection manager for a password. Guenther
* s3-netapi: add NetGetJoinInformation example code.Günther Deschner2009-06-162-0/+110
| | | | Guenther
* Add basic tracing of tldap messagesVolker Lendecke2009-06-121-0/+10
|
* Add debugging facility to tldap, analogous to teventVolker Lendecke2009-06-121-0/+32
|
* s3: Call va_end() after all va_start()/va_copy() calls.Andrew Kroeger2009-06-123-2/+3
| | | | | | | | There are error paths in S3 where va_end() is not properly called after va_start() or va_copy() have been called. These issues were noted while performing an inspection for S4 bug #6129. Thanks to Erik Hovland <erik@hovland.org> for the original bug report.
* Make ctemp async. Fix the test to pass against W2K3.Jeremy Allison2009-06-101-3/+1
| | | | Jeremy.
* Make open_udp_socket() IPv6 clean. Trying to fix bug #6437 - Unable to join ↵Jeremy Allison2009-06-081-10/+25
| | | | | | | IPv6-only ads domain. Avaiting feedback from submitter before backport to 3.4 and earlier. Jeremy.
* Add tlda_add_mod_strVolker Lendecke2009-06-081-0/+17
|
* s3-charcnv: always talloc_free in convert_string_talloc() error path.Günther Deschner2009-06-081-2/+1
| | | | Guenther
* s3-charcnv: remove remaining malloc references in convert_string_talloc().Günther Deschner2009-06-081-2/+2
| | | | Guenther
* Add tldap_pull_uint32Volker Lendecke2009-06-071-0/+12
|
* Fix syntax of sending a delete requestVolker Lendecke2009-06-071-1/+1
|
* Add some samba-style tldap utility functionsVolker Lendecke2009-06-061-0/+351
|
* Add the early start of an async ldap libraryVolker Lendecke2009-06-061-0/+1835
| | | | | | | There's a lot of things this does not do yet: For example it does not parse the reply blob in the sasl bind, it does not do anything with controls yet, a lot of the ldap requests are not covered yet. But it provides a basis for me to play with a pdb_ads passdb module.
* Allow AF_UNIX for open_socket_outVolker Lendecke2009-06-061-0/+4
|
* s3: map NetBSD's errno on posix open calls for symlinksBjörn Jacke2009-06-041-0/+3
| | | | | This is well undocumented but NetBSD returns EFTYPE on O_NOFOLLOW open calls on symlinks.
* s3: correct check for usleep value boundariesBjörn Jacke2009-06-031-1/+1
|
* Fix some nonempty blank linesVolker Lendecke2009-05-311-52/+50
|
* Move ads flags mapping to lib/Volker Lendecke2009-05-301-0/+150
|