"$" is an invalid character for field Name of workstations
Hi,
The "$" character in the Name of workstations (cn) is necessary for samba-ldap uses. So it would be great to modify the regex that check the characters of the field "Name" during the edition of a workstation.
Here is the error message receive while trying to use a "$": "The Field 'Name' contains invalid characters!!"
Note that LDAP don't care of "$" so it won't cause any backend problem to use "$" in workstation's name.
Here is a exemple of machine entry generated by samba while joining a machine (baramine-pc) to the domain:
dn: uid=baramine-pc$,ou=computers,dc=chjt,dc=be cn: baramine-pc$ uid: baramine-pc$ uidNumber: 2009 gidNumber: 515 homeDirectory: /dev/null loginShell: /bin/false description: Computer gecos: Computer objectClass: posixAccount objectClass: account objectClass: sambaSamAccount sambaLogonTime: 0 sambaLogoffTime: 2147483647 sambaKickoffTime: 2147483647 sambaPwdCanChange: 0 sambaPwdMustChange: 2147483647 sambaAcctFlags: [W ] sambaSID: S-1-5-21-572706182-2104301667-2160542752-5018 sambaPrimaryGroupSID: S-1-5-21-572706182-2104301667-2160542752-515 displayName: baramine-pc$ sambaDomainName: DOMAIN.COM sambaNTPassword: 8168008 sambaPwdLastSet: 1345646785
Cheers,
Baramine
(from redmine: issue id 1259, created on 2012-08-28, closed on 2012-08-29)