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

489 Commits

Author SHA1 Message Date
Michael Adam
cc4541def0 r23711: Refactor the actual creation of object into its own small function.
Michael
(cherry picked from commit 26349c0b17)
(This used to be commit 852570059c)
2007-11-09 11:19:57 +01:00
Michael Adam
67e79219da 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
(cherry picked from commit 8b81fbb7d9)
(This used to be commit 79414f8bfa)
2007-11-09 11:19:56 +01:00
Jeremy Allison
488b59cfac Add in the recvfile entry to the VFS layer with a default
implementation. Needed for the zero-copy write code.
Jeremy.
(This used to be commit bfbdb6324c)
2007-10-29 17:16:13 -07:00
Jeremy Allison
30191d1a57 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.
(This used to be commit f35a266b3c)
2007-10-18 17:40:25 -07:00
Gerald (Jerry) Carter
e5a951325a [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.
(This used to be commit 5c6c8e1fe9)
2007-10-10 15:34:30 -05:00
Simo Sorce
d80fcfce90 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.
(This used to be commit ab7770b34b)
2007-10-10 12:30:42 -05:00
Michael Adam
b6c64fab5e r25090: Fix a syntax error just introduced into the LDAP schema.
Michael
(This used to be commit 7dc68ce0fb)
2007-10-10 12:30:39 -05:00
Michael Adam
c6df77f63f 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
(This used to be commit 0beae52ff4)
2007-10-10 12:30:39 -05:00
Simo Sorce
df04cb69f7 r25057: Add a schema file ready to be used in Fedora/RedHat Directory Server
(This used to be commit 501e8b6c79)
2007-10-10 12:30:37 -05:00
Derrell Lipman
83fc92c82c 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
(This used to be commit 2ac502e29b)
2007-10-10 12:29:39 -05:00
Stefan Metzmacher
564e6841d6 r24123: add file_id_create() to some vfs modules
metze
(This used to be commit 0bc5a9cd01)
2007-10-10 12:29:09 -05:00
Günther Deschner
47d2f021c8 r23827: Fix schema dump.
Guenther
(This used to be commit e3d6dabcb9)
2007-10-10 12:28:31 -05:00
Günther Deschner
b8d696ebf0 r23818: support LDAP_SERVER_SEARCH_OPTIONS_OID in adssearch.
Guenther
(This used to be commit 0f0200c43c)
2007-10-10 12:28:29 -05:00
Günther Deschner
f406b6677c r23817: Dump some more guids in adssearch.pl.
Guenther
(This used to be commit 3f0ac6a27f)
2007-10-10 12:28:29 -05:00
Andrew Tridgell
153cfb9c83 r23801: The FSF has moved around a lot. This fixes their Mass Ave address.
(This used to be commit 87c91e4362)
2007-10-10 12:28:27 -05:00
Andrew Tridgell
674b835241 r23799: updated old Franklin Street FSF addresses to new URL
(This used to be commit 43cd589773)
2007-10-10 12:28:26 -05:00
Andrew Tridgell
9fa1c63578 r23798: updated old Temple Place FSF addresses to new URL
(This used to be commit c676a97114)
2007-10-10 12:28:26 -05:00
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