summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-04-29ldb:tdb backend - cache - remove unused "last_attribute" structure memberMatthias Dieter Wallnöfer2-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
2011-04-29s4:"ldb_connect" calls - proof for "!= LDB_SUCCESS"Matthias Dieter Wallnöfer3-3/+3
Reviewed-by: abartlet
2011-04-29s4:torture/rpc/testjoin.c - use a LDB result constantMatthias Dieter Wallnöfer1-1/+1
Reviewed-by: abartlet
2011-04-29ldb:tools/cmdline.c + tools/ldbtest.c - make use of LDB result constantsMatthias Dieter Wallnöfer2-2/+2
Reviewed-by: abartlet
2011-04-29s4:repl_meta_data LDB module - quiet a discard const ptr warningMatthias Dieter Wallnöfer1-1/+1
2011-04-29ldb:ldb_controls.c - fix comment indentationMatthias Dieter Wallnöfer1-4/+4
Reviewed-by: abartlet
2011-04-29s4:token_group.py python test - fix typosMatthias Dieter Wallnöfer1-2/+2
2011-04-29s3: Avoid a potential 100% CPU loop in winbinddVolker Lendecke1-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
2011-04-29s3: Make winbindd_reinit_after_fork return NTSTATUSVolker Lendecke4-12/+23
2011-04-29s3: In winbind, close parent/child socketsVolker Lendecke4-5/+15
This should further reduce fd load in winbind children
2011-04-29s3-tevent: only include ../lib/util/tevent wrappers where needed.Günther Deschner44-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
2011-04-29s3-tsocket: only include ../lib/tsocket/tsocket.h where needed.Günther Deschner10-1/+9
Guenther
2011-04-29s3-build: remove some unused headers.Günther Deschner4-7/+0
Guenther
2011-04-29s3-ldap Only prototype ldap_init_fd() when we have found it in the librariesAndrew Bartlett1-0/+3
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 29 11:47:07 CEST 2011 on sn-devel-104
2011-04-29build: put doserr.c into it's own subsystem, so it's no longer a duplicateAndrew Bartlett4-3/+14
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 29 10:00:32 CEST 2011 on sn-devel-104
2011-04-29selftest: Restore the s3member environment by avoiding smbcaclsAndrew Bartlett2-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>
2011-04-29s4-param Rename lp_destructor() -> lpcfg_destructor() for consistencyAndrew Bartlett1-2/+2
2011-04-29s4-param Rename unused lp_ functions to match param.hAndrew Bartlett1-5/+5
2011-04-29s4-param Rename volume_label() -> lpcfg_volume_label()Andrew Bartlett3-3/+3
2011-04-29lib/util Re-merge the string_sub() and all_string_sub() from source3Andrew Bartlett6-150/+47
Andrew Bartlett
2011-04-29lib/util/charset Move strstr_m() to the top levelAndrew Bartlett3-81/+84
2011-04-29s4-param Rename private_path() -> lpcfg_private_path()Andrew Bartlett11-18/+18
This is consistent with lock_path() Andrew Bartlett
2011-04-29s4-param Remove config_path() -> lpcfg_config_path()Andrew Bartlett3-3/+3
This is consistent with lock_path() Andrew Bartlett
2011-04-29s4-param Rename lock_path() -> lpcfg_lock_path()Andrew Bartlett4-5/+5
This avoids a conflict with the source3/ lock_path()
2011-04-29libcli/smb Move attrib_string in commonAndrew Bartlett9-70/+97
2011-04-29s3-client Add TALLOC_CTX argument to attrib_string().Andrew Bartlett3-5/+5
This ensures the caller knows where the memory was allocated. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_ARCHIVE intead of aARCHAndrew Bartlett14-32/+29
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_DIRECTORY intead of aDIRAndrew Bartlett21-87/+86
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_VOLUME intead of aVOLIDAndrew Bartlett3-5/+4
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_SYSTEM intead of aSYSTEMAndrew Bartlett23-161/+160
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_HIDDEN intead of aHIDDENAndrew Bartlett23-171/+170
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_READONLY intead of aRONLYAndrew Bartlett10-22/+21
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29libcli/smb Move FILE_ATTRIBUTE defines to the top levelAndrew Bartlett3-38/+23
2011-04-29s3-libads Move variables into if (socket_wrapper_dir()) where they are used.Andrew Bartlett1-4/+4
2011-04-29build: Fix kerberos build issues in top level buildAndrew Bartlett2-8/+9
2011-04-29s3-ldap Move ldap prototypes to inside #ifdef HAVE_LDAP_HAndrew Bartlett1-10/+11
This fixes the build without LDAP development headers.
2011-04-29Revert "s4:selftest: skip s3member tests for now"Stefan Metzmacher1-1/+0
This reverts commit c5034ac3155958c0d3e2a1cfbfc669bc2e869f29. This doesn't seem to help and isn't needed if the filesystem has posix acl support. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Apr 29 08:23:01 CEST 2011 on sn-devel-104
2011-04-28s4:libcli/smb_composite: move smb2_composite_setpathinfo_setinfo_done()Stefan Metzmacher1-25/+27
It should be after smb2_composite_setpathinfo_create_done(). metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Apr 28 21:38:53 CEST 2011 on sn-devel-104
2011-04-28s4:libcli/smb_composite: move smb2_composite_setpathinfo_create_done()Stefan Metzmacher1-22/+23
It should be after smb2_composite_setpathinfo_send(). metze
2011-04-28s4:libcli/smb_composite: add smb2_composite_setpathinfo_close_done()Stefan Metzmacher1-1/+12
metze
2011-04-28s4:libcli/smb_composite: better names for smb2_composite_setpathinfo_* funcs ↵Stefan Metzmacher1-22/+15
and vars metze
2011-04-28s4:libcli/smb2: let smb2_session_setup_spnego_* use tevent_reqStefan Metzmacher2-72/+118
metze
2011-04-28s4:libcli/smb2: move smb2_session_setup_spnego_send() to the topStefan Metzmacher1-62/+64
smb2_session_setup_spnego_send() should be on the top of the smb2_session_setup_spnego_* block. metze
2011-04-28s4:libcli/smb2: move smb2_connect_tcon_done()Stefan Metzmacher1-20/+22
It should be after smb2_connect_session_done(). metze
2011-04-28s4:libcli/smb2: move smb2_connect_session_done()Stefan Metzmacher1-36/+38
It should be after smb2_connect_negprot_done(). metze
2011-04-28s4:libcli/smb2: move smb2_connect_negprot_done()Stefan Metzmacher1-69/+71
It should be after smb2_connect_socket_done(). metze
2011-04-28s4:libcli/smb2: move smb2_connect_socket_done()Stefan Metzmacher1-55/+57
It should be after smb2_connect_resolve_done(). metze
2011-04-28s4:libcli/smb2: move smb2_connect_resolve_done()Stefan Metzmacher1-36/+35
It should be after smb2_connect_send(). metze
2011-04-28s4:libcli/smb2: rename step functions of smb2_connect_*()Stefan Metzmacher1-26/+10
They should all start with a smb2_connect_ prefix. metze
2011-04-28s4:libcli/smb2: convert smb2_connect_*() to tevent_reqStefan Metzmacher3-123/+215
metze