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

147 Commits

Author SHA1 Message Date
Stefan Metzmacher
19fba1fafa r725: fix usage of $PERL to "$PERL" to handle perl -W correct
metze
(This used to be commit b1161c4c832dd0a2975eee0908d9d5cd6171f608)
2007-10-10 12:53:45 -05:00
Andrew Tridgell
961060351e r594: - make sure all users in the domain have the same base sid!
- added proper ldap time construction to provisioning
(This used to be commit 0f12584b4b1b90aa20c6a4a5199829b5beba2a1d)
2007-10-10 12:51:49 -05:00
Andrew Tridgell
8c2636f59a r586: removed --clientfns from build_idl.sh (tim removed that code from pidl)
(This used to be commit d1dcde1d913803a44b07a1937262ae627680072c)
2007-10-10 12:51:48 -05:00
Andrew Tridgell
0ed08d9398 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.
(This used to be commit 10b6e0011b5952c98432dc2d4b2058ac89a9cc2d)
2007-10-10 12:51:48 -05:00
Andrew Tridgell
8db18a0775 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
(This used to be commit e2002e40a5abe0cd33a2056b1da8ba5732f9021f)
2007-10-10 12:51:44 -05:00
Stefan Metzmacher
405e08683d r412: as we decide to not do 3.0.2a releases anymore,
remove the generation stuff from VERSION and mkversion.sh

metze
(This used to be commit 6658e75358a82e3e6f104487d8bb19514af4e7a7)
2007-10-10 12:51:37 -05:00
Tim Potter
3dce6f1e23 r356: Start of auto-generated client functions. Tridge can you take a look
and tell me what you think?  Output does not compile yet.
(This used to be commit 65692c9a9301329ad93628778e3d8f9188a67059)
2007-10-10 12:51:34 -05:00
Stefan Metzmacher
5201ae9b31 r212: fix the svk stuff
metze
(This used to be commit 995f54b208eed93930e177ff3f3da44ba4d53bed)
2007-10-10 12:51:17 -05:00
Stefan Metzmacher
bfbe809a6f 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
(This used to be commit a99e31d10fefa6f0bc12444cfc97e5398e80e518)
2007-10-10 12:51:17 -05:00
Stefan Metzmacher
dda81bdb92 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
(This used to be commit a7f552f96bfc1b549e16a09e9bc8c8c57c02eb3e)
2007-10-10 12:51:16 -05:00
Gerald Carter
381a903d00 r42: importing .cvsignore files
(This used to be commit 11717ae912449bde596ff6cf7d8fddcc86548f15)
2007-10-10 12:50:40 -05:00
Jelmer Vernooij
c424c2b857 r20: Add the registry library. Still needs a lot of work,
see source/lib/registry/TODO for details.
(This used to be commit 7cab3a00d7b4b1d95a3bfa6b28f318b4aaa5d493)
2007-10-10 12:50:33 -05:00
Stefan Metzmacher
ec5d556a12 some systems doesn't have ./ in PATH
so use ./build/pidl/pidl.pl

metze
(This used to be commit 7aab10d507346ac8d748558e5b9dbcfe9a56f601)
2004-02-02 07:06:28 +00:00
Stefan Metzmacher
04376e44b6 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
(This used to be commit 350fbe3440e28bcb26f9a9e8b999b0c4a70de64d)
2004-01-29 09:54:42 +00:00
Stefan Metzmacher
e06687eb17 merge the version.h autogeneration stuff from 3.0
metze
(This used to be commit 24dc237e109f6dce69814b22e0fb7878a7f6bfa8)
2004-01-28 12:47:52 +00:00
Stefan Metzmacher
e0469838c8 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
(This used to be commit ebecb6d05b97dc5bac8d9e48f8fad75dfbb44a74)
2004-01-13 22:24:56 +00:00
Jelmer Vernooij
17b5c26819 Add script for finding unused function checks in configure.in
(This used to be commit 7c6a261871d2b44fe6eccfda7cb4f3c558dbf5e3)
2004-01-13 22:22:43 +00:00
Jelmer Vernooij
0172920e16 Add note about new configure structure.
(This used to be commit 43130f370b84828fce3eb5501464eb2c47138acc)
2004-01-02 13:47:13 +00:00
Andrew Tridgell
2c6b585f2d more portability fixes. We now almost compile on solaris
(This used to be commit f4abd20b8437703211676fb12ea23af8f0e4642a)
2003-12-16 03:34:23 +00:00
Andrew Tridgell
2b5bc1b252 lots of shells don't have the -nt test, so use hackish find command
instead
(This used to be commit 2d57346c2d07e43c4630a7f7963173d84c5a7c92)
2003-12-15 12:13:34 +00:00
Andrew Tridgell
64352f9ef1 a script fix for the build farm
(This used to be commit 5f6b0baa300d088a6d7fb91fcbceff594292eaa0)
2003-12-15 05:37:15 +00:00
Andrew Tridgell
f6eb8342cb 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
(This used to be commit bd3dcfe5820489a838e19b244266bd9126af5eb4)
2003-12-14 13:22:12 +00:00
Andrew Tridgell
8fa36b1fbc 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.
(This used to be commit fe91635da87104544946983c7c63d5c584db614a)
2003-12-08 07:37:38 +00:00
Andrew Tridgell
696c70c2f4 fixed shell scripting error
(This used to be commit b18dce549dd390681e70bc0e290d7ec4e44791c3)
2003-12-08 04:05:57 +00:00
Andrew Tridgell
86d0e4b7f1 cope with yapp not being installed
(This used to be commit e41d95acc016087d77712d214a52813c00923d4d)
2003-12-08 03:57:03 +00:00
Andrew Tridgell
58714e6bda * 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
(This used to be commit be2c2be459d1bed41c113590e70711cb89ad12b9)
2003-12-08 02:24:40 +00:00
Jelmer Vernooij
8af907950f Add script useful for finding checks for headers that are never used
(This used to be commit 0e5fdbc01bba7f1b000587d01a128c3bdbbbe03c)
2003-12-02 10:13:18 +00:00
Andrew Tridgell
07fdc2c73e * 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)
(This used to be commit a2bdf0be0119023df3c2b9ea515ed355020f2625)
2003-11-28 03:47:45 +00:00
Andrew Tridgell
df5949efb4 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.
(This used to be commit ccd9ddeed679baa6cbb05ac728b381b50420e00f)
2003-11-28 00:48:05 +00:00
Andrew Tridgell
02dc7536dd save about 35% of the time for "make idl" by processing multiple IDL
files at once, which means less perl startup time.
(This used to be commit 64b2c67e479ddc754d18f752d347ba22a6d77682)
2003-11-23 03:42:20 +00:00
Andrew Tridgell
11e9184895 by using a single proto.h we gain another factor of 4 in the speed of
"make proto"
(This used to be commit f6bb118799887e8e29399343e377ba8e9f059f20)
2003-11-23 03:03:27 +00:00
Andrew Tridgell
1bd5a8ac1a final bit of tidyup and speedup
(This used to be commit 1c980e6c4e89b24aa8fedf0b6684cd73f34b6c25)
2003-11-23 02:44:23 +00:00
Andrew Tridgell
5577992f25 much faster inner loop and neater code
(This used to be commit 9ea02c51d449095b7f17edb3fb82d3722cdd9c20)
2003-11-23 02:33:46 +00:00
Andrew Tridgell
b9dd8d34a0 fixed loadparm handling properly
(This used to be commit 945ada7e7ec0f4b4df559bc171b9b18d30eff834)
2003-11-23 02:11:55 +00:00
Andrew Tridgell
4df03a8921 nicer base type handling
(This used to be commit e58384eb53b654768d2eb53c222529849674753c)
2003-11-23 02:00:40 +00:00
Andrew Tridgell
d47d14f2ff 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.
(This used to be commit 04eb12b56c653f98801ab29411f47564ab32fa58)
2003-11-23 01:53:54 +00:00
Andrew Tridgell
5052c65fd3 get rid of our awk scripts
(This used to be commit f11f757c871dcb66813e44a3144df0f927108d8e)
2003-11-23 01:30:58 +00:00
Andrew Tridgell
fec4b5b0cc changed to perl for mkproto, patch from vance
(This used to be commit 9386326868f43dab95b5508ce0ca5a9c1160a2eb)
2003-11-23 01:29:42 +00:00
Andrew Tridgell
15776970a5 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
(This used to be commit 2ed87a52ccc343c281e29f5a18f3f99fe06beb28)
2003-11-20 22:46:01 +00:00
Andrew Tridgell
b008369175 moved the pidl auto-generated files out of CVS
(This used to be commit 49c72d42766a55e2833c004e721a47115000626b)
2003-11-20 11:09:53 +00:00
Andrew Tridgell
6a991bb9b0 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
(This used to be commit ab5939e79600841c5e7e31e9da8742bf2da4a184)
2003-11-15 21:25:03 +00:00
Andrew Tridgell
44dfd03963 - added the rest of the LSA calls as stubs
- auto-generate the client calls with 'make idl'
(This used to be commit 8e52381313fc5a603b6d7e6ff090896c772096e9)
2003-11-09 08:30:29 +00:00
Andrew Tridgell
30d45fc57c check for pidl.pl in path, not $HOME/pidl/
(This used to be commit 9aacdb5b8ac26a7a6337aeb23f63513fbd2236f6)
2003-11-09 01:18:59 +00:00
Andrew Tridgell
668c938678 - more generation fixes
- added auto-generation from the Makefile. Only called when you run "make idl"
(This used to be commit 47a17e5a08dcb5ef2880f75a59bf417e161a71d3)
2003-11-08 13:23:20 +00:00
Jelmer Vernooij
d55de7a159 Add script that reports unused macros/defines
(This used to be commit dd850b5bd8abc123f455b715fb62dd4d54297178)
2003-08-16 05:20:22 +00:00
Jelmer Vernooij
d9aa5b15d3 Add script that detects useless AC_DEFINE()'s in configure.in
(This used to be commit 37f55d8619b110d217ec826bcf2773849ed0f7f7)
2003-08-16 02:24:33 +00:00
Andrew Tridgell
ef2e26c91b first public release of samba4 code
(This used to be commit b0510b5428b3461aeb9bbe3cc95f62fc73e2b97f)
2003-08-13 01:53:07 +00:00