Jeremy Allison
a0aaa82f6d
r18552: Ensure the sitename matches before we SAF store a DC in ADS mode.
...
Jeremy.
(This used to be commit 03e1078b459531af5a2336b584b3c886c5dd1e29)
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 a9f115140700487767bafa058db744eea5ee8f77)
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 3745a1af4ea9262fcda28931539fa6ab4c9060d1)
2007-10-10 11:51:48 -05:00
Volker Lendecke
8e7799889f
r18543: Fix Coverity ID#312
...
(This used to be commit 763cbe924b78b206985db6552e20cb4830446d35)
2007-10-10 11:51:48 -05:00
Simo Sorce
d6943ee546
r18534: Fix grammar
...
(This used to be commit 6c9b80bde39be7feb15f0fab4024a1de2980f4c1)
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 c7e4c8d0b4d109ec67d4424dd446b74b55246c72)
2007-10-10 11:51:48 -05:00
Simo Sorce
019c89a67e
r18530: typos
...
(This used to be commit 8c5c4959ede04e1cdbfe65beeee1f67ac0a93753)
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 85126391e11006514af8e6c6b88eb7fa21abf49a)
2007-10-10 11:51:47 -05:00
Volker Lendecke
fcec9a23e9
r18527: Janitor for Jeremy ;-)
...
(This used to be commit d72ba9ed1288e7f498a64c96dd6aa04bda59c8b2)
2007-10-10 11:51:46 -05:00
Jelmer Vernooij
71453ab90d
r18526: Use generated server for unixinfo RPC interface.
...
(This used to be commit a5c0606d7667506fdc64776e32d4b3508195a199)
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 9a0066278c30b123eeaed8213294b6d81a339524)
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 1786c28cc353e2ba70abe2750b9ef804cec84bf0)
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 398f368c8a2df36d522583c733f7c22cac2f2059)
2007-10-10 11:51:45 -05:00
Günther Deschner
0f9c9db072
r18511: Ops, fix the build.
...
Guenther
(This used to be commit 20de0b4823abb59518b7ffb495120494e705df7a)
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 b04c8d46efc67e013b976e0ba1be558b70a1f899)
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 205aa2b70d647460ca5a273caad7717312f53aab)
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 8bb6e82f02044a715dbeee020bcc4a01a83c4a64)
2007-10-10 11:51:44 -05:00
Jeremy Allison
4b57919051
r18507: Added debug log for returned username.
...
Jeremy.
(This used to be commit 7644fa70ba4f7c88d887930e23b5ee2e1632473b)
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 03b1699fa7d94fd637ff8c3bd2c59358673d2607)
2007-10-10 11:51:44 -05:00
Jelmer Vernooij
e6b7c350c1
r18487: Add NULL checks
...
(This used to be commit 3df11307f8ca05e4f7182522d835911f0768e9eb)
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 0f7e37ffc4759a4e29f63ab83f39ddb31c8240f6)
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 f787b9d156992e0069860cb1ab829970cb69eb81)
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 3f337c104d42321595161d0283b39357df252a8e)
2007-10-10 11:51:43 -05:00
Jeremy Allison
a4743f3a76
r18480: Doh ! Double-free of hostnameDN.
...
Jeremy.
(This used to be commit f8984fa8b706bb76559e447b30a201e1cc2871b6)
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 4c54b75076442d239ae374b236c6f33aafece981)
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 6dc8f9042f057e1f9aff46042a0fe697cb8a912c)
2007-10-10 11:51:43 -05:00
Jelmer Vernooij
8be112a81b
r18469: Use new pidl-generated DFS client code.
...
(This used to be commit e277fb067b1a12d816c8a066839751c1824d27bb)
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 2c003a4463ff59c477fa2558f869444cfa75e3a8)
2007-10-10 11:51:43 -05:00
Volker Lendecke
6b3c42b1a1
r18466: Attempt to fix the AIX build
...
(This used to be commit 1398425067d77d90ecf2ed4c17a12d643f7f5a88)
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 351e583f66714562eca1f40429bfee70f06d281c)
2007-10-10 11:51:42 -05:00
Volker Lendecke
1d71f023bb
r18457: Argl :-)
...
(This used to be commit cafaf5a37cb0ee41829cce95d2d3f2619d5c2744)
2007-10-10 11:51:42 -05:00
Volker Lendecke
d3237d2233
r18453: Attempt to fix the non-ldap build
...
(This used to be commit 86db85423027d34cb053fc068159ddd2226e90ec)
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 f8346687d950ed643e8fa7d0b1a9c27f2880cc85)
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 f47bffa21ec1caf5ec3a6ec77af801df0b63d83a)
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 4faa5004fb7e5814bf8a97cfe8d0b443f0acdb8d)
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 8ab214956ef11ff0b1532713cff65c17d2439570)
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 533f764084e2feb33570a8dee98eaac636652c7b)
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 f09f8b2d820b10679f3e9cf80749da0a35f5ce6a)
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 e23caeb7b57b0b1bbc2f8b6abf34166f271a88fa)
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 47f0c71218ade18cb94b48661f064e8956e06096)
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 2b37079af2f569df7a58878150a61980c6fe06ee)
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 d0fdd5eb1e0c8bf135c267d4ff8183899345beaa)
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 0baa3fcfa6b7d39d0f490ad0682042706f2518f2)
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 e872bacf2850cfb66be1c57be40484fe8e4c2da5)
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 365c75603d9130f46dd40ab46e14f3c91c687c65)
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 d2fe3eab54d01fa58e92b02464aa803952135c46)
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 4fb35eeb44d434b04282c41e98c4a5767e1a8647)
2007-10-10 11:51:21 -05:00
Gerald Carter
85e4a7a5b3
r18394: get the lsa client code to link
...
(This used to be commit 96e412a04cedc4c361c08e0ed1d141f3b018728b)
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 878fd68dfcb237f5332efcf48a3891abcc9ad53c)
2007-10-10 11:51:21 -05:00
Stefan Metzmacher
703881988b
r18390: give a better error code
...
metze
(This used to be commit b2709f4fe529e89fcabfa3fc2ff27e09a192b3b6)
2007-10-10 11:51:20 -05:00