summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2008-10-09Ensure we handle signals correctly during the async calls.Jeremy Allison1-2/+2
Jeremy.
2008-10-09Remove SEC_ACCESS. It's a uint32_t.Jeremy Allison20-107/+68
Jeremy.
2008-10-09Make use of ZERO_STRUCT (the first memset was actually wrong)Volker Lendecke1-3/+3
2008-10-09mount.cifs: make return codes match the return codes for /bin/mount (try #3)Jeff Layton1-36/+46
The manpage for /bin/mount specifies that the return code should be a positive integer (actually, it's a bitfield). Clean up the return codes from mount.cifs to make them match the expected return values from /bin/mount. This necessary for proper integration with autofs. This is the third attempt at this patch. The changes here are minor, just changing some return's from main() into exit() calls for consistency's sake. Signed-off-by: Jeff Layton <jlayton@redhat.com>
2008-10-09mount.cifs: have uppercase_string return success on NULL pointerJeff Layton1-2/+2
We currently don't attempt to uppercase the device portion of the mount string if there isn't a prefixpath. Fix that by making uppercase_string return success without doing anything on a NULL pointer. Signed-off-by: Jeff Layton <jlayton@redhat.com>
2008-10-09wbclient: add wbcLookupDomainControllerEx call.Günther Deschner2-1/+159
Guenther
2008-10-09wbclient: add wbcGuidToString and wbcStringToGuid helper functions.Günther Deschner3-0/+129
Guenther
2008-10-09wbclient: add wbcGuid structure.Günther Deschner1-0/+13
Guenther
2008-10-09wbclient: add my copyright.Günther Deschner1-0/+1
Guenther
2008-10-09krb5-locator: fix dsgetdcname caller.Günther Deschner1-5/+22
Guenther
2008-10-09wbinfo: fix dsgetdcname caller.Günther Deschner1-3/+11
Guenther
2008-10-09s3-winbindd: use new, richer structures in WINBINDD_DSGETDCNAME implementation.Günther Deschner1-21/+40
Guenther
2008-10-09Remove a pointless level of indirectionVolker Lendecke3-12/+1
2008-10-09Fix a typoVolker Lendecke1-1/+1
2008-10-09build: add "make test_wbpad" for checking winbind 32/64bit structure padding.Günther Deschner2-0/+86
Guenther
2008-10-09s3-winbindd: add dsgetdcname request and reply to winbind structure.Günther Deschner1-0/+17
Guenther
2008-10-08For the vfs_acl_xattr.c module, make sure we map GENERIC file and directory bitsJeremy Allison5-2/+52
to specific bits every time a security descriptor is set. The S4 torture suite proves that generic bits are not returned when querying an ACL set using them (ie. only the specific bits are stored on disk). Jeremy.
2008-10-08Fixed "might be uninitialized" warningTim Prouty1-2/+2
2008-10-08Deal with inheritance from parent directory when setting WindowsJeremy Allison3-1/+20
ACLs. Jeremy.
2008-10-08Fix bug #5814 - Winbindd dumping core in a strange manner while doing ↵Jeremy Allison1-0/+23
"rescan_trusted_domain". From analysis by hargagan <shargagan@novell.com> : "The winbindd_child_died() is also getting called from process_loop() in case of SIGCHLD signal. In this case it doesn't make the timeout_handler to NULL for the first request. It then initiate a new request using schedule_async_request() which installs a new timeout handler for the same request. In such a case, for a badly unresponsive system both the timeout handler can be called. For the first call the "private_data" will be cleared and for another call the timeout handler will be detecting the double free. So, for such a case as well, the winbindd_child_died() should make the timeout_handler to NULL." Jeremy.
2008-10-08Remove unused CHECK_FSP macroVolker Lendecke2-19/+2
2008-10-08fix libclinbtsrcdir variable.Jelmer Vernooij1-1/+1
2008-10-07Fix const warning.Jeremy Allison1-1/+1
Jeremy.
2008-10-07Update vfs version as I've added a const to the security_descriptor paramter ↵Jeremy Allison11-52/+50
in fset_nt_acl(). Need to watch the build farm to make sure I haven't broken the AIX or Solaris ACL modules. Jeremy.
2008-10-07Make map_errno_from_nt_status() a generic call, not just a cli specific one.Jeremy Allison4-160/+175
Remove some unused calls from vfs_acl_xattr. Test for SD's on existing files. Jeremy.
2008-10-06Fixed build warning "passing arg from incompatible pointer type"Tim Prouty1-1/+3
The fix explicitly makes the conversion from timeval to time_t using the existing time utility functions. Compiling modules/vfs_smb_traffic_analyzer.c modules/vfs_smb_traffic_analyzer.c: In function `smb_traffic_analyzer_send_data': modules/vfs_smb_traffic_analyzer.c:173: warning: passing arg 1 of `localtime' from incompatible pointer type
2008-10-06idmap_adex: Add more debugging to the basic search function.Gerald (Jerry) Carter1-0/+18
Log the dn of all located entries in order to verify search results.
2008-10-06idmap_adex: Add log messages to dc_add_domain for easier debugging.Gerald (Jerry) Carter1-0/+8
Part of continue work on BUG 5806.
2008-10-06If name_to_fqdn fails, retry with the dns domain the DC gave usVolker Lendecke1-3/+8
This is a workaround for the cases where you want to join under a netbios name that is different from your hostname, i.e. a name that can not be found in /etc/hosts or dns. In these cases, name_to_fqdn fails or gives invalid results.
2008-10-06Log in the parent winbind log where a request is goingVolker Lendecke1-0/+4
2008-10-06Add netlogond auth methodVolker Lendecke4-1/+330
This authenticates against a local running samba4 using SamLogonEx. We retrieve the machine password using samba4's mymachinepwd script and store the schannel key for re-use in secrets.tdb.
2008-10-06Add dyn_NCALRPCDIRVolker Lendecke4-0/+26
2008-10-06Store a local schannel key in secrets.tdbVolker Lendecke3-0/+29
2008-10-05Fix some nonempty blank linesVolker Lendecke1-25/+25
2008-10-05Remove an unused variableVolker Lendecke1-1/+0
2008-10-05Fix some missing error handlingsVolker Lendecke3-2/+8
2008-10-05OS/X does not have rl_done in readline.hVolker Lendecke1-0/+8
2008-10-05Fix an uninitialized variable warningVolker Lendecke1-0/+2
Not sure if we can ever not get domain and dns_domain, but gcc complained
2008-10-04Fix an unlikely memleak found by the IBM checkerVolker Lendecke1-0/+2
2008-10-04Fix an uninitialized variable found by the IBM CheckerVolker Lendecke1-0/+1
2008-10-04Fix a potential NULL deref in line 258 found by the IBM checkerVolker Lendecke1-0/+1
2008-10-04"gwen/cc" does not like the double const :-)Volker Lendecke1-1/+1
2008-10-03Fix the build farm. In this branch cli_echo returns NTSTATUS.Jeremy Allison1-1/+4
Jeremy
2008-10-03Correctly fix smbclient to terminate on eof from server.Jeremy Allison3-3/+24
Jeremy.
2008-10-03Simply our main loop processing. A lot :-). Correctly use events for all the ↵Jeremy Allison7-188/+148
previous "special" cases. A step on the way to adding signals to the events and being able to merge the S3 event system with the S4 one. Jeremy.
2008-10-03net_dns: Make "lwinet ads dns register" honor the "interfaces" parameter.Gerald (Jerry) Carter1-13/+12
This is helpful on multihomed hosts that only require a subset of IP addresses be registered with DNS.
2008-10-03libaddns: Use the same prerequisite for DDNS update as Windows XP.Gerald (Jerry) Carter1-2/+2
Hostname, TYPE: CNAME, CLASS: NONE This has to have been broken for ages. I cannot see how it would have worked in any environment.
2008-10-02Don't reject a successful alloc :-(.Jeremy Allison1-1/+1
Jeremy.
2008-10-02Fix bug 5805: don't close stdoutDerrell Lipman1-1/+3
- When calling setup_logging multiple times, the code was closing the debug file descriptor before opening or assigning the new one. We don't, however, want to close the debug file descriptor if it is stdout. Derrell
2008-10-02The IRIX compiler does not like embedded unnamed unionsVolker Lendecke3-13/+13