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

622 Commits

Author SHA1 Message Date
Andrew Tridgell
5b4c4181b4 r23797: started fixing old FSF addresses. Fixed pcap2nbench COPYING file
(This used to be commit e87bb12093)
2007-10-10 12:28:26 -05:00
Andrew Tridgell
fbfaaa9993 r23795: more v2->v3 conversion
(This used to be commit c14aba93c0)
2007-10-10 12:28:26 -05:00
Andrew Tridgell
58e9534300 r23785: use the GPLv3 boilerplate as recommended by the FSF and the license text
(This used to be commit d0e89d246d)
2007-10-10 12:28:23 -05:00
Jeremy Allison
2a9b4da0fa r23780: Find and fix more GPL2 -> GPL3.
Jeremy.
(This used to be commit c2f7ab1c17)
2007-10-10 12:28:21 -05:00
Jeremy Allison
d824b98f80 r23779: Change from v2 or later to v3 or later.
Jeremy.
(This used to be commit 407e6e695b)
2007-10-10 12:28:20 -05:00
Günther Deschner
f914b363da r23767: Add GTYPE_SECURITY_UNIVERSAL_GROUP to adsearch.pl as well.
Guenther
(This used to be commit 9535866f6f)
2007-10-10 12:23:54 -05:00
Michael Adam
c799a1e980 r23714: but now:
This script allows for adding lists of users (or other objects)
to lists of groups (or aliases). Useful for creating large test
scenarios.

Michael
(This used to be commit b3e5082e10)
2007-10-10 12:23:48 -05:00
Michael Adam
1d95e049bb r23713: Oops accidentially checked in the wrong file - sorry!
Michael
(This used to be commit ae23e6d04b)
2007-10-10 12:23:48 -05:00
Michael Adam
459d01489f r23712: This script allows for adding lists of users (or other objects)
to lists of groups (or aliases). Useful for creating large test
scenarios.

Michael
(This used to be commit 0c03c78af8)
2007-10-10 12:23:47 -05:00
Michael Adam
4b1fbd17c4 r23711: Refactor the actual creation of object into its own small function.
Michael
(This used to be commit 26349c0b17)
2007-10-10 12:23:47 -05:00
Michael Adam
85f7c7127f r23706: Add a script to create domainusers,-groups and -aliases.
This is done via rpc client. The main purpose is to
be able to fill a domain controller with a large number
of users / groups easily. A the object names are
built as <prefix><num> where number ranges from a given
start number counting up until a given number of objects
has been created.

In a next step, I will submit scripts to add (many) users to
a group and to add a user to (many) groups.

Michael
(This used to be commit 8b81fbb7d9)
2007-10-10 12:23:47 -05:00
Lars Müller
a3de7e9b9d r23704: Add pam_pwd_expire feature as discussed on samba-technical.
This is a slightly modified version to set warn_pwd_expire to the
default value if 0, no, or a broken value is set.

This version also has one if statement less in get_config_item_int().

Thanks a lot to Andreas 'GlaDiaC' Schneider for this feature!
(This used to be commit d26914c978)
2007-10-10 12:23:46 -05:00
Jeremy Allison
a0ac7a7f4c r23620: Convert set_nt_acl to return NTSTATUS. Also fix the chown
return to correctly return NT_STATUS_INVALID_OWNER if it
should be disallowed. Matches better what W2K3R3 does.

NFSv4 ACL module owners, please examine these changes.

Jeremy.
(This used to be commit fc6899a550)
2007-10-10 12:23:37 -05:00
Günther Deschner
0b86e40306 r23484: When chasing AD referrals make sure to honor the base returned from the server.
Guenther
(This used to be commit 865bdcacae)
2007-10-10 12:23:20 -05:00
Jeremy Allison
57d6318a0b r23105: Add lchown to the vfs layer. We need this in the POSIX code.
Jeremy.
(This used to be commit 932523cbb5)
2007-10-10 12:22:46 -05:00
Derrell Lipman
4a413b3043 r22914: - Fixes bug 4599. A missing <code>if</code> statement forced subseqeuent
attempts to set attributes to fail.

- I also noticed that missing attributes were setting an invalid return string
  by getxattr(), e.g. if there was not group, the return string had "GROUP:;"
  instead of excluding the GROUP attribute entirely as it should.  The big
  problem with the way it was, is that the string could not then be passed to
  setxattr() and parsed.
(This used to be commit 7213b5ebec)
2007-10-10 12:22:07 -05:00
Lars Müller
0484aca691 r22805: Inform in examples/pdb about the location of the external support for
the SQL backends.
(This used to be commit 37f2191cd3)
2007-10-10 12:21:59 -05:00
Günther Deschner
67a45aa26b r22794: Add "debug_state" and "silent" to pam_winbind.conf template. Honor the silent
argument when parsing pam configuration file options.

Guenther
(This used to be commit 5b4a4df26f)
2007-10-10 12:21:57 -05:00
Jeremy Allison
5b3d90e48b r22591: Fix up the examples also.
Jeremy.
(This used to be commit aa5a1591c6)
2007-10-10 12:19:49 -05:00
Michael Adam
256f506c5b r22341: Fix build of examples/VFS: adapt include for new place of tdb...
(This used to be commit e711005828)
2007-10-10 12:19:27 -05:00
Derrell Lipman
a8202531d8 r22130: - Ensure that the libsmbclient example programs link with the libsmbclient
library that's part of the current tree, not with whatever happens to have
  been previously installed.
(This used to be commit c65621e0b7)
2007-10-10 12:19:15 -05:00
James Peach
70d5f417ab r21762: Fix the build by enabling shared modules and adding the config.*
files. Add norify_watch and chflags operations. Fix a bunch of
warnings.
(This used to be commit 1106db7ea1)
2007-10-10 12:18:29 -05:00
Jeremy Allison
4952fe368a r21714: Change the VFS interface to use struct timespec
for utimes - change the call to ntimes. This preserves
nsec timestamps we get from stat (if the system supports
it) and only maps back down to usec or sec resolution
on time set. Looks bigger than it is as I had to move
lots of internal code from using time_t and struct utimebuf
to struct timespec.
Jeremy.
(This used to be commit 8f3d530c5a)
2007-10-10 12:18:24 -05:00
Günther Deschner
2d675293d9 r21345: Smaller fixes for adssearch:
* get rid of horrible ads.h parsing
* add LDAP_SERVER_SHUTDOWN_NOTIFY_OID
* display hex bitmasks

Guenther
(This used to be commit 97ce4ccea2)
2007-10-10 12:17:57 -05:00
Günther Deschner
dbf7a692ed r21105: Quick fix for CLDAP reply without NetLogon attribute.
Guenther
(This used to be commit aa135c960e)
2007-10-10 12:17:37 -05:00
Volker Lendecke
7556355b28 r20979: Fix description, thanks to Michael Adam <ma@sernet.de>
(This used to be commit 4610465d7f)
2007-10-10 12:17:22 -05:00
Gerald Carter
ed36771b3b r20884: patch from Michael Adam <ma@sernet.de> to add new sambaTrustedDomainPassword object class
(This used to be commit a209c30849)
2007-10-10 12:17:18 -05:00
Stefan Metzmacher
f450a65471 r20585: - allocate an OID range for LDB/LDAP extended operations
metze
(This used to be commit 5373897ef5)
2007-10-10 12:16:56 -05:00
Stefan Metzmacher
d1495cbda6 r20578: - allocate an OID range for samba4 LDB/LDAP Controls
- allocate an OID range for conflicting attributes/classes

metze
(This used to be commit 6fedd69f5e)
2007-10-10 12:16:56 -05:00
Volker Lendecke
8cf89d2532 r19857: Make the perfcounter compile after tdb changes
(This used to be commit ab0a41c13b)
2007-10-10 12:16:03 -05:00
James Peach
55170cb6a7 r19852: Fix the build for the VFS examples. Fixes bugzilla #3931.
(This used to be commit fa69031d00)
2007-10-10 12:16:02 -05:00
Günther Deschner
24faef672e r19745: For the fun of it, add an CLDAP client written in perl.
Guenther
(This used to be commit 8a2dded7fb)
2007-10-10 12:15:52 -05:00
Günther Deschner
2c3aa76510 r19345: Allow better rootdse searches.
Guenther
(This used to be commit 27fbd85300)
2007-10-10 12:15:30 -05:00
Günther Deschner
89100480e8 r18697: Make sure that adssearch.pl does not
* chase referrals
* use paged search control

when using the LDAP change notify control for monitoring changes.

Guenther
(This used to be commit d6849a83c0)
2007-10-10 12:00:48 -05:00
Derrell Lipman
44c1504c03 r18012: Should fix bug 4018.
NetApp filers expect paths in Open AndX Request to have a leading slash.
Windows clients send the leading slash, so we should too.
(This used to be commit fc5b6e4bd8)
2007-10-10 11:39:48 -05:00
Derrell Lipman
40665edf5e r18011: Should fix bug 3835.
Jeremy: requires your eyes...

If the remote connection timed out while cli_list() was retrieving its list of
files, the error was not returned to the user, e.g. via smbc_opendir(), so the
user didn't have a way to know to set the timeout longer and try again.  This
problem would occur when a very large directory is being read with a too-small
timeout on the cli.

Jeremy, although there were a couple of areas that needed to be handled, I
needed to make one change that you should bless, in libsmb/clientgen.c.  It
was setting

  cli->smb_rw_error = smb_read_error;

but smb_read_error is zero, so this had no effect.  I'm now doing

  cli->smb_rw_error = READ_TIMEOUT;

instead, and according to the OP, these (cumulative) changes (in a slightly
different form) solve the problem.

Please confirm this smb_rw_error change will have no other adverse effects
that you can see.

Derrell
(This used to be commit fa664b24b8)
2007-10-10 11:39:48 -05:00
Derrell Lipman
5e44fc4cd4 r18009: Fixes bug 4026.
This completes the work Jeremy began last week, disambiguating the meaning of
c_time.  (In POSIX terminology, c_time means "status Change time", not "create
time".)  All uses of c_time, a_time and m_time have now been replaced with
change_time, access_time, and write_time, and when creation time is intended,
create_time is used.

Additionally, the capability of setting and retrieving the create time have
been added to the smbc_setxattr() and smbc_getxattr() functions.  An example
of setting all four times can be seen with the program

  examples/libsmbclient/testacl

with the following command line similar to:

  testacl -f -S "system.*:CREATE_TIME:1000000000,ACCESS_TIME:1000000060,WRITE_TIME:1000000120,CHANGE_TIME:1000000180" 'smb://server/share/testfile.txt'

The -f option turns on the new mode which uses full time names in the
attribute specification (e.g. ACCESS_TIME vs A_TIME).
(This used to be commit 8e119b64f1)
2007-10-10 11:39:47 -05:00
Andrew Bartlett
46e1ce559e r17487: Allocate some OID space for Samba4, so we don't trip on each other.
Andrew Bartlett
(This used to be commit 199a33ac80)
2007-10-10 11:38:37 -05:00
Jeremy Allison
d42a96b3ec r17367: Reverting the ab code. Note I'm not saying this
code is wrong or bad or anything, just that it
needs to be discussed & reviewed on the samba-technical
list before we add a platform-specific NFSv4 mapping.
That way lies a lot of future pain :-).
Jeremy.
(This used to be commit 330899ec30)
2007-10-10 11:38:29 -05:00
Alexander Bokovoy
fbd04d65c5 r17358: Re-add JFS2 NFS4 ACLs support, move readme for it into AIX-specific examples directory.
(This used to be commit c085355c32)
2007-10-10 11:38:28 -05:00
Alexander Bokovoy
4cf5769331 r17353: Add support for JFS2 NFS4/AIXC and GPFS acls based on NFSv4 ACLs.
(This used to be commit 72312cb2e2)
2007-10-10 11:38:27 -05:00
Gerald Carter
23afde616d r16998: patch from Paul Griffith <paulg@cs.yorku.ca> to fix compile of the test.c pdb file
(This used to be commit 34ad8e183c)
2007-10-10 11:19:17 -05:00
Jeremy Allison
6d29166997 r16948: Sync the exmaples code from trunk.
Jeremy.
(This used to be commit 508ba05a8e)
2007-10-10 11:19:14 -05:00
Jeremy Allison
5bf62a0c3c r16943: Add Jim's code.
Jeremy.
(This used to be commit f131bf8f16)
2007-10-10 11:19:13 -05:00
Gerald Carter
46fab723d8 r16752: remove the 'socket options' setting from the shipped default smb.conf
(This used to be commit eac00a45ef)
2007-10-10 11:19:10 -05:00
Günther Deschner
ce815f38a7 r16719: Automatically chase referrals, support LDAP fast bind exended operation
and LDAP domain scope control.

Guenther
(This used to be commit 6df2a39110)
2007-10-10 11:19:09 -05:00
Derrell Lipman
9718506d35 r16550: Fix bug 3866. Thanks for the report!
Although I've never met a computer or compiler that produced pointers to
functions which are a different size than pointers to data, I suppose they
probably exist.  Assigning a pointer to a function is technically illegal in C
anyway.

Change casts of the option_value based on the option_name to use of variable
argument lists.

For binary compatibility, I've maintained but deprecated the old behavior of
debug_stderr (which expected to be passed a NULL or non-NULL pointer) and
added a new option debug_to_stderr which properly expects a boolean (int)
parameter.

Derrell
(This used to be commit c1b4c51053)
2007-10-10 11:18:59 -05:00
Günther Deschner
72bc37cfa4 r16521: Fix different extended_dn handling for win2k/2k3 (thanks to Frederic
Brin at Novell).

Guenther
(This used to be commit f19f781e15)
2007-10-10 11:18:57 -05:00
Günther Deschner
b86c19795a r15250: dump some more sids.
Guenther
(This used to be commit 2922c7f570)
2007-10-10 11:16:30 -05:00
Lars Müller
d2cf063e6b r15094: Replace ; by # where we have a comment and remove superfluous spaces at
the end of lines.
(This used to be commit 27044d23ff)
2007-10-10 11:16:22 -05:00
Günther Deschner
1014fa19b5 r15058: Add sample pam_winbind.conf file.
Guenther
(This used to be commit 01e46b8c6e)
2007-10-10 11:16:00 -05:00
Jeremy Allison
22dbd67708 r15018: Merge Volker's ipc/trans2/nttrans changes over
into 3.0. Also merge the new POSIX lock code - this
is not enabled unless -DDEVELOPER is defined.
This doesn't yet map onto underlying system POSIX
locks. Updates vfs to allow lock queries.
Jeremy.
(This used to be commit 08e52ead03)
2007-10-10 11:15:57 -05:00
Gerald Carter
2b86a5b4ed r14825: add support for max connections parameter
(This used to be commit 63efbdf005)
2007-10-10 11:15:49 -05:00
Jelmer Vernooij
2036c47c63 r14684: Remove obsolete file (belonged to pdb_xml)
(This used to be commit 15c36233fb)
2007-10-10 11:15:44 -05:00
Derrell Lipman
e836508704 r14664: r13868@cabra: derrell | 2006-03-22 17:04:30 -0500
Implement enhancement request 3505.  Two additional features are added here.
 There is now a method of saving an opaque user data handle in the smbc_
 context, and there is now a way to request that the context be passed to the
 authentication function.  See examples/libsmbclient/testbrowse.c for an example
 of using these features.
(This used to be commit 203b4911c1)
2007-10-10 11:15:42 -05:00
Gerald Carter
5133ab016e r14451: In order to get pdb_ldap searching for SID_NAME_ALIAS
groups in the ${MACHINESID} and S_1-5-32 domains correctly,
I had to add a substr search on sambaSID.

* add substr matching rule to OpenLDAP schema
  (we need to update the other schema as will since this
  is a pretty important change).  Sites will need to
  - install the new schema
  - add 'indea sambaSID   sub' to slapd.conf
  - run slapindex

* remove uses of SID_NAME_WKN_GRP in pdb_ldap.c
(This used to be commit 2c0a46d731)
2007-10-10 11:15:30 -05:00
Günther Deschner
e54786b535 r13711: * Correctly handle acb_info/acct_flags as uint32 not as uint16.
* Fix a couple of related parsing issues.
* in the info3 reply in a samlogon, return the ACB-flags (instead of
  returning zero)

Guenther
(This used to be commit 5b89e8bc24)
2007-10-10 11:10:25 -05:00
Gerald Carter
b84c86f7c9 r13677: patch from Max N. Boyarov <m.boyarov@sam-solutions.net>
Prevent div/0 when sysconf(_SC_NPROCESSORS_ONLN) fails.
(This used to be commit 9a33525552)
2007-10-10 11:10:22 -05:00
Günther Deschner
c1ffb8d9bc r13410: Dump a netbootGUID as a GUID.
Guenther
(This used to be commit 9b19a68456)
2007-10-10 11:09:59 -05:00
Volker Lendecke
e91aca5158 r13366: Add popt to the include path for examples/VFS. The modules themselves don't
use that, but includes.h fails in environments where there's no system popt
around. As the modules don't need that anyway, porting the check whether to
use the system one or our own seems a bit overkill.

Thanks to Michael Adam <ma@SerNet.DE>.

Volker
(This used to be commit 04cbde5956)
2007-10-10 11:06:26 -05:00
Volker Lendecke
9ca890e414 r13343: More sql cleanup
(This used to be commit bd1be2388e)
2007-10-10 11:06:25 -05:00
Günther Deschner
8b54e0b2a0 r13290: Adding Account Policy LDAP attributes for eDirectory schema.
Guenther
(This used to be commit de012e33a7)
2007-10-10 11:06:21 -05:00
Jim McDonough
661be1d332 r13187: IBM Tivoli Directory Server schema updates from John Janosik
<jpjanosi@us.ibm.com>
(This used to be commit d45cc5e4f3)
2007-10-10 11:06:16 -05:00
Derrell Lipman
673c356488 r12852: r12150@cabra: derrell | 2006-01-11 13:21:14 -0500
Although RTLD_NEXT was not working properly a number of years ago, it seems to be now.  Replace dlopen(/lib/libc...) with direct use of RTLD_NEXT
(This used to be commit 2b48665006)
2007-10-10 11:06:04 -05:00
Volker Lendecke
933a8ec57e r12839: - apply changes from svn r4963 also for VFS configure - KRB5_CONFIG should not
be used - rename it to KRB5CONFIG

Thanks to Björn Jacke <bj@sernet.de>

Volker
(This used to be commit 9c44fef5be)
2007-10-10 11:06:04 -05:00
Derrell Lipman
96d0d186db r12759: r12128@cabra: derrell | 2006-01-07 15:34:01 -0500
Incorporate a number of changes suggested by David Collier-Brown  Thanks, David!
(This used to be commit 0ae65b9af5)
2007-10-10 11:06:03 -05:00
Derrell Lipman
9a8ca1901c r12757: r12126@cabra: derrell | 2006-01-03 15:21:36 -0500
added flag to not request authentication information
(This used to be commit 8396c4b26c)
2007-10-10 11:06:02 -05:00
Derrell Lipman
cbc97b4e5a r12579: r12122@cabra: derrell | 2005-12-29 12:03:00 -0500
allow for arbitrary option value types
(This used to be commit 64c8e32b63)
2007-10-10 11:06:00 -05:00
Derrell Lipman
e13d0cb3ec r12576: r12115@cabra: derrell | 2005-12-29 11:16:03 -0500
bug (enhancement) #2651: add option to log debug messages to stderr instead of stdout
(This used to be commit 4182eb99af)
2007-10-10 11:05:59 -05:00
Simo Sorce
d186ff5072 r12497: add a simplex option
better usage message
(This used to be commit c007f20c95)
2007-10-10 11:05:58 -05:00
Simo Sorce
b7eec4e856 r12495: Crackcheck utility enhancement based on patch sent by Tom Geissler
(This used to be commit aa34304f61)
2007-10-10 11:05:58 -05:00
Derrell Lipman
494e332220 r12468: r12033@cabra: derrell | 2005-12-24 21:03:45 -0500
actually add the new test program
(This used to be commit e3bab0cc43)
2007-10-10 11:05:56 -05:00
Derrell Lipman
9d36d5ee2d r12467: r12029@cabra: derrell | 2005-12-24 20:25:59 -0500
add another libsmbclient test program
(This used to be commit 133cd3952b)
2007-10-10 11:05:56 -05:00
Günther Deschner
3e80ef29a6 r12452: Fix Bug #3053 to allow esp. older eDirectory releases to load our LDAP
schema.

Maybe "Base64 encoded user parameter string" is not much clearer then
"munged dial" - anyone got a better description ?

Guenther
(This used to be commit 02ccde5f47)
2007-10-10 11:05:56 -05:00
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 9424b65c70)
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 62a02b8f2a)
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 8a86d7bddc)
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 c5781c9cf5)
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 3e05e88bb6)
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 1128d054dd)
2007-10-10 11:05:28 -05:00
Gerald Carter
e04e7e1ffc r11645: mklogon updates from Ricky Nance
(This used to be commit 5bfa88225c)
2007-10-10 11:05:22 -05:00
Gerald Carter
77460a9075 r11579: syncing up perf counter code cfrom trunk
(This used to be commit 59c00924b6)
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 db4eb72142)
2007-10-10 11:05:20 -05:00
Gerald Carter
0708480567 r11549: fixing GPL notices
(This used to be commit 26e9c1c1fa)
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 9337a286c9)
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 af85458067)
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 b58237f98d)
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 4fad0c49b5)
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 939c3cb5d7)
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 32bebc452d)
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 a6e8de5c3c)
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 be5b4e2fa3)
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 8c09716c91)
2007-10-10 11:00:14 -05:00
Gerald Carter
2bba724fc5 r8387: moving wins_hook to scripts directory
(This used to be commit 9d507b218d)
2007-10-10 11:00:04 -05:00
Gerald Carter
b99ae51374 r8384: merging clutter fixes from release branch
(This used to be commit cbe74c0910)
2007-10-10 10:59:56 -05:00
John Terpstra
c379e33da6 r8188: Update from Dave Collier-Brown.
(This used to be commit 65cfa2a950)
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 ba0ca4c0c6)
2007-10-10 10:58:11 -05:00
Gerald Carter
3fe2485d4b r8140: adding missing module
(This used to be commit 79d03b1919)
2007-10-10 10:58:11 -05:00
John Terpstra
02886574aa r8031: Adding contributed mklogon scripts.
(This used to be commit aaca9ea8a3)
2007-10-10 10:58:09 -05:00
John Terpstra
0e5a5418bc r7976: Adding debugging info.
(This used to be commit 97ee7c970c)
2007-10-10 10:58:05 -05:00
Jeremy Allison
f2f55d703d r7963: Add aio support to 3.0.
Jeremy.
(This used to be commit 1de27da470)
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 f3c4d5a957)
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 0f03a6bdcd)
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 9506b8e145)
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 bab0bf7f4f)
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 fce48fa1b4)
2007-10-10 10:57:03 -05:00
Derrell Lipman
432878c80e r7153: add better test facilities to testutime
(This used to be commit d763c739a6)
2007-10-10 10:57:03 -05:00
Gerald Carter
4a5a402ac4 r6782: rename for consistency
(This used to be commit 86724c5c5f)
2007-10-10 10:56:54 -05:00
Derrell Lipman
7a8ee79925 r6501: correct deprecated lvalue casts in testsuite/libsmbclient
(This used to be commit 6d22c3c343)
2007-10-10 10:56:43 -05:00
Derrell Lipman
eefc6f0ab4 r6157: 'editorial changes' to example code
(This used to be commit fa0294ddbf)
2007-10-10 10:56:25 -05:00
Derrell Lipman
8e6b4b9867 r6151: additional examples/tests for libsmbclient
(This used to be commit a3bd496c92)
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 994694f7f2)
2007-10-10 10:56:24 -05:00
Derrell Lipman
7387dab585 r6126: added utility for testing smbc_stat()
(This used to be commit e1df648ea1)
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 15736b97c8)
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 0d3075b2c0)
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 31bd709a41)
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 710ce847a7)
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 dafdd8d074)
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 639de6afc0)
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 fd947b5ee0)
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 33ac88c6a7)
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 2ddcb64381)
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 8e5db6f08c)
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 3317482020)
2007-10-10 10:55:15 -05:00
Gerald Carter
575ff39625 r5060: BUG 2286: fix typoe on sambaConfig oc definition
(This used to be commit e2ce048654)
2007-10-10 10:55:13 -05:00
Gerald Carter
b1288c61a9 r4965: comment out some unused attributes and oc's
(This used to be commit d95c9c4d74)
2007-10-10 10:55:09 -05:00
Günther Deschner
b4afdc08d5 r4925: Migrate Account Policies to passdb (esp. replicating ldapsam).
Does automated migration from account_policy.tdb v1 and v2 and offers a
pdbedit-Migration interface. Jerry, please feel free to revert that if
you have other plans.

Guenther
(This used to be commit 75af83dfcd)
2007-10-10 10:55:08 -05:00
Gerald Carter
eb44d99e9e r4873: example delete printer script for use with cups
(This used to be commit c646829e32)
2007-10-10 10:55:06 -05:00
Gerald Carter
e86235fbdc r4867: Removing smbldap-tools from the svn tree. I'll include
the latest version in the actual release tarballs.
Have spoken to the idealx developers about this.

Updated README to reflect the changte for people using svn.

Removed ldapsync.pl since it is no longer needed when using
the smbldap-tools (only keep things you support).
(This used to be commit f745e5119f)
2007-10-10 10:55:03 -05:00
Gerald Carter
704862b687 r4855: add some smb.conf script for add/delete/change share and addprinter hooks
(This used to be commit 073592b7ad)
2007-10-10 10:54:00 -05:00
Jelmer Vernooij
1ffbe8fec8 r4653: Output file of "test" pdb backend should be called test.so
(This used to be commit 95c8727045)
2007-10-10 10:53:50 -05:00
Jeremy Allison
c5dcd2d572 r4092: Bring into line with new *alloc rules.
Jeremy.
(This used to be commit 2ed86ac584)
2007-10-10 10:53:33 -05:00
Jeremy Allison
c7e532496b r3855: Sync up with the one in the main source dir (yes, this should probably
be a symlink...).
Jeremy.
(This used to be commit 5b0da25796)
2007-10-10 10:53:21 -05:00
Jeremy Allison
a8caf25bd8 r3644: Fixup examples VFS compile.
Jeremy.
(This used to be commit dfa910e4ab)
2007-10-10 10:53:11 -05:00
Gerald Carter
1e8cb54308 r3088: update nds schema file from Uli Iske <iske@elkb.de>
(This used to be commit 3e28c57695)
2007-10-10 10:53:01 -05:00
Gerald Carter
de72d89877 r2567: Patches from Lars Mueller <lmuelle at suse dot de>:
trivial fix for autoconf and autoheader versions with a
letter in the version string.  This happens in our current beta named
distribution tree.

trivial patch to fix the build with the upcoming libtool
version.  It will be mandatory to use --mode while using libtool.
(This used to be commit 80d591f8cc)
2007-10-10 10:52:46 -05:00
Simo Sorce
410a6c72ea r2331: check password script code and example from trunk
(This used to be commit f836be323a)
2007-10-10 10:52:39 -05:00
Simo Sorce
fef54a21b1 r2210: Fix misleading comment found by Heinrich Mislik <Heinrich.Mislik@univie.ac.at>
(This used to be commit 3a88ee4c44)
2007-10-10 10:52:36 -05:00
Gerald Carter
0211bf0dee r2189: adding some comments to the schema file
(This used to be commit 1438c2960f)
2007-10-10 10:52:35 -05:00
Gerald Carter
d6a1f3f24b r2014: BUG 1656: rename auto.a to auto.smb
(This used to be commit 2f4a699631)
2007-10-10 10:52:27 -05:00
Gerald Carter
455bc1db41 r1964: more schema fixes syncing between branches
(This used to be commit 49fba32217)
2007-10-10 10:52:25 -05:00
Gerald Carter
feea4517e3 r1962: fixing schema file; synching with trunk; trying to prevent this from happening again
(This used to be commit f1a0fae13f)
2007-10-10 10:52:25 -05:00
Simo Sorce
7b56819678 r1960: sambaPasswordHistory had a duplicate OID
bump up the attribute number to 52 to avoid conflicts
(This used to be commit 9368f0c1d2)
2007-10-10 10:52:25 -05:00
Jeremy Allison
7af1265368 r1809: Patch from Richard Renard <rrenard@idealx.com> to store
logon hours attributes in an LDAP database.
Jeremy.
(This used to be commit ac0fdf9503)
2007-10-10 10:52:21 -05:00
Gerald Carter
161d3eeb4b r1663: fixing syntax error in OID for sambaUnixIdPool, sambaSidEntry, & sambaIdmapEntry
(This used to be commit 6e4c58b26d)
2007-10-10 10:52:18 -05:00
Jeremy Allison
76cf406197 r1390: Improve description of attribute.
Jeremy.
(This used to be commit ff7236a5f2)
2007-10-10 10:52:09 -05:00
Jeremy Allison
1c5867502a r1388: Adding password history code for ldap backend, based on a patch from
"Jianliang Lu" <j.lu@tiesse.com>. Multi-string attribute changed to
linearised pstring due to ordering issues. A few other changes to
fix race conditions. I will add the tdb backend code next. This code
compiles but has not yet been tested with password history policy
set to greater than zero. Targeted for 3.0.6.
Jeremy.
(This used to be commit dd54b2a3c4)
2007-10-10 10:52:09 -05:00
John Terpstra
d01371a3f9 r922: Adding notes regarding location of documentation.
(This used to be commit 1b0fd9b5bc)
2007-10-10 10:51:49 -05:00
Gerald Carter
96c6bf93d5 r795: paranoia checks
(This used to be commit c087c51535)
2007-10-10 10:51:38 -05:00
Gerald Carter
b8f32d608f r397: BUG 1199: check logfile before writing debug output
(This used to be commit 52df0905cd)
2007-10-10 10:51:21 -05:00
Jelmer Vernooij
0bb304d97f r379: Fix syntax error in example mysql table
(This used to be commit 2a7aaedab6)
2007-10-10 10:51:21 -05:00
Gerald Carter
1f7900ebda r293: keeping a single default smb.conf to maintain
(This used to be commit 8703139566)
2007-10-10 10:51:17 -05:00
Gerald Carter
4966a7a25c r292: removing some outdated files and directories (I love subversion!)
(This used to be commit 39a2ab4d3d)
2007-10-10 10:51:17 -05:00
Gerald Carter
125efdd608 r291: adding printer and driver migration shell script from Kurt Pfeifle
(This used to be commit 4d806384c0)
2007-10-10 10:51:17 -05:00
Gerald Carter
a329b70e15 r252: add backtrace to examples so people know about it (slight change from lars @suse)
(This used to be commit c9db3da255)
2007-10-10 10:51:16 -05:00
Volker Lendecke
81996162d6 r223: According to Thomas Mueller, thomas.mueller@christ-wasser.de, the two lines
removed (modifiersName and modifyTimestamp) lead to warnings upon startup of
the netscape directory server. I can't check this, but it sounds logical.

Thanks,

Volker
(This used to be commit 770b85c32f)
2007-10-10 10:51:14 -05:00
Gerald Carter
60670f27ab r119: missed a file in volker patch
(This used to be commit bccee79653)
2007-10-10 10:51:10 -05:00
Gerald Carter
931df5850e r39: * importing .cvsignore files
* updateing WHATSNEW with vl's change
(This used to be commit a7e2730ec4)
2007-10-10 10:51:05 -05:00
Stefan Metzmacher
7d7b6190b0 change my email address to the samba.org one
metze
(This used to be commit 5bf8f1b31b)
2004-03-24 13:41:06 +00:00
Gerald Carter
447af3949e removing duplicate smbprint example script
(This used to be commit 2426bb4906)
2004-03-20 13:50:03 +00:00
Gerald Carter
fd312721ea missed some of Derrel's changes
(This used to be commit 3aac1e549e)
2004-03-19 17:48:08 +00:00
cvs2svn Import User
07ad7b0e3b This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 73ffc394b5) 2004-03-19 17:36:57 +00:00
Richard Sharpe
8d976560e0 Apply some more of Derrell Lipman's changes.
(This used to be commit a6457e1c81)
2004-03-19 17:36:56 +00:00
Jim McDonough
b9c35e961d Add bad password count/time attributes
(This used to be commit 184bef8413)
2004-02-22 20:25:43 +00:00
Jim McDonough
6ba430dd8e Add bad password count/time attributes
(This used to be commit 51a8d050e9)
2004-02-22 20:25:39 +00:00
Jim McDonough
88129f85c0 Fix whitespace to reduce diff from HEAD
(This used to be commit eba512ee1c)
2004-02-14 14:25:40 +00:00
Jim McDonough
dc0e22109d Sync with openldap schema. Add munged dial and config attrs/ocs.
(This used to be commit 3f8824f7d0)
2004-02-14 14:23:51 +00:00
Jim McDonough
590a53b62c sync IBM Directory Server schema with openldap schema...add munged dial
(This used to be commit 3b1d922ab4)
2004-02-14 14:05:17 +00:00
Gerald Carter
2e2b654820 merge from 3.0
(This used to be commit 309a9a4caf)
2004-02-09 18:48:44 +00:00
Gerald Carter
a870ff546c janitor duty (merges from 3.0) and cleanup compiler warning on SuSE 9 in the end mapper code
(This used to be commit 902d4a647a)
2004-02-02 01:46:30 +00:00
Volker Lendecke
fadc012803 Commit sid<->[ug]id extensions to libnss_winbind.so on Linux, as well as a
factored-out nss_winbind.[ch]. I took tridge's public domain license comment
for the nss_winbind.[ch].

This is probably not the last word on that extension, but as it is quite
non-intrusive to the main samba code, I would like to give it a start.

Volker
(This used to be commit da5944129f)
2004-01-16 13:11:01 +00:00
Tim Potter
913d1745ca Merge of POBAD_CC removal from 3.0
(This used to be commit 835a28337f)
2004-01-15 07:19:12 +00:00
Tim Potter
c92a776bcf Fix for bug 905. Remove POBAD_CC as it doesn't seem to be applicable
anymore.
(This used to be commit 67d25f3de8)
2004-01-15 06:51:20 +00:00
Gerald Carter
077d5b2f69 merging from 3.0
(This used to be commit 694052f8a9)
2004-01-06 14:45:56 +00:00
Gerald Carter
db21c4e336 fix case in objectclass name (not that it really matters); patch from Darren Chew <darrenc@vicscouts.asn.au>
(This used to be commit 86e0015b06)
2004-01-06 14:40:35 +00:00
Jeremy Allison
0d44747df9 Patch based on work from James Peach <jpeach@sgi.com> to convert over to
using pread/pwrite. Modified a little to ensure fsp->pos is correct.
Fix for #889.
Jeremy.
(This used to be commit 019aaaf0df)
2004-01-06 01:22:14 +00:00
Jeremy Allison
827c68deb8 Patch based on work from James Peach <jpeach@sgi.com> to convert over to
using pread/pwrite. Modified a little to ensure fsp->pos is correct.
Fix for #889.
Jeremy.
(This used to be commit 3a24dc868d)
2004-01-06 01:21:59 +00:00
Volker Lendecke
65586823a7 Another little one: Make pdb_test.c at least compile, although its way out of
date.

Volker
(This used to be commit 0a84173555)
2003-12-30 21:12:57 +00:00
Volker Lendecke
2abf5f928f Another little one: Make pdb_test.c at least compile, although its way out of
date.

Volker
(This used to be commit 5d7a14166a)
2003-12-30 21:12:36 +00:00
Gerald Carter
25a990bde0 correct typo in delete user script; bug 887
(This used to be commit 6060afb989)
2003-12-22 21:32:33 +00:00
Gerald Carter
a7e2a1a919 correct typo in delete user script; bug 887
(This used to be commit 44ef3dd2b3)
2003-12-22 21:26:29 +00:00
Jeremy Allison
2ff5ed9555 Small fix from Jérôme Tournier <jerome.tournier@IDEALX.com>
Jeremy.
(This used to be commit 6ce7932520)
2003-12-16 18:14:10 +00:00
Volker Lendecke
9d97b20473 When parsing 'param = value', don't split 'value' at spaces.
Thanks to Ralf Spenneberg for the fix.

Volker
(This used to be commit bc383582b2)
2003-12-14 17:47:15 +00:00
Gerald Carter
8dc02df11c removing RCS tags
(This used to be commit 9a7774306d)
2003-12-05 14:06:55 +00:00
Gerald Carter
814591c0c5 * removing extra file
* updating version in Makefile
(This used to be commit 3249e69274)
2003-12-05 13:57:02 +00:00
Tim Potter
f6c798f4cc Change PICFLAG -> PICFLAGS to keep in line with version from source
directory and fix display bug.
(This used to be commit f43546d0af)
2003-12-05 11:12:05 +00:00
Gerald Carter
dc058d980b updating top 0.8.2-1 of the smbldap tools
(This used to be commit b798f30f0a)
2003-12-04 21:59:20 +00:00
Gerald Carter
83c64db054 sync OID with HEAD
(This used to be commit d463abb035)
2003-12-04 05:02:53 +00:00
Gerald Carter
f5eed76193 readding schema items that were accidentally deleted
(This used to be commit 14dd4403fe)
2003-12-04 05:02:25 +00:00
Gerald Carter
c6f0190b54 support munged dial for ldapsam; patch from Aurlien Degrmont; bug 800
(This used to be commit acf9eae7b0)
2003-12-04 04:52:49 +00:00
Gerald Carter
5df2fd4175 support munged dial for ldapsam; patch from Aurlien Degrmont; bug 800
(This used to be commit 1c3c16abc9)
2003-12-04 04:52:00 +00:00
Andrew Tridgell
dec5b6c40d added a wbtest program that shows how to access winbindd extended nss
functionality directly from an application.

This is under a liberal license as we want application vendors to be
able to use the example code
(This used to be commit 8d848de45d)
2003-11-19 08:14:09 +00:00
Simo Sorce
c473b3983e add also the schema attributes and object classes need by config_ldap
Jerry,
if you have any problems with these schema additions, let me know, so that
we can arrange the right solution
(This used to be commit e17af6d6cf)
2003-11-15 00:52:06 +00:00
Richard Sharpe
716dd32809 Update Makefile ...
(This used to be commit b92fd87b24)
2003-11-13 21:42:07 +00:00
Richard Sharpe
d3d4c7446e Add this to samba-head.
(This used to be commit d761175f13)
2003-11-13 21:40:27 +00:00
Richard Sharpe
19aff105aa Add testacl.c ... from Derrell Lipman.
(This used to be commit af42af75a4)
2003-11-12 21:46:39 +00:00
Jelmer Vernooij
9da5e6a4da Add new fields bad_password_count and logon_count
(This used to be commit 58c21bc0d1)
2003-11-09 14:09:27 +00:00
Richard Sharpe
018a3cc508 Apply the changes that Derrell Lipman supplied ...
(This used to be commit 600e056a33)
2003-11-05 16:58:25 +00:00
Gerald Carter
34bbe8d2d3 added note about stripping comments from LDIF; bug 642
(This used to be commit 41aefed932)
2003-11-05 04:17:57 +00:00
Gerald Carter
3886d6a7a1 added note about stripping comments from LDIF; bug 642
(This used to be commit 3f67b2bbfd)
2003-11-05 04:17:21 +00:00