1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-09 09:57:48 +03:00

21520 Commits

Author SHA1 Message Date
Günther Deschner
f8806bad81 Add libnetapi_set_error_string and libnetapi_get_error_string.
Guenther
2008-01-07 20:13:18 +01:00
Günther Deschner
df2b078fa1 Add krb5 cc env to libnetapi_ctx.
Guenther
2008-01-07 20:13:02 +01:00
Günther Deschner
863fb30038 Let libnetapi use it's own krb5 cred cache in memory if necessary.
Guenther
2008-01-07 20:12:38 +01:00
Günther Deschner
f550ed02ff Add libnet_join_find_machine_acct().
Guenther
2008-01-07 19:39:35 +01:00
Günther Deschner
ed164b523e Honor the WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE flag when unjoining from AD.
Guenther
2008-01-07 19:39:21 +01:00
Günther Deschner
18ae858042 Rearrange libnet join code and add support for account pre-creation in AD.
Guenther
2008-01-07 19:39:11 +01:00
Günther Deschner
985d452069 Add ADS_STRUCTs to libnetjoin and -unjoin, with talloc destructors.
Guenther
2008-01-07 19:38:59 +01:00
Günther Deschner
4f9985bb33 Add error_string to libnetjoin and libnetunjoin structures incl. set functions.
Guenther
2008-01-07 19:38:48 +01:00
Günther Deschner
89669c66f2 Rearrange order of libnet join context init.
Guenther
2008-01-07 19:38:35 +01:00
Günther Deschner
5abae9ef15 Free libnet_JoinCtx after joining.
Guenther
2008-01-07 19:38:22 +01:00
Günther Deschner
e7258a4408 Close registry in libnetapi_free().
Guenther
2008-01-07 19:38:10 +01:00
Günther Deschner
a72ad63163 Add NET_API_STATUS_SUCCESS define.
Guenther
2008-01-07 19:37:54 +01:00
Michael Adam
195c519377 Remove redundant parameter fd from SMB_VFS_KERNEL_FLOCK().
Michael
2008-01-07 17:14:20 +01:00
Michael Adam
5c01309a2b Fix wrong unused opaque macro for kernel_flock().
Michael
2008-01-07 16:59:10 +01:00
Michael Adam
4f3ab2c406 Remove redundant parameter fd from SMB_VFS_LOCK().
Michael
2008-01-07 16:38:23 +01:00
Michael Adam
20691272a1 Fix the build: Fix caller of strict_allocate_ftruncate().
Michael
2008-01-07 16:12:03 +01:00
Michael Adam
2ad66050a0 Remove redundant parameter fd from SMB_VFS_FTRUNCATE().
Michael
2008-01-07 15:59:02 +01:00
Michael Adam
fbb193db3e Remove redundant parameter fd from SMB_VFS_FCHOWN().
Michael
2008-01-07 15:59:02 +01:00
Michael Adam
a54d5604da Remove redundant parameter fd from SMB_VFS_FCHMOD().
Michael
2008-01-07 15:59:02 +01:00
Michael Adam
0b86c420be Remove redundant parameter fd from SMB_VFS_FSTAT().
Michael
2008-01-07 15:59:01 +01:00
Michael Adam
8f83c9a7b2 Remove redundant parameter fd from SMB_VFS_FSYNC().
Michael
2008-01-07 15:59:01 +01:00
Michael Adam
df929796f2 Remove redundant parameter fd from SMB_VFS_LSEEK().
Michael
2008-01-07 15:59:01 +01:00
Michael Adam
8c4901a19a Remove redundant parameter fd from SMB_VFS_PWRITE().
Michael
2008-01-07 15:59:01 +01:00
Günther Deschner
73233a06d6 Fix build warning.
Guenther
2008-01-07 14:53:16 +01:00
Günther Deschner
f3ebb4f96b Add free_local_machine_name().
Guenther
2008-01-07 14:53:07 +01:00
Günther Deschner
d73bde99e8 Fix two memleaks in libnetapi.
Guenther
2008-01-07 12:48:21 +01:00
Günther Deschner
dd3fbd93b6 Add secrets_shutdown().
Guenther
2008-01-07 12:48:21 +01:00
Günther Deschner
48f09ca376 In gfree_debugsyms() free the format_bufr as well.
Guenther
2008-01-07 12:48:21 +01:00
Günther Deschner
bf9ce2a928 Failure while unjoining a domain is non-critical.
Just continue joining to the workgroup in that case.

Guenther
2008-01-07 12:48:21 +01:00
Günther Deschner
bc025a3860 Only create machine account in libnetjoin when requested to.
Guenther
2008-01-07 12:48:21 +01:00
Michael Adam
6f673b7f10 Use the proper boolean constants.
Michael
2008-01-07 11:27:54 +01:00
Michael Adam
62d6d4fff2 Fix a comment.
Michael
2008-01-07 11:19:27 +01:00
Michael Adam
dba24ceae7 Make wcache_invalidate_cache() return bool, not int.
Michael
2008-01-07 10:59:14 +01:00
Michael Adam
66fc1db1d1 Add some braces to if statement.
Michael
2008-01-07 10:41:09 +01:00
Andreas Schneider
d0c0f91fb9 Prevent winbindd from segfaulting due to corrupted cache tdb.
If we try to flush the caches and due to a corrupted tdb we and have no tdb
context close the tdb and validate it. Initialize the cache afterwards again.
2008-01-07 10:24:34 +01:00
Michael Adam
73e28806ce Remove unneeded parameter fd from SMB_VFS_PREAD().
Michael
2008-01-07 00:14:19 +01:00
Michael Adam
4f2d139a18 Remove superfluous parameter fd from SMB_VFS_FSET_NT_ACL().
Michael
2008-01-06 23:08:00 +01:00
Michael Adam
8fce247bcf Wrap lines for readability.
Michael
2008-01-06 23:08:00 +01:00
Michael Adam
c0c7c1223d Remove superfluous fd parameter from SMB_VFS_FGET_NT_ACL().
Michael
2008-01-06 23:07:59 +01:00
Michael Adam
020ed731b1 Remove vlp.o in make clean.
Michael
2008-01-06 22:50:38 +01:00
Steve French
d3b91e494c Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test 2008-01-05 14:51:23 -06:00
Jeremy Allison
3e3205309b Fix %d / size_t printf arg missmatch.
Jeremy.
2008-01-05 01:17:33 -08:00
Jeremy Allison
45ae90b77e Fix missing return - should be void.
Jeremy.
2008-01-05 01:16:09 -08:00
Jeremy Allison
0475bdcf44 Add -e to smbget.
Jeremy.
2008-01-05 00:51:50 -08:00
Jeremy Allison
07d47996f9 Add the options smb_encrypt_level to set the requested
encrypt level and smb_encrypt_on to query it.
Jeremy.
2008-01-05 00:51:18 -08:00
Jeremy Allison
f97b1247c1 Fix -e for smbcquotas.
Jeremy.
2008-01-05 00:50:03 -08:00
Jeremy Allison
ef1bbcdfb9 Use the common -e option not the custom one.
Jeremy.
2008-01-05 00:46:04 -08:00
Jeremy Allison
7b0826aeec Fix args to cli_force_encryption.
Jeremy.
2008-01-05 00:41:48 -08:00
Jeremy Allison
757653966f Add general '-e' option to enable smb encryption
on tools.
Jeremy.
2008-01-05 00:23:35 -08:00
Jeremy Allison
7e8e91aeb3 More logical operation on bool.
Jeremy.
2008-01-04 23:26:47 -08:00