1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-10 12:58:35 +03:00

5510 Commits

Author SHA1 Message Date
Andrew Tridgell
94d99612b9 r8488: after discussions with simo, moved to a full OO interface, so you don't need to keep
a 'db' variable around. The ldb object knows what it is connected to.

Added a simple ldb testsuite in testprogs/ldb.js
(This used to be commit cf35818648b5b649d0cd25f115a04b7b5b5311aa)
2007-10-10 13:23:08 -05:00
Andrew Tridgell
2bb9fa2875 r8487: kfixed a typo
(This used to be commit adae47c829fd157afa0011d29e5969d883a0956e)
2007-10-10 13:23:08 -05:00
Andrew Tridgell
4f62205cad r8486: switched to a separate connection operation in ldb interface
(a suggestion from simo)
(This used to be commit 98c9c4ecb87e1b140002390067892806464849da)
2007-10-10 13:23:08 -05:00
Andrew Tridgell
32b06d5882 r8485: - be friendly to shells other than bash
- don't use /tmp in test paths, as that opens us to symlink attacks
(This used to be commit 9f29cccbc1fb44cb0317911601456c190883f066)
2007-10-10 13:23:08 -05:00
Andrew Tridgell
7913cbbe11 r8484: switched the sys_*() calls to the OO interface
tim, do you want to do the cli_*() calls now?
(This used to be commit 9991e924e9dacec663a5d040ccfc878927fc3afa)
2007-10-10 13:23:08 -05:00
Andrew Tridgell
a0bc4da1a3 r8483: switched our generated ejs rpc code over to the new OO interface. This
means we don't pollute the name space, and also makes for faster
startup times as we only create variables for the pipes that we use,
not all pipes
(This used to be commit 57d7a585e8162d21c7152952aa0cc7471968784f)
2007-10-10 13:23:08 -05:00
Andrew Tridgell
7b8332369f r8482: gnutls_x509_crt_set_subject_key_id is not available in some versions
of gnutls. Thanks to ab for spotting this.
(This used to be commit 437c4057ae4e89725ddbdd026977510beb33c009)
2007-10-10 13:23:08 -05:00
Andrew Tridgell
63535f566e r8481: switched ldb ejs called over to an OO interface, so you do:
var ldb = ldb_init();

res = ldb.search(dbfile, "(objectClass=user)");

you can also do:

ldbSearch = ldb.search;
res = ldbSearch(dbfile, "(objectClass=user)");

if you want the old interface (ie. you can use this to import
functions into the global or local namespace).
(This used to be commit 3093057d9735cbb62f57e7159264d5a28b85320f)
2007-10-10 13:23:07 -05:00
Andrew Tridgell
970ff9ba8d r8480: fixed a typo
(metze, I assume this was just a typo? it broke the build on oehmesrs6k)
(This used to be commit aa68459fe7579b385dd1824680ec641052029a1e)
2007-10-10 13:23:07 -05:00
Deryck Hodge
cac606ed8e r8479: * Sync CSS with current samba.org stylesheets.
* Add wide.css so it's availble for future pages.
* Move SWAT specific styles to swat.css to make future syncs easier.

deryck
(This used to be commit 7ddc3ed5b87687a66995d2555c683efcb93be7e2)
2007-10-10 13:23:07 -05:00
Deryck Hodge
3b18fe06d6 r8477: Simplify header/footer handling. esp variables allow
for individual page titles, so we don't need the split
header/footer here like we do on samba.org.

deryck
(This used to be commit af893fe83346f516402d0d6271533eedefa0ce4b)
2007-10-10 13:23:07 -05:00
Stefan Metzmacher
65b8c54fc2 r8476: add a note that DsAddEntry is very incomplete yet
metze
(This used to be commit 53b91754107b790e2349a97069ea03a7bd6ff712)
2007-10-10 13:23:07 -05:00
Stefan Metzmacher
129eedc66b r8474: add some more attid mappings
for the password fields

metze
(This used to be commit 8454d32eb2f0aa4287956951c2550f060f7f10b3)
2007-10-10 13:23:07 -05:00
Andrew Tridgell
7a7e271e0c r8471: --ejs taking an optional arguments interferes with the pidl extra args
(This used to be commit a9d05af0fd802cf0cbe1298c3c988dcd2eb1b848)
2007-10-10 13:23:07 -05:00
Andrew Tridgell
f48a20b249 r8470: looks like popt portability is going to be a bit of a fight :(
(This used to be commit d3872a6e4ce0227fa3c84173562551d0270918b6)
2007-10-10 13:23:06 -05:00
Andrew Tridgell
89641975bb r8469: the extra pidl args need to be normal args, not after a --, otherwise pidl tries to compile
"--uint-enums" as a IDL file :-)

This should help the build on AIX 5.2
(This used to be commit f54e6c83e48cc2d1f03827337b68658057206898)
2007-10-10 13:23:06 -05:00
Andrew Tridgell
1329c2eb1f r8467: using both math.h and float.h breaks popt on freebsd 5.4
(This used to be commit a1acb3300eec7717df24ecdf7205fb4e395d8c16)
2007-10-10 13:23:06 -05:00
Andrew Tridgell
61b16caed8 r8466: it is not portable to assert() a va_list (it breaks on alpha for example)
(This used to be commit 2a64ee4227840de4aebe2ebe1887dfd167831738)
2007-10-10 13:23:06 -05:00
Andrew Tridgell
5c453f5698 r8465: once we define socklen_t, then tell other include files we have it. This prevents roken
trying to redefine it
(This used to be commit aa9491c0cb00f5cab9e00983bf2a0c266011904a)
2007-10-10 13:23:06 -05:00
Andrew Tridgell
10cb617904 r8464: the last few functions needed by irix 6.4.
(This used to be commit 903d963ca8fdefa23eaa77b5117d90b6b84866ab)
2007-10-10 13:23:06 -05:00
Andrew Tridgell
d0e3452a61 r8463: more irix fixes. This one adds some missing addrinfo functions
(This used to be commit 87f7098ee3a24be202b6aaa1ab2a4e44b7b89975)
2007-10-10 13:23:06 -05:00
Andrew Tridgell
66410ac4fd r8462: added a test for %lld support to our snprintf() configure test.
our snprintf replacement code is going to be getting a good workout :)
(This used to be commit 3e9e5af4cee16e2316b544eebb489f87fd064ff4)
2007-10-10 13:23:05 -05:00
Andrew Tridgell
978bbb4f4d r8461: fixed integer64 handling on bit endian platforms. The ejs code used
%Ld, which is an invalid format code.

This will probably cause problems on systems that don't have %lld, but
do have a working snprintf otherwise. We will need to expand the
snprintf configure test to make sure we replace snprintf on those
platforms
(This used to be commit ccc87eb8aaf571d91170555a732d287746b3430f)
2007-10-10 13:23:05 -05:00
Andrew Tridgell
c77f4a68c6 r8460: removed the unused function krb5_locate_kdc(). It causes a build failure on irix.
Andrew, if you planned on using this in the future then we can put it
back and work out how to make it portable
(This used to be commit eaa74913fedefbf33f7cfab6648bf05aa3cdbbb3)
2007-10-10 13:23:05 -05:00
Andrew Tridgell
8858542b26 r8459: move to the more portable script execution method
(This used to be commit d7e4dcaaaa37c4992f763e37ca2d655e4d267283)
2007-10-10 13:23:05 -05:00
Andrew Tridgell
c4173f6725 r8458: next target is irix - this gets the socket wrapper code building
(This used to be commit 3d4a2221c3e032bbb6c23d132e00588f44f5e2ed)
2007-10-10 13:23:05 -05:00
Andrew Tridgell
0fedba6342 r8456: avoid double inclusion of roken.h (this was breaking the build on irix 6.4)
(This used to be commit 8c432af87d9ae9a5bdce5ce1ca96dc46adda793e)
2007-10-10 13:23:05 -05:00
Andrew Tridgell
598aafe9b3 r8453: my solaris10 box doesn't have math.h
maybe sun isn't very good at maths?
(This used to be commit ab67c8b2b7847ecad803dfc04a66007b8f6b4abe)
2007-10-10 13:23:05 -05:00
Andrew Tridgell
0e5907d57c r8452: allow for the ugly hack:
#!/bin/sh
exec smbscript "$0" ${1+"$@"}

which is needed because bloody solaris puts 'env' in /bin instead of /usr/bin

also neaten up the #! handling code.
(This used to be commit 778bcd3738e42d8adfd4529f790c898f0d904363)
2007-10-10 13:23:05 -05:00
Andrew Tridgell
fa2b97a20a r8451: samba4 finally builds on solaris 8 sparc with heimdal and ejs
its been a long haul ...
(This used to be commit 3c4291e49abed14973b4a4fa1a9277918b896cac)
2007-10-10 13:23:04 -05:00
Andrew Tridgell
af0574378b r8450: more configure tests for solaris. It now builds some binaries, but
fails in the ejs floating point code.
(This used to be commit 30e1b6140e9f6246cb66eef7cf108d1ccf62bd40)
2007-10-10 13:23:04 -05:00
Andrew Tridgell
7175419589 r8449: - search for lex and yacc properly
- added target specific flags to get the #include order right for
  com_err and asn1 files in heimdal
(This used to be commit c721c8ca380db756ae2ccf3711be894bab8d5318)
2007-10-10 13:23:04 -05:00
Andrew Tridgell
606beece8e r8448: - added a test target for tdb
- reduced the torture size so it doesn't kill the build farm hosts
(This used to be commit 7a88a9f06cbe5c125edad0da7908b94bcedfe4fc)
2007-10-10 13:23:04 -05:00
Andrew Tridgell
a411d4f4d5 r8447: fixed make install in the farm
(This used to be commit 4a61a5c70efdf3842e19ae74a2b56c4b10e8e294)
2007-10-10 13:23:04 -05:00
Andrew Tridgell
f027e4d224 r8446: if provisioning fails then don't try to run the test suite!
(This used to be commit 7c1bc27254ea58b63c66ce1dbc9f7630c0bedbad)
2007-10-10 13:23:04 -05:00
Andrew Tridgell
2d0468ac9a r8445: if a system doesn't have "nogroup" then try "nobody"
(This used to be commit 433f9d0a619ff34a4b7506950ee091fb8d34870d)
2007-10-10 13:23:04 -05:00
Love Hörnquist Åstrand
1ab2c5009a r8444: make ./configure.mumble CC='ccache cc'
work by using "@$" instead of $*
(This used to be commit 98e8049bc3f0b1d550344161ef34801be3ccb3ae)
2007-10-10 13:23:03 -05:00
Andrew Tridgell
ef300e6686 r8443: added talloc.3 to the tree to try to allow talloc to build on systems without xsltproc
(This used to be commit 0e5b89b1e8871a76c2f9c94d7d7552498d16f350)
2007-10-10 13:23:03 -05:00
Andrew Tridgell
c9e5d3b53e r8442: remove tdbtest from our build. If you want it, then do
'make bin/tdbtest' manually in the tdb tree
(This used to be commit 28dd79587df523c5622d09bd6d59305ae79af479)
2007-10-10 13:23:03 -05:00
Andrew Tridgell
2dabfc1cde r8441: don't build tdbtest by default as there are too many systems that
don't have libgdbm, and the configure test for gdbm is broken
(This used to be commit 5c4c3e9a8d9d853028271f228ad36388f4cb2012)
2007-10-10 13:23:03 -05:00
Andrew Tridgell
5b31da9427 r8440: - several build farm hosts were failing 'make clean' as the list of
objects was overflowing their command line limits. Fix this by using a
  find -exec command. It's slower, but should be more portable.

- remove generated ASN1 files in 'make clean'
(This used to be commit da783f915865c8c5d2e02f927ebbf84719389655)
2007-10-10 13:23:03 -05:00
Andrew Tridgell
cadcbbb6a3 r8439: removed an accidential commit
(This used to be commit 985b5b0171e647d794135413799ea36851396549)
2007-10-10 13:23:03 -05:00
Jelmer Vernooij
2483f979d1 r8438: - More win32 portability fixes. Now fails on socketwrapper (because
unix domain sockets are not available on win32)
- Update howto
(This used to be commit c88ee6b61b290806064993dba3fc27ea9e59cc63)
2007-10-10 13:23:02 -05:00
Jelmer Vernooij
e151284693 r8437: Win32 doesn't have u_int*_t
(This used to be commit 5b007037dfacc5e13141ca41241543ac11a567b6)
2007-10-10 13:23:02 -05:00
Jelmer Vernooij
dca3c16c85 r8436: Check for sys/sockets.h
(This used to be commit 7757226ba5930824e32e069dc4986a2a29be40f8)
2007-10-10 13:23:02 -05:00
Jelmer Vernooij
84db066207 r8434: Win32 portability updates from Steven Edwards <steven_ed4153@yahoo.com>:
- undefine anything in the win32 api or PSDK headers that Samba already defines
 - map BSD error codes to Winsock Error codes
(This used to be commit d2ea6191259a28a32a1f4ffdff067b1a80e8dcc9)
2007-10-10 13:23:02 -05:00
Stefan Metzmacher
0639fe016e r8430: readd my hack to display the hashes with -d 100
metze
(This used to be commit b3f01ef0df2579decbbb67586157d089f528dd13)
2007-10-10 13:23:02 -05:00
Stefan Metzmacher
58d06f205e r8429: fix compiler warnings
metze
(This used to be commit b9ee5818808f2e0cd38c0c5d2ef15cba22d4edbe)
2007-10-10 13:23:02 -05:00
Andrew Tridgell
4caf19ca35 r8425: add err() and errx() functions needed by for compile_et on some systems
(This used to be commit 72a769b6d1a1ce5f8a19010074960b692b4755db)
2007-10-10 13:23:01 -05:00
Andrew Tridgell
833842f0aa r8424: bring in some more of heimdals m4 macros, and remove the hard-coding of several test
results
(This used to be commit b173c938b2ced061ee341831e96001455fbf83d1)
2007-10-10 13:23:01 -05:00