1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

318 Commits

Author SHA1 Message Date
Andrew Bartlett
2735fb0119 As discussed on samba-technical - move to 'primaryGroupSid' insted of
primaryGroupID (rid).  This is consistant with the move from 'rid' to ntSid
for the primary user identifier.

Also cope with legacy installations where primaryGroupID might have been
stored as 0.

Andrew Bartlett
(This used to be commit 0e432817cb927b41af7b49fb0b5081ffdb46f85e)
2003-05-11 05:59:34 +00:00
Gerald Carter
c079ba4e6b syncing README to go along with scripts
(This used to be commit 94780f0947f7ad7d5bc83e61681148637b59d7ab)
2003-05-09 21:52:49 +00:00
Gerald Carter
c37cc212c8 syncing import/export smbpasswd file scripts from 2.2
(This used to be commit ee1374cabf38c3d99e66a45316e232d1c2cfbe6a)
2003-05-09 21:51:57 +00:00
Jelmer Vernooij
9bf2a5bde9 Don't crash if the underlying VFS doesn't support ACL's
(This used to be commit a7520177b088589eec7f3989273020dab89d90b5)
2003-05-01 01:35:56 +00:00
Jelmer Vernooij
4b5d6fa4c1 Don't crash if the underlying VFS doesn't support ACL's
(This used to be commit 277fa587d596449a6ac15b440ae07d6707d758ac)
2003-05-01 01:35:23 +00:00
Andrew Bartlett
a60682e9ab Merge Samba 3.0 pdb_ldap from 3.0 into HEAD, so as to allow idra to continue
his IDMAP work.

This version also works properly (the HEAD version had suffered from bitrot),
and should be a good basis to change into the new IDMAP rules.

It also includes UTF8 conversions.

Included also are the schema changes, and a note about the now very old scripts
in examples/LDAP (they don't work for this, or even the previous schema).

Andrew Bartlett
(This used to be commit 38a8f2b23a12f6a964d447f7904dd722a1ca046c)
2003-04-29 12:54:46 +00:00
Jelmer Vernooij
81256ecbb9 Use NTSTATUS as return value for smb_register_*() functions and init_module()
function. Patch by metze with some minor modifications.
(This used to be commit f4576757d1d52a8f1b96894c869bb76450003fd1)
2003-04-28 18:33:25 +00:00
Jelmer Vernooij
17a3acafa8 Use NTSTATUS as return value for smb_register_*() functions and init_module()
function. Patch by metze with some minor modifications.
(This used to be commit bc4b51bcb2daa7271c884cb83bf8bdba6d3a9b6d)
2003-04-28 17:48:48 +00:00
Jelmer Vernooij
023cd5ff70 Add example auth/ module
(This used to be commit d16f8f661a2a0be4fd89f7469b7e3e6a42860ad2)
2003-04-28 17:15:21 +00:00
Jelmer Vernooij
cff01c538f Add example authentication module
(This used to be commit e112dc1641c47c7185e098918980df1a4d950bd7)
2003-04-28 17:14:49 +00:00
Andrew Bartlett
49530d0db5 A new pdb_ldap!
This patch removes 'non unix account range' (same as idra's change in HEAD),
and uses the winbind uid range instead.

More importanly, this patch changes the LDAP schema to use 'ntSid' instead
of 'rid' as the primary attribute.  This makes it in common with the group
mapping code, and should allow it to be used closely with a future idmap_ldap.

Existing installations can use the existing functionality by using the
ldapsam_compat backend, and users who compile with --with-ldapsam will get
this by default.

More importantly, this patch adds a 'sambaDomain' object to our schema -
which contains 2 'next rid' attributes, the domain name and the domain sid.
Yes, there are *2* next rid attributes.  The problem is that we don't 'own'
the entire RID space - we can only allocate RIDs that could be 'algorithmic'
RIDs.  Therefore, we use the fact that UIDs in 'winbind uid' range will be
mapped by IDMAP, not the algorithm.

Andrew Bartlett
(This used to be commit 3e07406ade81e136f67439d4f8fd7fe1dbb6db14)
2003-04-28 10:20:55 +00:00
Jelmer Vernooij
3786533880 Update for the new modules system
(This used to be commit 528c56176b186d9fa43f6a0c9831562c123ec25d)
2003-04-28 01:24:26 +00:00
Jelmer Vernooij
4a6eb741f0 Update for new modules system
(This used to be commit bd2444322956cd34a95159114547b5ddc804df9e)
2003-04-28 01:21:59 +00:00
Jelmer Vernooij
9b93eb6f82 Update for new modules system
(This used to be commit 765d87838dbf25ba69dc11f7956ce5814555bcc7)
2003-04-28 01:21:28 +00:00
Jelmer Vernooij
616f6b6ffe Replace references to the old textdocs by references to chapters in
the HOWTO Collection.
CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS:  Tag: SAMBA_3_0
CVS: 	smb.conf.default
CVS: ----------------------------------------------------------------------
(This used to be commit 280d627adb5305e8b814102aaa73825023c00571)
2003-04-28 00:58:10 +00:00
Jelmer Vernooij
bceae6bb99 Replace references to the old textdocs by references to chapters in
the HOWTO Collection.
(This used to be commit 31ce815283fcf81cf50f8026a91da04ea4a05071)
2003-04-28 00:57:51 +00:00
Jelmer Vernooij
ff09ef629a Update for the new modules system. Also, use Makefile rather then Makefile.in
because we don't generate Makefile from configure anymore
(This used to be commit 0d322968cbf445df79153c0abc0d041edcf223ee)
2003-04-28 00:52:02 +00:00
Jelmer Vernooij
1c34cd359a Update for the new modules system. Also, use Makefile rather then Makefile.in
because we don't generate Makefile from configure anymore.
(This used to be commit 29ba1e163f85aeaa3cd48a13e4f0a039fa80e7b0)
2003-04-28 00:49:49 +00:00
Simo Sorce
07b95a90ca typo
(This used to be commit a65b54a08eace793e23b8d6bc193b81ef08f77f5)
2003-04-27 11:24:58 +00:00
Gerald Carter
7d1ea0987d uidPool and gidPool don't use cn anymore (but we don't use thsi anyways)
(This used to be commit 4c92994dfd231acb09411f89fd67a21a40400de0)
2003-04-18 22:19:51 +00:00
Gerald Carter
a53c63f99e uidPool and gidPool don't use cn anymore (but we don't use thsi anyways)
(This used to be commit 7f0fd03f699f24094e32a92dbb0ec55d9a602c36)
2003-04-18 22:19:04 +00:00
Jim McDonough
77dc0bc6bf The ldap idmap backend from Anthony Liguori (aliguori@us.ibm.com):
This patch moves the ldap routines out of passdb into a generic
library and implements an LDAP backend for IDMAP.  THe backend
can be enabled with "idmap backend = ldap" in smb.conf.  THere
are also schema changes to make sure to update teh ldap schema files.
(This used to be commit 87c7c582c60521da3a93d997386fe79935012aea)
2003-04-03 03:30:25 +00:00
Richard Sharpe
60cf0f28ce Fix some uncleanness with testsmbc.c
(This used to be commit 73ef6d35bbadc3ea549309119857effe3c1bc7ef)
2003-03-28 21:12:11 +00:00
Volker Lendecke
878f9147bf Fix schema error not detected by OpenLDAP 2.0.23 but by 2.1.16.
Volker
(This used to be commit 5acb9f421c149126370e79d66d3d9ace6be9a695)
2003-03-27 14:25:30 +00:00
Volker Lendecke
3aded92028 Fix schema error not detected by OpenLDAP 2.0.23 but by 2.1.16.
Volker
(This used to be commit e92bfb766b08abccbf098c8d04347eb296b9be54)
2003-03-27 14:12:42 +00:00
Volker Lendecke
7679811afb Put group mapping into LDAP.
Volker
(This used to be commit da83d97eb50c3c3a67985e22410842100207431f)
2003-03-19 09:43:23 +00:00
Volker Lendecke
6fe08f60ca Put group mapping into LDAP.
Volker
(This used to be commit f0f1518fc450834725902e9cdf33fb8d35f99360)
2003-03-19 09:38:47 +00:00
Tim Potter
a30e390227 Sync with HEAD. The -L/usr/local/lib bit looks a bit dodgy though.
(This used to be commit 81bfd9a4d9c80b87b020b998e9722750339c422d)
2003-01-22 23:51:39 +00:00
Tim Potter
3bff6c4f98 Sync with HEAD.
(This used to be commit db3901827fe776041fa38900e80ab2fab94c28a6)
2003-01-22 23:50:14 +00:00
Tim Potter
210cb79d29 Minor merges from HEAD.
(This used to be commit 902a1dc1d5f74ce94496d03327c07416bc2061be)
2003-01-22 23:49:54 +00:00
Gerald Carter
ea5ffa0371 only supporting the Net::LDAP module now
(This used to be commit 3e9c970597b190335529e8854f3d2af2c7d8d80e)
2003-01-19 03:51:32 +00:00
John Terpstra
815dcc082a Adding genlogon (from 3.0.0).
(This used to be commit b776521ba757f4b4995aff3db87a0da226480a69)
2003-01-16 05:55:47 +00:00
John Terpstra
862d383781 Adding genlogon obtained from a a mailing list posting in 2001.
(This used to be commit f6121fb55b27178f1bcae00a7225e03028f9e7d4)
2003-01-16 05:54:35 +00:00
Gerald Carter
5e8789acbd add ntlogon directory and files from 3.0
(This used to be commit 3ae66807d86753b840b674e76a27b9f6133cca98)
2003-01-15 22:19:03 +00:00
Gerald Carter
9eeab10e54 [merge]
* removed unused variable from rpcclient code
* added container option to net command (patch from SuSE)
* Makefile patch for examples/VFS from SuSE
(This used to be commit 25a9681ddda47a41fac8fdc97ca50b7f4c579eaf)
2003-01-15 16:10:57 +00:00
Gerald Carter
43e4cae106 * removed unused variable from rpcclient code
* added container option to net command (patch from SuSE)
* Makefile patch for examples/VFS from SuSE
(This used to be commit 4a6d8280ea27ca7a6998219aacc4b15b1227a659)
2003-01-15 16:07:14 +00:00
Gerald Carter
e42b5aa888 merge: disable [u|g]idPool objects
(This used to be commit 4c98700e54f3cc617eb578758695fd4dbd690f82)
2003-01-14 16:03:27 +00:00
Gerald Carter
52457e1093 removed idpool from schema file (experimental) to remove the dependency
on nis.schema.

add $(LDFLAGS) to libsmbclient build
(This used to be commit cd16064784a5e5fd9d2a67d4dfba605f7d8046ac)
2003-01-06 17:57:52 +00:00
cvs2svn Import User
999c30958a This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 953ae9d182788308fe4ee97cf98e30ed4fa3c4c0) 2002-12-16 17:26:02 +00:00
Jim McDonough
dca69cb793 Add win32 utility to query driver capabilities to publish
(This used to be commit c09c1e090525aeccb9ee7762a44aba286c4d71f9)
2002-12-16 17:26:01 +00:00
Tim Potter
a520e3c76d Ignore automatically generated Makefile.
(This used to be commit 152c530089191d1867ad018a54bba02a1a85c31e)
2002-11-20 03:01:55 +00:00
John Terpstra
69f3c8f304 Latest updates from author.
(This used to be commit bdf0d66577c78c92e8bf0f7e6a23d7812b2f76dd)
2002-11-20 00:30:56 +00:00
John Terpstra
333a65caa4 Added logon script generator provided by: Timothy Grant <tjg@craigelachie.org>
(This used to be commit 93cfbb000f8e28f3c4c600e7779dd81bac6ce9a4)
2002-11-19 19:06:11 +00:00
Jelmer Vernooij
4d12794bc1 Sync with HEAD:
- Move working VFS modules to source/
- Move documentation to SGML
(This used to be commit be4894815cf7a8e3d792d9801fe9a343f2060c3e)
2002-11-18 16:22:44 +00:00
Richard Sharpe
7b581a60d2 One more small fix in tree.c
(This used to be commit 0674d5a2b0f7ee621940c93b3b58960efd91a763)
2002-11-15 22:55:15 +00:00
Richard Sharpe
b45c92f31e Fix some problems with tree.c reported by users.
(This used to be commit b0772a1a0531896d5b343863434622d4d0ff437f)
2002-11-15 22:51:03 +00:00
Jelmer Vernooij
794ecd30f9 Update to use smb_register_passdb()
(This used to be commit b10541b71ba288783976e8c124b6667b7df3b12d)
2002-11-15 17:49:47 +00:00
Jelmer Vernooij
8fc6e1a5aa There is support for the cups printing system now as well
(This used to be commit 72e0cfbb42b474404a2f8040f84d3136d8abc97c)
2002-11-14 18:24:14 +00:00
Jelmer Vernooij
8d2514fc6a a cups printing backend is now available as well
(This used to be commit 4cffb29d27253e0e2ca270640d86b21315cab91f)
2002-11-14 17:42:01 +00:00
Jelmer Vernooij
7fc28a91ed Ignore Makefile
(This used to be commit 9c811e447821e9c934f9ecf841a38f7e1f7aa626)
2002-11-13 14:23:52 +00:00