Entries from September 2010 ↓

Zend_db

Zend Framework logoThe last few days I’ve been spending my time on creating a website with Zend Framework. A lot of it I liked but the Zend_db stuff is is a complicated piece of crap. I’ve worked with a lot of ORM’s and db api’s but the Zend_db stuff is really the most awfull I’ve had till now.

I really, really don’t want to work with it ever again and I regret that I chose ZF for this particular project just because of the db layer.

Don’t wat to type any explanation

[global]
security = ads
realm = LAB.EXAMPLE.COM
password server = 10.0.0.1
# note that workgroup is the 'short' domain name
workgroup = LAB
#       winbind separator = +
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
template homedir = /home/%D/%U
template shell = /bin/bash
client use spnego = yes
client ntlmv2 auth = yes
encrypt passwords = yes
winbind use default domain = yes
restrict anonymous = 2

security = ads
realm = TIM-ONLINE.NL
password server = 10.76.122.21
workgroup = TIM-ONLINE
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
template homedir = /home/%D/%U
template shell = /bin/bash
client use spnego = yes
client ntlmv2 auth = yes
encrypt passwords = yes
winbind use default domain = yes
winbind use default domain = yes
winbind refresh tickets = yes

netbios name = concepts
netbiosname = concepts

#Vista compatibliyy
client schannel = Auto
server schannel = Auto

sudo /etc/init.d/winbind stop
sudo /etc/init.d/smbd restart
sudo /etc/init.d/winbind start

net ads join -U administrator

/etc/init.d/winbind restart

wbinfo -u
wbinfo -g

file: /etc/pam.d/common-session

session required pam_unix.so
session required pam_mkhomedir.so umask=0022 skel=/etc/skel