import os
os.putenv('URE_BOOTSTRAP','vnd.sun.star.pathname:/usr/lib/ooo-3.0/program/fundamentalrc')
Otherwise both scripts will throw out the following error:
AttributeError: loadComponentFromURL
import os
os.putenv('URE_BOOTSTRAP','vnd.sun.star.pathname:/usr/lib/ooo-3.0/program/fundamentalrc')
AttributeError: loadComponentFromURL
default="linux"
boot=/dev/md0
map=/boot/map
install=menu
keytable=/boot/us.klt
raid-extra-boot=mbr-only
menu-scheme=wb:bw:wb:bw
compact
prompt
nowarn
timeout=10
message=/boot/message
#disk=/dev/sdb bios=0x80
image=/boot/vmlinuz
label="linux"
root=/dev/md0
initrd=/boot/initrd.img
append="scsi_mod.scan=sync"
chroot /mnt/newsys
mount /proc
lilo -H
Ref:
Lilo.conf man page
AuthType basic
AuthName "Restricted area"
AuthBasicProvider ldap
AuthLDAPBindDN "uid=ldap,dc=example,dc=com"
AuthLDAPBindPassword secret
AuthLDAPURL "ldap://server/ou=people,dc=example,dc=com?uid?one"
Require valid-user
$acl->insertUserRole($acl->get_group_id('anon'), $this->user_id);
$acl->insertUserRole($acl->get_group_id('normal'), $this->user_id);
DAV svn
SVNParentPath /home/apps/svnrepo
SVNListParentPath on
Order deny,allow
Deny from all
allow from 192.168.
AuthType basic
AuthName "Restricted area"
AuthBasicProvider ldap
AuthLDAPBindDN "uid=ldap,dc=example,dc=com"
AuthLDAPBindPassword secret
AuthLDAPURL "ldap://server/ou=people,dc=example,dc=com?uid?one"
Require valid-user
# SLAPD URL list
SLAPDURLLIST="ldap:/// ldaps:/// ldapi:///"
pref("capability.policy.policynames", "localfilelinks");
pref("capability.policy.localfilelinks.sites", "http://examples.com");
pref("capability.policy.localfilelinks.checkloaduri.enabled", "allAccess");
passdb backend = ldapsam:ldap://127.0.0.1/
#Specifies the base for all ldap suffixes and for storing the sambaDomain object
ldap suffix = dc=examples,dc=com
ldap ssl = off
ldap user suffix = ou=People
ldap group suffix = ou=Group
ldap machine suffix = ou=Hosts
ldap delete dn = no
ldap admin dn = cn=manager,dc=examples,dc=com
# You will need to give samba the password for this dn, by
# running 'smbpasswd -w mypassword'
objectClass: sambaSamAccount
sambaAcctFlags: [U ]
sambaLMPassword: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
sambaNTPassword: yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
sambaPwdLastSet: 1222817828
sambaSID: S-YYY-ZZZ
System error 1907 has occurred.
The user's password must be changed before logging on the first time.
If the pwdInHistory attribute of the Password policy under cn=default,ou=password policies is set and a user is trying to change his password to one stored in history in windows, he'll receive an error message like the following:Your password must be at least x characters; cannot repeat any of your previous x passwords; must contain capitals, numerals or punctuation; and cannot contain your account or full name. Please type a different password. Type a password which meets these requirements in both text boxes.