4th pic try 
4th pic try 
I was looking around and found this I have it in a pic for you. Is the pic what the log is talking about
Jul 1 20:24:24 Therese slapd[10953]: bdb(dc=nodomain): PANIC: fatal region error detected; run recovery
so how do i fix the error. I need a step by step for dummies.
found this at https://help.ubuntu.com/11.04/serverguide/C/openldap-server.html is this what I need for apparmor to work right?
The AppArmor profile for slapd will need to be adjusted for the accesslog database location. Edit /etc/apparmor.d/usr.sbin.slapd adding:
/var/lib/ldap/accesslog/ r,
/var/lib/ldap/accesslog/** rwk,
Then create the directory, reload the apparmor profile, and copy the DB_CONFIG file:
sudo -u openldap mkdir /var/lib/ldap/accesslog
sudo -u openldap cp /var/lib/ldap/DB_CONFIG /var/lib/ldap/accesslog/
sudo /etc/init.d/apparmor reload
bdb(dc=nodomain): PANIC: fatal region error detected; run recovery
So how do I run recovery?
lance@Therese:/var/log$ sudo /etc/init.d/slapd status
* slapd is running
I followed the http://tuxnetworks.blogspot.com/2010...cid-short.html
guid so if it said to intall I installed it. and it said to install
sudo apt-get install slapd ldap-utils libpam-smbpass smbldap-tools ldap-auth-client
I installed them when the guid told me to install them. any idea as to why this is being a pain? I don't get why they are not talking to one another. I have the firewall turned off tell i can get this working I have attached the slapd log from from the
cat syslog | grep slapd > /tmp/slapd-log.txt
command [file name=slapd_log.zip size=4057]http://www.linux.com/media/kunena/attachments/legacy/files/slapd_log.zip[/file]
I looked at http://erikberg.com/notes/pgina.html for how to set up windows
used
https://help.ubuntu.com/11.04/serverguide/C/openldap-server.html#openldap-server-acl
to set up tls and ssl
Not working
lance@Therese:/var/log/samba$ sudo gedit /etc/default/slapd
SLAPD_SERVICES="ldap://127.0.0.1:389/ ldaps:///192.168.2.7:636 ldapi:///"
I have tried ports 389 and 636 also have tried on ports. it will not work
I get the error wrong passwd and user name
lance@Therese:/var/log/samba$ ldapsearch -xLLL -b "dc=lbermudez,dc=net" uid=leanne
dn: uid=leanne,ou=Users,dc=lbermudez,dc=net
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: shadowAccount
objectClass: sambaSamAccount
cn: leanne
sn: leanne
givenName: leanne
uid: leanne
uidNumber: 1002
gidNumber: 513
homeDirectory: /home/leanne
loginShell: /bin/bash
gecos: System User
sambaLogonTime: 0
sambaLogoffTime: 2147483647
sambaKickoffTime: 2147483647
sambaPwdCanChange: 0
displayName: leanne
sambaSID: S-1-5-21-309243541-3266719748-2493639525-3004
sambaPrimaryGroupSID: S-1-5-21-309243541-3266719748-2493639525-513
sambaLogonScript: allusers.bat
sambaProfilePath: "."
sambaHomePath: "."
sambaHomeDrive: ".":
sambaLMPassword: 83BBB23C5A82EEA27A1555FFAFE3FA0A
sambaAcctFlags: [U]
sambaNTPassword: B329C5D4F278EC8752336F65E99F6DE0
sambaPwdLastSet: 1308897542
sambaPwdMustChange: 1312785542
shadowLastChange: 15149
shadowMax: 45 
I followed this guid at
http://tuxnetworks.blogspot.com/2010/07/howto-samba-ldap-on-1004-lucid-short.html
I have samba and ldap working so how do i add windows 7 to the samba domain controler? He has a guid on how to add the other linux boxes to the pdc put not windows as far as i can tell that is. I looked at
https://help.ubuntu.com/10.04/serverguide/C/samba-dc.html
put do not know where to use
sudo net groupmap add ntgroup="Domain Admins" unixgroup=sysadmin rid=512 type=d
I have admin but no sysadmin on my linux box. Could I just use a admin user say JohnDoe to add windows to the domain? Do I use this command on linux box or the windows? I get an error when i try it on linux. also what is this for
net rpc rights grant "EXAMPLE\Domain Admins" SeMachineAccountPrivilege SePrintOperatorPrivilege \
SeAddUsersPrivilege SeDiskOperatorPrivilege SeRemoteShutdownPrivilege
It does not work either.
Hi I need to know how to set up network Authentication with ubuntu and windows machines. I have one ubuntu 1104 machine as proxy,dns,samba servers. Windows machaines need to be able to have their samba shares come up when the windows user logs on also need this for the other ubuntu boxes to. How do I do this? A gui would be good to would make thing easyer for me. also how do I use samba as a domain controler for the windows boxes? this is a small home/office network. Someone told me to set up a OpenLDAP Server would that work? again how do you do that with a gui for the user and how do i use samba as a domain controler for my ubuntu and windows hosts.
computers
1 ubuntu 1104
1 lubuntu 1104
1 ubuntu 1004
1 windows 7
1 windows xp
severs on ubuntu only
proxy ip 1.2.3.7
dns ip 1.2.3.7
samba ip 1.2.3.7
samba smb.conf
# Samba config file created using SWAT
# from UNKNOWN (W)
# Date: 2010/06/13 22:20:03
[global]
workgroup = LBERMUDEZ
server string = %h server (Samba, Ubuntu)
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
valid users = lance
write list = lance
[music]
path = /home/lance/Music
write list =
guest ok = Yes
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No
browsable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
[acer]
path = /home/lance/500gb/mombackup
read only = No
[music]
path = /home/lance/Music
write list =
guest ok = Yes
how can i get ps to show a user say user with status pid ppid and only for user and not jonsmith or root
I like d4x but can not seem to find it in the new ubuntu 11.04 with apt-get install d4x I like d4x becuse it will let me control my download speed. So I got board and used zenity with wget and it still not perfect (I have poor programing skills). So fell free to use it if you need it. I just ask that you post the changes here so I can see what you did (learn from you the experts).
#!/bin/bash
wgeturl=$(zenity --entry --text="enter url");
zenity --info --text "Choose speed limit";
szlimitspeed=$(zenity --entry --text="1024k low 10240k med 0k unlimited");
zenity --info --text "Choose file save destination";
szSavePathto=$(zenity --file-selection --multiple --save --confirm-overwrite);
cd $szSavePathto
wget -c --limit-rate=$szlimitspeed $wgeturl | (if `zenity --progress --text="downloading" --percentage=1 --auto-close`;
then
echo 'download Job completed'
else
killall wget
exit
fi)
mplayer -xy 2 -shuffle -playlist video.txt
thank you for your help
The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.
Join / Linux Training / Board