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

487 Commits

Author SHA1 Message Date
Jeremy Allison
bfbdb6324c Add in the recvfile entry to the VFS layer with a default
implementation. Needed for the zero-copy write code.
Jeremy.
2007-10-29 17:16:13 -07:00
Jeremy Allison
f35a266b3c RIP BOOL. Convert BOOL -> bool. I found a few interesting
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
2007-10-18 17:40:25 -07:00
Gerald (Jerry) Carter
5c6c8e1fe9 [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch. 2007-10-10 15:34:30 -05:00
Simo Sorce
ab7770b34b r25127: Add ol-schema-migrate.pl to the repo.
This script is useful for migrating OpenLDAP schema files to FDS/RHDS
lidf schema files.

License kindly updated to GPLv3+ at our request.

Simo.
2007-10-10 12:30:42 -05:00
Michael Adam
7dc68ce0fb r25090: Fix a syntax error just introduced into the LDAP schema.
Michael
2007-10-10 12:30:39 -05:00
Michael Adam
0beae52ff4 r25088: Change the objectclass sambaTrustedDomainPassword to
have the current and possibly the previous trust password
stored as clear text passwords. (Previous use of NTPassword
was a mistake - this is a hash value.)

Michael
2007-10-10 12:30:39 -05:00
Simo Sorce
501e8b6c79 r25057: Add a schema file ready to be used in Fedora/RedHat Directory Server 2007-10-10 12:30:37 -05:00
Derrell Lipman
2ac502e29b r24388: - ACL retrieval provided incomplete information because the buffer pointer was
incremented too far in some circumstances.  In these cases, only the first
 of multiple concatenated strings would be seen.

- Working on bug 4649 pertaining to delete an ACL, this fixes the reported
 crash.  It appears to have been an incomplete switchover from malloc to
 talloc, as the memory was still being freed with SAFE_FREE.

 Deleting ACLs still doesn't work.  Although a valid request is sent to the
 server and a SUCCESS response is returned, the method that's used in
 libsmbclient for deleting ACLs seems to be incorrect.  In looking at the
 samba4 torture tests, it appears that we should be turning on the INHERIT
 flag if we want to delete the ACL.  (I could use some assistance on the
 proper flags to send, from anyone familiar with this stuff.)

- Apply patch from SATOH Fumiyasu to fix bug 4750.  smbc_telldir_ctx() was not
  returning a value useful to smbc_lseekdir_ctx().

Derrell
2007-10-10 12:29:39 -05:00
Stefan Metzmacher
0bc5a9cd01 r24123: add file_id_create() to some vfs modules
metze
2007-10-10 12:29:09 -05:00
Günther Deschner
e3d6dabcb9 r23827: Fix schema dump.
Guenther
2007-10-10 12:28:31 -05:00
Günther Deschner
0f0200c43c r23818: support LDAP_SERVER_SEARCH_OPTIONS_OID in adssearch.
Guenther
2007-10-10 12:28:29 -05:00
Günther Deschner
3f0ac6a27f r23817: Dump some more guids in adssearch.pl.
Guenther
2007-10-10 12:28:29 -05:00
Andrew Tridgell
87c91e4362 r23801: The FSF has moved around a lot. This fixes their Mass Ave address. 2007-10-10 12:28:27 -05:00
Andrew Tridgell
43cd589773 r23799: updated old Franklin Street FSF addresses to new URL 2007-10-10 12:28:26 -05:00
Andrew Tridgell
c676a97114 r23798: updated old Temple Place FSF addresses to new URL 2007-10-10 12:28:26 -05:00
Andrew Tridgell
e87bb12093 r23797: started fixing old FSF addresses. Fixed pcap2nbench COPYING file 2007-10-10 12:28:26 -05:00
Andrew Tridgell
c14aba93c0 r23795: more v2->v3 conversion 2007-10-10 12:28:26 -05:00
Andrew Tridgell
d0e89d246d r23785: use the GPLv3 boilerplate as recommended by the FSF and the license text 2007-10-10 12:28:23 -05:00
Jeremy Allison
c2f7ab1c17 r23780: Find and fix more GPL2 -> GPL3.
Jeremy.
2007-10-10 12:28:21 -05:00
Jeremy Allison
407e6e695b r23779: Change from v2 or later to v3 or later.
Jeremy.
2007-10-10 12:28:20 -05:00
Günther Deschner
9535866f6f r23767: Add GTYPE_SECURITY_UNIVERSAL_GROUP to adsearch.pl as well.
Guenther
2007-10-10 12:23:54 -05:00
Michael Adam
b3e5082e10 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
2007-10-10 12:23:48 -05:00
Michael Adam
ae23e6d04b r23713: Oops accidentially checked in the wrong file - sorry!
Michael
2007-10-10 12:23:48 -05:00
Michael Adam
0c03c78af8 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
2007-10-10 12:23:47 -05:00
Michael Adam
26349c0b17 r23711: Refactor the actual creation of object into its own small function.
Michael
2007-10-10 12:23:47 -05:00
Michael Adam
8b81fbb7d9 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
2007-10-10 12:23:47 -05:00
Lars Müller
d26914c978 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!
2007-10-10 12:23:46 -05:00
Jeremy Allison
fc6899a550 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.
2007-10-10 12:23:37 -05:00
Günther Deschner
865bdcacae r23484: When chasing AD referrals make sure to honor the base returned from the server.
Guenther
2007-10-10 12:23:20 -05:00
Jeremy Allison
932523cbb5 r23105: Add lchown to the vfs layer. We need this in the POSIX code.
Jeremy.
2007-10-10 12:22:46 -05:00
Derrell Lipman
7213b5ebec 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.
2007-10-10 12:22:07 -05:00
Lars Müller
37f2191cd3 r22805: Inform in examples/pdb about the location of the external support for
the SQL backends.
2007-10-10 12:21:59 -05:00
Günther Deschner
5b4a4df26f r22794: Add "debug_state" and "silent" to pam_winbind.conf template. Honor the silent
argument when parsing pam configuration file options.

Guenther
2007-10-10 12:21:57 -05:00
Jeremy Allison
aa5a1591c6 r22591: Fix up the examples also.
Jeremy.
2007-10-10 12:19:49 -05:00
Michael Adam
e711005828 r22341: Fix build of examples/VFS: adapt include for new place of tdb... 2007-10-10 12:19:27 -05:00
Derrell Lipman
c65621e0b7 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.
2007-10-10 12:19:15 -05:00
James Peach
1106db7ea1 r21762: Fix the build by enabling shared modules and adding the config.*
files. Add norify_watch and chflags operations. Fix a bunch of
warnings.
2007-10-10 12:18:29 -05:00
Jeremy Allison
8f3d530c5a 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.
2007-10-10 12:18:24 -05:00
Günther Deschner
97ce4ccea2 r21345: Smaller fixes for adssearch:
* get rid of horrible ads.h parsing
* add LDAP_SERVER_SHUTDOWN_NOTIFY_OID
* display hex bitmasks

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

metze
2007-10-10 12:16:56 -05:00
Volker Lendecke
ab0a41c13b r19857: Make the perfcounter compile after tdb changes 2007-10-10 12:16:03 -05:00
James Peach
fa69031d00 r19852: Fix the build for the VFS examples. Fixes bugzilla #3931. 2007-10-10 12:16:02 -05:00
Günther Deschner
8a2dded7fb r19745: For the fun of it, add an CLDAP client written in perl.
Guenther
2007-10-10 12:15:52 -05:00
Günther Deschner
27fbd85300 r19345: Allow better rootdse searches.
Guenther
2007-10-10 12:15:30 -05:00
Günther Deschner
d6849a83c0 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
2007-10-10 12:00:48 -05:00
Derrell Lipman
fc5b6e4bd8 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.
2007-10-10 11:39:48 -05:00