Volker Lendecke
c209219d06
r18773: Change negprot_spnego to return a blob
...
(This used to be commit 28fa772721
)
2007-10-10 12:00:56 -05:00
Volker Lendecke
3bddf16b1f
r18772: Now that we don't have a one-byte keylength in the extended security case
...
anymore, we don't have to truncate the length to 255 anymore.
The test I did for this: I sent 50 times the NTLMSSP oid. With truncating
Vista said Access Denied, without truncating it liked the response.
Volker
(This used to be commit f1512cb43c
)
2007-10-10 12:00:56 -05:00
Volker Lendecke
a4a2d795b1
r18771: Sequel to r18761: If we always set the keylen to 0 there's no point in passing
...
a pointer down to negprot_spnego().
Volker
(This used to be commit 18f47130b1
)
2007-10-10 12:00:55 -05:00
Volker Lendecke
8f7643bd83
r18761: Even if only offering NTLMSSP Windows (tested with Vista & XP) sends 0 as the
...
key length in the case of extended security. It does make sense because with
SPNEGO our beloved ASN1 structure gives us the length.
Next test I did to verify this: I modified the server to put in random
garbage, and W2kwks, XP, Vista and W2k3srv still talked to us.
Volker
(This used to be commit f19bd479ce
)
2007-10-10 12:00:55 -05:00
Volker Lendecke
45ca718d19
r18760: Fix typos, remove unneeded code
...
(This used to be commit 56ccfe98b2
)
2007-10-10 12:00:55 -05:00
Jim McDonough
0f961cb6db
r18758: Update net sam to use calculated times and force change password properly.
...
(This used to be commit fb269ca0af
)
2007-10-10 12:00:55 -05:00
Gerald Carter
045567f2be
r18756: cleanup copyrights after moving to new wkssvc implementation code
...
(This used to be commit 18b24e0fe9
)
2007-10-10 12:00:55 -05:00
Gerald Carter
394c0e90c6
r18755: remove accidental commit
...
(This used to be commit 2e7e8c09e4
)
2007-10-10 12:00:54 -05:00
Jim McDonough
f002bb2a46
r18754: Get rid of some more invalid time sets
...
(This used to be commit 3840d3785f
)
2007-10-10 12:00:54 -05:00
Jim McDonough
d75003bf6e
r18748: Eliminate set of computed time values
...
(This used to be commit c53d4a8151
)
2007-10-10 12:00:54 -05:00
Gerald Carter
05ba38f754
r18747: replace rpccli_lsa_close() with rpccli_lsa_Close()
...
(This used to be commit 50d74ce048
)
2007-10-10 12:00:54 -05:00
Jelmer Vernooij
4db7642caa
r18745: Use the Samba4 data structures for security descriptors and security descriptor
...
buffers.
Make security access masks simply a uint32 rather than a structure
with a uint32 in it.
(This used to be commit b41c52b9db
)
2007-10-10 12:00:54 -05:00
Jelmer Vernooij
3ef4b8cf2f
r18744: Disable some tests that only work when RUN_FROM_BUILD_FARM is set.
...
(This used to be commit 72b51c8891
)
2007-10-10 12:00:53 -05:00
Stefan Metzmacher
12a5226534
r18742: this function returns WERROR
...
gix the build on RedHat 7.0
metze
(This used to be commit d6f5a0cc7a
)
2007-10-10 12:00:53 -05:00
Gerald Carter
b7d069097b
r18739: * Get the wkssvc patch right this time.
...
* Remove the old wkssvc server, client, & parsing code.
* Update srv_wkssvc_nt.c with stubs for the remaining
stubs
(This used to be commit 0cb79ee13f
)
2007-10-10 12:00:53 -05:00
Günther Deschner
5cadb91622
r18732: Fix build warning as pointed out by Volker.
...
Guenther
(This used to be commit fccaff3713
)
2007-10-10 12:00:53 -05:00
Stefan Metzmacher
ce95caf0df
r18731: fix the build on aix
...
metze
(This used to be commit ff88592426
)
2007-10-10 12:00:53 -05:00
Gerald Carter
01c684a3e9
r18730: readd missing files (one more)
...
(This used to be commit 8e0b801c8b
)
2007-10-10 12:00:53 -05:00
Gerald Carter
8711b490e2
r18729: readd missing files
...
(This used to be commit a2d61ca85c
)
2007-10-10 12:00:53 -05:00
Gerald Carter
8126f91375
r18728: revert previous commit until I fix the wkssvc_nt.c changes
...
(This used to be commit 57d8519185
)
2007-10-10 12:00:52 -05:00
Gerald Carter
8a1439b10d
r18727: set the winreg_AbortSystemShutdown() server * to NULL rather than a dummy placeholder
...
(This used to be commit 92903ab926
)
2007-10-10 12:00:52 -05:00
Gerald Carter
9dda6cdf4c
r18725: Replace out one wkssvc call (wkssrv_GetInfo()) with autogenerated
...
code. Removed first rpc_parse/*.c file. w00t!
(This used to be commit bb9b7a058d
)
2007-10-10 12:00:52 -05:00
Jim McDonough
77a7066d79
r18724: Fixup time(0) -> time(NULL)
...
(This used to be commit 6b17af0769
)
2007-10-10 12:00:52 -05:00
Jim McDonough
e04dda6a2a
r18722: Fix up password change times. The can change and must change times are
...
calculated based on the last change time, policies, and acb flags.
Next step will be to not bother storing them. Right now I'm just trying to
get them reported correctly.
(This used to be commit fd5761c9e5
)
2007-10-10 12:00:52 -05:00
Jeremy Allison
eb6e31afed
r18719: Compile fix from Peter Somogyi.
...
Jeremy.
(This used to be commit 867eeaafce
)
2007-10-10 12:00:52 -05:00
Gerald Carter
a1c53e50de
r18718: Change a few out parameter to ref pointers and regenerate
...
(This used to be commit 91a48e9baa
)
2007-10-10 12:00:52 -05:00
Gerald Carter
ed7f4ad60e
r18717: remove old defines in preference of the flags in librpc/gen_ndr/srvsvc.h
...
(This used to be commit 080c51dd80
)
2007-10-10 12:00:51 -05:00
Gerald Carter
970d33c65a
r18714: fix the build after replaceing rpccli_reg_abort_shutdown()
...
(This used to be commit 403b0cf1ec
)
2007-10-10 12:00:51 -05:00
Jelmer Vernooij
66c089acaa
r18713: Autogenerate srvsvc and svcctl interfaces
...
(This used to be commit a8aa312b7e
)
2007-10-10 12:00:51 -05:00
Gerald Carter
42c5b3b27b
r18712: Forgot to remove cmd_reg.o from Makefile
...
(This used to be commit 9030c46e33
)
2007-10-10 12:00:51 -05:00
Gerald Carter
a6ddf9bf5d
r18711: Replace the following hand code client routines:
...
* rpccli_reg_abort_shutdown()
* rpccli_reg_flush_key()
Remove the cmd_reg.c from rpcclient since the entire file
was unused
(This used to be commit c4788f0c13
)
2007-10-10 12:00:51 -05:00
Günther Deschner
c4046b0e88
r18710: Prevent that our offline cache can get outdated after a password change.
...
Guenther
(This used to be commit 8006cf962b
)
2007-10-10 12:00:50 -05:00
Stefan Metzmacher
2fb8589862
r18709: add some useful function from samba4
...
metze
(This used to be commit f7a93b6acb
)
2007-10-10 12:00:49 -05:00
Günther Deschner
a62f996c5a
r18707: Fix the build when you have libnscd installed (which apparently no host
...
on the buildfarm has).
Guenther
(This used to be commit b0bb364df0
)
2007-10-10 12:00:49 -05:00
Stefan Metzmacher
f21e9f5780
r18705: not all compilers like this
...
metze
(This used to be commit 2ec4bc0f52
)
2007-10-10 12:00:49 -05:00
Günther Deschner
a3e1f7e44d
r18703: Fix the annoying effect that happens when nscd is running:
...
We usually do not get the results from user/group script modifications
immediately. A lot of users do add nscd restart/refresh commands into
their scripts to workaround that while we could flush the nscd caches
directly using libnscd.
Guenther
(This used to be commit 7db6ce295a
)
2007-10-10 12:00:49 -05:00
Jim McDonough
47bb2e1839
r18702: re-enable non-decimal specification of rid
...
(This used to be commit f3ff074046
)
2007-10-10 12:00:49 -05:00
Stefan Metzmacher
447905db7d
r18701: this tests are in libreplace
...
metze
(This used to be commit 31e3cc8c6f
)
2007-10-10 12:00:49 -05:00
Stefan Metzmacher
e108e78263
r18700: nicer order of the tests
...
metze
(This used to be commit 07dafa266a
)
2007-10-10 12:00:48 -05:00
Stefan Metzmacher
f490794c51
r18699: bail out if the compiler doesn't know about C99 struct initializers
...
as we currently have them in the samba3 tree.
Lets see what the build-farm says to this.
metze
(This used to be commit 12a0daa34d
)
2007-10-10 12:00:48 -05:00
Stefan Metzmacher
a1243ca999
r18698: this stuff isn't needed anymore
...
metze
(This used to be commit 31b83ff4bd
)
2007-10-10 12:00:48 -05:00
Jelmer Vernooij
7cf3a10756
r18695: Zero initialize ref ptrs as well.
...
(This used to be commit 3295122173
)
2007-10-10 12:00:48 -05:00
Gerald Carter
7238a71961
r18694: prevent -O and -g from being set at the same time (by default)
...
(This used to be commit 5af1d3a425
)
2007-10-10 12:00:48 -05:00
Jelmer Vernooij
e3068ef054
r18692: Dump debug data when DEBUGLEVEL >= 10
...
(This used to be commit 503d1a27d5
)
2007-10-10 12:00:48 -05:00
Jelmer Vernooij
8c79b4cbc1
r18690: Regenerate RPC files after pidl changes.
...
(This used to be commit 87d3430537
)
2007-10-10 12:00:47 -05:00
Jelmer Vernooij
6ffa76d76e
r18688: get rid of the now obsolete keepref attribute
...
(This used to be commit b970f05b9b
)
2007-10-10 12:00:47 -05:00
Stefan Metzmacher
387a8ed33e
r18687: sync the lib/interfaces.c with lib/socket/netif.c from samba4
...
to hopefully fix the build on HPUX and Tru64
metze
(This used to be commit aa8222c6a7
)
2007-10-10 12:00:47 -05:00
Gerald Carter
3c222089ed
r18684: pdb_get_group_sid() has to use the Get_Pwnam_alloc() call
...
to ensure it finds the Unix user.
(This used to be commit 4cea9bfca1
)
2007-10-10 12:00:47 -05:00
Günther Deschner
7eca40ba3e
r18681: Although we have commandline completion in rpcclient, just also allow
...
"debug" to be set instead of "debuglevel" - just for convenience.
Guenther
(This used to be commit ffec64730b
)
2007-10-10 12:00:47 -05:00
Günther Deschner
d1e28fa76d
r18680: Fix last struct uuids (in uncommented code).
...
Guenther
(This used to be commit 41c79ee5ac
)
2007-10-10 12:00:47 -05:00
Günther Deschner
d2106c1a3c
r18679: Fix the build.
...
Guenther
(This used to be commit b42bd2bf9b
)
2007-10-10 12:00:46 -05:00
Günther Deschner
1f3b19d569
r18678: Fix the build. (never commit before breakfeast).
...
Guenther
(This used to be commit e1e9b57ce2
)
2007-10-10 12:00:46 -05:00
Günther Deschner
5864fb9fc5
r18677: quickly add samr_GetDisplayEnumerationIndex for debugging to rpcclient.
...
Guenther
(This used to be commit bd546edc48
)
2007-10-10 12:00:46 -05:00
Stefan Metzmacher
bc6295c3ec
r18673: define the macros even if we don't define bool ourself
...
metze
(This used to be commit 65013a8d9e
)
2007-10-10 12:00:46 -05:00
Stefan Metzmacher
7040796108
r18672: fix the build on Tru64
...
metze
(This used to be commit 6c101d2068
)
2007-10-10 12:00:46 -05:00
Stefan Metzmacher
8383eb53f4
r18671: try to fix the build on solaris 10 and maybe some other hosts
...
we need to define 'BOOL_DEFINED' to make sure it didn't get redefined
by <rpcsvc/yp_prot.h>
metze
(This used to be commit 5a589bb16c
)
2007-10-10 12:00:46 -05:00
Günther Deschner
4fa5a1c845
r18670: Fix memleaks.
...
Guenther
(This used to be commit 2fc63fb8f7
)
2007-10-10 12:00:46 -05:00
Stefan Metzmacher
3fe99c960f
r18669: fix the samba3 build...
...
we need to move the iconv configure checks to libreplace...
metze
(This used to be commit 6b53ed8fdc
)
2007-10-10 12:00:45 -05:00
Volker Lendecke
d52612a7d9
r18667: Two C++ warnings
...
(This used to be commit 8c60e71229
)
2007-10-10 12:00:45 -05:00
Gerald Carter
6ef0edb38e
r18666: checking in generated netlogon files
...
(This used to be commit ac5561103c
)
2007-10-10 12:00:45 -05:00
Volker Lendecke
72e9a5d9e6
r18665: Remove two type-punned warnings
...
(This used to be commit 157b2c0c26
)
2007-10-10 12:00:45 -05:00
Stefan Metzmacher
fb79acba60
r18664: this stuff is included from libreplace
...
metze
(This used to be commit 054728e071
)
2007-10-10 12:00:45 -05:00
Jeremy Allison
664c3f4166
r18663: Fix one more uuid -> GUID.
...
Jeremy.
(This used to be commit e568271af2
)
2007-10-10 12:00:44 -05:00
Stefan Metzmacher
a03627afad
r18662: print out the failing command for dynconfig.o too
...
metze
(This used to be commit f51a200f67
)
2007-10-10 12:00:44 -05:00
Volker Lendecke
4d451bd213
r18661: C++ warnings
...
(This used to be commit 6004b8025d
)
2007-10-10 11:52:20 -05:00
Jim McDonough
b449884661
r18660: Fix build, one uuid->GUID was missed.
...
(This used to be commit f8ea2069d4
)
2007-10-10 11:52:20 -05:00
Stefan Metzmacher
921caa41e0
r18659: restore BOOL, sorry:-)
...
libreplace only provides 'bool' not BOOL
metze
(This used to be commit ce6a0723ff
)
2007-10-10 11:52:20 -05:00
Jelmer Vernooij
4e7d11449a
r18654: Rename "struct uuid" => "struct GUID" for consistency.
...
(This used to be commit 5de76767e8
)
2007-10-10 11:52:19 -05:00
Stefan Metzmacher
bc82f70e0b
r18653: this stuff is in libreplace...
...
metze
(This used to be commit 1dd0ed6134
)
2007-10-10 11:52:19 -05:00
Stefan Metzmacher
ac76c1804c
r18652: libreplace has replacements for strndup and strnlen
...
metze
(This used to be commit 9f3599a7ca
)
2007-10-10 11:52:19 -05:00
Stefan Metzmacher
af61cbdae9
r18651: this comment is wrong, was cut'n'paste...
...
metze
(This used to be commit e3b88fb655
)
2007-10-10 11:52:19 -05:00
Stefan Metzmacher
c1837c24ae
r18650: this isn't needed twice in include/includes.h
...
metze
(This used to be commit ee11275183
)
2007-10-10 11:52:19 -05:00
Stefan Metzmacher
19cee7d056
r18649: the PRINTF_ATTRIUTE() macro is provided by libreplace
...
metze
(This used to be commit dd76f4f5f3
)
2007-10-10 11:52:19 -05:00
Stefan Metzmacher
b0c3ad3925
r18648: this is provided by libreplace
...
metze
(This used to be commit cbc3f09263
)
2007-10-10 11:52:18 -05:00
Stefan Metzmacher
21d9351113
r18647: print out the failing cammand, this is very usefull for the build farm
...
metze
(This used to be commit ab58cd1056
)
2007-10-10 11:52:18 -05:00
Stefan Metzmacher
0638207bc4
r18646: now we can have the socket_wrapper.c completely in sync with samba4
...
metze
(This used to be commit d4d9b7e026
)
2007-10-10 11:52:18 -05:00
Stefan Metzmacher
8f153c6128
r18644: bring in libreplace in lib/replace
...
metze
(This used to be commit 596cbe73dd
)
2007-10-10 11:52:03 -05:00
Volker Lendecke
f2e7b8d144
r18643: Fix a 64-bit warning
...
(This used to be commit bd17517796
)
2007-10-10 11:52:03 -05:00
Gerald Carter
c2c684b460
r18642: convert [out] parameters to pointers in Spooler IDL
...
(This used to be commit 9c67dd36c6
)
2007-10-10 11:52:03 -05:00
Gerald Carter
768e7cb043
r18641: Checking in the wkssvc files after updating the [out]
...
pointers. Waiting on on srvsvc files before it can actually compile.
(This used to be commit 1dbfb25d0a
)
2007-10-10 11:52:03 -05:00
Stefan Metzmacher
47e6b7733a
r18640: move to socket_wrapper to lib/socket_wrapper/
...
and sync it with samba4
metze
(This used to be commit 9c0e5b29f1
)
2007-10-10 11:52:03 -05:00
Volker Lendecke
58bd4333a5
r18638: This is an attempt to fix the AIX build. Jeremy, as you are busy talking
...
SASL/Steve/Andrew I can't right now ask why the aio.h is needed for the
timespec test.
Might have to revert that soon.
Volker
(This used to be commit fa53ad6571
)
2007-10-10 11:52:02 -05:00
Jelmer Vernooij
0da8adbc59
r18632: Make C++ compilers happy.
...
(This used to be commit 609224565f
)
2007-10-10 11:52:01 -05:00
Gerald Carter
738f168ecc
r18623: starting on eventlog IDL
...
(This used to be commit 6cb7b6226d
)
2007-10-10 11:52:01 -05:00
Günther Deschner
505f1d1e04
r18622: Fix at least the python bindings *build*, I'm sure there is much more to
...
do so that they actually work again.
Guenther
(This used to be commit 49d07d0cf9
)
2007-10-10 11:52:01 -05:00
Günther Deschner
1e02ed76eb
r18621: Fix samr server build.
...
Guenther
(This used to be commit 23d6656427
)
2007-10-10 11:52:01 -05:00
Günther Deschner
245aa33f0d
r18620: Fallback to non-paging LDAP searches in ads_do_search_retry_internal()
...
for anonymous bound connections.
When doing anonymous bind you can never use paged LDAP control for
RootDSE searches on AD.
Guenther
(This used to be commit dc1d92faab
)
2007-10-10 11:52:01 -05:00
Günther Deschner
a812e2d7db
r18619: Add rpcclient helper for samr_querydispinfo2|3 for testing.
...
Guenther
(This used to be commit 1a307954e5
)
2007-10-10 11:52:00 -05:00
Gerald Carter
8dd826f500
r18618: * remove svn:externals
...
* 'make idl' now requires pidl in the current PATH
* regenerate winreg ndr files
(This used to be commit e936d39e00
)
2007-10-10 11:52:00 -05:00
Gerald Carter
ab91674753
r18617: fix unixinfo call after change to IDL (change from pointer)
...
(This used to be commit fd0579b963
)
2007-10-10 11:52:00 -05:00
Gerald Carter
4646147a39
r18616: fix breakage after DLIST_ADD_END() changes for --with-pam
...
(This used to be commit 5c00b5497b
)
2007-10-10 11:52:00 -05:00
Jeremy Allison
6b07596a0f
r18613: Metze, in your DLINKLIST commit you changed this
...
from 10 seconds to 30 seconds. I don't think you
meant to do this....
Jeremy.
(This used to be commit dd1691cf81
)
2007-10-10 11:52:00 -05:00
Stefan Metzmacher
7ee716e701
r18612: remove RPC-ECHO till it gets fixed
...
metze
(This used to be commit 2afeec3d15
)
2007-10-10 11:52:00 -05:00
Stefan Metzmacher
86b701d3cc
r18608: -D_SAMBA_BUILD_ was already added in another place to CFLAGS
...
so we don't need it twice
metze
(This used to be commit 19259e5e93
)
2007-10-10 11:51:59 -05:00
Stefan Metzmacher
1626d2926a
r18606: - fix the detection of the working quota implementation
...
- we now define the set of samba related include path in one place
so that we can't get it wrong in different places
metze
(This used to be commit 6bf0aad052
)
2007-10-10 11:51:59 -05:00
Stefan Metzmacher
258a465e20
r18605: sync dlinklist.h with samba4, that means DLIST_ADD_END()
...
and DLIST_DEMOTE() now take the type of the tmp pointer
not the tmp pointer itself anymore.
metze
(This used to be commit 2f58645b70
)
2007-10-10 11:51:59 -05:00
Jeremy Allison
8155621d54
r18603: Add in the NFSv4 ACL mapping code from IBM.
...
Sorry for the delay :-).
Jeremy.
(This used to be commit a52fa21895
)
2007-10-10 11:51:59 -05:00
Volker Lendecke
b5fabe4cf8
r18598: Add marshalling support to smb_io_time.
...
Volker
(This used to be commit 2ab0ab3262
)
2007-10-10 11:51:59 -05:00
Volker Lendecke
8bf6d57176
r18597: A C++ warning
...
(This used to be commit 528082aed8
)
2007-10-10 11:51:57 -05:00
Jelmer Vernooij
e5db7fee0f
r18572: Use the autogenerated client and server for the echo interface and implement
...
some of the missing functions. RPC-ECHO now passes against Samba3.
(This used to be commit 9e9a053661
)
2007-10-10 11:51:51 -05:00
Gerald Carter
47debfd03a
r18562: quick build fix rather than rolling back (I didn't actually intend the previous commit but got confused between Samab 3 & 4 branches)
...
(This used to be commit 990e7c3f8e
)
2007-10-10 11:51:50 -05:00
Gerald Carter
c4013df0c1
r18560: * Add in the winreg and initshutdown IDL files
...
* rename PI_SHUTDOWN from include/smb.h to PI_INITSHUTDOWN
for compatibility with pidl libndr output
(This used to be commit 23a8828613
)
2007-10-10 11:51:50 -05:00
Jeremy Allison
1052e48e87
r18557: If you've set security=ads, do the DNS queries first.
...
Doing otherwise means site support doesn't work correctly.
Jeremy.
(This used to be commit 06a75f3b93
)
2007-10-10 11:51:50 -05:00
Volker Lendecke
e5b3b3cac5
r18556: Implement "net sam policy", thanks to Karolin Seeger <ks@sernet.de>.
...
Volker
(This used to be commit da22aa7021
)
2007-10-10 11:51:49 -05:00
Jeremy Allison
a0aaa82f6d
r18552: Ensure the sitename matches before we SAF store a DC in ADS mode.
...
Jeremy.
(This used to be commit 03e1078b45
)
2007-10-10 11:51:49 -05:00
Jeremy Allison
07e9f4e61a
r18551: Implement a 30 seconds from startup, during which we
...
try hard to connect a DC even if we might be offline.
Jeremy.
(This used to be commit a9f1151407
)
2007-10-10 11:51:49 -05:00
Jeremy Allison
315ad641c3
r18547: Add in fixes to mangling dir code - ensure don't
...
look in the paths for wcard - always read directly
from incoming packet.
Jeremy.
(This used to be commit 3745a1af4e
)
2007-10-10 11:51:48 -05:00
Volker Lendecke
8e7799889f
r18543: Fix Coverity ID#312
...
(This used to be commit 763cbe924b
)
2007-10-10 11:51:48 -05:00
Simo Sorce
d6943ee546
r18534: Fix grammar
...
(This used to be commit 6c9b80bde3
)
2007-10-10 11:51:48 -05:00
Jeremy Allison
041e49d196
r18533: Ensure we clear out the failed connection cache for an entire
...
domain when going back online.
Jeremy.
(This used to be commit c7e4c8d0b4
)
2007-10-10 11:51:48 -05:00
Simo Sorce
019c89a67e
r18530: typos
...
(This used to be commit 8c5c4959ed
)
2007-10-10 11:51:48 -05:00
Simo Sorce
f560ee201d
r18529: warn the user that putting the machine host name on the
...
127.0.0.1 line in /etc/hosts is not ok for Kerberos.
(This used to be commit 85126391e1
)
2007-10-10 11:51:47 -05:00
Volker Lendecke
fcec9a23e9
r18527: Janitor for Jeremy ;-)
...
(This used to be commit d72ba9ed12
)
2007-10-10 11:51:46 -05:00
Jelmer Vernooij
71453ab90d
r18526: Use generated server for unixinfo RPC interface.
...
(This used to be commit a5c0606d76
)
2007-10-10 11:51:46 -05:00
Jeremy Allison
1e81145362
r18525: Be a little less agressive about going back online when requested.
...
Jeremy.
(This used to be commit 9a0066278c
)
2007-10-10 11:51:46 -05:00
Volker Lendecke
5077d28081
r18519: Copy over the Samba4 code to figure out options for the named initializers.
...
Volker
(This used to be commit 1786c28cc3
)
2007-10-10 11:51:45 -05:00
Günther Deschner
2ad8c705b2
r18512: Add krb5conf file environment to debug statement.
...
Guenther
(This used to be commit 398f368c8a
)
2007-10-10 11:51:45 -05:00
Günther Deschner
0f9c9db072
r18511: Ops, fix the build.
...
Guenther
(This used to be commit 20de0b4823
)
2007-10-10 11:51:45 -05:00
Günther Deschner
b2c0260219
r18510: Protect against storing null-sids in the winbind cache.
...
Guenther
(This used to be commit b04c8d46ef
)
2007-10-10 11:51:45 -05:00
Jeremy Allison
415c75f320
r18509: We must always canonicalise the usernames to be UPPERCASE DOMAIN,
...
lowercase username. We cache names as keys in this form, and we weren't
always returning this....
Jeremy.
(This used to be commit 205aa2b70d
)
2007-10-10 11:51:45 -05:00
Günther Deschner
dda94fdf96
r18508: A query for the LDAP schema can never be done anonymously against AD.
...
Guenther
(This used to be commit 8bb6e82f02
)
2007-10-10 11:51:44 -05:00
Jeremy Allison
4b57919051
r18507: Added debug log for returned username.
...
Jeremy.
(This used to be commit 7644fa70ba
)
2007-10-10 11:51:44 -05:00
Jeremy Allison
ddbf923253
r18506: Fix online requests to cause an immediate DC connection.
...
Jeremy.
(This used to be commit 03b1699fa7
)
2007-10-10 11:51:44 -05:00
Jelmer Vernooij
e6b7c350c1
r18487: Add NULL checks
...
(This used to be commit 3df11307f8
)
2007-10-10 11:51:44 -05:00
Günther Deschner
1f0b2e84d7
r18484: Start some cleanup on pam_winbind's syslogging:
...
* as openlog() is non-reentrant and pam_winbind thereby overrides the
syslog settings of the calling application, directly call syslog (or
pam_vsyslog if available)
* support the PAM_SILENT flag to avoid any log messages beeing created
Guenther
(This used to be commit 0f7e37ffc4
)
2007-10-10 11:51:44 -05:00
Jeremy Allison
b3b207e966
r18483: Ensure all pdb_XXX calls are wrapped in become_root()/unbecome_root()
...
pairs. Should fix bug #4097 .
Jeremy.
(This used to be commit f787b9d156
)
2007-10-10 11:51:44 -05:00
Jelmer Vernooij
48e2a2bfb7
r18481: Use pidl-generated server side code for dfs.
...
(This used to be commit 3f337c104d
)
2007-10-10 11:51:43 -05:00
Jeremy Allison
a4743f3a76
r18480: Doh ! Double-free of hostnameDN.
...
Jeremy.
(This used to be commit f8984fa8b7
)
2007-10-10 11:51:43 -05:00
Jeremy Allison
5606e85d74
r18476: Protect ourselves from bad cached creds a little
...
better - don't just panic - delete them.
Jeremy.
(This used to be commit 4c54b75076
)
2007-10-10 11:51:43 -05:00
Jeremy Allison
c9f9917e77
r18473: Once we go online, trigger a "get krb5 ticket event"
...
immediately if we were waiting on one.
Jeremy.
(This used to be commit 6dc8f9042f
)
2007-10-10 11:51:43 -05:00
Jelmer Vernooij
8be112a81b
r18469: Use new pidl-generated DFS client code.
...
(This used to be commit e277fb067b
)
2007-10-10 11:51:43 -05:00
Jeremy Allison
dc14e67a6b
r18467: Some sites allow an account to be deleted, but not
...
disabled. Cope with both - print appropriate messages.
Jeremy.
(This used to be commit 2c003a4463
)
2007-10-10 11:51:43 -05:00
Volker Lendecke
6b3c42b1a1
r18466: Attempt to fix the AIX build
...
(This used to be commit 1398425067
)
2007-10-10 11:51:42 -05:00
Volker Lendecke
dfa62cfa98
r18464: Solaris has LDAP_SCOPE_ONELEVEL. Linux seems to have it as well.
...
Fix a C++ compat warning.
Volker
(This used to be commit 351e583f66
)
2007-10-10 11:51:42 -05:00
Volker Lendecke
1d71f023bb
r18457: Argl :-)
...
(This used to be commit cafaf5a37c
)
2007-10-10 11:51:42 -05:00
Volker Lendecke
d3237d2233
r18453: Attempt to fix the non-ldap build
...
(This used to be commit 86db854230
)
2007-10-10 11:51:42 -05:00
Volker Lendecke
6f47ed234a
r18449: Attempt to fix the build on non-linux platforms: Many of those don't have
...
strtoull. This is a copy of the stuff in samba4 libreplace, which is GPL. I
hope it is ok to copy&paste it into a GPL file. Tridge, we could also create a
replace_lpgl.c if needed.
Volker
(This used to be commit f8346687d9
)
2007-10-10 11:51:42 -05:00
Jeremy Allison
8c2c5c5d1d
r18446: Add the ldap 'leave domain' code - call this as
...
a non-fatal error path if the 'disable machine
account' code succeeded.
Jeremy.
(This used to be commit f47bffa21e
)
2007-10-10 11:51:42 -05:00
Gerald Carter
bad8c0d6f1
r18429: fix a regression renaming local group introduced by trying to handle renames to the same name
...
(This used to be commit 4faa5004fb
)
2007-10-10 11:51:23 -05:00
Günther Deschner
59e5149d8f
r18425: Fix ads_ntstatus(). LDAP_SUCCESS should really map to NT_STATUS_OK.
...
Guenther
(This used to be commit 8ab214956e
)
2007-10-10 11:51:23 -05:00
Günther Deschner
2a61368ee3
r18422: Use LDAPMessage in idmap_ad as well.
...
Guenther
(This used to be commit 533f764084
)
2007-10-10 11:51:23 -05:00
Simo Sorce
62c78742c4
r18413: Based on the new torture test I added in samba4 it turns out
...
the flags determines what kind of share is this.
I suppose 0x80000000 means something like (legacy) as it will
fail for any share name longer then 13 chars (same size accepted
for old RAP calls that come from pre NT OSs.
Jerry,
let me know if you want me to commit this to 3_0_23
Simo.
(This used to be commit f09f8b2d82
)
2007-10-10 11:51:22 -05:00
Jeremy Allison
3a55aa918c
r18411: Getting a zero length read is common. Don't log at
...
debug level zero.
Jeremy.
(This used to be commit e23caeb7b5
)
2007-10-10 11:51:22 -05:00
Gerald Carter
40892266f6
r18405: Now that POLICY_HND == struct policy_handle, we can
...
make rpccli_lsa_close() a real one line wrapper for
rpccli_lsa_Close().
I'm still keeping the wrapper for now because I'm not sure
what we will do about a usable client API. I don't think
calling the autogenerated client code directly is a good idea
as the IDL is still evolving.
(This used to be commit 47f0c71218
)
2007-10-10 11:51:22 -05:00
Gerald Carter
5e1146ab58
r18404: * swap from POLICY_HND to the struct policy_handle from ndr/misc.h
...
* move OUR_HANDLE macro to include/rpc_misc.h
(This used to be commit 2b37079af2
)
2007-10-10 11:51:22 -05:00
Jeremy Allison
68a2430c52
r18403: Revert until we get this sorted out correctly.
...
Jeremy.
(This used to be commit d0fdd5eb1e
)
2007-10-10 11:51:22 -05:00
Volker Lendecke
ff7b6e52b5
r18402: Comment and (hopefully) fix remote command completion for smbclient.
...
Fix Bug ID 4084.
Volker
(This used to be commit 0baa3fcfa6
)
2007-10-10 11:51:22 -05:00
Jeremy Allison
c432bfc14b
r18398: Fix bug #4095 - username composed into domain\user
...
twice in spnego path. Jerry please check.
Jeremy.
(This used to be commit e872bacf28
)
2007-10-10 11:51:21 -05:00
Gerald Carter
e397e2f22a
r18397: Change rpccli_lsa_close() as a wrapper for the autogenerated
...
rpccli_lsa_Close().
(This used to be commit 365c75603d
)
2007-10-10 11:51:21 -05:00
Gerald Carter
0a42e71252
r18396: regenerate unixinfo files after metze changes to the IDL
...
(This used to be commit d2fe3eab54
)
2007-10-10 11:51:21 -05:00
Gerald Carter
4f024ad3d1
r18395: have the ndr layer alloc outgoing structure members for us
...
(This used to be commit 4fb35eeb44
)
2007-10-10 11:51:21 -05:00
Gerald Carter
85e4a7a5b3
r18394: get the lsa client code to link
...
(This used to be commit 96e412a04c
)
2007-10-10 11:51:21 -05:00
Gerald Carter
8fad1d204e
r18393: get the data size and not offset when initializing a data blob from a prs structure
...
(This used to be commit 878fd68dfc
)
2007-10-10 11:51:21 -05:00
Stefan Metzmacher
703881988b
r18390: give a better error code
...
metze
(This used to be commit b2709f4fe5
)
2007-10-10 11:51:20 -05:00
Gerald Carter
5c14584d21
r18387: remove echo of pidl command line (was used for debugging)
...
(This used to be commit 848edce912
)
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 4424aebdce
)
2007-10-10 11:51:20 -05:00
Stefan Metzmacher
716135eacf
r18379: make the gdb_backtrace executable
...
metze
(This used to be commit f4023dc39e
)
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 346bcd756c
)
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 68ded4ba07
)
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 fa8b2e2a58
)
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 554e68887b
)
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 f6497adac6
)
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 651e7e44e2
)
2007-10-10 11:51:19 -05:00
Gerald Carter
415aa96f09
r18275: add auto generated dfs code
...
(This used to be commit edb7a3607e
)
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 e4fc8ba7fb
)
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 3da9f80c28
)
2007-10-10 11:51:18 -05:00
Stefan Metzmacher
c2d59d8170
r18269: regenerate idl output
...
metze
(This used to be commit 2047e2a985
)
2007-10-10 11:51:18 -05:00
Günther Deschner
cf469f2af1
r18259: Fix the non-krb5 builds.
...
Guenther
(This used to be commit 576488933b
)
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 dfd93a3031
)
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 04fe034f4a
)
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 3757f249aa
)
2007-10-10 11:51:17 -05:00
Gerald Carter
368682954d
r18236: fully autogenerated unix info files
...
(This used to be commit cbe39cb5e5
)
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 1eaf62557f
)
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 943e21d5da
)
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 eec8b915d1
)
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 4dba965f9a
)
2007-10-10 11:51:17 -05:00
Jelmer Vernooij
c43047009b
r18230: Build Samba3 RPC client<->libndr glue code.
...
(This used to be commit c77ddae4f0
)
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 b860685a81
)
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 0a89b37b1a
)
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 c82aac594f
)
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 7ba9b6ce58
)
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 38b8a2b527
)
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 88e11ee91a
)
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 7385a076f8
)
2007-10-10 11:51:15 -05:00
Gerald Carter
94eb7d93d8
r18197: compile fixes
...
(This used to be commit 9b0d44a0b0
)
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 9c943dfe2d
)
2007-10-10 11:51:15 -05:00
Gerald Carter
b8704c5217
r18195: remove hardcoded path introdiced by pidl
...
(This used to be commit cbf57a6327
)
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 cf271aa433
)
2007-10-10 11:51:08 -05:00
Jeremy Allison
3404728686
r18192: Fix the build.
...
Jeremy.
(This used to be commit aa62bb6b4c
)
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 7bfbe1b4fb
)
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 6792460ba6
)
2007-10-10 11:43:56 -05:00
Jelmer Vernooij
995205fc60
r18188: merge 3.0-libndr branch
...
(This used to be commit 1115745cae
)
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 647ed21b09
)
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 6da1ef0f1c
)
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 7d5356fd5d
)
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 0ef504a0a6
)
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 af3779a516
)
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 1fe4724f57
)
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 e852bc4646
)
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 1bb29acb3b
)
2007-10-10 11:43:30 -05:00