Samba AD DC Troubleshooting

From SambaWiki
Revision as of 05:15, 13 December 2012 by Rixter (talk | contribs) (Created page with "= Making pastebin easy = First thing, if you are asking for samba help, you may be asked for logs, configs, exact error messages, or a variety of other things. I use a program ca…")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Making pastebin easy

First thing, if you are asking for samba help, you may be asked for logs, configs, exact error messages, or a variety of other things. I use a program called pastebinit which can be installed on Ubuntu using apt-get install pastebinit.

I have setup a config in my users home directory called .pastebinit.xml and it contains the following:

<pastebinit>
	<pastebin>http://paste.ubuntu.com</pastebin>
	<author>IRC_Nick</author>
	<format>text</format>
</pastebinit>

change IRC_Nick to your IRC nickname. You can find out more at [1] including other sites pastebinit works with.

After this is setup, if someone asks you for a config file, you can simply type pastebinit some.cfg and it will return a link the other use can use to see your pastebin. If you are trying to capture an error you may use something like samba-tool domain provision 2>&1 | pastebinit