1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

398 Commits

Author SHA1 Message Date
Günther Deschner
c32197dd22 r12336: A couple of fixes and enhancements for adssearch.pl (espc. to debug
GPOs).

sid2string fix from Michael James <michael@james.st>.

Guenther
(This used to be commit 9424b65c70bd24ba8f5b6c729dc1440a4dbf5647)
2007-10-10 11:05:53 -05:00
Derrell Lipman
765daab643 r12225: r11729@cabra: derrell | 2005-12-13 22:59:45 -0500
1. Fix a crash bug which should have reared its ugly head ages ago, but for
    some reason, remained dormant until recently.  The bug pertained to
    libsmbclient doing a structure assignment of a cli after having opened a
    pipe.  The pipe open code makes a copy of the cli pointer that was passed
    to it.  If the cli is later copied (and that cli pointer that was saved
    is no longer valid), the pipe code will cause a crash during shutdown or
    when the copied cli is closed.

 2. The 'type' field in enumerated shares was not being set correctly with
    the new RPC-based mechanism for enumerating shares.
(This used to be commit 62a02b8f2a1fcb66881a9c9636e0b27e3049c5a1)
2007-10-10 11:05:50 -05:00
Derrell Lipman
44293df2ae r12098: r10797@cabra: derrell | 2005-12-06 12:09:00 -0500
fixed another memory leak and reverted an (incorrect) fix from yesterday
(This used to be commit 8a86d7bddc291da094d060fbe185f071ffdbddd8)
2007-10-10 11:05:44 -05:00
Derrell Lipman
a54f9eddce r12080: r10673@cabra: derrell | 2005-12-05 13:22:34 -0500
Correct some memory and file descriptor leaks.

 This should fix bugs 3257, 3267 and 3273.
(This used to be commit c5781c9cf5f1f8297e084fbe2c4a22257420a447)
2007-10-10 11:05:44 -05:00
Gerald Carter
7b3d349251 r11942: patch from Marcin to fix the mkdir() in perfcount daemon
(This used to be commit 3e05e88bb6c0618ecc460045b72d86e82929af01)
2007-10-10 11:05:38 -05:00
Volker Lendecke
d75de28c9e r11784: Fix minor glitch found by Rainer Weikusat <rainer.weikusat@sncag.com> -- Thanks
(This used to be commit 1128d054dd8d387e529bf92dad3a3db5e251d61d)
2007-10-10 11:05:28 -05:00
Gerald Carter
e04e7e1ffc r11645: mklogon updates from Ricky Nance
(This used to be commit 5bfa88225c085238954909fb9aedb34b1b760977)
2007-10-10 11:05:22 -05:00
Gerald Carter
77460a9075 r11579: syncing up perf counter code cfrom trunk
(This used to be commit 59c00924b67aa3d37a933731a56d03963ec7f1b5)
2007-10-10 11:05:21 -05:00
Gerald Carter
38b54d063d r11577: adding perl interpreter she-bang to top of parselog.pl script
(This used to be commit db4eb72142a23224ea93d2a2519b6d8cd7dc8643)
2007-10-10 11:05:20 -05:00
Gerald Carter
0708480567 r11549: fixing GPL notices
(This used to be commit 26e9c1c1fae8f2fe402374f7cf1d87de48852fa6)
2007-10-10 11:05:19 -05:00
Gerald Carter
d1e1766c08 r11548: adding simple script to tail syslog and write to eventlog tdb
(This used to be commit 9337a286c9169e1e0247b5923942eeeb4467d95a)
2007-10-10 11:05:19 -05:00
Jeremy Allison
a5b339c799 r11232: Added ab's POSIX statvfs vfs call. Sorry for the delay ab.
Jeremy.
(This used to be commit af8545806770a7530eecc184bdd230ca14999884)
2007-10-10 11:05:08 -05:00
Derrell Lipman
97351bc5fc r11130: r10092@cabra: derrell | 2005-10-17 15:29:03 -0400
let's now actually add the new test file
(This used to be commit b58237f98d924752a45f689d7a9fd2e8e447c100)
2007-10-10 11:05:01 -05:00
Derrell Lipman
f398183555 r11129: r10090@cabra: derrell | 2005-10-17 15:26:27 -0400
added example to read a file and test download time
(This used to be commit 4fad0c49b5bf7819d0f9782b60369c5d078c5854)
2007-10-10 11:05:01 -05:00
Gerald Carter
54abd2aa66 r10656: BIG merge from trunk. Features not copied over
* \PIPE\unixinfo
* winbindd's {group,alias}membership new functions
* winbindd's lookupsids() functionality
* swat (trunk changes to be reverted as per discussion with Deryck)
(This used to be commit 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)
2007-10-10 11:04:48 -05:00
Gerald Carter
3c6b0f9655 r10003: in the rush for 10k, I forgot to run add the rest of Chris' libmsrpc files
(This used to be commit 32bebc452dffa8348b94c5b866350b1fe761986f)
2007-10-10 11:03:30 -05:00
Günther Deschner
9454668a90 r9523: Fix password history for eDirectory
(by allowing to store more then 1 password history entry in LDAP...)

Thanks to Bernhard Borgmann @ Novell for showing me how to debug
eDirecory.

Guenther
(This used to be commit a6e8de5c3c44d39724c81d371339e67bb0c4f416)
2007-10-10 11:01:12 -05:00
Jeremy Allison
f98f86394a r9483: Changed DIR to SMB_STRUCT_DIR because of the amazing stupidity of a UNIX vendor
not understanding abstract data types :-(.
Jeremy.
(This used to be commit be5b4e2fa3ed30b0ff01b47d2354e5f782a12e25)
2007-10-10 11:01:11 -05:00
Lars Müller
042d4b86f5 r8657: Add -fPIC which is the case for all other Samba shared libs.
Fix bug #2060.
(This used to be commit 8c09716c91e0bb2ef90a9f81e093048077581e47)
2007-10-10 11:00:14 -05:00
Gerald Carter
2bba724fc5 r8387: moving wins_hook to scripts directory
(This used to be commit 9d507b218d90d4a7e6a5cc97994f5f5adb686cbf)
2007-10-10 11:00:04 -05:00
Gerald Carter
b99ae51374 r8384: merging clutter fixes from release branch
(This used to be commit cbe74c09109dcfe93aa4af085920999ccbff34df)
2007-10-10 10:59:56 -05:00
John Terpstra
c379e33da6 r8188: Update from Dave Collier-Brown.
(This used to be commit 65cfa2a950e8a16b95715d555a5354cc81f431f1)
2007-10-10 10:58:17 -05:00
Günther Deschner
1affb32caa r8143: Fix generate_parm_table.py:
* Correctly substitute "\" as default winbind separator.
* Use default testparm-location.

Guenther
(This used to be commit ba0ca4c0c62d7f8801115bec54b9c550e3b1b1c6)
2007-10-10 10:58:11 -05:00
Gerald Carter
3fe2485d4b r8140: adding missing module
(This used to be commit 79d03b1919cd7c01503c99e0a68bb1754adb1d76)
2007-10-10 10:58:11 -05:00
John Terpstra
02886574aa r8031: Adding contributed mklogon scripts.
(This used to be commit aaca9ea8a3ffdb9d5b1d25d414692db8927c2943)
2007-10-10 10:58:09 -05:00
John Terpstra
0e5a5418bc r7976: Adding debugging info.
(This used to be commit 97ee7c970c287737396f135336c56c945f639d85)
2007-10-10 10:58:05 -05:00
Jeremy Allison
f2f55d703d r7963: Add aio support to 3.0.
Jeremy.
(This used to be commit 1de27da47051af08790317f5b48b02719d6b9934)
2007-10-10 10:58:05 -05:00
Jeremy Allison
e55d945ff1 r7952: Fix for bug #2826 pointed out by Jiri Klouda <jk@zg.cz>.
Wrong return val for symlink and readlink.
Jeremy.
(This used to be commit f3c4d5a95746531b7bd548bbbfccfff197a2abf3)
2007-10-10 10:58:04 -05:00
Jeremy Allison
ff7e5c2673 r7893: Add in the extra parameters to opendir() to fix the large directory/insane app
problem. Rev vfs version. Doesn't change the normal codepath.
Jeremy.
(This used to be commit 0f03a6bdcdbdf60da81e0aeffa84ac6e48fc6a04)
2007-10-10 10:58:02 -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
Derrell Lipman
e317034997 r7168: Updating file times from libsmbclient was not working for win98. Although
the function that was being used to set attributes is a core protocol
function (SMBsetatr = 0x09), it does not appear to work on win98.  As a
temporary measure, when file times are to be set, this version opens the
file and uses SMBsetattrE = 0x22 instead.  (The other advantage of this
function over the original one is that it supports setting access time as
well as modification time.)

The next step, the proper solution if it can be made to work, is to write
functions that use TRANS2_SET_PATH_INFO instead.
(This used to be commit bab0bf7f4f9d2a4b6fcee4429094349302bbeb33)
2007-10-10 10:57:04 -05:00
Derrell Lipman
38c5136ce1 r7156: file was missing; svn isn't smart enough to even notify me. sigh.
(This used to be commit fce48fa1b462ded1453520355bf2dce0f607b8dc)
2007-10-10 10:57:03 -05:00
Derrell Lipman
432878c80e r7153: add better test facilities to testutime
(This used to be commit d763c739a63894d5f458f61de28b90d840bb8fe4)
2007-10-10 10:57:03 -05:00
Gerald Carter
4a5a402ac4 r6782: rename for consistency
(This used to be commit 86724c5c5f4270be63cb119beb7c1cb041551439)
2007-10-10 10:56:54 -05:00
Derrell Lipman
7a8ee79925 r6501: correct deprecated lvalue casts in testsuite/libsmbclient
(This used to be commit 6d22c3c3434812d3a6ab7f216bec34cdb3b622a0)
2007-10-10 10:56:43 -05:00
Derrell Lipman
eefc6f0ab4 r6157: 'editorial changes' to example code
(This used to be commit fa0294ddbf7c93c24fca670b7ed52821a0507174)
2007-10-10 10:56:25 -05:00
Derrell Lipman
8e6b4b9867 r6151: additional examples/tests for libsmbclient
(This used to be commit a3bd496c921dc775b59be4ff2941f4824ffbec03)
2007-10-10 10:56:25 -05:00
Derrell Lipman
9840db418b r6149: Fixes bugs #2498 and 2484.
1. using smbc_getxattr() et al, one may now request all access control
   entities in the ACL without getting all other NT attributes.
2. added the ability to exclude specified attributes from the result set
   provided by smbc_getxattr() et al, when requesting all attributes,
   all NT attributes, or all DOS attributes.
3. eliminated all compiler warnings, including when --enable-developer
   compiler flags are in use.  removed -Wcast-qual flag from list, as that
   is specifically to force warnings in the case of casting away qualifiers.

Note: In the process of eliminating compiler warnings, a few nasties were
      discovered.  In the file libads/sasl.c, PRIVATE kerberos interfaces
      are being used; and in libsmb/clikrb5.c, both PRIAVE and DEPRECATED
      kerberos interfaces are being used.  Someone who knows kerberos
      should look at these and determine if there is an alternate method
      of accomplishing the task.
(This used to be commit 994694f7f26da5099f071e1381271a70407f33bb)
2007-10-10 10:56:24 -05:00
Derrell Lipman
7387dab585 r6126: added utility for testing smbc_stat()
(This used to be commit e1df648ea13651e1df3d209937034b351a7f1c2b)
2007-10-10 10:56:23 -05:00
Derrell Lipman
fbc611f431 r6108: Added smbsh/smbwrapper for Linux to example/libsmbclient tree; provided more complete libsmbclient testbrowse utility
(This used to be commit 15736b97c837a16d9c009b8bff18b31429ccbe83)
2007-10-10 10:56:22 -05:00
Jeremy Allison
fa6085a5bf r5847: Fixes from Lars Müller and Vince Brimhall @Novell for NDS
schema.
Jeremy.
(This used to be commit 0d3075b2c06709b05513d4be1530ef6df2471480)
2007-10-10 10:56:05 -05:00
Günther Deschner
04564f690f r5743: Add perl-script to check for multiple LDAP-entries on request of Richard
Sharpe.

Users my run this script after they have vampired a windows domain
controller to verify their system has no double sids, double uids, etc.

Guenther
(This used to be commit 31bd709a41e1bfe1f269a829c30e55a9538303df)
2007-10-10 10:55:59 -05:00
Jelmer Vernooij
64b9f829cf r5705: Have unknown_6 default to 1260 (fixed #892)
(This used to be commit 710ce847a79fa9e7ba488de46a2f69fc9d617e62)
2007-10-10 10:55:56 -05:00
Jim McDonough
90dfded4df r5689: Allow for better protection of sensitive attributes in IBM Directory Server.
(This used to be commit dafdd8d0741311ed0f0b35d30062f0052446f8c4)
2007-10-10 10:55:55 -05:00
Jim McDonough
a3ee24ec7f r5600: Bring IBM Directory Server schema up to date with openldap schema
(This used to be commit 639de6afc09709774fbcce1a8149bde172bd542e)
2007-10-10 10:55:49 -05:00
Günther Deschner
9bdf6cdbf1 r5444: Add adssearch.pl utility (on volkers request).
Added to samba3 due to some header and machine-account dependencies,
although it's possibly of more interest to samba4 developers.

adssearch.pl is a kind of ldapsearch + dump-filters for various
ADS-attributes. It can also register asynchronous change notifications.

./adssearch.pl -h w2k3host -D administrator@MY.REALM.NET -x -w mypass -n

and *any* change in your entire DIT will show up immediately (after a
second change of an object even as object diff). It's very interesting
to see the interaction of GPOs, the various steps of account
modification with dsa.msc, etc.

Gracefully ignore some parts of adssearch.pl that are rather immature...

Guenther
(This used to be commit fd947b5ee060a48597bc1166614a05f81457e5e0)
2007-10-10 10:55:40 -05:00
Gerald Carter
df52925865 r5132: netscape DS 5.2 schema update from Richard Renard <rrenard@idealx.com>
(This used to be commit 33ac88c6a7bfe4e6d391b841bd4461086af27e4e)
2007-10-10 10:55:29 -05:00
Gerald Carter
12ce2c5aca r5131: BUG 2290: don;t call mkversion.sh since we don't have it in this directory
(This used to be commit 2ddcb643819bcb0f33c14fc22117d98ea2bcc132)
2007-10-10 10:55:28 -05:00
Tim Potter
2eab58d3fd r5112: Fix for shared object creation in examples. Bugzilla #2058.
(This used to be commit 8e5db6f08ceb969bd2580558031f3737b32f10b1)
2007-10-10 10:55:15 -05:00
Tim Potter
e7eb70928c r5111: Fix up changed prototype for setsampwent pdb function.
(This used to be commit 331748202077ce9e0b5dcf3ed9b3ab6f89e9c0e4)
2007-10-10 10:55:15 -05:00