1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

7337 Commits

Author SHA1 Message Date
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
Andrew Tridgell
b9d587cf83 a dodgy fix for a dodgy race condition in smbtorture child startup
(This used to be commit 30febde783bcacc111f559473dc15baee66db350)
2002-03-28 02:42:25 +00:00
Jeremy Allison
906d3bda26 Ensure that setting file length can return disk full on failure.
Jeremy.
(This used to be commit 14e2beca9b8fa1c8d893013f52f42b2721a82758)
2002-03-28 01:00:31 +00:00
Tim Potter
149291d3cf Updated version.
(This used to be commit a66e04711a2a9d4514df52addb1256a008eff880)
2002-03-28 00:08:47 +00:00
Tim Potter
8d02bb0894 Script to generate patch to Makefile.in and configure.in
Run like:

python/mkpatch
(This used to be commit 54f2aa437a9c7bf9f6743a31f70fbd56ecda3173)
2002-03-28 00:04:45 +00:00
Jeremy Allison
0cb0c6e903 Added sys_adminlog() system for info the appliance admins really
need to know about. Different from the DEBUG system.
Jeremy.
(This used to be commit 74eac41c681f92a6da0ae2167f031e021862e0d8)
2002-03-27 23:17:50 +00:00
Herb Lewis
a2819db2f0 merge from 2.2 - don't check local passdb if -r option used
(This used to be commit 15df51e8def01009f2ec1e2d08c3129ac39dabdf)
2002-03-27 19:20:48 +00:00
Gerald Carter
c6cd39d4f7 merge from SAMBA_2_2
(This used to be commit fe099006bbd1103edb5804d70743b211bbc584fb)
2002-03-27 17:39:01 +00:00
Tim Potter
2624a47cb4 Converted to #include *.c format.
(This used to be commit 992cbfe98b4131f0aef96da3ddeee00d3d4a1fb1)
2002-03-27 05:36:13 +00:00
Tim Potter
6deca76e4c Broke out stuff into other files.
(This used to be commit 9eb3eb8513e82ec11cb8db671cfb5be45619d3fd)
2002-03-27 05:33:19 +00:00
Tim Potter
b66111f9ba Moved pyconv definitions across.
Fixed misc compile problems.
(This used to be commit 723bfa1a857b4c3e114b7e510c8f991ba73c1ba1)
2002-03-27 05:28:42 +00:00
Tim Potter
b2df666ca9 Fixed bug in guards.
(This used to be commit 22990c3dda92278ad813dd20bebb243ed38388aa)
2002-03-27 05:27:08 +00:00
Tim Potter
4d05c91c79 Converted to #include *.c format to avoid namespace pollution and
header file madness.
(This used to be commit 0f179ebf7e35b12b99b58cc42e16efa5b50230a4)
2002-03-27 05:25:57 +00:00
Tim Potter
e9ad51af1d Moved general printer related calls here.
(This used to be commit eb8cd68bc9c7c7c52a066479712c93e62f0ba5d5)
2002-03-27 05:25:13 +00:00
Tim Potter
d035eda397 Moved printer driver related calls here.
(This used to be commit d4b8000e1f2780a805a5ddf8e13906b4146d65e7)
2002-03-27 05:23:42 +00:00
Jim McDonough
90ada79bbf Whoops, left the paged control not critical in the paged search...kind of
defeats the purpose.
(This used to be commit 71806c49b366faf2466eee7352c71fcdfefd8cc1)
2002-03-27 03:09:50 +00:00
Jeremy Allison
7d7c594644 Removed HAVE_LIBDL from most places (except system.c). Added checks for
dlopen & friends into configure.in. This should help building on *BSD
where dl*** calls are in libc.
Jeremy
(This used to be commit ac1baba35d7a399bf800ced49a4384e39955e3eb)
2002-03-27 03:00:39 +00:00
Jim McDonough
1a06eeb6da Add server control to prevent referrals in paged searches. This keeps
the scope limited to the domain at hand, and also keeps the openldap
libs happy, since they don't currently chase referrals and return
server controls properly at the same time.
(This used to be commit 2bebc8a391bd80bd0e5adbedb3757fb4279ec414)
2002-03-27 02:58:58 +00:00
Jeremy Allison
0d87fb91c4 Allow hosts allow/deny to use xx.xx.xx.xx/yy syntax.
Jeremy.
(This used to be commit ea60c50109462b35825be1dd3cc6b28f739a1b59)
2002-03-27 01:56:31 +00:00
Jeremy Allison
752324ee1a In msleep - never sleep for more than 1 second. Cope with time changes.
Jeremy.
(This used to be commit 9fb6a475264f465e30a23c34b5c9266921d135d1)
2002-03-27 00:39:26 +00:00
Jeremy Allison
94c52a0052 Moved debug messages for grabbing/releasing mutex.
Jeremy.
(This used to be commit e144c174eafc18f236c848b8f3a2c6382796f5a9)
2002-03-27 00:02:49 +00:00
Tim Potter
57b81e1a36 Unblock sigusr1 on startup.
(This used to be commit f1cb5ff6c41cabc02da84d56c1a6d95fa434d484)
2002-03-26 23:04:06 +00:00
Jeremy Allison
64d20453d9 Don't hold the mutex for more than 20 seconds.
Jeremy.
(This used to be commit 1b9f1a368f2f37700cef357ab4bbc0389ec06378)
2002-03-26 22:36:27 +00:00
Tim Potter
42cfc17700 Added code for smb messaging. winbindd now responds to the smbcontrol
ping, debug and pool-usage messages.
(This used to be commit 144f0481c8b05956bdc96461a82d530fa85e3c72)
2002-03-26 22:33:06 +00:00
Jeremy Allison
25057f7fee Don't do a zero-length malloc (caught with dmalloc library).
Jeremy.
(This used to be commit 05f214202c02c0d585787cd21652edbbf338e50c)
2002-03-26 19:45:28 +00:00
Tim Potter
7e686ace08 Moved conv functions to separate file.
Converted remaining functions to methods.
(This used to be commit 1e894487f59a0c00347fdf28ddea892b40473a6d)
2002-03-26 11:12:16 +00:00
Tim Potter
64172f5863 #include "py_conv.h"
(This used to be commit 2c935bc1eab20fd72f0bd4577c0e2140d6fcc3d3)
2002-03-26 11:09:35 +00:00
Tim Potter
1e926afe0f Added ports and conversion routines.
(This used to be commit eff595d068d40ad833d96e545b9918f91669a13c)
2002-03-26 11:09:07 +00:00
Tim Potter
b9c0eb8bdd Regenerated patch.
(This used to be commit 34cc49d92988a0d4871b6586776b5d2c9d94de94)
2002-03-26 11:08:25 +00:00
Tim Potter
04ab61a56c Port related functions.
(This used to be commit 5dc7e350ec784996f7c8bc824624cd0b8347a3b0)
2002-03-26 11:08:09 +00:00
Tim Potter
577637b0f9 Samba structure <-> Python dictionary helper functions.
(This used to be commit 6c8a2ad16774f67f82d95056817ace5c80928893)
2002-03-26 11:07:45 +00:00
Tim Potter
7cf6b169a3 Moved form related functions as methods in the policy handle object.
(This used to be commit 7c4bcc48aa9ff3227673522f32170bcefb0b7208)
2002-03-26 06:25:47 +00:00
Tim Potter
b39e0d6b43 Append $(srcdir) to include directories.
(This used to be commit ff526275669a4464ad274fac1b381945adb21719)
2002-03-26 06:23:28 +00:00
Tim Potter
258b72c96d Pass $(srcdir) to setup.py
(This used to be commit 1926828c5d9f4adf5498268abbe129e8b9f57a9d)
2002-03-26 06:22:21 +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
Gerald Carter
737423f06e OpenPrinter() merge from 2.2
(This used to be commit 619397cc90549d4602ecddc25ee50eb247c913ee)
2002-03-26 03:15:30 +00:00
Jeremy Allison
8f9d7ebb35 Removed unused variable.
Jeremy.
(This used to be commit 4eb29ac559faf29b348a4097a33f9cbf4cf9d057)
2002-03-26 03:07:51 +00:00
Jeremy Allison
414056e9f2 Tests for insane open semantics.
Jeremy.
(This used to be commit 6d6842abfa1f7a317b3aa6b285ed737bf7056e82)
2002-03-26 00:40:18 +00:00
Jeremy Allison
81a0d5b5e9 Matched W2K *insane* open semantics....
Jeremy.
(This used to be commit 6819e81da490914d2db91c4d2419d408b8d4c818)
2002-03-26 00:38:12 +00:00
Jeremy Allison
bca0b0fc36 Added 5 *NASTY* non-io open tests....
Jeremy.
(This used to be commit 15cb6267e2f86b6e244d4a9f7a8633205f10114c)
2002-03-26 00:07:48 +00:00
Andrew Bartlett
62098eade3 add {push,pull}_ucs2{allocate,talloc}() functions.
Andrew Bartlett
(This used to be commit ce7990b4a4f251536dd26be5a62c12711df57787)
2002-03-25 07:41:42 +00:00
Martin Pool
cf60c28ea8 Roll back proto.h changes -- to hard to do them portably. Leave
Herb's installdat change in.
(This used to be commit 39a6b12fdc6a45cd51d3c11785bffeedd9fc78cd)
2002-03-25 01:29:55 +00:00
Tim Potter
1d582af3c0 Spelling fixes.
(This used to be commit a5ac2ac4ada48ee3be061a32ba40bd8c4b3b3865)
2002-03-24 23:25:05 +00:00
Andrew Bartlett
bf281ae3e5 Extra parinoa and DEBUG()s for the make_user_info_map() code.
(This used to be commit aa5f125bc0efeee99254e03f36426420db676527)
2002-03-23 09:01:30 +00:00
Andrew Bartlett
1c92b99c80 Correctly store the hostname of the remote machine if so configured. If the
reverse DNS fails, then store the IP.
(This used to be commit d97771aa80b48fbdb9cae3e9712e35fcc895b148)
2002-03-23 09:00:27 +00:00
Andrew Bartlett
6cea14ebd5 rerun autoconf
(This used to be commit 32a8513619c29b1797a69849b73e62705a0f7c0b)
2002-03-23 08:46:14 +00:00
Andrew Bartlett
33dd512896 Make a number of the lookup tables 'const'. I'm told this assists in sharing
memory between users of shared libs.

Andrew Bartlett
(This used to be commit 41dd5a4d292bb08fa313f6220014cd9b4490237b)
2002-03-23 08:45:03 +00:00
Andrew Bartlett
d6d9d6debd Update some of the DEBUG()s in Get_Pwnam_internal()
Andrew Bartlett
(This used to be commit 20f6f9e3a221da60aae0de166f17085053e27286)
2002-03-23 08:40:15 +00:00
Andrew Bartlett
fbdf45721b Patch from Hasch@t-online.de (Juergen Hasch) to add allocate and talloc
push/pull utf8 functions.  To be used for international ADS support.

Andrew Bartlett
(This used to be commit 9ab144810efeb0b086257143b01ca47ee5718861)
2002-03-23 08:39:04 +00:00
Andrew Bartlett
43ba0aa8d9 Minor fixes:
- Fix warnings in loadparm.c
- Remove the unused 'passdb modules path' paramater

- Make pdb_ldap use $ termination rather than the workstation trust account
  flag becouse some 'machine' accounts appear as normal accounts at creation
  time.  Also covers domains etc.

Andrew Bartlett
(This used to be commit 8c82a3daf777bcd4cd4388d30222e370fe800819)
2002-03-23 08:32:25 +00:00