Tuesday, April 19, 2011

Samba without Password

vim /etc/samba/smb.conf

Change it to :>

# security = user
security = share

also remove the semicolon from the below line.

guest account = nobody
guest ok = yes
guest only = yes
path = /Path to ABC Project
read only = yes
browseable = yes

[Share name]
writable = yes
path = /path/to/directory
public = yes
guest ok = yes
guest only = yes
guest account = nobody
browsable = yes

save and exit

/etc/init.d/samba restart

that's all.

Tuesday, April 5, 2011

Active Directory and DNS Health Check

Dcdiag.exe /v >> c:\Reports\pre_dcdiag.txt

This is a must and will always tell you if there is trouble with your DCs and/or services associated with it

Netdiag.exe /v >> c:\Reports\pre_Netdiag.txt

This will let me know if there are issues with the networking components on the DC.

Netsh dhcp show server >> c:\Reports\pre_dhcp.txt

Some may not do this but I've felt the pain of a DHCP server somehow not being authorized after a patch. This allows me verify the server count and names.

Repadmin /showreps >> c:\Reports\pre_rep_partners.txt

This shows all my replication and if it was successful or not. Just be aware that Global Catalogs will have more info here than a normal domain controller.

repadmin /replsum /errorsonly >> c:\Reports\pre_repadmin_err.txt

This is the one that always takes forever but will let you know who you are having issues replicating with.

DNSLINT is a good tool for checking your DNS




Risk and Health Assessment Program for Active Directory (ADRAP) – Scoping Tool v1.6


Microsoft Assessment and Planning Toolkit

Microsoft Baseline Security Analyzer 2.2 (for IT Professionals)

Microsoft Exchange Best Practices Analyzer v2.8

Microsoft Active Directory Topology Diagrammer

Microsoft Office Visio 2007 Professional Add-In for Rack Server Virtualization (Virtual Rack)

Remote Server Administration Tools for Windows 7

Microsoft Exchange Server User Monitor