foobar0815 / gosignature Goto Github PK
View Code? Open in Web Editor NEWAn open source reimplementation of Kristof Zerbe's (ZerbIT) "OutlookSignature"
License: GNU General Public License v3.0
An open source reimplementation of Kristof Zerbe's (ZerbIT) "OutlookSignature"
License: GNU General Public License v3.0
If you have e.g. the mobile phone number in the signature, then every employee who doesn't have a phone have an "empty" signature line
Template:
...
Phone: @PHONE@
Mobile: @MOBILE@
E-Mail: @EMAIL@
...
Generated:
...
Phone: 12345678
Mobile:
E-Mail: [email protected]
It would be cool, if this tool removes every line which actual value is empty.
Hi,
I have the problem that the German letters öäü do not show correctly (That comes from the Active Directory)
I have checked that the template is in utf-8. It wasn't. So I changed it, but now the German letters from the template always not shown correctly.
Can someone say me what I do wrong?
At the moment, the available params are not explained in the docs (where I'd look first).
Would be useful to at least have an info about using "-help" to get an usage overview.
At the moment, ini files need to sit below the program's directory: "Settings for -ini are relative to the program's base directory.".
This was confusing me in the beginning (not having read that info, yet).
Therefore, I cannot split program and data which in some cases might be useful.
gosignature should be able to recognize wether an absolute path is used and handle this accordingly.
"Relying on a GPO for setting the default signature on a company wide level should be preferred over the software's approach to manipulate the user's registry."
Could you please link this to some helpful information?
(Was not able to find something useful (and no, not searching for too long ;-) ))
I got this error:
ERROR: LDAP Result Code 206 "Empty password not allowed by the client": ldap: empty password not allowed by the client
With OutlookSignature, it wasn't necessary to explicitly specify LDAP credentials as OutlookSignature was simply using the logged in user's credentials (afaik).
Config looked like this:
LDAPReaderAccountName=
LDAPReaderAccountPassword=
LDAPUserFieldname=sAMAccountName
Would be nice if gosignature could do it the same.
Didn't want to install Go on my laptop, but had a Linux VM available. Thought this might be interesting to others.
According to https://stackoverflow.com/a/74049924/1139088, you will at least need go 1.17 to prevent errors like "undefined: unsafe.Add". These instructions use Debian Bookworm (Debian Bullseye should be possible using the backports repository).
apt install golang-go git
git clone "https://github.com/foobar0815/gosignature.git" && cd gosignature
go mod init gosignature
go get golang.org/x/sys/windows/registry
go get golang.org/x/text/encoding/charmap
go get gopkg.in/ini.v1
go get github.com/go-ldap/ldap/v3
sed -i 's:gopkg.in/ldap.v3:github.com/go-ldap/ldap/v3:' ldap.go
GOOS=windows GOARCH=amd64 go build -o gosignature.exe -ldflags="-s -w"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.