summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* r23989: For testing purposes, add "echo" to smbclientVolker Lendecke2007-07-221-0/+19
|
* r23988: Looks a lot more scary than it is: This just unwraps the else-branch of Volker Lendecke2007-07-211-67/+74
| | | | | | | if (smb_messages[type].fn == NULL) { into the function top-level. Makes this function a bit easier to understand IMO. Volker
* r23987: Remove static pid in switch_message()Volker Lendecke2007-07-211-5/+3
| | | | | There's no point in duplicating functionality that exists in sys_getpid() that also only used in a debug statement
* r23986: Some constVolker Lendecke2007-07-212-6/+14
|
* r23981: Make tdb_validate_and_backup try harder to end up with a valid tdb:Michael Adam2007-07-201-23/+60
| | | | | | | | | If restoring a backup fails due to lack of space, remove the corrupt tdb previously moved away to "name.corrupt", and retry. If restoring still fails, move the backup in place instead of copying it. Michael
* r23980: Fix one more use of pwrite in expand_file.Michael Adam2007-07-201-1/+10
| | | | Michael
* r23979: Fix another occurence of (written != requested) as anMichael Adam2007-07-201-5/+22
| | | | | | | | | error condition to write. This is in tdb_new_database. Fix one call to tdb_new_database in tdb_open_ex to not overwrite the newly propagated errno (typically ENOSPC). Michael
* r23977: Im prove the pwrite-patch to tdb_expand_file of r23972:Michael Adam2007-07-201-7/+20
| | | | | | | | | | | | | | | | | | | * prevent infinite loops due to 0 bytes written: try once more. if we still get 0 as return, set errno to ENOSPC and return -1 (error) * replace int by correct types (ssize_t and size_t). * print a warning log message in case "written < requested to write" usually this means, that the next call to pwrite will fail with return value -1 and set errno accordingly. Note that the former error condition "written != requested to write" is not a correct error condition of write/pwrite. If this is due to an error, a subsequent call to (p)write will reveal the cause (typically "no space left on device" - ENOSPC). Michael
* r23976: Move authdata.o to LIBADS_SERVER_OBJ.Günther Deschner2007-07-191-2/+2
| | | | Guenther
* r23975: Enhance some debug output.Michael Adam2007-07-191-2/+4
|
* r23974: Fix Coverity ID 361. num_rids == 0 is caught on function entryVolker Lendecke2007-07-191-10/+5
|
* r23973: For debugging, add (undocumented) net ads kerberos commands (kinit, ↵Günther Deschner2007-07-192-1/+112
| | | | | | | | renew, pac). Guenther
* r23972: Fix a bug in pwrite error detection in tdb_expand_file():Michael Adam2007-07-191-3/+3
| | | | | | | The proper error condition is (ret == -1) instead of (ret != number_of_byte_told_to_write). Michael
* r23971: Prevent build failures.Günther Deschner2007-07-191-1/+5
| | | | Guenther
* r23970: Allow to set the debuglevel at which to dump the PAC logon info.Günther Deschner2007-07-191-18/+18
| | | | Guenther
* r23969: Some helper routines to retrieve a PAC and PAC elements.Günther Deschner2007-07-191-0/+160
| | | | Guenther
* r23968: Harmonize net's password prompts.Günther Deschner2007-07-192-16/+35
| | | | Guenther
* r23967: Memleak fix from Atsushi Nakabayashi <nakabayashi@miraclelinux.com>Volker Lendecke2007-07-191-0/+3
| | | | | | Thanks! Volker
* r23963: Janitor for jpeach:Volker Lendecke2007-07-191-2/+3
| | | | | > Linux oplock support is conditional on HAVE_KERNEL_OPLOCKS_LINUX, > not plain old LINUX.
* r23958: Merge from 3_2-ctdb-tridge as requested by Metze.Jeremy Allison2007-07-181-0/+8
| | | | | | | | | /* cope with dead entries from the process not existing. These should not be considered valid, otherwise we end up doing zero timeout sharing violation */ Jeremy.
* r23957: Use tdb_open_log instead of tdb_open.Michael Adam2007-07-181-6/+6
| | | | Michael
* r23955: merge from 3_0-ctdb-tridge:Stefan Metzmacher2007-07-181-0/+4
| | | | | | don't display dead share mode entries in smbstatus metze
* r23953: Some C++ warningsVolker Lendecke2007-07-182-4/+7
|
* r23952: Streamline and improve the logic of tdb_validate_and backup:Michael Adam2007-07-181-29/+63
| | | | | | | | | | | | | | | | | | | | | | | - call tdb_validate on the given tdb. - if validation is successful, create a backup return 0 (success) even if the backup fails. - if validation fails: - move tdb to name.corrupt (don't exit if this fails) - look for a valid backup - if a valid backup is found, restore it, else return -1 (failure) if restoring succeeds, return 0 (success), else -1 (failure) Summing up: If 0 is returned, there is a valid tdb at the given location: either the original one ore one restrored from a backup. If -1 is returned, there is no valid tdb at the given location: Either there is no file at all, or the original file is still in place (if moving it away failed). Michael
* r23951: Fix segfault.Günther Deschner2007-07-181-1/+1
| | | | Guenther
* r23950: unlink before rename is superfluous.Michael Adam2007-07-181-1/+0
| | | | Michael
* r23949: merge from SAMBA_3_2:Stefan Metzmacher2007-07-181-5/+135
| | | | | | | | add gsskrb5 sign and seal support for LDAP connections NOTE: only for the "GSSAPI" SASL mech yet metze
* r23947: merge from SAMBA_3_2:Stefan Metzmacher2007-07-182-2/+123
| | | | | | | | add support for NTLMSSP sign and seal NOTE: windows servers are broken with sign only... metze
* r23944: merge from SAMBA_3_2:Stefan Metzmacher2007-07-184-7/+45
| | | | | | | - always provide ads_setup_sasl_wrapping() function - read/write returning 0 means EOF and we need to return direct metze
* r23942: Fix issue found by Shlomi Yaakobovich <Shlomi@exanet.com> whereJeremy Allison2007-07-181-5/+6
| | | | | | invalid names sent as a resume name were incorrectly mapped into . and .. Ensure they really *are . and .. Jeremy.
* r23941: Don't use "False" when you mean "MARSHALL".Jeremy Allison2007-07-181-1/+1
| | | | Jeremy.
* r23940: Added missing line that was deleted accidently.Jeremy Allison2007-07-171-0/+2
| | | | | Should fix the build. Jeremy.
* r23939: Fixes for notify returns. Returned param value must fix insideJeremy Allison2007-07-172-21/+20
| | | | | max_param or return NT_STATUS_OK. Jeremy.
* r23938: Add a debug message.Michael Adam2007-07-171-0/+2
|
* r23937: Use ads_config_path() when we need to know the configration context.Günther Deschner2007-07-171-26/+11
| | | | Guenther
* r23935: We were lying to the client in the case of POSIX_UNLINKJeremy Allison2007-07-171-16/+51
| | | | | | | | | | | if a Windows client had the file open. We were setting delete on close and returning "ok". The POSIX client then believed the file was gone (and it wasn't). Fix this to return SHARING_VIOLATION if there is an existing NTcreateX open on the file and someone calls POSIX_UNLINK. Still one more Cthon test to fix but getting closer now. Should be in 3.0.25c also. Jeremy.
* r23934: merge from SAMBA_3_2:Stefan Metzmacher2007-07-171-6/+26
| | | | | | | | - implement ctrl SASL wrapping hook - pass down sign or seal hooks - some sasl wrapping fixes metze
* r23932: Fill extended status with information in case the validation traverseMichael Adam2007-07-171-1/+5
| | | | | | | | functions did not do so but returned an error. (This is the case when error occurred deeper than at the level of the content checking done by the per entry validate_fn.) Michael
* r23931: Use the new tdb_validate_and_backup function instead of pure ↵Michael Adam2007-07-171-2/+2
| | | | | | | | tdb_validate in winbindd cache validation. Michael
* r23930: Introduce tdb_validate_and_backup:Michael Adam2007-07-171-1/+239
| | | | | | | | | | | | | | | | | | This is a wrapper around tdb_validate, that does backup handling: * if the given tdb is valid, a backup is created (name.bak) * if the tdb is invalid, if a valid bakup is found (validated with the same validation function) under the name "name.bak" the orignal tdb is moved to name.corrupt and the backup is restored. For the backup handling, a variant of the backup_tdb function from lib/tdb/tools/tdbbackup.c is included in lib/util_tdb.c. The copy function for the traverse action eliminates the need to maintain a global success state by using a struct wrapping the target tdb and a success flag as the private data. Michael
* r23929: Deleting gpo_sd_check_trustee_in_sid_token() as nt_token_check_sid() ↵Günther Deschner2007-07-171-19/+2
| | | | | | | | is what we need here. Guenther
* r23928: Merge all "copy-info3-groups-to-sid-array" blocks to a ↵Günther Deschner2007-07-173-75/+77
| | | | | | | | sid_array_from_info3() function. Guenther
* r23927: merge from SAMBA_3_2:Stefan Metzmacher2007-07-172-3/+69
| | | | | | implement output buffer handling for the SASL write wrapper metze
* r23925: Use NULL instead of 0 for a void * argument.Michael Adam2007-07-171-1/+1
|
* r23924: Merge NET_GETDCNAME from 3_2.Günther Deschner2007-07-174-0/+178
| | | | Guenther
* r23923: merge from SAMBA_3_2:Stefan Metzmacher2007-07-172-17/+175
| | | | | | implement buffer handling for the SASL read wrapper metze
* r23921: Remove GPO_SID_TOKEN struct and use nt_user_token instead, that ↵Günther Deschner2007-07-174-55/+36
| | | | | | | | already has S-1-5-11 in the token. Guenther
* r23920: Fix debug statement.Günther Deschner2007-07-171-1/+1
| | | | Guenther
* r23919: merge from SAMBA_3_2:Stefan Metzmacher2007-07-171-18/+0
| | | | | | not all ldap libraries support debugging metze
* r23917: merge from SAMBA_3_2:Stefan Metzmacher2007-07-171-4/+6
| | | | | | use the correct io operations for debugging metze