You are looking at posts in the category Uncategorized.
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Oct | ||||||
| 1 | 2 | |||||
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| 10 | 11 | 12 | 13 | 14 | 15 | 16 |
| 17 | 18 | 19 | 20 | 21 | 22 | 23 |
| 24 | 25 | 26 | 27 | 28 | 29 | 30 |
As usual I’m allways visite my blog to read the manual from samba, because i had always got the problem from samba. So i wrote the documentation, I know I will have to come back here to find it hehehe
The following steps describe how to make Samba PDC users members of the Domain Admins group.
1. Create a UNIX group (usually in /etc/group); let’s call it domadm.
2. Add to this group the users that must be “Administrators”. For example, if you want joe, john, and mary to be administrators, your entry in /etc/group will look like this:
3. Map this domadm group to the “Domain Admins” group by executing the command:
The quotes around “Domain Admins” are necessary due to the space in the group name. Also make sure to leave no white space surrounding the equal character (=).
Now at firefox 3 does not user cookies.txt, they are use cookies.sqlite, if you use wget or curl command to download with cookies, may you must convert cookies.sqlite to cookies.txt, just copy and paste this scipt, and the script will be convert your cookies.sqlite to cookies.txt.
#!/usr/bin/python
import sqlite3 as db
import sys
cookiedb = ‘/home/henry/.mozilla/firefox/pj8×7vu3.default/cookies.sqlite’
targetfile = ‘/home/henry/kuki-.txt’
what = sys.argv[1]
connection = db.connect(cookiedb)
cursor = connection.cursor()
contents = “host, path, isSecure, expiry, name, value”
cursor.execute(”SELECT ” +contents+ ” FROM moz_cookies WHERE host LIKE ‘%” +what+ “%’”)
file = open(targetfile, ‘w’)
index = 0
for row in cursor.fetchall():
file.write(”%s\tTRUE\t%s\t%s\t%d\t%s\t%s\n” % (row[0], row[1],
str(bool(row[2])).upper(), row[3], str(row[4]), str(row[5])))
index += 1
print “Gesucht nach: %s” % what
print “Exportiert: %d” % index
file.close()
connection.close()
save this script as export-firefox-cookies.py and run with command
./export-firefox-cookies.py rapidshare
Source : http://blog.schlunzen.org/2008/06/19/firefox-3-und-cookiestxt/