1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

20523 Commits

Author SHA1 Message Date
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