1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

5428 Commits

Author SHA1 Message Date
Simo Sorce
c9b0e86a43 r8373: New wildcard matching code.
This code applies correct ldap standard wildcard matching code
removes WILDCARD matching from tdb @ATTRIBUTES, that's now handled independently
adds some more tests for wildcard matching
fixes dn comparison code in ldb_match
(This used to be commit 4eb5863042)
2007-10-10 13:20:13 -05:00
Andrew Tridgell
adb7fd18e5 r8372: - split out provisioning logic into a separate ejs library
- added a provisioning web page
(This used to be commit 7476cb9413)
2007-10-10 13:20:13 -05:00
Stefan Metzmacher
a4c614b012 r8371: the objectGUID is now stored in binary...
metze
(This used to be commit b920b306b3)
2007-10-10 13:20:13 -05:00
Stefan Metzmacher
557c78e36d r8370: remove the '$' from in the cn: attribute for computer and dc accounts
metze
(This used to be commit 206f33778e)
2007-10-10 13:20:12 -05:00
Andrew Tridgell
5b567cfbb6 r8369: update the configure script I use
(This used to be commit 1f1e8f7d0f)
2007-10-10 13:20:12 -05:00
Stefan Metzmacher
e87f589f00 r8368: the type filed depends on the user being present or not
call ndr_print for each call

metze
(This used to be commit 0a07e4ef8d)
2007-10-10 13:20:12 -05:00
Andrew Tridgell
bab3e5d6ce r8367: another configure test needed by netbsd for heimdal
(This used to be commit 8ddf866438)
2007-10-10 13:20:12 -05:00
Andrew Tridgell
b8b5544500 r8365: fixed a problem on netbsd
(This used to be commit d5d0769da9)
2007-10-10 13:20:12 -05:00
Andrew Tridgell
a7c7a9c64c r8364: fixed a valgrind bug spotted by simo
(This used to be commit ef804e8f36)
2007-10-10 13:20:12 -05:00
Stefan Metzmacher
f4ec5d45c3 r8363: - we need to correct the realm for the krbtgt/NETBIOSDOMAINREALM
into krbtgt/DNS.DOMAIN.REALM too
  with this a windows client asks for the correct ticket when you try to login
  (but it's still not working correct, as some how we mess up the dns host name of the
   client and it asks for the wrong service principal)

- fix some compiler wranings
- fix some debug messages

metze
(This used to be commit c4c93eeec2)
2007-10-10 13:20:12 -05:00
Love Hörnquist Åstrand
1a539f3f0b r8362: change AC_INIT to the new version, improves failure reporting from autoconf
configure: WARNING: sys/mount.h: present but cannot be compiled
[...]
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##

configure: WARNING: sys/mount.h: present but cannot be compiled
[...]
configure: WARNING:     ## ---------------------------------------- ##
configure: WARNING:     ## Report this to samba-technical@samba.org ##
configure: WARNING:     ## ---------------------------------------- ##
(This used to be commit f872686d83)
2007-10-10 13:20:11 -05:00
Love Hörnquist Åstrand
91163c518c r8361: ctype is* macros needs unsigned arguments
(This used to be commit 07a7ab0a6a)
2007-10-10 13:20:11 -05:00
Stefan Metzmacher
908a2e6cc1 r8359: fix a shell warning
metze
(This used to be commit 9739aa75d2)
2007-10-10 13:20:11 -05:00
Tim Potter
24f4236a9f r8358: Return an error message if js include path not set instead of silently
failing.
(This used to be commit 797d9cf0c7)
2007-10-10 13:20:11 -05:00
Tim Potter
6b38e62f0a r8357: Call lp_load() so we can access the various lp_functions().
(This used to be commit f76a7ec2a2)
2007-10-10 13:20:11 -05:00
Love Hörnquist Åstrand
74046071f5 r8356: avoid warning from AC_CHECK_HEADER that file is present but cannot be compiled
for sys/mount.h
(This used to be commit f70e8b4f6e)
2007-10-10 13:20:11 -05:00
Andrew Tridgell
26a55c330a r8355: - added a vsprintf() function
- removed the --outputdir option from provision, as its not used any
  more (as ejs knows the real paths)
(This used to be commit abbf9c703c)
2007-10-10 13:20:10 -05:00
Andrew Tridgell
102e247611 r8354: work around a js bug found by tpot
(This used to be commit c6f7ace333)
2007-10-10 13:20:10 -05:00
Tim Potter
fdb91826aa r8353: Use a PNG instead of a GIF for padding. Also fixes a file not found
error as only PNG files were being installed by 'make installswat'.
(This used to be commit eaf9c455de)
2007-10-10 13:20:10 -05:00
Andrew Tridgell
fb80c37c49 r8352: we need to override "setup directory" for the build farm hosts
(This used to be commit 1a80850d57)
2007-10-10 13:20:10 -05:00
Tim Potter
9d70babef1 r8351: When finished sending call stream_terminate_connection() with a nice
message instead of NULL.

Fix up some other terminate messgages to be consistent.
(This used to be commit c0428ef337)
2007-10-10 13:20:10 -05:00
Andrew Tridgell
dd750b98af r8350: fixed the --root option to provision
(This used to be commit 506e07d6e0)
2007-10-10 13:20:10 -05:00
Andrew Tridgell
3a4b3df609 r8349: as we don't use standard dirs, we need to create smb.conf before we run provision
(This used to be commit c64a68cd40)
2007-10-10 13:20:09 -05:00
Andrew Tridgell
e9672b338e r8348: switch selftest to use the new provision script
(This used to be commit 52517e48ea)
2007-10-10 13:20:09 -05:00
Andrew Tridgell
23f79c5c9a r8347: replace the perl provision script with a ejs script
I don't mind depending on perl at compile time, but I want to avoid
depending on it at runtime. This also will make it easy to add web
install wizard
(This used to be commit f27a681769)
2007-10-10 13:20:09 -05:00
Andrew Tridgell
9370fca5dd r8346: added a sprintf test suite for ejs
(This used to be commit 14af014410)
2007-10-10 13:20:09 -05:00
Andrew Tridgell
08b78230d2 r8345: make the dn on the hklm ldif valid
Jelmer, can you check this is OK?
(This used to be commit 6d416656a0)
2007-10-10 13:20:09 -05:00
Andrew Tridgell
b3320581ff r8344: added a "setup directory" smb.conf parameter, pointing at the setup template files
(This used to be commit c842144cbf)
2007-10-10 13:20:09 -05:00
Andrew Tridgell
f0cbb1787e r8343: removed a debugging message
(This used to be commit c12325e252)
2007-10-10 13:20:09 -05:00
Andrew Tridgell
7c78ec0e14 r8342: allow ldb_ldif_read_string() to continue in the string, so you can
read multiple records
(This used to be commit 4b11c00421)
2007-10-10 13:20:08 -05:00
Andrew Tridgell
9570e24df1 r8341: enable floating point support in ejs
(This used to be commit bdc6b67eb2)
2007-10-10 13:20:08 -05:00
Andrew Tridgell
9f86e20286 r8340: - added sys_gmtime()
- added sys_unlink()

- added sys_file_load() and sys_file_save()

- use mprString() instead of mprCreateStringVar() to cope with NULL strings

- removed smbcalls_irpc.c as its not needed any more

- allow ldbAdd() and ldbModify() to take multiple ldif records

- added a sprintf() function to ejs. Quite complex, but very useful!
(This used to be commit 625628a3f6)
2007-10-10 13:20:08 -05:00
Andrew Tridgell
1bb2b06031 r8339: added ldbAdd(), ldbModify(), ldbDelete() and ldbRename() to ejs ldb functions
(This used to be commit 322c213783)
2007-10-10 13:20:08 -05:00
Andrew Tridgell
2dce83de0c r8338: - added a substitute_var() js library function for doing hash driven
substitution of variables in strings

- the js provision script now correctly processes provision.ldif
(This used to be commit c2946003e0)
2007-10-10 13:20:08 -05:00
Andrew Tridgell
b1e93b296e r8337: - use 64 bit access functions in ejs calls
- added access to smbd random functions

- fixed ordering in join()

- added sys_interfaces(), sys_hostname(), sys_nttime() and sys_ldaptime()
(This used to be commit 28c1a1f3c0)
2007-10-10 13:20:07 -05:00
Andrew Tridgell
36bb0ffd4c r8336: enable 64 bit integer support in ejs
(This used to be commit 9dd41e78e1)
2007-10-10 13:20:07 -05:00
Andrew Tridgell
70278929fc r8335: removed some duplicated code
(This used to be commit 1536d66662)
2007-10-10 13:20:07 -05:00
Andrew Tridgell
8435fbc4af r8334: fixed a ejs bug that prevented functions variables from being called in local context
(This used to be commit 5ea7ae7081)
2007-10-10 13:20:07 -05:00
Andrew Tridgell
ba1ee57df4 r8333: merged with latest upstream ejs sources
(This used to be commit b0f9ddafe9)
2007-10-10 13:20:07 -05:00
Andrew Tridgell
3e5649f79f r8332: not done yet, but a lot closer
(This used to be commit 1d9632877c)
2007-10-10 13:20:07 -05:00
Andrew Tridgell
c30c711292 r8331: added split(), join() and FileLoad() functions to ejs.
this gets me most of the way through a ejs provision script
(This used to be commit 0ef8f0282e)
2007-10-10 13:20:06 -05:00
Volker Lendecke
3e0aa2e756 r8321: Fix some uninitalized variable warnings
(This used to be commit 126cb3db4b)
2007-10-10 13:20:06 -05:00
Andrew Tridgell
887461327a r8320: make sure all our returned objects are full objects, which means they
have the toString() and valueOf() default attributes

this allows all our returned objects to be used in logical expressions
(This used to be commit 570f071b15)
2007-10-10 13:20:06 -05:00
Andrew Tridgell
07c2a1c09a r8319: the start of a provision script in ejs. This is why I've been adding
so many functions lately.

so far it just parses options, works out the host IP, and user and group names
(This used to be commit 333b32025f)
2007-10-10 13:20:06 -05:00
Andrew Tridgell
683432660e r8318: added a bunch more ejs calls.
getgr*()
  getpw*()
  strlower()
  strupper()
  IfaceList()
(This used to be commit 1517ad490d)
2007-10-10 13:20:06 -05:00
Andrew Tridgell
1864b27857 r8317: convert the example scripts over to the new GetOptions() call
(This used to be commit 5f079d7463)
2007-10-10 13:20:06 -05:00
Andrew Tridgell
f583a85d4d r8316: give full access to the popt command line parsing in ejs scripts, including
access to the samba common options. For example:

ok = GetOptions(ARGV, options,
		"POPT_AUTOHELP",
		"POPT_COMMON_SAMBA",
		"myopt=s",
		"intopt=i",
		"noopt");

this allows scripts to support their own extended options properly
(This used to be commit 775fb56ac2)
2007-10-10 13:20:05 -05:00
Andrew Tridgell
9ab58c5e01 r8315: fixed the generation of the serial number in the dns zone file (bind9
doesn't like it being too long)
(This used to be commit fc93ade9cd)
2007-10-10 13:20:05 -05:00
Andrew Tridgell
2696764132 r8314: - added an 'installmisc' target for installing miscellaneous files.
- install our provisioning template files in lib/setup/

We need these to be installed as users may wish to re-provision after
installation, or may not have the source tree (wuch as when installing
from binary packages)
(This used to be commit 7c2e31fd11)
2007-10-10 13:20:05 -05:00
Andrew Tridgell
54ffd4fdbf r8313: moved PRINTF_ATTRIBUTE to replace.h to try to get irix building with heimdal
(This used to be commit 7d4e309f02)
2007-10-10 13:20:05 -05:00