Andrew Tridgell
4e1bac41f4
make pidl a little less verbose
...
(This used to be commit 76f48affe5
)
2003-12-07 13:39:45 +00:00
Andrew Tridgell
55d2c54e03
re-wrote pidl to use Parse::Yapp instead of Parse::RecDescent, This
...
makes pidl about 3x faster, and also gives us much better error
reporting and a more standard grammer definition that will be much
easier to code in lex/yacc if we want to do so at a later
date. (Parse::Yapp uses essentially the same grammer file as lex/yacc)
It also means we no longer need Parse::RecDescent, which should make
pidl much more portable.
(This used to be commit 4bbaffeb44
)
2003-12-07 13:38:07 +00:00
Andrew Tridgell
e10859fd0a
removed an unused file
...
(This used to be commit 77c622c3ac
)
2003-12-04 11:02:22 +00:00
Andrew Tridgell
42c6a2548a
merged more updates from Jim Myers
...
(This used to be commit 03bf306596
)
2003-12-04 11:01:58 +00:00
Andrew Tridgell
2e5ae6f065
* added a debug thread id hook from jim myers
...
* change to select() from sys_select() in events.c, as sys_select() is
not thread safe. We need a new unified signal handling scheme for
Samba4, but for now just use select()
(This used to be commit 126fcd4a76
)
2003-12-04 09:52:14 +00:00
Andrew Tridgell
926240428c
* patch based on work by Jim Myers to unify the ioctl handling to be
...
more like the other major SMB functions
* added SMBntrename code
(This used to be commit f2d3dc9893
)
2003-12-04 02:03:06 +00:00
Andrew Tridgell
b8cbd9181e
don't use c++ comments
...
(This used to be commit 3d48fa8f37
)
2003-12-04 01:59:24 +00:00
Andrew Tridgell
cdd782782f
we can't have two functions with the same name
...
(This used to be commit 5f1cdc4839
)
2003-12-04 01:19:03 +00:00
Andrew Tridgell
0e958fbe47
don't use c++ style comments
...
(This used to be commit b11a19cc76
)
2003-12-04 01:18:34 +00:00
Andrew Tridgell
eaa02c7e0d
some OSes already have a uint_t
...
(This used to be commit d7b6aa1e2e
)
2003-12-04 01:17:59 +00:00
Andrew Tridgell
2bd7a626a6
my debian unstable box uses "autoconf2.50" - i wish there were a
...
better way than this!
(This used to be commit ad52fd9baf
)
2003-12-04 01:17:00 +00:00
Tim Potter
61a2a79105
Updated some of the function names in the IDL.
...
(This used to be commit 718ee8bccc
)
2003-12-03 11:31:29 +00:00
Andrew Bartlett
ec92e2f9a2
My first stab at Samba4 IDL!
...
This patch adds the samr_CreateUser2 function, which is create_user
in Samba 3.0.
This also adds a torture suite that checks for various valid and invalid
account flags, and that they are persistant.
Also, a patch by Anthony Liguori to fix the build
Andrew Bartlett
(This used to be commit 53e657b745
)
2003-12-03 03:10:10 +00:00
Andrew Tridgell
ea507ee605
added netr_LogonControl2Ex()
...
I also added IDL for netr_DatabaseRedo() but I don't yet know how it
works
thats the last of the netlogon IDL !
(This used to be commit 387d8f25ff
)
2003-12-02 12:16:08 +00:00
Andrew Tridgell
de32d669c6
added netr_DatabaseSync2()
...
(This used to be commit 0f6af0c4bd
)
2003-12-02 12:01:10 +00:00
Andrew Tridgell
9ebe4489e7
added netr_LogonControl2() and netr_ServerAuthenticate2()
...
(This used to be commit cc4123db4b
)
2003-12-02 11:43:09 +00:00
Jelmer Vernooij
47702c8552
Initial step at cleaning and splitting up configure.in.
...
(This used to be commit 369a9c1ac1
)
2003-12-02 11:10:56 +00:00
Andrew Tridgell
10ad200350
added netr_LogonControl() and netr_GetAnyDCName()
...
(This used to be commit 17b2be4e85
)
2003-12-02 10:34:06 +00:00
Jelmer Vernooij
8af907950f
Add script useful for finding checks for headers that are never used
...
(This used to be commit 0e5fdbc01b
)
2003-12-02 10:13:18 +00:00
Andrew Tridgell
02df116352
added netr_GetDcName() - quite a useful call
...
(This used to be commit 63f46b223e
)
2003-12-02 10:08:26 +00:00
Andrew Tridgell
16c688c9ea
added netr_AccountSync(), another NT_STATUS_NOT_IMPLEMENTED call
...
according to w2k3
(This used to be commit b2ca00ebc5
)
2003-12-02 10:04:10 +00:00
Andrew Tridgell
9ec4269760
added netr_AccountDeltas(), which w2k3 gives
...
"NT_STATUS_NOT_IMPLEMENTED" for
(This used to be commit aaf776a1c1
)
2003-12-02 09:52:15 +00:00
Andrew Tridgell
c290906b3f
make sure we can expand the critical versions structure without
...
causing crashes in old modules. Thanks to metze for pointing this out!
(This used to be commit 2ee5540629
)
2003-12-02 09:16:53 +00:00
Andrew Tridgell
cea22e94fc
netr_DatabaseDeltas() now works. We ask for the deltas associated with
...
the last two sequence numbers on each database.
(This used to be commit f9377c8603
)
2003-12-02 08:04:37 +00:00
Tim Potter
64b7cdfc81
Hide gcc error message if using a compiler that can't precompile headers.
...
(This used to be commit 13d073d805
)
2003-12-02 05:38:27 +00:00
Andrew Tridgell
a11727b930
* made some field names more consistent, and worked out that
...
unknown1 is profile_path
If we are going to use automatic backend database generation then we
are going to have to move to really consistent field names in all our
IDL. Thats the only way we are going to be able to automate it a
lot. That will take a couple of days to do when we get to it.
(This used to be commit 1732aae562
)
2003-12-02 05:37:49 +00:00
Andrew Tridgell
c7a1a69d2c
don't pollute the structure name space so much
...
(This used to be commit 107307b4c6
)
2003-12-02 05:17:02 +00:00
Andrew Tridgell
399496d9d9
netr_DatabaseSync() now works fully for databases 0, 1 and 2
...
(This used to be commit c4c09e9413
)
2003-12-02 04:59:18 +00:00
Andrew Tridgell
9632db5a19
netr_DatabaseSync() now works fully for database 0
...
(This used to be commit 360d03bb56
)
2003-12-02 04:33:57 +00:00
Andrew Tridgell
f9419900d3
initial netlogon database sync partly works - needs some IDL tweaks
...
(This used to be commit 75ea276c14
)
2003-12-02 04:05:05 +00:00
Andrew Tridgell
d65f0095c9
added netr_DatabaseSync(). It doesn't work as I haven't done schannel
...
yet, but at least the request is understood by w2k3
Also modified pidl to allow multiple branches in a union to have the
same element. This is used in netlogon.
(This used to be commit 983c0e9683
)
2003-12-02 03:06:21 +00:00
Andrew Tridgell
2e70035f87
another big improvement in the credentials API. I think it now
...
actually makes sense, and as a nice side effect it matches the debug
output of the w2k3 netlogon.log
(This used to be commit 3c7287c24e
)
2003-12-02 02:15:33 +00:00
Andrew Tridgell
06ae424835
* netr_ServerPasswordSet() now works - the test suite changes the
...
machine account password.
* neater handling on value() options in IDL. The auto-print code
will now display the right value so you don't need to initialise
it in your C code
(This used to be commit 3dd978b12b
)
2003-12-02 00:31:54 +00:00
Andrew Tridgell
8b30b0071c
* another small API change in the credentials code
...
* don't use static variables in the smbdes code
(This used to be commit e6e0906464
)
2003-12-01 22:13:11 +00:00
Andrew Tridgell
f9e2a8af39
neater credentials handling in netlogon client code
...
(This used to be commit b7d748f499
)
2003-12-01 12:41:54 +00:00
Andrew Tridgell
232d6480a7
fixed NTLMSSP_SIGN_VERSION (which I broke earlier today)
...
(This used to be commit c8ef040774
)
2003-12-01 10:07:24 +00:00
Andrew Tridgell
a6cf6cada9
added netr_LogonSamLogon() and test code
...
(This used to be commit 4fa3ad3ecb
)
2003-12-01 09:28:10 +00:00
Andrew Tridgell
b4b0177fdb
added netr_ServerAuthenticate() and test code
...
I would like the netlogon test suite to eventually do a new domain
join using a fake workstation name, then remove itself afterwards, but
for now I'm assuming we are already joined to the domain when the
testsuite runs. This means you need to use the Samba3 net command to
do a join before running RPC-NETLOGON
(This used to be commit 8c7a9446a0
)
2003-12-01 04:13:43 +00:00
Andrew Tridgell
5b46116923
added netr_ServerReqChallenge and cleaned up byte array printing
...
(This used to be commit bb42107dcc
)
2003-12-01 03:19:43 +00:00
Andrew Tridgell
b0531a38cc
started adding netlogon IDL and test suite
...
(This used to be commit 3d64eefb46
)
2003-12-01 01:41:38 +00:00
Andrew Tridgell
cfd41af814
removed more old code
...
(This used to be commit fbccf58539
)
2003-12-01 00:38:30 +00:00
Andrew Tridgell
8d92b0a392
got rid of more group mapping code
...
(This used to be commit 2955ce55ee
)
2003-12-01 00:29:13 +00:00
Andrew Tridgell
7602aa50fd
* got rid of UNISTR2 and everything that depends on it
...
* removed a bunch of code that needs to be rewritten using the new
interfaces
(This used to be commit 9b02b486ef
)
2003-12-01 00:17:30 +00:00
Andrew Tridgell
fa062af11a
* removed a bunch of unused code
...
* made some functions static
(This used to be commit 829b87f30d
)
2003-11-30 23:40:04 +00:00
Tim Potter
d944b9780a
Added EnumPrinterDriver, GetPrinterDriver (still in progress)
...
(This used to be commit a818439b59
)
2003-11-30 11:57:40 +00:00
Andrew Tridgell
c95ae2d890
more unused headers
...
(This used to be commit 39b726d068
)
2003-11-30 11:45:08 +00:00
Andrew Tridgell
e01b018359
got rid of a bunch of unused header files (now replaced with IDL
...
generated headers)
(This used to be commit 7f2ac326f9
)
2003-11-30 11:39:03 +00:00
Tim Potter
2bb7ff5915
GetPrinterDataEx, SetPrinterDataEx, DeletePrinterDataEx.
...
(This used to be commit e8367f5735
)
2003-11-28 11:50:33 +00:00
Tim Potter
d55fc1c9f2
Add SetPrinterData, DeletePrinterData.
...
(This used to be commit ea534f82d0
)
2003-11-28 10:34:58 +00:00
Andrew Tridgell
f83f0cb060
fixed some warnings
...
(This used to be commit 1c2b8a93c5
)
2003-11-28 09:05:44 +00:00