Monday, June 10, 2013

Tuesday, June 4, 2013

Netlogon Log File Error Codes

Netlogon Log File Error Codes

Each event in the Netlogon log contains a corresponding error code. The following table describes these error codes.
Table 3 Netlogon Log Error Codes


Log Code Description
Successful login
The specified user does not exist
The value provided as the current password is not correct
Password policy not met
The attempted logon is invalid due to a bad user name
User account restriction has prevented successful login
The user account has time restrictions and may not be logged onto at this time
The user is restricted and may not log on from the source workstation
The user account's password has expired
The user account is currently disabled
Insufficient system resources
The user's account has expired
User must change his password before he logs on the first time
The user account has been automatically locked

Sunday, April 7, 2013

Samba File Server

sudo apt-get install samba
sudo cp -p smb.conf smb.conf.ori 
   workgroup = EXAMPLE
   security = user   # I don't use this
    comment = Ubuntu File Server Share
    path = /srv/samba
    browsable = yes
    guest ok = yes
    read only = no
    create mask = 0755
    comment = Ubuntu File Server Share
    path = /srv/transmission
    browsable = yes
    guest ok = yes
    read only = no
    create mask = 0775 
sudo mkdir -p /srv/samba
sudo chown nobody.nogroup /srv/samba

sudo restart smbd
sudo restart nmbd  

Saturday, April 6, 2013


sudo apt-get install transmission-daemon

sudo mkdir -p /srv/transmission/downloading
sudo mkdir -p /srv/transmission/seeding
sudo mkdir -p /srv/transmission/watch
sudo mkdir -p /srv/transmission/complete
sudo usermod -a -G debian-transmission chris
sudo chown -R debian-transmission:debian-transmission /srv/transmission

sudo chmod 775 /srv/transmission/*
cd /etc/transmission-daemon
sudo cp -p settings.json settings.json.ori
sudo vi settings.json

    "alt-speed-down": 500,
    "alt-speed-enabled": false,
    "alt-speed-time-begin": 480,
    "alt-speed-time-day": 127,
    "alt-speed-time-enabled": false,
    "alt-speed-time-end": 0,
    "alt-speed-up": 10,
    "bind-address-ipv4": "",
    "bind-address-ipv6": "::",
    "blocklist-enabled": false,
    "blocklist-url": "",
    "cache-size-mb": 4,
    "dht-enabled": true,
    "download-dir": "/srv/transmission/seeding",
    "download-limit": 100,
    "download-limit-enabled": 0,
    "encryption": 2,
    "idle-seeding-limit": 30,
    "idle-seeding-limit-enabled": false,
    "incomplete-dir": "/srv/transmission/downloading",
    "incomplete-dir-enabled": true,
    "lazy-bitfield-enabled": true,
    "lpd-enabled": false,
    "max-peers-global": 200,
    "message-level": 2,
    "open-file-limit": 32,
    "peer-congestion-algorithm": "",
    "peer-limit-global": 240,
    "peer-limit-per-torrent": 60,
    "peer-port": 44435,
    "peer-port-random-high": 20599,
    "peer-port-random-low": 20500,
    "peer-port-random-on-start": false,
    "peer-socket-tos": "default",
    "pex-enabled": true,
    "port-forwarding-enabled": false,
    "preallocation": 1,
    "prefetch-enabled": 1,
    "proxy": "",
    "proxy-auth-enabled": false,
    "proxy-auth-password": "",
    "proxy-auth-username": "",
    "proxy-enabled": false,
    "proxy-port": 80,
    "proxy-type": 0,
    "ratio-limit": 0.2500,
    "ratio-limit-enabled": true,
    "rename-partial-files": true,
    "rpc-authentication-required": false,
    "rpc-bind-address": "",
    "rpc-enabled": true,
    "rpc-password": "{344d5fb95fa67ba00ccb188d79809bee0957b674fAWT0o9G",
    "rpc-port": 9091,
    "rpc-url": "/transmission/",
    "rpc-username": "transmission",
    "rpc-whitelist": ",192.168.88.*",
    "rpc-whitelist-enabled": true,
    "script-torrent-done-enabled": false,
    "script-torrent-done-filename": "",
    "speed-limit-down": 5120,
    "speed-limit-down-enabled": true,
    "speed-limit-up": 512,
    "speed-limit-up-enabled": true,
    "start-added-torrents": true,
    "trash-original-torrent-files": false,
    "umask": 2,
    "upload-limit": 100,
    "upload-limit-enabled": 0,
    "upload-slots-per-torrent": 4,
    "utp-enabled": true,
    "watch-dir": "/srv/transmission/watch",
    "watch-dir-enabled": true

$ sudo service transmission-daemon reload 
   $ sudo service transmission-daemon restart

transmission-daemon -p 9091 -f -T     

update to new version

sudo aptitude install software-properties-common
sudo add-apt-repository ppa:transmissionbt/ppa