1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

434 Commits

Author SHA1 Message Date
Andrew Tridgell
b18dce549d fixed shell scripting error -
Andrew Tridgell
e41d95acc0 cope with yapp not being installed -
Andrew Tridgell
9246b4a331 "make proto" now depends on "make idl_test"
this should give the build farm a fighting chance
-
Andrew Tridgell
2b1300386d commit idl.pm now, as many build farm machines don't have 'yapp' -
Andrew Tridgell
be2c2be459 * reduced the number of grammer conflicts a lot using (arbitrary)
precedence rules

 * build a standalone parser. When we come to distributing Samba4 we
   can just include idl.pm and other developers won't need Parse::Yapp
   installed

 * avoid the recursive make in most cases in build_idl.sh
-
Andrew Tridgell
4e1a5a21a4 don't save the intermediate form to disk unless we need to -
Andrew Tridgell
788f6c44db a bit more speed and better line matching in errors -
Andrew Tridgell
76f48affe5 make pidl a little less verbose -
Andrew Tridgell
4bbaffeb44 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.
-
Andrew Tridgell
77c622c3ac removed an unused file -
Andrew Tridgell
03bf306596 merged more updates from Jim Myers -
Andrew Tridgell
126fcd4a76 * 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()
-
Andrew Tridgell
f2d3dc9893 * patch based on work by Jim Myers to unify the ioctl handling to be
more like the other major SMB functions

* added SMBntrename code
-
Andrew Tridgell
3d48fa8f37 don't use c++ comments -
Andrew Tridgell
5f1cdc4839 we can't have two functions with the same name -
Andrew Tridgell
b11a19cc76 don't use c++ style comments -
Andrew Tridgell
d7b6aa1e2e some OSes already have a uint_t -
Andrew Tridgell
ad52fd9baf my debian unstable box uses "autoconf2.50" - i wish there were a
better way than this!
-
Tim Potter
718ee8bccc Updated some of the function names in the IDL. -
Andrew Bartlett
53e657b745 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
-
Andrew Tridgell
387d8f25ff 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 !
-
Andrew Tridgell
0f6af0c4bd added netr_DatabaseSync2() -
Andrew Tridgell
cc4123db4b added netr_LogonControl2() and netr_ServerAuthenticate2() -
Jelmer Vernooij
369a9c1ac1 Initial step at cleaning and splitting up configure.in. -
Andrew Tridgell
17b2be4e85 added netr_LogonControl() and netr_GetAnyDCName() -
Jelmer Vernooij
0e5fdbc01b Add script useful for finding checks for headers that are never used -
Andrew Tridgell
63f46b223e added netr_GetDcName() - quite a useful call -
Andrew Tridgell
b2ca00ebc5 added netr_AccountSync(), another NT_STATUS_NOT_IMPLEMENTED call
according to w2k3
-
Andrew Tridgell
aaf776a1c1 added netr_AccountDeltas(), which w2k3 gives
"NT_STATUS_NOT_IMPLEMENTED" for
-
Andrew Tridgell
2ee5540629 make sure we can expand the critical versions structure without
causing crashes in old modules. Thanks to metze for pointing this out!
-
Andrew Tridgell
f9377c8603 netr_DatabaseDeltas() now works. We ask for the deltas associated with
the last two sequence numbers on each database.
-
Tim Potter
13d073d805 Hide gcc error message if using a compiler that can't precompile headers. -
Andrew Tridgell
1732aae562 * 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.
-
Andrew Tridgell
107307b4c6 don't pollute the structure name space so much -
Andrew Tridgell
c4c09e9413 netr_DatabaseSync() now works fully for databases 0, 1 and 2 -
Andrew Tridgell
360d03bb56 netr_DatabaseSync() now works fully for database 0 -
Andrew Tridgell
75ea276c14 initial netlogon database sync partly works - needs some IDL tweaks -
Andrew Tridgell
983c0e9683 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.
-
Andrew Tridgell
3c7287c24e 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
-
Andrew Tridgell
3dd978b12b * 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
-
Andrew Tridgell
e6e0906464 * another small API change in the credentials code
* don't use static variables in the smbdes code
-
Andrew Tridgell
b7d748f499 neater credentials handling in netlogon client code -
Andrew Tridgell
c8ef040774 fixed NTLMSSP_SIGN_VERSION (which I broke earlier today) -
Andrew Tridgell
4fa3ad3ecb added netr_LogonSamLogon() and test code -
Andrew Tridgell
8c7a9446a0 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
-
Andrew Tridgell
bb42107dcc added netr_ServerReqChallenge and cleaned up byte array printing -
Andrew Tridgell
3d64eefb46 started adding netlogon IDL and test suite -
Andrew Tridgell
fbccf58539 removed more old code -
Andrew Tridgell
2955ce55ee got rid of more group mapping code -
Andrew Tridgell
9b02b486ef * got rid of UNISTR2 and everything that depends on it
* removed a bunch of code that needs to be rewritten using the new
    interfaces
-