summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* lib/util Rename conv_str_size() -> conv_str_size_error()Andrew Bartlett2011-04-304-7/+5
|
* s4:torture/nbt/winsreplication: use torture macros in order report failuresStefan Metzmacher2011-04-301-8/+104
| | | | | | | | | | This makes sure we can ignore this failures with the "knownfail" file. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Apr 30 10:37:16 CEST 2011 on sn-devel-104
* s3-lib: Rely on uint64_t in conv_str_size()Andrew Bartlett2011-04-302-31/+14
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Apr 30 05:58:35 CEST 2011 on sn-devel-104
* kerberos: Only include gssapi/gssapi_krb5.h when availableAndrew Bartlett2011-04-304-2/+5
|
* s3-waf: Add dependency on popt to fix build on FreeBSDAndrew Bartlett2011-04-301-1/+1
|
* Add POSIX O_RDONLY test of a directory for bug #8112 - POSIX extension opens ↵Jeremy Allison2011-04-302-4/+10
| | | | | | | | | of a directory are denied with EISDIR. Don't strip access bits from wire flags when opening a directory. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Apr 30 02:21:24 CEST 2011 on sn-devel-104
* Fix bug #8112 - POSIX extension opens of a directory are denied with EISDIR.Jeremy Allison2011-04-291-2/+10
| | | | | | | | Ensure create_options are passed down to SMB_VFS_CREATE_FILE(). Correctly set create_options is SMB_O_DIRECTORY is set or pathname is known to be a directory. Jeremy.
* torture test for bug #8111 - CIFS VFS: unexpected error on SMB posix open.Jeremy Allison2011-04-301-0/+55
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Apr 30 00:33:40 CEST 2011 on sn-devel-104
* Fix bug 8111 - CIFS VFS: unexpected error on SMB posix openJeremy Allison2011-04-291-12/+49
| | | | | | | | | We are conflating the O_CREAT|O_EXCL with the O_TRUNC processing, they need to be separate. We need to chose using (O_CREAT|O_EXCL) first, then modify if O_TRUNC is set. This needs two separate switch statements. Jeremy
* s3-proto: move more headers to rpc_server/rpc_ncacn_np.h where they origin from.Günther Deschner2011-04-295-5/+9
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 22:05:07 CEST 2011 on sn-devel-104
* s3-proto: remove duplicate prototypes.Günther Deschner2011-04-296-29/+9
| | | | Guenther
* s3-rpc_server: remove some unneeded headers.Günther Deschner2011-04-291-4/+0
| | | | Guenther
* s3-proto: move rpc_server/rpc_handles.c protos to ntdomain.hGünther Deschner2011-04-292-28/+28
| | | | Guenther
* s3-proto: move more librpc prototypes to librpc/rpc/dcerpc.hGünther Deschner2011-04-293-8/+10
| | | | Guenther
* s3-proto: remove remaining nss_info prototypes to nss_info.hGünther Deschner2011-04-292-7/+7
| | | | Guenther
* ldb:tdb backend - cache - remove unused "last_attribute" structure memberMatthias Dieter Wallnöfer2011-04-292-8/+0
| | | | | | | Reviewed-by: abartlet Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Apr 29 20:07:27 CEST 2011 on sn-devel-104
* s4:"ldb_connect" calls - proof for "!= LDB_SUCCESS"Matthias Dieter Wallnöfer2011-04-293-3/+3
| | | | Reviewed-by: abartlet
* s4:torture/rpc/testjoin.c - use a LDB result constantMatthias Dieter Wallnöfer2011-04-291-1/+1
| | | | Reviewed-by: abartlet
* ldb:tools/cmdline.c + tools/ldbtest.c - make use of LDB result constantsMatthias Dieter Wallnöfer2011-04-292-2/+2
| | | | Reviewed-by: abartlet
* s4:repl_meta_data LDB module - quiet a discard const ptr warningMatthias Dieter Wallnöfer2011-04-291-1/+1
|
* ldb:ldb_controls.c - fix comment indentationMatthias Dieter Wallnöfer2011-04-291-4/+4
| | | | Reviewed-by: abartlet
* s4:token_group.py python test - fix typosMatthias Dieter Wallnöfer2011-04-291-2/+2
|
* s3: Avoid a potential 100% CPU loop in winbinddVolker Lendecke2011-04-291-0/+27
| | | | | | | | | | | | | | | | | | | | | In the clustering case if ctdb is unhappy, winbindd_reinit_after_fork fails. This can lead to an endless loop depending on the scheduling of the parent vs child. Parent forks, child is immediately scheduled and exits. Parent gets SIGCHLD, parent is then scheduled before it sends the request out to the child. Parent tries to fork again immediately. The code before this patch did not really take into account that reinit_after_fork can fail. The code now sends the result of winbindd_reinit_after_fork to the parent and the parent only considers the child alive when it got NT_STATUS_OK. This was seen in 3.4 winbind. winbind has changed significantly since then, so it might be possible that this does not happen anymore in exactly this way. But passing up the status of reinit_after_fork and only consider the child alive when that's ok is the correct thing to do anyway. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Apr 29 17:58:19 CEST 2011 on sn-devel-104
* s3: Make winbindd_reinit_after_fork return NTSTATUSVolker Lendecke2011-04-294-12/+23
|
* s3: In winbind, close parent/child socketsVolker Lendecke2011-04-294-5/+15
| | | | This should further reduce fd load in winbind children
* s3-tevent: only include ../lib/util/tevent wrappers where needed.Günther Deschner2011-04-2944-2/+46
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 14:00:30 CEST 2011 on sn-devel-104
* s3-tsocket: only include ../lib/tsocket/tsocket.h where needed.Günther Deschner2011-04-2910-1/+9
| | | | Guenther
* s3-build: remove some unused headers.Günther Deschner2011-04-294-7/+0
| | | | Guenther
* s3-ldap Only prototype ldap_init_fd() when we have found it in the librariesAndrew Bartlett2011-04-291-0/+3
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 29 11:47:07 CEST 2011 on sn-devel-104
* build: put doserr.c into it's own subsystem, so it's no longer a duplicateAndrew Bartlett2011-04-294-3/+14
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 29 10:00:32 CEST 2011 on sn-devel-104
* selftest: Restore the s3member environment by avoiding smbcaclsAndrew Bartlett2011-04-292-15/+13
| | | | | | | | | This removes the need for acls on the filesystem for simple domain member tests. ACL tests should be written at some point... Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
* s4-param Rename lp_destructor() -> lpcfg_destructor() for consistencyAndrew Bartlett2011-04-291-2/+2
|
* s4-param Rename unused lp_ functions to match param.hAndrew Bartlett2011-04-291-5/+5
|
* s4-param Rename volume_label() -> lpcfg_volume_label()Andrew Bartlett2011-04-293-3/+3
|
* lib/util Re-merge the string_sub() and all_string_sub() from source3Andrew Bartlett2011-04-296-150/+47
| | | | Andrew Bartlett
* lib/util/charset Move strstr_m() to the top levelAndrew Bartlett2011-04-293-81/+84
|
* s4-param Rename private_path() -> lpcfg_private_path()Andrew Bartlett2011-04-2911-18/+18
| | | | | | This is consistent with lock_path() Andrew Bartlett
* s4-param Remove config_path() -> lpcfg_config_path()Andrew Bartlett2011-04-293-3/+3
| | | | | | This is consistent with lock_path() Andrew Bartlett
* s4-param Rename lock_path() -> lpcfg_lock_path()Andrew Bartlett2011-04-294-5/+5
| | | | This avoids a conflict with the source3/ lock_path()
* libcli/smb Move attrib_string in commonAndrew Bartlett2011-04-299-70/+97
|
* s3-client Add TALLOC_CTX argument to attrib_string().Andrew Bartlett2011-04-293-5/+5
| | | | | | This ensures the caller knows where the memory was allocated. Andrew Bartlett
* s3-smb Use FILE_ATTRIBUTE_ARCHIVE intead of aARCHAndrew Bartlett2011-04-2914-32/+29
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3-smb Use FILE_ATTRIBUTE_DIRECTORY intead of aDIRAndrew Bartlett2011-04-2921-87/+86
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3-smb Use FILE_ATTRIBUTE_VOLUME intead of aVOLIDAndrew Bartlett2011-04-293-5/+4
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3-smb Use FILE_ATTRIBUTE_SYSTEM intead of aSYSTEMAndrew Bartlett2011-04-2923-161/+160
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3-smb Use FILE_ATTRIBUTE_HIDDEN intead of aHIDDENAndrew Bartlett2011-04-2923-171/+170
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3-smb Use FILE_ATTRIBUTE_READONLY intead of aRONLYAndrew Bartlett2011-04-2910-22/+21
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* libcli/smb Move FILE_ATTRIBUTE defines to the top levelAndrew Bartlett2011-04-293-38/+23
|
* s3-libads Move variables into if (socket_wrapper_dir()) where they are used.Andrew Bartlett2011-04-291-4/+4
|
* build: Fix kerberos build issues in top level buildAndrew Bartlett2011-04-292-8/+9
|