1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

20435 Commits

Author SHA1 Message Date
Gerald Carter
5c14584d21 r18387: remove echo of pidl command line (was used for debugging)
(This used to be commit 848edce91288750881f538e1dd8ed4220047af6f)
2007-10-10 11:51:20 -05:00
Stefan Metzmacher
b890724ea3 r18380: the panic action command needs to be different in samba4
samba4 uses %PID% where samba3 uses %d

metze
(This used to be commit 4424aebdcef951b23e28041faa201ff7c95fa144)
2007-10-10 11:51:20 -05:00
Stefan Metzmacher
716135eacf r18379: make the gdb_backtrace executable
metze
(This used to be commit f4023dc39e97bf8b1d1642f7eb0e8cb00557aa7f)
2007-10-10 11:51:20 -05:00
Stefan Metzmacher
98dc6158fc r18373: copy over configure.developer from samba4 which adds
-C --enable-socket-wrapper

metze
(This used to be commit 346bcd756c8ffb4bd53c98c6f0a600ff3486613e)
2007-10-10 11:51:20 -05:00
Volker Lendecke
6d9b02df71 r18369: I've got a sniff where NT4 sends just a single byte after the 516 byte
password blob, it seems that pw_len is just a uint8 instead of uint16.

This might also be interesting for Samba4's samr.idl.

Volker
(This used to be commit 68ded4ba07703a20b046e4a58e7a746a78fcedf5)
2007-10-10 11:51:20 -05:00
Volker Lendecke
716f7245d9 r18313: Nobody said "no" (yet.... gd?), so commit it:
Remove the account_policy_migrated() thingy, and make cache_account_policy_set
use gencache. Account policies are now handled like groups and users are with
respect to "passdb backend".

Volker
(This used to be commit fa8b2e2a585ab0c00a5fbde7aa790043261caf2e)
2007-10-10 11:51:19 -05:00
Volker Lendecke
eab60e2bb1 r18312: Change gencache_get slightly: Delete expired keys, and only strdup the value
if a valid entry was found. The newer calls got the latter one wrong, change
the older calls.

Volker
(This used to be commit 554e68887bc84510690226c9b07a872e7a282abe)
2007-10-10 11:51:19 -05:00
Volker Lendecke
cfefd8fd78 r18311: Simplify gencache_get by using strtol instead of sscanf
(This used to be commit f6497adac674f9e5089a2e54ead07596e568a936)
2007-10-10 11:51:19 -05:00
Volker Lendecke
96c72e2f81 r18310: Add a little test for some gencache routines
Remove unused gencache_set_only
Use CONST_DISCARD instead of SMB_STRDUP

Volker
(This used to be commit 651e7e44e2e56eab81c5fe708f33e6d3918a39f9)
2007-10-10 11:51:19 -05:00
Gerald Carter
415aa96f09 r18275: add auto generated dfs code
(This used to be commit edb7a3607e3fa2090310b5c405f2b0a08f51db78)
2007-10-10 11:51:19 -05:00
Gerald Carter
96dd10cc00 r18274: Cleanup unnecessary empty headers and add a comment
why the remaining ones are needed
(This used to be commit e4fc8ba7fb1cbb7258bc08f1dc2b9d2205bf7f81)
2007-10-10 11:51:19 -05:00
Gerald Carter
2b27c93a9a r18271: Big change:
* autogenerate lsa ndr code
* rename 'enum SID_NAME_USE' to 'enum lsa_SidType'
* merge a log more security descriptor functions from
  gen_ndr/ndr_security.c in SAMBA_4_0

The most embarassing thing is the "#define strlen_m strlen"
We need a real implementation in SAMBA_3_0 which I'll work on
after this code is in.
(This used to be commit 3da9f80c28b1e75ef6d46d38fbb81ade6b9fa951)
2007-10-10 11:51:18 -05:00
Stefan Metzmacher
c2d59d8170 r18269: regenerate idl output
metze
(This used to be commit 2047e2a98530e15bfb193de714c886563621ecb2)
2007-10-10 11:51:18 -05:00
Günther Deschner
cf469f2af1 r18259: Fix the non-krb5 builds.
Guenther
(This used to be commit 576488933b8e04ddd6cb45a7992374efe174a404)
2007-10-10 11:51:18 -05:00
Jeremy Allison
6cfe7be80e r18241: If replacing the krb5.conf, ensure it's readable.
Jeremy.
(This used to be commit dfd93a30311ff0e57ef23ae1f1cb58d4019a3eee)
2007-10-10 11:51:18 -05:00
Jeremy Allison
01285feba1 r18239: THIS IS GUENTHER'S WORK !!! He's allowing me to merge
this at the moment as I'm working on this area. Thanks
a lot Guenther.
Add the capability to get krb5 tickets even if we
log on in the offline state and have to cache
the credentials. Once we go online we should
start getting krb5 tickets again. Currently
this code waits until lp_winbind_cache_time()
seconds (5 minutes by default) before getting
tickets. This is correct in the DC down case,
but not in the global offline -> online case.
I'll later add a trigger to force an immediate refresh
on the offline -> online state transition.
Jeremy.
(This used to be commit 04fe034f4a222c83a8d788040f7edc370afe9fa6)
2007-10-10 11:51:17 -05:00
Gerald Carter
c1e0e75dc8 r18237: include dcerpc.h here to fix compile of autogenerated unixinfo files
(This used to be commit 3757f249aa4427c031d0018a1a9244fb61357d94)
2007-10-10 11:51:17 -05:00
Gerald Carter
368682954d r18236: fully autogenerated unix info files
(This used to be commit cbe39cb5e54f4e13575959e02fb66b42f2336240)
2007-10-10 11:51:17 -05:00
Gerald Carter
5f8ef621b3 r18235: stub header to get past compile issues with pidl ndr output
(This used to be commit 1eaf62557f532d02fb818458c8bf78df7a7bc904)
2007-10-10 11:51:17 -05:00
Jeremy Allison
ed0274433c r18234: DNS failures are too common to log at level zero or 1.
Jeremy.
(This used to be commit 943e21d5da2a8aadab1b2c3d700a9b8b880582f2)
2007-10-10 11:51:17 -05:00
Jelmer Vernooij
1779e3f104 r18233: Use the autogenerated cli_unixinfo rather than the old one.
(This used to be commit eec8b915d1bf6e62c45d309579a4f93380aa43a8)
2007-10-10 11:51:17 -05:00
Jelmer Vernooij
6ed67b003e r18232: - Trim number of regexes applied to generated files
- Fix syntax error in shell script (refused by dash)
- Regenerate output
(This used to be commit 4dba965f9aa30eb2a54dc68e1bd5137ec6f5e6be)
2007-10-10 11:51:17 -05:00
Jelmer Vernooij
c43047009b r18230: Build Samba3 RPC client<->libndr glue code.
(This used to be commit c77ddae4f0e30c821f54300f4485ab5d447b49ce)
2007-10-10 11:51:16 -05:00
Gerald Carter
cb78a0d24a r18229: regenerated unixinfo files and add a few header stubs. Almost autogenerated now
(This used to be commit b860685a8117c3876158ac7b8db63cda9b415239)
2007-10-10 11:51:16 -05:00
Jeremy Allison
34a25efad2 r18226: Ensure we only do this evil thing if it's our realm.
Jeremy.
(This used to be commit 0a89b37b1a367470be410ae94b42c813c7dbefe6)
2007-10-10 11:51:16 -05:00
Jeremy Allison
80052bcf13 r18225: If we're going to overwrite krb5.conf, at least
be polite enough to make a backup.
Jeremy.
(This used to be commit c82aac594fd7262029f9c47c2998c9e6b0ffc739)
2007-10-10 11:51:16 -05:00
Jeremy Allison
d07458bd67 r18224: Paranoia - ensure the oplock event handler is
removed immediately in the handler.
Extra debug info tracking down winbindd DC
selection.
Jeremy.
(This used to be commit 7ba9b6ce588f716589e9f88ed146fad36c4b3758)
2007-10-10 11:51:16 -05:00
Jeremy Allison
253c01f29e r18201: Make explicit what's going on here.
Jeremy.
(This used to be commit 38b8a2b5278d2538b9803c2b81f767036a16ad65)
2007-10-10 11:51:16 -05:00
Jeremy Allison
6d4c7b1345 r18200: Experimental code to allow system /etc/krb5.conf to be
overwritten by winbindd. Don't enable this :-).
Jeremy.
(This used to be commit 88e11ee91a2e97c93f5d34313d45b1e38f793038)
2007-10-10 11:51:16 -05:00
Jeremy Allison
6410f02fe5 r18199: Allow winbindd to delete a saf_ entry if it knows
it can't talk to it.
Jeremy.
(This used to be commit 7385a076f8fd351472d37d9363304948e88f9f99)
2007-10-10 11:51:15 -05:00
Gerald Carter
94eb7d93d8 r18197: compile fixes
(This used to be commit 9b0d44a0b0393d1897232d1be8dfe468ce8e7563)
2007-10-10 11:51:15 -05:00
Jeremy Allison
c3771f5f8c r18196: Fix debug message (this should be online not offline).
Jeremy.
(This used to be commit 9c943dfe2d23e2d01df53ac81625278d4f870aa3)
2007-10-10 11:51:15 -05:00
Gerald Carter
b8704c5217 r18195: remove hardcoded path introdiced by pidl
(This used to be commit cbf57a6327be2ed161ae716c884ed1243b578a7d)
2007-10-10 11:51:15 -05:00
Gerald Carter
82ed086618 r18193: Not quite to autogenerated NDR but closer thanks to Jelmer's
initial work.  I'm including the librpc/gen_ndr directory
in svn temporarily just to get some compile issues straightened
out.
(This used to be commit cf271aa433cfa606be5dbf3ed1d94fe3caf57653)
2007-10-10 11:51:08 -05:00
Jeremy Allison
3404728686 r18192: Fix the build.
Jeremy.
(This used to be commit aa62bb6b4ccb46a58bbe8f46d552a062ca06c238)
2007-10-10 11:43:57 -05:00
Jeremy Allison
ccdd921e61 r18191: Fix the online/offline state handling of winbindd.
Instead of trying to do this in the winbindd_cache
entries, add a timed even handler to probe every
5 mins when disconnected.
Fix events to run all pending events, rather than
only one.
Jeremy.
(This used to be commit 7bfbe1b4fb9a91c6678035f220bbf0b4f5afdcac)
2007-10-10 11:43:57 -05:00
Jeremy Allison
012c9e9cf9 r18189: When tearing down a connection we can be harsher
with timeouts. Also, wait for 5 seconds not 10
on connecting to a DC.
Jeremy.
(This used to be commit 6792460ba6a198646404abae10979489ca03ca5c)
2007-10-10 11:43:56 -05:00
Jelmer Vernooij
995205fc60 r18188: merge 3.0-libndr branch
(This used to be commit 1115745caed3093c25d6be01ffee21819fb0a675)
2007-10-10 11:43:56 -05:00
Gerald Carter
a7be2ec7c5 r18187: Replace copy of idl files with a svn:externals link.
Will fix the build_idl.sh script to only process the files
we are concerned with in this branch.
(This used to be commit 647ed21b098e8fe6513040de7a540fe77fa0b37e)
2007-10-10 11:43:56 -05:00
Gerald Carter
48450d97a5 r18185: add librpc/idl and relevant IDL files from SAMBA_4_0
(This used to be commit 6da1ef0f1cf4d47c26cdb850f01a3411dfd87350)
2007-10-10 11:43:30 -05:00
Gerald Carter
1a6ffd1391 r18182: only grant privs to Administrators if privileges are enabled to avoid bopgus error messages
(This used to be commit 7d5356fd5db6ece2504c9c140d1f454056be7164)
2007-10-10 11:43:30 -05:00
Günther Deschner
b5f6cbbe1b r18177: Some build- and memleak-fixes for the (not build by default) ADS GPO
routines.

Guenther
(This used to be commit 0ef504a0a6dc8f5db1dbc7f2410aa981e11fd56c)
2007-10-10 11:43:30 -05:00
Günther Deschner
171a5cd5c0 r18175: Forgot to call asn1_free() in previous commit.
Guenther
(This used to be commit af3779a51624977088c322ac98f52c02e9291b54)
2007-10-10 11:43:30 -05:00
Günther Deschner
4bc83e60de r18174: Do not return "success" when we failed to write in the CLDAP code.
Guenther
(This used to be commit 1fe4724f57f4f25ed486240cb1e741da60f0c997)
2007-10-10 11:43:30 -05:00
Günther Deschner
5a87bbd48a r18172: Just a little more verbosity in this debug statement.
Guenther
(This used to be commit e852bc46464fe6dbdf8530f43fcb88fd2eafae67)
2007-10-10 11:43:30 -05:00
Günther Deschner
a58dc69813 r18170: Make sure to actually get the printing data before trying to publish it
in AD.

Guenther
(This used to be commit 1bb29acb3bf40afdb5bc196ab7dbc642e2fdd680)
2007-10-10 11:43:30 -05:00
Günther Deschner
b4449b6b27 r18167: Adding DEBUG() to winbinds refresh seqnum to track down a failure.
Guenther
(This used to be commit 8bf197ee1658616448dcb752f51743365070901a)
2007-10-10 11:43:29 -05:00
Günther Deschner
73d25f6f78 r18165: Fix memleaks.
Guenther
(This used to be commit 6f301b2dc3dd64b4396e1d0307b3d539bda67d45)
2007-10-10 11:43:29 -05:00
Günther Deschner
30c0e93156 r18162: Close socket when the CLDAP request has failed.
Guenther
(This used to be commit 714ea3ceab714e23e97eb3e4d7261456a18abbac)
2007-10-10 11:43:29 -05:00
Günther Deschner
030cf71d61 r18158: Stop winbindd from accumulating memory creds infinitely when doing
pam offline logons.

Guenther
(This used to be commit 95788cb291b89b431972e29e148b412992cc32a5)
2007-10-10 11:43:29 -05:00