1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

53 Commits

Author SHA1 Message Date
Stefan Metzmacher
b3cae309ae r1904: catch the common gtk function prototypes with make proto
metze
2007-10-10 12:58:10 -05:00
Stefan Metzmacher
932e22badd r1585: add dcpromo.pl start, this should be configure a
samba4 ads domain controller's ldb database

metze
2007-10-10 12:57:42 -05:00
Andrew Bartlett
5d39d7497f r1123: Make all lp_ string functions return 'const char *'.
Fix other 'const' warnings in the torture code.

Andrew Bartlett
2007-10-10 12:56:38 -05:00
Andrew Tridgell
d6dca96352 r919: - added lsa_QueryInfoPolicy2() to IDL, test suite and server
- added lsa_OpenPolicy2() to server

- added guid handling in samdb

- added a couple more info policy levels in lsa server

- added some DNS info in the provisioning template and script

With the above changes WinXP professional can join a Samba4 domain
2007-10-10 12:56:20 -05:00
Stefan Metzmacher
081f7970dd r822: use 'Last Change Rev:' instead of 'Revision:' from the svn info output
for setting the SVN_REVISION in version.h

metze
2007-10-10 12:53:52 -05:00
Stefan Metzmacher
bff8e39d3f r747: report an failure in mkproto.pl via mkproto.sh to make
to fail directly...

metze
2007-10-10 12:53:48 -05:00
Stefan Metzmacher
b1161c4c83 r725: fix usage of $PERL to "$PERL" to handle perl -W correct
metze
2007-10-10 12:53:45 -05:00
Andrew Tridgell
0f12584b4b r594: - make sure all users in the domain have the same base sid!
- added proper ldap time construction to provisioning
2007-10-10 12:51:49 -05:00
Andrew Tridgell
d1dcde1d91 r586: removed --clientfns from build_idl.sh (tim removed that code from pidl) 2007-10-10 12:51:48 -05:00
Andrew Tridgell
10b6e0011b r578: initial server side implementation of samr_CreateUser(),
samr_CreateUser2(), samr_LookupNames(), samr_OpenUser(),
and samr_DeleteUser()

this uses a user template in the SAM db, of objectclass "userTemplate"
and dn CN=TemplateUser,CN=Templates,$BASEDN. Using a template allows
an admin to add any default user attributes that they might want to
the user template and all new users will receive those attributes.
2007-10-10 12:51:48 -05:00
Andrew Tridgell
e2002e40a5 r458: this is the (very primitive) beginnings of a SAMR server for
Samba4. I'm committing this now so I can get comments on the approach.

Note that you need to do something like this to initialise the SAM db:

 edit script/provision.pl
 script/provision.pl > provision.ldif.out
 bin/ldbadd /path/to/private/sam.ldb provision.ldif.out
2007-10-10 12:51:44 -05:00
Stefan Metzmacher
6658e75358 r412: as we decide to not do 3.0.2a releases anymore,
remove the generation stuff from VERSION and mkversion.sh

metze
2007-10-10 12:51:37 -05:00
Tim Potter
65692c9a93 r356: Start of auto-generated client functions. Tridge can you take a look
and tell me what you think?  Output does not compile yet.
2007-10-10 12:51:34 -05:00
Stefan Metzmacher
995f54b208 r212: fix the svk stuff
metze
2007-10-10 12:51:17 -05:00
Stefan Metzmacher
a99e31d10f r211: svk has different revision numbers,
so use "3.9.0-SVK-build-276-metze@dragon"
as version when the working copy is checked out with svk

metze
2007-10-10 12:51:17 -05:00
Stefan Metzmacher
a7f552f96b r205: update to the new version schema
in a svn or svk working copy (checked out tree)
we now have "3.9.0-SVN-build-205" versions
for the SAMBA_4_0 branch

when I put out the 3.9.0 release
it will change to 3.9.1-SVN-build-XXX

I will merge this to SAMBA_3_0 and trunk soon

metze
2007-10-10 12:51:16 -05:00
Gerald Carter
11717ae912 r42: importing .cvsignore files 2007-10-10 12:50:40 -05:00
Jelmer Vernooij
7cab3a00d7 r20: Add the registry library. Still needs a lot of work,
see source/lib/registry/TODO for details.
2007-10-10 12:50:33 -05:00
Stefan Metzmacher
7aab10d507 some systems doesn't have ./ in PATH
so use ./build/pidl/pidl.pl

metze
-
Stefan Metzmacher
350fbe3440 add find_unused_options.sh
this script finds unused lp_*() functions

use it like this:
   user@host:~/samba/source>./script/find_unused_options.sh

metze
-
Stefan Metzmacher
24dc237e10 merge the version.h autogeneration stuff from 3.0
metze
-
Stefan Metzmacher
ebecb6d05b a script which find unused or undefined vars in Makefile or Makefile.in
call it like:

script/find_unused_makefilevars.pl Makefile

or

script/find_unused_makefilevars.pl Makefile.in


metze
-
Jelmer Vernooij
7c6a261871 Add script for finding unused function checks in configure.in -
Jelmer Vernooij
43130f370b Add note about new configure structure. -
Andrew Tridgell
f4abd20b84 more portability fixes. We now almost compile on solaris -
Andrew Tridgell
2d57346c2d lots of shells don't have the -nt test, so use hackish find command
instead
-
Andrew Tridgell
5f6b0baa30 a script fix for the build farm -
Andrew Tridgell
bd3dcfe582 added auto-generation of the server side boilerplate code for each
pipe.

The server side code gets generated as librpc/gen_ndr/ndr_NAME_s.c and
gets included in the pipe module
-
Andrew Tridgell
fe91635da8 some systems don't have "which" and some systems don't have the "-nt"
flag to test. It's amazing that systems like that are ever sold.
-
Andrew Tridgell
b18dce549d fixed shell scripting error -
Andrew Tridgell
e41d95acc0 cope with yapp not being installed -
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
-
Jelmer Vernooij
0e5fdbc01b Add script useful for finding checks for headers that are never used -
Andrew Tridgell
a2bdf0be01 * support multiple interfaces in one IDL file in pidl
* make far more generated functions static

 * get rid of gen_rpc, and include the client calls in ndr_*.c

 * added placeholder IDL for a number of intefaces (dcom, wzcsvc, browser etc)
-
Andrew Tridgell
ccd9ddeed6 added auto-generation of the IDL interface tables. This makes two less
places that need to be edited when someone adds a new IDL file.
-
Andrew Tridgell
64b2c67e47 save about 35% of the time for "make idl" by processing multiple IDL
files at once, which means less perl startup time.
-
Andrew Tridgell
f6bb118799 by using a single proto.h we gain another factor of 4 in the speed of
"make proto"
-
Andrew Tridgell
1c980e6c4e final bit of tidyup and speedup -
Andrew Tridgell
9ea02c51d4 much faster inner loop and neater code -
Andrew Tridgell
945ada7e7e fixed loadparm handling properly -
Andrew Tridgell
e58384eb53 nicer base type handling -
Andrew Tridgell
04eb12b56c reduced the number of magic types we need in mkproto.pl
In general I prefer "struct foo" to just "foo" for most
structures. There are exceptions.
-
Andrew Tridgell
f11f757c87 get rid of our awk scripts -
Andrew Tridgell
9386326868 changed to perl for mkproto, patch from vance -
Andrew Tridgell
2ed87a52cc we now use a copy of pidl inside the samba4 source tree at
source/build/pidl/

I imported the code using direct respository manipulation to preserve
the commit history
-
Andrew Tridgell
49c72d4276 moved the pidl auto-generated files out of CVS -
Andrew Tridgell
ab5939e796 simple method for auto-building rpc files if idl changes, and
auto-building proto.h if it doesn't exist. This should make life a
little easier for developers
-
Andrew Tridgell
8e52381313 - added the rest of the LSA calls as stubs
- auto-generate the client calls with 'make idl'
-
Andrew Tridgell
9aacdb5b8a check for pidl.pl in path, not $HOME/pidl/ -
Andrew Tridgell
47a17e5a08 - more generation fixes
- added auto-generation from the Makefile. Only called when you run "make idl"
-