1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-17 02:05:21 +03:00

20715 Commits

Author SHA1 Message Date
Stefan Metzmacher
eade80109b r19087: normalize vars before printing them
metze
(This used to be commit 9900abf8ab97113ed33b84e3701d89cbc2cc2a76)
2007-10-10 12:15:10 -05:00
Stefan Metzmacher
4bc71f13c8 r19086: fix --disable-pie together with -C
metze
(This used to be commit 035579b62c76e370356cb4a6ba5f652ac68b5862)
2007-10-10 12:15:10 -05:00
Stefan Metzmacher
5b77d0a856 r19085: merge from samba4:
- source and destination address handling
- tcp handling

metze
(This used to be commit 98154fd43350f3edae54423756620a48e089f96d)
2007-10-10 12:15:10 -05:00
Volker Lendecke
d193fa1a4d r19083: Fix objectclass
(This used to be commit 6c4d68d84987a88f91bca976a0396dff720043e5)
2007-10-10 12:15:09 -05:00
Volker Lendecke
e28ae1f5fd r19080: Fix a potential NULL dereference
(This used to be commit 682b490c23bb88a1a570bd1fcb7d2b6aa778dd14)
2007-10-10 12:15:09 -05:00
Volker Lendecke
407873df53 r19079: talloc_array can fail
(This used to be commit 7b6738522a80740824f3b96e73e7c48a0623b1b1)
2007-10-10 12:15:09 -05:00
Volker Lendecke
8f553d8d3c r19078: talloc_strdup can fail
(This used to be commit 2b3b9ce2a122ec5fd945728c117c321087d85203)
2007-10-10 12:15:09 -05:00
Volker Lendecke
f27d5c7838 r19077: Fix an uninitialized variable
(This used to be commit 6bc2cce645af94274a5959312c52799c221b0899)
2007-10-10 12:15:09 -05:00
Volker Lendecke
faaec2f04a r19076: ldb_dn_copy_partial can fail
(This used to be commit c247cf3fba13ce1a32878efcc922eadfcbc2b092)
2007-10-10 12:15:09 -05:00
Volker Lendecke
38c4955c2a r19075: Fix a potential NULL dereference
(This used to be commit 0ab5d7692c2c0fe798a067866cb236ea9c304463)
2007-10-10 12:15:08 -05:00
Volker Lendecke
638a16900c r19073: mapping_dn can fail
(This used to be commit d234f39c79e0e50f784826d0920ebd21cc9a283d)
2007-10-10 12:15:08 -05:00
Volker Lendecke
14502053e9 r19072: Fix a potential NULL dereference. Simo/Tridge, not merging yet to 4_0, I'd
like you to comment.

Volker
(This used to be commit ba18c58f1fb618447ba39bae6ef8f4e6c00c4d32)
2007-10-10 12:15:08 -05:00
Simo Sorce
a65c6b3914 r19071: Backport to SAMBA_3_0 as well
(This used to be commit df148a5def06956ecd8392d259f1c408c62100fa)
2007-10-10 12:15:08 -05:00
Volker Lendecke
8cd27dc1c3 r19070: If there's an error in the data struct, there's no point to continue with
asn1_pop_tag.

Volker
(This used to be commit d18e9f1da9a22aa16860aa2a91e7c788d28d3314)
2007-10-10 12:15:07 -05:00
Volker Lendecke
101428b7e5 r19067: Fix a potential NULL dereference
(This used to be commit 6a8937ed03f0ee62eb81da798e0c38b405d44731)
2007-10-10 12:15:07 -05:00
Volker Lendecke
7bce558fec r19066: Fix a memleak
(This used to be commit c53e2e54750764c9a0eb57a86fd226b4f8711a66)
2007-10-10 12:15:07 -05:00
Volker Lendecke
9989649fb4 r19065: No functional change, just a trivial simplification
(This used to be commit 45628f71cfc770b1ba67abf38aac53ac40773cd0)
2007-10-10 12:15:07 -05:00
Volker Lendecke
58b8f72af6 r19064: This code block is already #ifdef'ed by WITH_ADS which should imply
HAVE_KRB5. If WITH_ADS does not imply KRB5, we have to fix that.

Lets see what the build farm thinks about this.

Volker
(This used to be commit 27b063078dff0d8c5eb552dd73825f6858d04e4b)
2007-10-10 12:15:07 -05:00
Stefan Metzmacher
71f2d744c9 r19062: try to fix the valgrind noise in the build-farm
metze
(This used to be commit 9cb182507c8e168a94db0b0e290fd124be1bac11)
2007-10-10 12:15:07 -05:00
Volker Lendecke
a390f72bc1 r19060: Attempt to fix the valgrind suppressions for "fort"
(This used to be commit f8c4578f913bed3bdd7b6785cb402b961f719603)
2007-10-10 12:15:06 -05:00
Jim McDonough
dc1f0804dd r19058: Implement "user cannot change password", and complete "user must change
password at next logon" code.  The "password last set time" of zero now
means "user must change password", because that's how windows seems to
use it.  The "can change" and "must change" times are now calculated
based on the "last set" time and policies.

We use the "can change" field now to indicate that a user cannot change
a password by putting MAX_TIME_T in it (so long as "last set" time isn't
zero).  Based on this, we set the password-can-change bit in the
faked secdesc.
(This used to be commit 21abbeaee9b7f7cff1d34d048463c30cda44a2e3)
2007-10-10 12:15:06 -05:00
Jeremy Allison
b96aae779b r19054: Callers of gencache may not have the rights to
open read/write. Allow them to fallback to read-only.
Jeremy
(This used to be commit ec526e1b882e3ade23f90c5e3d637c72b6839da5)
2007-10-10 12:15:06 -05:00
Volker Lendecke
8c15a6ff2e r19046: It does not do much yet, but activate RPC-SAMBA3-SPOOLSS
(This used to be commit 3bf313240c8dcabc28a2fbf35a68daf8274cf659)
2007-10-10 12:15:06 -05:00
Volker Lendecke
bc2a760498 r19043: There's no point in #ifdef'ing the detection whether we were offered KRB5 in
SPNEGO, as long as we don't make use of it without krb libs. Makes the code a
bit simpler.

Volker
(This used to be commit 23549e6c082e92e45ced4eee215bcc0094b2a88b)
2007-10-10 12:15:06 -05:00
Volker Lendecke
4295292734 r19042: Fix the non-krb5 build. This needs sooo severe cleanup ... :-)
Volker
(This used to be commit b601fc42cb289366b7c522f41aa4c66920006890)
2007-10-10 12:15:05 -05:00
Volker Lendecke
eb00981fc3 r19041: Make us connect to Vista RC1. Apparently metze had done the same patch some
weeks ago.

We have some work before us, when in AD mode Vista sends
"not_defined_in_RFC4178@please_ignore" as the principal.....

Volker
(This used to be commit af85d8ec02b36b765ceadf0a342c7eda2410034b)
2007-10-10 12:15:05 -05:00
Stefan Metzmacher
c25f331cf9 r19040: use more portable shellscripting, hopefully give better results on Tru64
metze
(This used to be commit e8dd73f79656d9ef6faf9fceb84dc8702ac8e10a)
2007-10-10 12:15:05 -05:00
Günther Deschner
ac080e3184 r19039: Do not segfault in "net ads printer info" when a requested printserver
does not exist.

Guenther
(This used to be commit 359315021df3a4dbfe5142e529e3efdbc49e405c)
2007-10-10 12:15:04 -05:00
Stefan Metzmacher
6b80d173ed r19038: build libreplace testsuite as replacetort
and run it with make test

metze
(This used to be commit 9db9eb199f1902cb7e7f4f700b8594f4fc98ae8a)
2007-10-10 12:15:04 -05:00
Volker Lendecke
a3a082b248 r19037: Fix a segfault
(This used to be commit 1c18ebe67500a59d4bf08c7e2e2c2af416bfa084)
2007-10-10 12:15:04 -05:00
Stefan Metzmacher
7e310277ff r19034: merge from samba4:
prepare libreplace testsuite for usage in smbtorture

metze
(This used to be commit 281677084e022336877dd141befd508a0b5c08a9)
2007-10-10 12:15:04 -05:00
Stefan Metzmacher
f0244fbffe r19031: merge from samba4:
add test that opendir() on files sets errno = ENOTDIR

metze
(This used to be commit fdad2ce7346678d29adf877b580e9285be286755)
2007-10-10 12:15:03 -05:00
Stefan Metzmacher
a831353be4 r19030: merge missing stuff from samba4:
- strnlen() and strndup() are broken on AIX
- we need some extra CFLAGS on HPUX 11.11

metze
(This used to be commit 61aa60c60ffddcbad433b26d7f3a836e4fcd8732)
2007-10-10 12:15:03 -05:00
Volker Lendecke
7ced2e983d r19028: Implement getprinterinfo level 6 (only the status) and get rid of snum in the
getprinter calls. Survives the RPC-SAMBA3-SPOOLSS test which I will activate
when the Samba4 build farm has picked it up.

Volker
(This used to be commit d7248b6cfa4d6e639d92afdd092136d900d90e19)
2007-10-10 12:15:03 -05:00
Stefan Metzmacher
7f9aca9772 r19026: we don't need this twice
metze
(This used to be commit 5d16aa61c6c5e284f6ff742dbf686493e4539c79)
2007-10-10 12:15:03 -05:00
Volker Lendecke
4cc309c3da r19016: As per Samba4 coding standards, turn tabs into spaces
(This used to be commit 3f59c8ef0c3f2a27c1c46b48fe8ee5ccacb44b7b)
2007-10-10 12:15:02 -05:00
Stefan Metzmacher
c6b22621be r19015: we don't need talloc_* in proto.h
metze
(This used to be commit 685304e57433d05e2ab971af9dd31ddcf3cbf92d)
2007-10-10 12:15:02 -05:00
Volker Lendecke
bb5c820542 r19013: Fix some 64-bit warnings.
Jelmer, Jerry, in cmd_unixinfo.c:159 there is still the warning that "info" is
being used uninitialized which I don't really know how to fix.

Any hints?

Volker
(This used to be commit 4a5d11e194ebdfb6c21586d1cf902f8ed2478e45)
2007-10-10 12:15:02 -05:00
Volker Lendecke
69287da633 r19012: Fix an uninitialized variable
(This used to be commit 46cae04fbee1a2e04883085294be4f75b2d6d56c)
2007-10-10 12:15:01 -05:00
Volker Lendecke
bffbda804d r19011: Attempt to fix the BSD RAW-CHKPATH failures: In Samba3 we rely on opendir
returning ENOTDIR when the file opened is not a directory. Can we merge this
back into Samba4?

Volker
(This used to be commit 448d7c0c4b6a1d7d9c544d39d7b461dd1c69fd8e)
2007-10-10 12:14:57 -05:00
Volker Lendecke
9430017b30 r19010: Fix bug 4137
(This used to be commit 3790d00a78fa4133b9875b9fed36f5752dce8e7f)
2007-10-10 12:14:57 -05:00
Volker Lendecke
2b7d1fc779 r19008: Fix a segfault
(This used to be commit adfc82f0e6b12f8ccfe00f3ff49a089a4c936239)
2007-10-10 12:14:57 -05:00
Gerald Carter
7b7e7dcb8c r19007: reformat service control manager IDL
(This used to be commit d0658139a3419e42e00b3cddb2b149d48f2a76a5)
2007-10-10 12:14:56 -05:00
Gerald Carter
ff8f68840d r19006: Final cleanups for the winreg libmsrpc functions.
Needs thorough testing but the code has been adapted
to the new rpccli_winreg_XX() API.
(This used to be commit c3d1c3ca4d9b23bdbba131563c751b8e0dc4c01f)
2007-10-10 12:14:56 -05:00
Günther Deschner
88a98e35c7 r19003: Finally activate "net ads gpo".
For those who are interested, try

        net ads gpo refresh mybox$

to get your machine related GPOs downloaded to /var/lib/samba/gpo_cache.
Detailed information about GPOs is currently only printed when setting a
higher debuglevel then 0.

Guenther
(This used to be commit d086babf9d2592f041cc35db3d60b4452ea953f5)
2007-10-10 12:14:55 -05:00
Günther Deschner
824966fb3c r19002: Add a very simple synchronisation function to download the full GPO.
Guenther
(This used to be commit 02b75ff2a833677df3448b0f9a4928cb3f0274de)
2007-10-10 12:14:55 -05:00
Volker Lendecke
c9cea2d624 r19001: Fix comment
(This used to be commit 048127f9dd6363dfb3c78369fa2227551b741831)
2007-10-10 12:14:55 -05:00
Volker Lendecke
81014d255e r19000: Merge the max tcon check from 3_0_23. Thanks to James Peach that this was not
done in the 3_0 tree.

Volker
(This used to be commit b2fbf5ac0ca38577957e8e7ddb176dd3499de213)
2007-10-10 12:14:55 -05:00
Stefan Metzmacher
ce11194ce0 r18998: - make more usage of PRINTF_ATTRIBUTE()
- vsyslog takes a 'const char *format'

metze
(This used to be commit 8899bc45f908a15fb496f5c0a29692e7494a56cc)
2007-10-10 12:14:55 -05:00
Stefan Metzmacher
43be47f56b r18996: merge from samba4:
- fix bug 4078
- talloc_free(talloc_autofree_context()); should not result
  in a SIGABORT on exit
- add a test for this, but this test can also pass in the standalone build
  and samba3, as samba4 uses talloc_autofree_context()

metze
(This used to be commit f5b0924f975f58bba3c13a53388ea25af51d3bc8)
2007-10-10 12:14:54 -05:00