1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

401 Commits

Author SHA1 Message Date
Jim McDonough
7930f15f5d Don't require "Modify property" perms to unjoin bug #6481)
"net ads leave" stopped working when "modify properties"
permissions were not granted (meaning you had to be allowed
to disable the account that you were about to delete).

Libnetapi should not delete machine accounts, as this does not
happen on win32.  The WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE flag
really means "disable" (both in practice and docs).

However, to keep the functionality in "net ads leave", we
will still try to do the delete.  If this fails, we try
to do the disable.

Additionally, it is possible in windows to not disable or
delete the account, but just tell the local machine that it
is no longer in the account.  libnet can now do this as well.
2009-06-19 13:46:07 -04:00
Günther Deschner
e272acf484 s3-netapi: add NetShutdownInit and NetShutdownAbort.
I know, they don't exist as such calls on windows but having them in
libnetapi.so would be very handy.

Guenther
2009-05-14 14:18:26 +02:00
Jeremy Allison
6fc8ed7b1f Fix IDL licensing file that got missed when IDL files were moved.
Jeremy.
2009-04-16 12:09:16 -07:00
Volker Lendecke
32a36e4703 Add notify_onelevel.tdb
This optimizes non-recursive notifys. For non-recursive notifies we can use a
per-directory file-id indexed notify record. This matters for the Windows
Explorer and IIS cases which do not use recursive notifies. In these cases, we
do not have to shuffle around the whole notify record on every change.

For the cluster case, this improves correctness of the notifies, ctdb only
distributes the tdb seqnum once a second, so we can lose notifies.
2009-04-16 15:07:06 +02:00
Steven Danneman
b329ea1cf3 s3: Modifications to generic notify structures to allow implementation of OneFS notify.
The OneFS kernel based change notify system takes an fd of the directory
to watch in it's initialization syscall.  Since we already have this
directory open, this commit plumbs that fd down to the VFS layer via the
notify_entry struct.

We also need to know if the watch is taken out on a snapshot directory.
The full file_id struct is also passed down to make this determination.
The file_id marshalling wrappers are hand written here, but should
eventually be auto-generated by moving the struct file_id into the idl.
2009-02-20 14:10:30 -08:00
Günther Deschner
3df528f2d1 netapi: add more SERVER_INFO_X levels.
Guenther
2009-02-06 11:10:36 +01:00
Jelmer Vernooij
0f04beff33 Rename dom_sid.idl -> server_id.idl (since it no longer actually contains the dom_sid). No longer include it from security.idl. 2008-12-16 15:36:18 +01:00
Günther Deschner
8f23dff45e s3-samr: remove old samr.idl file.
Guenther
2008-11-10 21:46:31 +01:00
Günther Deschner
94b7db1fb4 s4-samr: merge samr_RidToSid from s3 idl. (fixme: python)
Guenther
2008-11-10 21:46:27 +01:00
Günther Deschner
a4c24b4d30 s3-samr-idl: cleanup.
Guenther
2008-11-10 21:46:25 +01:00
Stefan Metzmacher
0d25517723 s3: security.idl: split of dom_sid stuff into dom_sid.idl
And use the toplevel ndr_sec_helper.c

metze
2008-11-08 08:02:26 +01:00
Günther Deschner
7ac5660d2c s3-samr-idl: fix samr_QueryUserInfo2.
Guenther
2008-11-05 15:10:01 +01:00
Günther Deschner
abd2139b42 s3-samr-idl: fix samr_ValidatePassword.
Guenther
2008-11-05 15:09:50 +01:00
Günther Deschner
0f9410e806 s3-samr-idl: add Alias Object specific access rights.
Guenther
2008-10-31 21:14:27 +01:00
Günther Deschner
673ba71658 s3-samr-idl: add Group Object specific access rights.
Guenther
2008-10-31 21:14:27 +01:00
Günther Deschner
04c2204e46 s3-samr-idl: add Domain Object specific access rights.
Guenther
2008-10-31 21:14:26 +01:00
Günther Deschner
3913366c9a s3-samr-idl: add User Object specific access rights.
Guenther
2008-10-31 21:14:26 +01:00
Günther Deschner
65eca73272 s3-samr-idl: add SAM server specific access rights.
Guenther
2008-10-31 21:14:26 +01:00
Günther Deschner
767202e668 srvsvc: share srvsvc idl between s3 and s4.
Guenther
2008-10-31 02:44:35 +01:00
Günther Deschner
d2cc4e63c5 s4-srvsvc: merge srvsvc_NetTransportEnum from s3 idl.
Guenther
2008-10-31 02:44:32 +01:00
Günther Deschner
8859e9a904 s4-srvsvc: merge srvsvc_NetTransportDel from s3 idl.
Guenther
2008-10-31 02:44:31 +01:00
Günther Deschner
70c9cb4d9b s4-srvsvc: merge srvsvc_NetServerStatisticsGet from s3 idl.
Guenther
2008-10-31 02:44:31 +01:00
Günther Deschner
bb4894d48b s3-srvsvc-idl: fix srvsvc_NetCharDevQEnum.
Guenther
2008-10-31 02:44:28 +01:00
Günther Deschner
7cd5f73314 s3-srvsvc-idl: fix srvsvc_NetCharDevEnum.
Guenther
2008-10-31 02:44:27 +01:00
Günther Deschner
622650597c s3-srvsvc-idl: add missing field to srvsvc_SrvInfo402/403.
Guenther
2008-10-31 02:44:27 +01:00
Günther Deschner
ca4cd04bed s3-srvsvc-idl: merge STR_LEN4 removal from s4.
Guenther
2008-10-31 02:44:27 +01:00
Günther Deschner
8be9cefd98 netlogon: merge netlogon.idl between s3 and s4.
Guenther
2008-10-29 08:57:53 +01:00
Günther Deschner
8e4c691c0a s4-netlogon: merge netr_ServerAuthenticate{2,3} from s3 idl.
Guenther
2008-10-29 08:57:51 +01:00
Günther Deschner
ef37351f18 s4-netlogon: merge netr_DatabaseSync2 from s3 idl.
Guenther
2008-10-29 08:57:51 +01:00
Günther Deschner
cbc0b63a77 s4-netlogon: merge netr_DatabaseSync from s3 idl.
Guenther
2008-10-29 08:57:51 +01:00
Günther Deschner
f285af6367 s4-netlogon: merge netr_LogonSamLogon{Ex,WithFlags} from s3 idl.
Guenther
2008-10-29 08:57:31 +01:00
Günther Deschner
bb3836a67f s4-smbtorture: fix test_LogonUasLogon.
Guenther
2008-10-28 23:40:44 +01:00
Günther Deschner
98f8f89164 s4-netlogon: merge misc stuff.
Guenther
2008-10-28 23:37:40 +01:00
Günther Deschner
d04131c8ec idl: share lsa.idl between s3 and s4.
Guenther
2008-10-27 19:33:23 +01:00
Günther Deschner
992c03a192 s4-lsa: merge lsa_LookupSids/{2,3} from s3 lsa idl.
Guenther
2008-10-27 19:33:23 +01:00
Günther Deschner
8bcc939a8c s4-lsa: merge lsa_LookupPrivName from s3 lsa idl.
Guenther
2008-10-27 19:33:22 +01:00
Günther Deschner
ea6b4865ea s4-lsa: merge lsa_EnumPrivsAccount from s3 lsa idl.
Guenther
2008-10-27 19:33:22 +01:00
Günther Deschner
95c69caef6 s4-lsa: merge lsa_LookupPrivDisplayName from s3 lsa idl.
Guenther
2008-10-27 19:33:22 +01:00
Günther Deschner
6131c0d888 s4-lsa: merge lsa_EnumTrustDom from s3 lsa idl.
Guenther
2008-10-27 19:33:22 +01:00
Günther Deschner
7e19dd6a0a s4-lsa: merge lsa_EnumAccounts from s3 lsa idl.
Guenther
2008-10-27 19:33:22 +01:00
Günther Deschner
fb38705e42 s4-lsa: merge lsa_EnumPrivs from s3 lsa idl.
Guenther
2008-10-27 19:33:22 +01:00
Günther Deschner
4ee7b58e0a s4-lsa: merge lsa_QuerySecurity from s3 lsa idl.
Guenther
2008-10-27 19:33:21 +01:00
Günther Deschner
eb3c826f7b s3-netlogon-idl: fix IDL for netr_DsrGetDcSiteCoverageW.
Guenther
2008-10-27 14:29:04 +01:00
Günther Deschner
bb36f3a342 idl: merge from s4 lsa.idl to s3.
Guenther
2008-10-20 22:09:07 +02:00
Jelmer Vernooij
d78f3be238 Merge branch 'master' of ssh://git.samba.org/data/git/samba into crypt 2008-10-20 12:19:57 +02:00
Jelmer Vernooij
5b52964b15 Share winreg.idl. 2008-10-20 11:53:20 +02:00
Günther Deschner
640847b4fc s3: forgot to remove old copy of krb5pac.idl.
Guenther
2008-10-20 11:21:45 +02:00
Günther Deschner
f34b6bfe34 idl: share drsblobs idl.
Guenther
2008-10-18 23:54:49 +02:00
Günther Deschner
d413e1f40a drsuapi: share drsuapi idl and helper code.
Guenther
2008-10-18 23:25:48 +02:00
Günther Deschner
82aeb52ec0 s3-winreg: merge from s4 winreg idl.
Guenther
2008-10-17 23:02:02 +02:00