Initial import
[samba] / examples / LDAP / smbldap-tools-0.9.1 / ChangeLog
1 # $Source: /opt/cvs/samba/smbldap-tools/ChangeLog,v $
2 # $id: $
3 #
4 ## ChangeLog for SMBLDAP-TOOLS
5
6
7
8
9 2005-05-26: new tag (v0-9-1 for rpm version 0.9.1)
10         . bugs correction and updates in configure.pl
11 2005-05-17: new tag (v0-9-0 for rpm version 0.9.0)
12 2005-05-16
13         . update release version 0.9.0 for synchronisation with examples of the "Samba3 by examples"
14           book of John H Terpstra.
15         . default configuration files for the smbldap-tools can be place in
16           /etc/opt/IDEALX/smbldap-tools or /etc/smbldap-tools/
17         . default configuration file for samba can be /etc/samba/smb.conf or
18           /usr/local/samba/lib/smb.conf
19         . new parameter userHomeDirectoryMode in smbldap.conf to set the default directory mode used
20           for user's homeDirectory
21         . enhancements and fixes in configure.pl
22 2005-04-27
23         . error in group type documentation in smbldap-groupadd
24 2005-04-17
25         . warnings was displayed when samba configuraton file (smb.conf) had single quotes in
26           parameters definition (thanks to Tom Burkart <samba@aussec.com>)
27         . 'idmapdn' is now also optional in smbldap.conf (if needed and defined in smb.conf)
28 2005-04-03: new tag (v0-8-8 for rpm version 0.8.8)
29 2005-03-09
30         . Four more options are now optional in smbldap.conf. Default values are:
31           > slaveLDAP="127.0.0.1"
32           > slavePort="389"
33           > masterLDAP="127.0.0.1"
34           > masterPort="389"
35           > ldapTLS="0"
36         . the following suffix can be used with the smbldap-tools:
37           > suffix="dc=dpt,dc=idealx,dc=org", suffix="dc=idealx,dc=org" or suffix="dc=idealx"
38         . update to smbldap-populate:
39             . administrator account is now called 'root'
40             . default uidNumber for root is set to 0
41             . default rid for root is set to 500
42             . default gidNumber for administrator is set to 0
43           uidNumber and gidNumber can be changed with option -k and -m
44 2005-03-08
45         . Four parameters in smbldap.conf are now optional:
46           'suffix', 'usersdn', 'computersdn' and 'groupsdn'
47           If those parameters are not set, they are respectivly taken from the following
48           parameters in smb.conf :
49           'ldap suffix', 'ldap user suffix', 'ldap machine suffix' and 'ldap group suffix'
50         . renaming two files:
51           $ mv smbldap-migrate-accounts smbldap-migrate-pwdump-accounts 
52           $ mv smbldap-migrate-groups smbldap-migrate-pwdump-groups
53 2005-02-26
54         . New option '-t time' to smbldap-useradd: wait <time> seconds before exiting script when
55           adding computer's account. This is useful when Master/PDC and Slaves/BDCs are connected
56           through the internet (replication is not real time).
57           The Samba smb.conf configuration file should then look like this :
58           > add machine script = /opt/IDEALX/sbin/smbldap-useradd -t 30 -w "%u"
59           This options can only be used with the -w to add computers's account.
60           bug report: https://bugzilla.samba.org/show_bug.cgi?id=2384
61         . three parameters are now optional in smbldap.conf
62           . 'sambaUnixIdPooldn': If not defined, next uidNumber and gidNumber available for new
63             users and groups are stored in sambaDomainName object
64           . 'SID': If not defined, parameter is taking from "net getlocalsid" return
65           . 'sambaDomain': If not defined, parameter is taking from smb.conf configuration file
66         . add 'sambaDomain' parameter in smbldap.conf. If not defined 'workgroup' parameter in
67           smb.conf is used
68 2005-02-13: new tag (v0-8-7 for rpm version 0.8.7)
69         . update smbldap-populate: check previously if entries exist. If the sambaDomain entry
70           already exist when using smbldap-populate, we just modify it to add the sambaUnixIdPool
71           objectclass which store the first uidNumber and gidNumber available.
72         . update connection procedure to the directory in smbldap-passwd
73         . new script smbldap-userinfo from Pawel Wieleba to allow people update their own
74           informations like telephoneNumber, name and some others (need proper ACL in ldap
75           configuration)
76         . new migration scripts from Pawel Wieleba smbldap-migrate-unix-accounts and
77           smbldap-migrate-unix-groups to help migrating users and groups defined in /etc/passwd (and/or
78           /etc/shadow) and /etc/group.
79 2005-01-29
80         . bug in smbldap-populate: the -b option (guest login name) was broken
81         . new option '-k' and '-l' to smbldap-populate to defined the uidNumber of administrator and
82           guest accounts
83         . group "Account Operators" is now created with smbldap-populate
84         . Administrator account does not need anymore uidNumber=0 (using 998)
85         . update in smbldap-populate and smbldap.conf:
86           . next uidNumber and gidNumber available for new users and new groups are now
87             stored in the sambaDomainName object. This allow the sambaUnixIdPooldn to not
88             been viewed as a real user under IMC (http://www.idealx.org/prj/imc/)
89             sambaUnixIdPooldn in configuration file smbldap.conf must look like
90             > sambaUnixIdPooldn="sambaDomainName=MYDOMAIN,${suffix}"
91           . the sambaDomainName is determine by 
92             - the sambaUnixIdPooldn parameter of smbldap.conf, or
93             - the workgroup parameter of smb.conf if sambaUnixIdPooldn is not a sambaDomainName
94               object
95         . patch to smbldap-useradd: $modify->code was executed even if no modification was required,
96           this can cause error mesage with some ldap directory.
97         . small typo corrections
98 2005-16-01: new tag (v0-8-6 for rpm version 0.8.6)
99 2005-06-01:
100         . new location /opt/IDEALX and /etc/opt/IDEALX/ (instead of /usr/local and /etc)
101           to conform to FHS/LSB
102         . update typo correction in documentation
103         . patch to smbldap-passwd from Pawel Wieleba <wielebap@volt.iem.pw.edu.pl>:
104            see www.iem.pw.edu.pl/~wielebap/ldap/smbldap-tools/smbldap-tools_doc.pdf
105           . use of slappasswd was insecure as external program. Now slappasswd is run in
106             a child process and shell is not used
107           . it is now possible to not use slappasswd but perl module only
108           . new parameter 'with_slappasswd' in smbldap.conf to allow not use 'slappasswd'
109             but perl module only
110         . new option '-r' to smbldap-usermod for renaming a user. Exemple:
111           $ smbldap-usermod -d /home/new_user -r new_user old_user
112 2004-10-28: new tag (v0-8-5-3 for rpm version 0.8.5-3)
113 2004-10-07:
114         . smbldap-useradd: set sambaPwdLastSet to the current date, and sambaPwdMustChange
115           to 2147483647 for trust account to work
116         . patch from Quentin Delance <quentin.delance@insalien.org>:
117           added test to not being able to remove primary group of a user
118 2004-08-29: new tag (v0-8-5-2 for rpm version 0.8.5-2)
119         . small corrections
120         . computer's account have the 'gecos' attribute set to 'computer': computers may not
121           join the domain if this attribute is not defined (thanks to "Dominik 'Rathann' Mierzejewski")
122 2004-06-25:
123         . patch to smbldap_tools.pm: the 'search' to sambaUnixIdPool objectclass is done
124           directly to the object defined in the configuration file (sambaUnixIdPooldn="...").
125           This allow to have more then one object having the sambaUnixIdPool objectclass.
126         . patch smbldap-useradd. The -P and -T options had no effect if the -a was not used.
127         . update configure.pl
128 2004-06-21:
129         . new '-o' option in smbldap-useradd to set the organizatinal unit where the account
130           will be created. It is relative of the user suffix dn ($usersdn) defined in the
131           configuration file
132 2004-06-17: new tag (v0-8-5-1 for rpm version 0.8.5-1)
133         . update documentation
134 2004-05-25:
135         . patch to smbldap-populate:
136           fix sambaSID and sambaGroupType error for builtin groups
137         . new entry in /etc/smbldap-tools/smbldap.conf for idmap ou:
138           > idmapdn="ou=Idmap,${suffix}"
139 2004-05-10:
140         . patch from Ross Becker <ross@rbecker.org> :
141           new option in smbldap.conf to set the salt format if CRYPT hash is used.
142         . add a check to see if STDIN is connected to tty by using if (-t STDIN) ...
143           This allow the unsecure use of "echo -e 'password\npassword' | smbldap-passwd jto"
144 2004-04-30:
145         . patch for smbldap-useradd and smbldap-groupadd: next uidNumber and gidNumber available
146           are now stored in cn=NextFreeUnixId
147           WARNING:
148           . when upgrading, you need to create the new object manually (see INSTALL file)
149           . this object's name is defined in /etc/smbldap-tools/smbldap.conf
150             you can defined another name as desired, for example:
151             > sambaUnixIdPooldn="cn=NextFreeUnixId,${suffix}"
152 2004-04-07:
153         . patch from Emmanuel Lacour <elacour@home-dn.net> :
154           no more use of mkntpwd, use of Crypt::SmbHash perl module instead
155 2004-04-04:
156         . patchs from Alexander Bergolth <leo@strike.wu-wien.ac.at> :
157           . variable substitution to the config-file parser.
158             This new feature allows configurations like that
159               > suffix="dc=idealx,dc=com"
160               > usersdn="ou=Users,${suffix}"
161             Username substitution is done via %U:
162               > userHome="/home/%U"
163             ==> smbldap.conf file can now use the samba %U definition
164           . change in smbldap-userdel refuses deleting a home directory that doesn't contain
165             the username, more precisely that doesn't look like /^\/.+\/(.*)$user/
166             This avoids deleting-disasters when the homeDirectory attribute is
167             erroneous set to a wrong value like "/" or "/home".
168           . adds mail-forwarding and mail-alias capabilities (for use by MTAs like sendmail or
169             postfix). Two new options "-M" and "-T" allow specifying mail-aliases and mail-forward
170             addresses in smbldap-useradd and smbldap-usermod. If those options are used, the
171             objectclass "inetLocalMailRecipient" is used
172           . patch to allows adding new mail-aliases (-M), mail-forward addresses (-T) or
173             supplementary groups (-G) without overwriting the existing ones using a syntax like
174                 smbldap-usermod -G +wheel testuser
175             Removing only the specified attributes without deleting all of them works the same way
176             using a syntax like
177                 smbldap-usermod -G -wheel testuser
178           . patch that fixes a small problem when using userHomeDrive without the ":" symbol
179         . test if a user is unique in get_homedir function. Replace the regular expression that check
180           the homeDirectory attribute's value with the exact query response.
181 2004-03-05:
182         . add the displayName attribut when using 'smbldap-groupadd -a'
183         . update smbldap-populate (set the username for the guest account and the
184           administrative account in sambaProfilePath instead of $adminName and $guestName)
185 2004-03-01:
186         . update smbldap-populate to allow setting userHomeDrive="" in configuration file
187 2004-02-22:
188         . it is now possible to delete the following entries with smbldap-usermod :
189           sambaHomePath (option -C), sambaHomeDrive (option -D)
190           sambaLogonScript (option -E) and sambaProfilePath (option -F)
191           ex: smbldap-usermod -C "" user
192         . update documentation
193 2004-02-07: new tag v0-8-4
194         . include documentation in smbldap-tools.spec file
195 2004-01-22:
196         . config.pl: usersdn, groupsdn and computersdn was not updated
197         . config.pl: empty value can be set with the "." caracter
198 2004-01-19:
199         . certificates for TLS support can now be declared in the smbldap.conf
200           configuration file. 4 new options: verify, cafile, clientcert and clientkey
201 2004-01-17:
202         . remove OpenLDAP requirement in smbldap-tools spec file as the LDAP server
203           can be on another computer
204 2004-01-14:
205         . patch to smbldap-populate to not take into account attributes that has a null
206           definition in smbldap.conf (sambaProfilePath and sambaHomePath)
207 2004-01-10:
208         . shadowAccount objectclass added for users account (needed for users on Solaris
209           system to authenticate)
210         . configuration is now split in two files
211           > smbldap.conf : globals parameters
212           > smbldap_bind.conf: connection parameters to the directory
213         . patch in smbldap-password that allow users to use this script to change their
214           own passwords
215 2003-12-29:
216         . new script configure.pl to help setting up the smbldap_conf.pl file
217         . bug: smbldap_conf.pm now allow to set _userSmbHome and _userProfile to a null string
218           to disable homedirectory and roaming profiles
219 2003-12-19:
220         . new option '-i' to smbldap-useradd to create a trust account (domain membership)
221         . rename all scripts: remove the '.pl' 
222 2003-12-11:
223         . new option '-i' to smbldap-populate to import an ldif file
224         . new option '-e' to smbldap-populate to export an ldif file
225 2003-11-18: new tag v0-8-2
226         . new option '-a' to smbldap-usermod.pl that allow adding the sambaSAMAccount
227           objectclass to an existing posixAccount
228 2003-11-07:
229         . patch that allow adding user to a group when the group is in a higher level depth
230           then ou=Groups (for example, ou=grp1,ou=Groups,...)
231         . check the unicity of a group when adding/removing a user to this group
232 2003-10-28:
233         . new option '-p' in smbldap-groupadd.pl to 'print' the gidNumber
234           of the group to STDOUT. This is needed by samba (see the man page)
235 2003-10-19:
236         . new function does_sid_exist that check if samaSID sttribute is already
237           defined for another use or another group
238 2003-10-13:
239         . smbldap-populate.pl now also add the group mapping
240 2003-10-01: new tag v0-8-1
241         . one can now comment the two directives '$_userSmbHome' and '$_userProfile'
242           if you want to use the smb.conf directives instead ('logon home' and
243           'logon path' respectively), or if you want to desable roaming profiles
244         . Patch from Alexander Bergolth <leo@strike.wu-wien.ac.at>: the sambaPrimaryGroupSID
245           of a user is now set to the sambaSID of his primary group
246 2003-09-29:
247         . added new option '$_defaultMaxPasswordAge' in smbldap_conf.pm to specifie
248           how long a password is valid
249         . The '-B' option was not always valid: to force a user to change his password:
250           . the attribut sambaPwdLastSet must be != 0
251           . the attribut sambaAcctFlags must not match the 'X' flag
252         . logon script is set (for every one) to the default '_userScript' value if it is defined 
253         . Patch from Alexander Bergolth <leo@strike.wu-wien.ac.at>:
254           gid-sid group mapping to smbldap-groupadd.pl and smbldap-groupmod.pl
255 2003-09-19: Patch from Marc Schoechlin <ms@LF.net>
256         . load the perl-modules without setting environment-variables or making symlinks
257 2003-09-18: Patch from Alexander Bergolth <leo@strike.wu-wien.ac.at>
258         . options "-u", "-g", "-s" and "-c" are now functionnal
259         . the existence of samba account was made on sambaAccount and
260           not sambaSAMAccount as it should be for samba3
261         . new function read_user_entry to smbldap_tools.pm that returns
262           a Net::LDAP:Entry object of the user
263         . Use this object to get the dn and user attributes instead of
264           producing an ldif and searching for attributes within that ldif
265 2003-09-15:
266         . change machine account creation to not add the sambaSAMAccount objectclass.
267           It is now added directly by samba when joigning the domain
268         . new option in smbldap-usermod.pl: '-e' to set an expire date
269         . Start_tls support activated when ldapSSL is set to 1
270         . Net::LDAP support more scripts
271         . bugs correction
272 2003-09-02:
273         . sambaPwdLastSet is updated when smbldap-passwd.pl is used
274         . add a function is_group_member to test the existence of a
275           user in a particular group
276         . add a function is_unix_user to test if a particular user exist
277         . Net::LDAP support more scripts
278 2003-08-15:
279         . Samba3.0 support
280 2003-08-01:
281         . Final version for samba 2.2.8a (cvs tag SAMBA-2-2-8a-FINAL)
282         . OpenLDAP 2.1 support (only one structural objectclass allowed)
283 2002-07-24: top and account objectclasses replaced with inetorgperson
284 2002-06-03: notes to webmin.idealx.org (idxldapaccounts)
285 2002-06-01: release 0.7. tested with 2.2.4
286 2002-05-31: fixed smbldap-populate compliance to smbldap_conf 
287             cleaned up smbldap_conf to be more readable 
288             some more documentation
289             bugfixes on smbldap-passwd and smbldap-populate
290 2002-05-16: modified default mode on homes: now 700
291 2002-05-13: fixed spec (relocation and reqs)
292 2002-03-02: fixed 2.2.3 sambaAccount bug with smbldap-useradd.pl
293               (rid is now mandatory in the sambaAccount objectClass)
294 2002-02-14: just modified default populate for Administrator
295 2002-02-05: release 0.6. enable/disable user in usermod
296 2002-02-04: release 0.5. added smbldap-migrate-groups to migrate NT groups
297             from a net group dump. added samba parameters to smbldap-useradd
298             and smbldap-usermod.
299 2002-01-12: added smbldap-migrate-accounts to migrate users/machines
300             accounts from a PWDUMP dump
301 2001-12-13: added smbldap-populate to create the initial base
302 2001-12-13: initial release 0.1
303 2001-12-12: fixed the SPEC file for RedHat
304 2001-12-03: cleaned the code and use strict;
305 2001-11-20: initial needs (for testing purpose on Samba-2.2.2 an Samba-TNG)
306
307
308 # - The End