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

21 Commits

Author SHA1 Message Date
Lars Müller
afb96206aa r15093: Align to the last winbind changes.
(This used to be commit 74fa3a2554b769382b2b3b43adfbc0cfbca3cd10)
2007-10-10 11:16:22 -05:00
Jeremy Allison
19ca97a70f r7882: Looks like a large patch - but what it actually does is make Samba
safe for using our headers and linking with C++ modules. Stops us
from using C++ reserved keywords in our code.
Jeremy
(This used to be commit 9506b8e145982b1160a2f0aee5c9b7a54980940a)
2007-10-10 10:58:00 -05:00
Tim Potter
de737187c9 r6739: Fix for segfault in samba.winbind.auth_crap module found by Ed Plese.
Closes bugzilla 2699.
(This used to be commit 16ddf2812266c314950f464a6f4d75d55de0f9d6)
2007-10-10 10:56:53 -05:00
Andrew Bartlett
9d0783bf21 r1492: Rework our random number generation system.
On systems with /dev/urandom, this avoids a change to secrets.tdb for every fork().

For other systems, we now only re-seed after a fork, and on startup.
No need to do it per-operation.  This removes the 'need_reseed'
parameter from generate_random_buffer().

Andrew Bartlett
(This used to be commit 36741d3cf53a7bd17d361251f2bb50851cdb035f)
2007-10-10 10:52:13 -05:00
John Terpstra
ac61ce1f88 Tims' little fix.
(This used to be commit 03a308afcd8826387e33a9c95df98425f9e0fa79)
2003-08-12 21:48:19 +00:00
Tim Potter
dffd0f379f Fix for bug 269. Change wbinfo and ntlm_auth to convert domain, username
and workstation to utf8 before sending the winbindd request.  Also, don't
continue when the call to pull_utf8() fails but rather return a winbind
error.  (This is what was causing the crash)
(This used to be commit ca1c463360b75538a93b56a87cbb4a6ee7b6cec6)
2003-08-12 00:46:15 +00:00
Tim Potter
63537d0add Use lp_idmap_[ug]id() instead of lp_winbind_[ug]id()
(This used to be commit cfb86b4503c13b34583a61ef01ca8e1ed00fb9e4)
2003-07-22 00:16:39 +00:00
Tim Potter
873e090be3 Merge of compiler warning fixups.
(This used to be commit 0308a0a11265050f53fc7e8e03f8e17b04adb45d)
2003-03-20 01:05:22 +00:00
Tim Potter
870a397bd5 Merge of #ifdef'ed out auth_smbd wrapper.
(This used to be commit fc0b2fcf977b9014d2478296168b22e9faa22108)
2003-03-18 06:07:16 +00:00
Tim Potter
5ef421f1d8 Merge of cleanups and srvsvc implementation from HEAD.
(This used to be commit dbea592877ad12f270805a9d8a86a50985beaf66)
2003-02-19 22:47:49 +00:00
Tim Potter
77c25dfbaa Merge from HEAD:
>Added some extra code to test absence/presence of LM and NT passwords.
(This used to be commit 89a2ee7e72fef444632659af13feaf94d3f6e9ce)
2002-11-29 01:12:15 +00:00
Tim Potter
b3bcdccb1c Implemented getpw{nam,uid} functions.
(This used to be commit 19adbf1faed3d076207ec55e398f15f87d48c9f7)
2002-09-11 04:55:45 +00:00
Tim Potter
0f1de232c2 More automatically generated prototype madness.
(This used to be commit 8e1a15a625b72711bcfab77403e6a6b91e434756)
2002-05-27 06:39:10 +00:00
Tim Potter
520b40e423 General cleanup of compiler warnings etc.
(This used to be commit 18aeadc591b69bbbd874b7285ecaed50ff587e68)
2002-05-14 02:37:47 +00:00
Tim Potter
baee819582 Use Py_InitModule3() instead of Py_InitModule4() when we only want to set
the docstring for the module.

Doc updates.
(This used to be commit ba5364b30688924d6b69b9fc39a398441a6149e7)
2002-04-03 04:38:59 +00:00
Tim Potter
b1d54184c8 Use winbind separator in sid_to_name() function.
Implemented auth() and auth_crap() functions.

Expanded docstrings for exported functions, with examples.  Now 'pydoc
winbind' returns a nice looking manual page!

Wrote module docstring.
(This used to be commit 26a7333347e630d2f5ff9d017536d21ac4ecaa81)
2002-03-28 03:22:41 +00:00
Tim Potter
8391260e13 Renamed internal methods so as not to clash with symbols within Samba.
Set up and use winbind separator in config object.

Implemented:

 - uid to sid
 - gid to sid
 - sid to uid
 - sid to gid

Added RID constants.
(This used to be commit 9afd17f1541446a9c5252cd4d0d4d13c800ecac8)
2002-03-26 06:20:51 +00:00
Tim Potter
64f18308b7 Added enumerate trusted domains and check secret.
Added configuration dictionary to retrieve smb.conf parameters.
(This used to be commit 4d31151977f358c50986131dbd311c3ee69e9286)
2002-03-22 00:10:53 +00:00
Tim Potter
747e020a07 Added enum domain users and enum domain groups.
(This used to be commit ba0624d0c397d49b032f34727c910c0be7014813)
2002-03-20 06:27:41 +00:00
Tim Potter
04b555952c Added name_to_sid and sid_to_name functions.
(This used to be commit 5e955b5fcc53b80238bbc178ca0bcd8b3e81c05f)
2002-03-20 04:53:44 +00:00
Tim Potter
d07cc9d8a1 Initial version.
(This used to be commit d35770d06f7bc396cf32337a4e1104b5fe8a3ca8)
2002-03-20 03:29:03 +00:00