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

561 Commits

Author SHA1 Message Date
Michael Adam
fef9cf00e1 Combine fsp and tofd to tofsp in SMB_VFS_RECVFILE().
Michael
(This used to be commit 3958abffaf)
2008-01-11 01:27:05 +01:00
Michael Adam
4caab9ca25 Combine fsp and fromfd to fromfsp in SMB_VFS_SENDFILE().
Michael
(This used to be commit a52cfb7d77)
2008-01-11 01:27:05 +01:00
Michael Adam
e9a3a62e74 Remove redundant parameter fd from SMB_VFS_WRITE().
Michael
(This used to be commit c8ae7d095a)
2008-01-10 15:49:35 +01:00
Michael Adam
1d66f4d58b Remove redundant parameter fd from SMB_VFS_READ().
Michael
(This used to be commit a8fc2ddad8)
2008-01-10 15:33:51 +01:00
Günther Deschner
83b1751615 Remove unused string.
Guenther
(This used to be commit 88d6683872)
2008-01-10 13:02:10 +01:00
Günther Deschner
af02de700d Fix build warning for libsmbclient example.
Guenther
(This used to be commit 8f411753b2)
2008-01-09 10:20:44 +01:00
Michael Adam
e09316ed78 Fix returns in void functions.
Michael
(This used to be commit ef7c9a765b)
2008-01-08 22:51:21 +01:00
Michael Adam
89f1fec4e5 Fix examples/VFS after VFS API changes.
Michael
(This used to be commit c88555ce45)
2008-01-08 22:20:13 +01:00
Michael Adam
edd30e716f Remove redundant parameter fd from SMB_VFS_LOCK().
Michael
(This used to be commit 4f3ab2c406)
2008-01-07 16:38:23 +01:00
Michael Adam
b457b94bb8 Remove redundant parameter fd from SMB_VFS_FTRUNCATE().
Michael
(This used to be commit 2ad66050a0)
2008-01-07 15:59:02 +01:00
Michael Adam
670909cb07 Remove redundant parameter fd from SMB_VFS_FCHOWN().
Michael
(This used to be commit fbb193db3e)
2008-01-07 15:59:02 +01:00
Michael Adam
e614dec27f Remove redundant parameter fd from SMB_VFS_FCHMOD().
Michael
(This used to be commit a54d5604da)
2008-01-07 15:59:02 +01:00
Michael Adam
87a684f7fc Remove redundant parameter fd from SMB_VFS_FSTAT().
Michael
(This used to be commit 0b86c420be)
2008-01-07 15:59:01 +01:00
Michael Adam
8dcce0d236 Remove redundant parameter fd from SMB_VFS_FSYNC().
Michael
(This used to be commit 8f83c9a7b2)
2008-01-07 15:59:01 +01:00
Michael Adam
6f657c873e Remove redundant parameter fd from SMB_VFS_LSEEK().
Michael
(This used to be commit df929796f2)
2008-01-07 15:59:01 +01:00
Michael Adam
a56b417809 Remove redundant parameter fd from SMB_VFS_PWRITE().
Michael
(This used to be commit 8c4901a19a)
2008-01-07 15:59:01 +01:00
Michael Adam
3f4699f5a3 Adapt fset_nt_acl() and fget_nt_acl() in examples/VFS/ to vfs prototype change.
Michael
(This used to be commit d9d6775878)
2008-01-07 01:04:55 +01:00
Michael Adam
ca275e2549 Remove unneeded parameter fd from SMB_VFS_PREAD().
Michael
(This used to be commit 73e28806ce)
2008-01-07 00:14:19 +01:00
Karolin Seeger
c402ec1bd8 Fix typo
(This used to be commit e811b9f3bb)
2007-11-09 12:11:30 +01:00
Michael Adam
62fcfe988c The FSF has moved around a lot. This fixes their Mass Ave address.
This adapts r23801 / 87c91e4362
to files just added by cherry-pick.
Michael
(This used to be commit a0d595c227)
2007-11-09 11:20:01 +01:00
Michael Adam
57d6b313df Find and fix more GPL2 -> GPL3.
Jeremy.

This adapts r23780 / c2f7ab1c17
for files added by cherry-pick.
(This used to be commit 1b6cf93992)
2007-11-09 11:20:00 +01:00
Michael Adam
a113515420 r23714: This script allows for adding lists of users (or other objects)
to lists of groups (or aliases). Useful for creating large test
scenarios.

Michael
(cherry picked from commit b3e5082e10)
(This used to be commit 78a2344fe7)
2007-11-09 11:19:58 +01:00
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
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