1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-18 17:57:55 +03:00

605 Commits

Author SHA1 Message Date
Volker Lendecke
7db31acaa2 Same as in 2_2
(This used to be commit 96299b6391512079b53f1593206b6cd7ecaacb2f)
2002-03-08 14:38:54 +00:00
Gerald Carter
6bd2af90cb merge from 2.2 and regenerate
(This used to be commit b1cbc23d82cfca1179d6be1e11b8bea2d0acdc9e)
2002-02-19 16:59:27 +00:00
Gerald Carter
34ab184446 merge from 2.2
(This used to be commit 8b357e6551c3a91aa7017ae8dcf38558f15f1c0b)
2002-02-19 16:47:59 +00:00
Gerald Carter
732f5e8f80 fixes from 2,2
(This used to be commit 46bd77a02a47c26c4981472c8cea09e64c2ef4d2)
2002-02-11 13:49:02 +00:00
Gerald Carter
ebeda264d6 doc merge from 2.2
(This used to be commit 2df8df4cd9b271ac91245bd44d6384483c1a4524)
2002-02-09 14:05:09 +00:00
Gerald Carter
7998c99191 removed several parameters ("client code page", "valid chars",
"code page directory", "character set", et. al.)
(This used to be commit 6ff236249559f8a11381cab9cc1757b26764a39d)
2002-02-04 14:15:29 +00:00
Andrew Bartlett
4cf87fc667 A new simpiler syntax demands a new simpiler HOWTO. (This can all be reverted
if new simpiler syntax was a bad idea...).

Andrew Bartlett
(This used to be commit 717f45ca3ca85ca47f6d7b9379c17480f0bf82e4)
2002-02-03 03:51:01 +00:00
Gerald Carter
8cb4e23ffc merge from 2.2 and regen
(This used to be commit 7b7e4190739bd7df422e3f239fd89373edb97ee5)
2002-02-02 06:08:43 +00:00
Gerald Carter
28a4f3926c merge from 2.2
(This used to be commit a60be0216eb3d0c76f93ec3a3edd861861cb1a4e)
2002-02-02 04:58:57 +00:00
Gerald Carter
37096aa229 make all-docs to make sure everything is up-to-date
(This used to be commit 7235a21ca4f558fbea7e156e891683767dc2cda1)
2002-01-28 17:36:33 +00:00
Gerald Carter
bc06e06d34 merge from 2.2 and regenerate
(This used to be commit 55c53ef08974947cf10a79882b63d6d8e8baad4c)
2002-01-27 05:37:23 +00:00
Gerald Carter
ca12d82eaf merge from 2.2
(This used to be commit 2137c7163475691056fe1701b75128e238520b05)
2002-01-24 17:04:30 +00:00
Andrew Bartlett
84b8eb8fed Vance and his eagle eyes spotted a copy and paste error in my smb.conf updates.
Thanks!

Andrew Bartlett
(This used to be commit 7f7a53e8489f97ced28936252eca322c09b01d61)
2002-01-20 21:56:18 +00:00
Andrew Bartlett
1a74d8d1f0 This is another *BIG* change...
Samba now features a pluggable passdb interface, along the same lines as the
one in use in the auth subsystem.  In this case, only one backend may be active
at a time by the 'normal' interface, and only one backend per passdb_context is
permitted outside that.

This pluggable interface is designed to allow any number of passdb backends to
be compiled in, with the selection at runtime.  The 'passdb backend' paramater
has been created (and documented!) to support this.

As such, configure has been modfied to allow (for example) --with-ldap and the
old smbpasswd to be selected at the same time.

This patch also introduces two new backends:  smbpasswd_nua and tdbsam_nua.
These two backends accept 'non unix accounts', where the user does *not* exist
in /etc/passwd.  These accounts' don't have UIDs in the unix sense, but to
avoid conflicts in the algroitmic mapping of RIDs, they use the values
specified in the 'non unix account range' paramter - in the same way as the
winbind ranges are specifed.

While I was at it, I cleaned up some of the code in pdb_tdb (code copied
directly from smbpasswd and not really considered properly).  Most of this was
to do with % macro expansion on stored data.  It isn't easy to get the macros
into the tdb, and the first password change will 'expand' them.  tdbsam needs
to use a similar system to pdb_ldap in this regard.

This patch only makes minor adjustments to pdb_nisplus and pdb_ldap, becouse I
don't have the test facilities for these.  I plan to incoroprate at least
pdb_ldap into this scheme after consultation with Jerry.

Each (converted) passdb module now no longer has any 'static' variables, and
only exports 1 init function outside its .c file.

The non-unix-account support in this patch has been proven!  It is now possible
to join a win2k machine to a Samba PDC without an account in /etc/passwd!

Other changes:

Minor interface adjustments:
pdb_delete_sam_account() now takes a SAM_ACCOUNT, not a char*.

pdb_update_sam_account() no longer takes the 'override' argument that was being
ignored so often (every other passdb backend).  Extra checks have been added in
some places.

Minor code changes:
smbpasswd no longer attempts to initialise the passdb at startup, this is
now done on first use.

pdbedit has lost some of its 'machine account' logic, as this behaviour is now
controlled by the passdb subsystem directly.

The samr subsystem no longer calls 'local password change', but does the pdb
interactions directly.  This allow the ACB_ flags specifed to be transferred
direct to the backend, without interference.

Doco:

I've updated the doco to reflect some of the changes, and removed some paramters
no longer applicable to HEAD.
(This used to be commit ff354c99c585068af6dc1ff35a1f109a806b326b)
2002-01-20 14:30:58 +00:00
Andrew Bartlett
1fb9ccc4e2 This is the 'winbind default domain' patch from Alexander Bokovoy
<a.bokovoy@sam-solutions.net>.

The idea is the domain\username is rather harsh for unix systems - people don't
expect to have to FTP, SSH and (in particular) e-mail with a username like
that.

This 'corrects' that - but is not without its own problems.

As you can see from the changes to files like username.c and wb_client.c (smbd's
winbind client code) a lot of assumptions are made in a lot of places about
lp_winbind_seperator determining a users's status as a domain or local user.

The main change I will shortly be making is to investigate and kill off
winbind_initgroups() - as far as I know it was a workaround for an old bug in
winbind itself (and a bug in RH 5.2) and should no longer be relevent.

I am also going to move to using the 'winbind uid' and 'winbind gid' paramaters
to determine a user/groups's 'local' status, rather than the presence of the
seperator.

As such, this functionality is recommended for servers providing unix services,
but is currently less than optimal for windows clients.

(TODO: remove all references to lp_winbind_seperator() and
lp_winbind_use_default_domain() from smbd)

Andrew Bartlett
(This used to be commit 07a21fcd2311d2d9b430b99303e3532a8c1159e4)
2002-01-18 02:37:55 +00:00
Gerald Carter
3469866334 commit some changes for ab, and keep working on the smbgroupedit
manpage.
(This used to be commit a10cdbfbed4e04609f511cbbf976df4b4d391729)
2002-01-11 00:41:27 +00:00
Andrew Bartlett
50fa21fec1 Take a stab at keeping the doco current :-)
(This used to be commit 88b0e670426c216d754716dc6095b673b9645f1a)
2002-01-10 12:32:59 +00:00
Gerald Carter
e54261b82c I think I've finally gotten this straighten out in my tree.
All should be curent now.
(This used to be commit 91662683e3e690fb69f333fadf0f317c53995ba7)
2002-01-08 22:53:58 +00:00
Gerald Carter
a7a73c7ff2 i **really** hate stuck tags in CVS :-( Figured out why
my files were not being checked in sometimes.....

 cvs update -A

cleared all the sticky tages and now I have to recheck some things in.


j-
(This used to be commit 241f4a548d57083b153afafafdd18ed5de5412b7)
2002-01-08 22:49:28 +00:00
Gerald Carter
2689976514 entering placeholders for forthcoming documentation
(This used to be commit 789c1defa47a1efd25efafab2d8a5a51c03b85b4)
2002-01-08 17:55:41 +00:00
Gerald Carter
ca0ccee23f merge from 2.2
(This used to be commit 67c6a24344e31c417c8c6f5db27697e268524401)
2002-01-05 19:27:26 +00:00
Gerald Carter
40cddb6588 yeah! I think I figured it out now
(This used to be commit 9713bce0354009fb4d9c06989ff86900101eae0c)
2002-01-05 06:11:29 +00:00
Gerald Carter
5ff40271a5 forgot a few files
(This used to be commit 9844ec33995316843567fc32d2ea276c565cf56c)
2002-01-05 03:53:42 +00:00
Gerald Carter
7d3cc61d26 merge from 2.2 and regenerate docs
(This used to be commit f7d900873c3553dde88d42d903b74dc49c9a6c71)
2002-01-05 03:52:39 +00:00
Simo Sorce
9d006c08f4 the pdbedit tool manpage
(This used to be commit 4aecb650e1ece234fb7359270deb74fe1c1a4a16)
2002-01-02 00:40:47 +00:00
Jeremy Allison
49e66e1352 Documented -i modes for nmbd/smbd.
Jeremy.
(This used to be commit a076e2e4c512cd2ef2f9c38447c44d93e4b6ac57)
2001-12-29 21:15:40 +00:00
Gerald Carter
fcb293cbab file Samba-LDAP-HOWTO.sgml was initially added on branch SAMBA_2_2.
(This used to be commit d57c43fd05d8759f09c8c460baeb513a8ed41479)
2001-12-29 16:20:49 +00:00
Volker Lendecke
dccd1b9a2e Large expansion of my german book project.
Volker
(This used to be commit 768f90a6ca8538ffda5b46491281eea7673ae730)
2001-12-21 13:37:39 +00:00
Gerald Carter
0c26ae1880 update from Vance
(This used to be commit fe7ad3761233f7adb13756d611a11dbf0594b77f)
2001-12-20 21:58:50 +00:00
Gerald Carter
adb4931aa4 couple of updates mentioned on samba@samba.org
(This used to be commit 95308453b256fc51cbf1a2b2726ba8db7da1e80b)
2001-12-20 21:25:20 +00:00
Andrew Tridgell
68b7b2c34d ads howto update
(This used to be commit 188e59ae965e959e286eb650a90e62204a978fc2)
2001-12-11 22:53:21 +00:00
Volker Lendecke
5f93b2dce4 Clarify a little
Volker
(This used to be commit 5b7a2a2441a238896cc3da0459e37536ac1906bf)
2001-12-11 17:45:51 +00:00
Jean-François Micouleau
70b32ba01d basic howto
(This used to be commit b48d58c768999abf4f044e474880e47c5a7bb144)
2001-12-07 10:20:17 +00:00
Gerald Carter
41218bdff4 merge from 2.2
(This used to be commit f1ead192c668abf20f328a691caafd76874c6e47)
2001-12-06 07:44:12 +00:00
Gerald Carter
e4840f0db9 merge from 2.2
(This used to be commit c5ee06b7c8fc9f1fec679acc7d7f47f333707456)
2001-12-06 07:37:58 +00:00
Gerald Carter
f68a08f1f9 commit from 2.2
(This used to be commit 54a453478a087073a51822086bd9f985a5d8cf6a)
2001-12-06 07:33:48 +00:00
Andrew Tridgell
080cbe328e more specific DNS instructions
(This used to be commit 630e01cafde863beaa367be3c4e01c9c5232b682)
2001-12-01 02:23:06 +00:00
Jim McDonough
e5852f5607 KDC DNS domain must be the kerberos realm. Or so it seems that way
(This used to be commit e89543c7e90c5303e61674bb4a258176918e0111)
2001-12-01 01:25:51 +00:00
Jeremy Allison
c94cd063b9 Added close-share message.
Jeremy.
(This used to be commit 6a10accbcaa130b51381d43cb10c55e86ba2a320)
2001-11-29 22:37:58 +00:00
Andrew Tridgell
bd539668ff minor update
(This used to be commit aaf111c9ff6247ea4071d6f69bdb01afaded5476)
2001-11-28 07:33:18 +00:00
Andrew Bartlett
90736eb8be Some random updates for the ADS-HOWTO
(This used to be commit c39bf5ba05d04cbc6dd0a328ee43193588ea5134)
2001-11-28 05:13:12 +00:00
Andrew Tridgell
0d3bad2822 basic ADS HOWTO
(This used to be commit 9ee13fecb1b623e760789d1df7178b085f820700)
2001-11-26 06:52:33 +00:00
Tim Potter
b51d52ed30 Merge from 2.2
(This used to be commit c6a01f0a67148a234175439bdfe439ae011d397d)
2001-10-10 23:38:53 +00:00
Gerald Carter
55abd936a8 mega-merge from 2.2
(This used to be commit c76bf8ed3275e217d1b691879153fe9137bcbe38)
2001-10-10 17:19:10 +00:00
Gerald Carter
0d76ac6331 sync up with 2.2
(This used to be commit 9d8cbf3d5db35df6aa50636a48444caf10441c8c)
2001-09-27 03:40:34 +00:00
Gerald Carter
2c4d1d39b1 OpenSSL merge from 2.2
(This used to be commit efc6df5a3914da9e7b792ccaccd1403c72c09f78)
2001-09-26 17:29:53 +00:00
Tim Potter
006c8342de Doc fix merge from 2.2
(This used to be commit 865167203ceff157a7204418cda8905833314575)
2001-09-18 00:13:29 +00:00
Andrew Bartlett
d7dc065a91 Update manpage for new 'add machine script' paramater
(This used to be commit 68dc525e8e7906a8618b6d28c5543ce89768563d)
2001-09-14 12:30:14 +00:00
Tim Potter
91bd0d7e9b Update from sgml source.
(This used to be commit e101e945b78fbe53b6bdcf6ddaa9355547af09fd)
2001-09-11 05:28:56 +00:00
Tim Potter
11ad75cf8a Fixed some bad markup.
(This used to be commit f66899965ea3d9677ba75dff56df2319b3e4b7c0)
2001-09-11 05:26:44 +00:00