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

832 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
3a2c748cf4 s3-build: re-run make samba3-idl.
Guenther
2009-05-14 14:18:26 +02: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
Stefan Metzmacher
7082e4526f s3:librpc/ndr: if uninitialized variable in string_array code
metze
2009-02-19 11:13:34 +01:00
Günther Deschner
2e076ff437 rerun make idl.
Guenther
2009-02-06 11:10:36 +01:00
Günther Deschner
3df528f2d1 netapi: add more SERVER_INFO_X levels.
Guenther
2009-02-06 11:10:36 +01:00
Günther Deschner
35f1e02ca4 librpc: add ndr_size_string_array().
Guenther
2009-02-03 15:42:29 +01:00
Michael Adam
63e23a7d64 s3: run "make samba3-idl"
Michael
2009-01-22 08:16:55 +01:00
Jelmer Vernooij
11a25f9050 Allow calling DCE/RPC server implementations directly using
rpc_pipe_client.
2009-01-21 14:05:51 +01:00
Volker Lendecke
5e6f3eaae9 Move initialization of the reply prs_struct to rpc_api_pipe 2009-01-18 15:40:44 +01:00
Jelmer Vernooij
08259c1c52 Add iconv_convenience argument to size functions. 2009-01-01 04:45:33 +01:00
Jelmer Vernooij
e0016b8833 Remove ndrdump - it's available in merged build mode as bin/ndrdump4 and uses the exact same object files there. 2008-12-16 19:08:36 +01:00
Jelmer Vernooij
b5a0c4cefe Share object files for gen_ndr. 2008-12-16 18:56:21 +01:00
Jelmer Vernooij
5317dd50c0 Add new script for building IDL files in librpc/idl, generating both
Samba 3 and Samba 4 output.
2008-12-16 16:32:18 +01:00
Jelmer Vernooij
ca7e4ce97a Move shared gen_ndr files to librpc/gen_ndr in the root.
At the moment these files are used just by Samba 3, but the next step
will be using them from Samba 4 as well.
2008-12-16 15:59:06 +01:00
Jelmer Vernooij
b2a01ef5dd Consider shared IDL files and Samba3-specific IDL files separately, allow overriding output directory. 2008-12-16 15:42:47 +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
Jelmer Vernooij
573441ff9b Merge branch 'master' of ssh://git.samba.org/data/git/samba 2008-12-14 17:17:55 +01:00
Volker Lendecke
daeb3a190d Remove the global "cmdline_auth_info" from source3/lib/util.c
This involves changing all our clients, that's why it's so large.
2008-12-14 14:00:43 +01:00
Günther Deschner
a1aef939cf s3: re-run make samba3-idl.
Guenther
2008-12-13 00:27:06 +01:00
Jelmer Vernooij
cd25b6245f Move dom_sid to the Samba 3 IDL file, remove the old definition. 2008-12-12 20:20:01 +01:00
Günther Deschner
e580420490 s3-build: re-run make samba3-idl.
Guenther
2008-12-10 11:58:28 +01:00
Günther Deschner
98ea2b12c4 s3-build: re-run make samba3-idl.
Guenther
2008-12-05 14:27:02 +01:00
Günther Deschner
6384c97a42 re-run make samba3-idl.
Guenther
2008-12-02 00:37:39 +01:00
Günther Deschner
408cd5b09d s3-build: re-run make samba3-idl.
Guenther
2008-11-28 13:55:29 +01:00
Jelmer Vernooij
58db2befbd Move netr_SamDatabaseID8Bit to netlogon.idl to prevent problems with
forward enum declarations when compiled with C++.
2008-11-26 18:20:51 +01:00
Günther Deschner
6ed83d3d45 s3-build: re-run make samba3-idl.
Guenther
2008-11-20 17:15:55 +01:00
Günther Deschner
07b3a1e988 s3-build: re-run make samba3-idl after pidl change.
Guenther
2008-11-19 22:00:43 +01:00
Günther Deschner
0e801722e3 s3-build: re-run make samba3-idl.
Guenther
2008-11-17 13:18:19 +01:00
Günther Deschner
5b4140a997 svcctl: fill in SERVICE_CONTROL from s3.
Guenther
2008-11-17 13:18:00 +01:00
Jeremy Allison
4c7033df5d Move v2 from timestamp to 16-byte hash. Got the change in before on disk format is fixed.
Jeremy.
2008-11-13 17:18:41 -08:00
Günther Deschner
92f64d3df5 s3-build: re-run make samba3-idl.
Guenther
2008-11-12 10:19:40 +01:00
Günther Deschner
1f87fc798d ntsvcs: use both named-pipe endpoints.
Guenther
2008-11-12 10:19:25 +01:00
Günther Deschner
2ea5e222c5 s3-build: re-run make samba3-idl.
Guenther
2008-11-12 10:19:10 +01:00
Günther Deschner
0a77b1827d s3-build: re-run make samba3-idl.
Guenther
2008-11-12 10:18:53 +01:00
Günther Deschner
676f3c1c5c s3-build: re-run make samba3-idl (rid2sid).
Guenther
2008-11-10 21:46:31 +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
1f846f6e61 s3-build: re-run make samba3-idl (after cleanup).
Guenther
2008-11-10 21:46:25 +01:00
Günther Deschner
a4c24b4d30 s3-samr-idl: cleanup.
Guenther
2008-11-10 21:46:25 +01:00
Günther Deschner
fdc28cf8a5 s3-netlogon: fix type of parameters string in user delta.
Guenther
2008-11-10 21:46:25 +01:00
Stefan Metzmacher
8d4aaefd86 s3: add missing librpc/gen_ndr/ndr_dom_sid.h
metze
2008-11-08 09:16:44 +01:00
Stefan Metzmacher
07ee1a6e14 s3: make idl
metze
2008-11-08 08:02:27 +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
Stefan Metzmacher
e9b8dd561f s3: build ndr_named_pipe_auth.c
metze
2008-11-06 21:39:15 +01:00
Günther Deschner
884c3b301c s3-build: rerun make samba3-idl.
Guenther
2008-11-06 18:51:08 +01:00
Günther Deschner
6a3a8f7e16 s3-build: re-run make samba3-idl.
Guenther
2008-11-05 15:10:52 +01:00