Networking :: Ubuntu (lucid) - Clearing/flushing/purging Slapd?
Aug 4, 2010
I'd like to clear the slapd DB so that I could reinstall it from scratch, however, when I remove the package and reinstall it, I still get some items in there.How can I purge/flush/remove everything from slapd?Instructions I follow to do the set up?https://help.ubuntu.com/10.04/server...ap-server.html
View 3 Replies
ADVERTISEMENT
Jul 20, 2010
How do I get ufw to refresh firewall rules after accidentally running iptables -F
View 3 Replies
View Related
Aug 20, 2010
I am setting up LDAP server, i set slapd.conf(dc=proldap,dc=com) and start ldap it is OK but when i check using ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts result is : namingContexts: dc=my-domain,dc=com
it seems that it did not use my slapd.conf so i tried removing my slapd.conf from /etc/openldap and start slapd again and it did start with no errors. and when i do ldapsearch again still uses dc=my-domain,dc=com
I tried searching about this in google and found no answers,
my reference in setting up ldap is the link below. but it seemed that it always uses another configuration not the one i modified
I'm using Fedora12, ldap version 2.4.19. i installed ldap by yum install url
url
View 12 Replies
View Related
Oct 20, 2010
I am trying to setup LDAP server on Ubuntu 10.04 and am sticking to the old /etc/ldap/slapd.conf file configuration.
I had to comment ldapi:/// from /etc/default/slapd since it was giving 'Address already in use error'. Also had to juggle with pid directory and file issues
After that I was able to start the slapd daemon (service slapd start) but now I am running into multiple issues:
1. Can't stop the service with service slapd stop
Code:
## Service stop returns 0, maybe because start-stop-daemon is not giving error
#service slapd stop
Stopping OpenLDAP: slapd.
# echo $?
0
Will switching to BDB database resolve this ?Also can't I slapcat at non-root user ??
View 2 Replies
View Related
May 29, 2011
If I add a rule to iptables:
Code:
iptables -t nat -A POSTROUTING -o eth4 -j MASQUERADE
it does not get removed when I try to clear all the rules:
[code]...
View 4 Replies
View Related
Oct 16, 2010
I'm using Ubuntu 10.04.
I recently modified the nautilus to show the trash icon as it didn't come by default on the Desktop.
I have a problem because the trash keeps showing items in it. When I put my mouse over it it keeps saying "6 items", however, when I open the trash it is totally empty.
Code:
sudo find / -name "Trash"
And couldn't find anything that let me fix this.
View 3 Replies
View Related
Mar 8, 2010
This is actually for my router, but it's linux based, Anyway, I currently have a router running tomato linux firmware and at 30 minute intervals I have it send a log file of bandwidth usage to a network drive.
From there, a program calculates the bandwidth used by each IP by adding up all the totals recorded in the log files. The log files are the output of the router running the command:
Code:
iptables -L traffic_in -vn
What doesn't happen though, which I'd prefer, is that the bandwidth counts inside the router get cleared upon writing each log file. This way, I don't end up counting the same bandwidth use multiple times. So my question is, is there a way to erase/reset the data count in the iptables?
View 3 Replies
View Related
Sep 15, 2010
I had Configured a MySQL Master-Slave replication.It seems that the binary logs steals so much space of My storage.
i.)My Master
show master status;
+------------------+----------+--------------+------------------+
| File | Position | Binlog_Do_DB | Binlog_Ignore_DB |
+------------------+----------+--------------+------------------+
| mysql-bin.000144 | 475823 | | |
+------------------+----------+--------------+------------------+
1 row in set (0.00 sec)
ii.)My Slave.
mysql> SHOW SLAVE STATUSG;
*************************** 1. row ***************************
Slave_IO_State: Waiting for master to send event
Master_Host: 10.277.55.141
[code]....
If i remove all binary files up tp mysql-bin.000144 using "PURGE",will it affect my existing database/any data loss.
View 14 Replies
View Related
Jan 16, 2011
I use Ubuntu server 10.04 I try to install slapd, but i get the following error
Code:
libldap-2.4-2 (= 2.4.21-0buntu5.2) but 2.4.21-0ubuntu5.3 is to be installed
E: Broken packages
And also, when I try to install some other packages such as nagios, squid, .. I get the some list of errors. One of the error say something like
Code:
Failed to fetch http://id.archive.ubuntu.com/ubuntu/pool/main/n/nagios-plugins/nagios-plugins-standard_1.14.14-1ubuntu1_i386.deb Temporary failure resolving 'id.archive.ubuntu.com'
What to do? Should I edit /etc/apt/source.list to point to other repo site?
View 2 Replies
View Related
May 24, 2010
I have slapd-server running but it seems to refuse connections in a very odd way. Wireshark shows that everytime JavaEE-client tries to connect, only 2 packages are sent. As I understand, in tcp/ip protocol, the first is just "hello, who's there". The last is just a message consisting of ACK and RST. I think RST means "we're done". At this point I don't think any credentials are checked so I don't know what could be wrong
View 1 Replies
View Related
Dec 21, 2010
I was trying to run openldap in /usr/local/libexec on ./slapd command.
As usual, it doesn't respond anything which is normal (side qns: can anyone tell me why ./slapd doesn't even return me a status message?)
Then I went on to check ps -ef | grep slapd, but found that the ./slapd was not in process at all (means its not running). If it ran successfully, it should be in my process.
View 3 Replies
View Related
Oct 7, 2010
Can't install slapd (OpenLDAP) server on my laptop running Ubuntu 10.04 (lucid) Gives broken package error
Code:
sudo apt-get install slapd
Reading package lists... Done
Building dependency tree
Reading state information... Done
[Code].....
View 2 Replies
View Related
Aug 6, 2010
Is it possible to set up slapd to authenticate users using a simple name instead of a dn?
View 1 Replies
View Related
Mar 1, 2011
I try to setup OpenLDAP on Debian Squeeze.But it seems the documentation I found is differed than the installation.
Normally I would expect /etc/ldap/slapd.conf as also mentioned at url.However this file does not exists and I got the feeling Debian changes a lot with the default (bit poor if you asked me).Seems they created a LDAP database and put the config in there, correct me if I am wrong?A folder /etc/ldap/slapd.d is created with some config inside. And also a /etc/ldap/ldap.conf does exist.
Is there any documentation on this, and what if I would like to have a flat config in /etc/ldap/slapd.conf?
View 4 Replies
View Related
Jan 29, 2010
I am using Fedora12. I installed the following packages:
openldap-servers-2.4.19-1.fc12.x86_64
openldap-clients-2.4.19-1.fc12.x86_64
openldap-2.4.19-1.fc12.x86_64
db4-4.7.25-13.fc12.x86_64
Where should I dig, what I'm doing wrong ?
View 7 Replies
View Related
Feb 26, 2010
I want to index my openLDAP database without shutting down or stopping by slapd. Is there a way to do that.
I also have master - slave architecture setuped for the replication.
View 4 Replies
View Related
Feb 20, 2010
If I do something to the effect of this:ldapsearch -b "dc=example,dc=com" -x -z 3000
I'll get this back at the end of the result set:
# search result
search: 2
result: 4 Size limit exceeded
The thing is is that I have way more (thousands) than what's being displayed here. And I've tried to mess around with /etc/ldap.conf, changing the SIZELIMIT directive to something else, 10000, let's say, and restarting the server, but the same goddamn thing happens.
I've been messing around with this for quite some time now, hopefully someone will be able to shed some light on this so that I can learn my way out of this mess that is LDAP. Also in a related matter, I'm running Mint (based off of Ubuntu), and all the documentation that I've seen (probably read a good 100+ pages in a few days now on this) keeps telling me to make changes to my slapd.conf file. What slapd.conf file? It doesn't exist, I can't find it at least. find / -name slapd.conf turns up nothing.
View 10 Replies
View Related
Mar 1, 2010
Slapd is up and running perfectly well, and I can add and remove entries without a problem. My OS is the Ubuntu based Mint.
So I was hoping for someone to give me a nudge in the right direction for doing this without a slapd.conf file, or directions for how to force slapd to pay attention to a slapd.conf file whose location I specify.
I've tried messing around with /etc/ldap/ldap.conf to no avail, I've tried just putting in a custom slapd.conf file but slapd doesn't pay attention to it.
And to the best of my knowledge I can't find anything written on this specific topic. I can find plenty on slapd.conf's, but that's just taunting me considering I don't even have it on my system.
View 1 Replies
View Related
Jun 20, 2010
post the code for clearing RAM as cache?
View 2 Replies
View Related
May 12, 2011
How do I clear the ALT+F2 'run a command' history that appears in Ubuntu Natty? The Terminal command I used to use in 10.10 to clear the history no longer works in the new Unity command launcher. I've tried searching within files on my hard drive to see if I can find where the data is stored, but no such luck.
View 3 Replies
View Related
Sep 18, 2010
How do I get rid of the information that Ubuntu stores for connecting to wireless networks?
I'm asking because I have two wireless networks nearby: my personal network and my school's network. I tried one time to connect to the school's network using the standard prompts but none of them worked - however I could connect to my personal network just fine. The problem is that Ubuntu remembered the incorrect information I entered for my school's network and keeps trying to connect to it.
It's annoying because whenever I'm in range of both networks I keep having to manually tell it to stop connecting to my school's network and to connect to my personal one instead.
View 2 Replies
View Related
Oct 17, 2010
Is there any way to clear the list of recent folders when you click Move or Copy on an image in gThumb? It's gotten way too big, so now it's not really helpful at all, with folders I don't even use.
View 1 Replies
View Related
Apr 15, 2011
Ubuntu 11.04 Removing History. In the new 11.04 on the apps doc panel on the left hand side there is a button called "Files & Folders", when clicked on it brings up.
recent
downloads
favorites
Is there a way to clear the history, maybe disable it altogether or at the very least limit the amount of history it retains?
View 1 Replies
View Related
Jul 1, 2011
a few days ago i set my FoxyProxy settings to tor. I needed it to make a few raid boards on 4chan and those can get you banned if you post.
So anyways, i go on this forum about a phone and i accidentally refreshed the page, but i haven't switched from proxy to my default settings and so all of a sudden a message appeared "Sorry, ###### you are banned from this forum."
I tried clearing cache, cookies and whatnot through firefox' options but still i get that message, i installed Midori for a quick test and it seems to work there (I'm not banned) but never on firefox, even rebooted and still nothing.
I really hate the ads with Midori as i use Adblock for firefox.
View 5 Replies
View Related
May 1, 2010
I just upgraded to 10.04, and it seems to be working well. At the very end of the process, it asked me if I wanted to delete my obsolete packages, and I chickened out and said "no". Now I have a truckload of taken space on the root drive, and am wondering if there is an easy way to complete this last step of clearing out obsolete packages now that 10.04 has been fully installed?
View 2 Replies
View Related
Sep 27, 2010
my current plan is to create a truecrypt container with the whirlpool hash. This container will be located on a hdd that is not where my OS will be located (so a separate physical sata drive).My concern is when this container is accessed, that some of the password information could be stored in my swap partition (which is on the main drive where the OS "/" is located)
I would like to have a script or command I could run that after I unmount those drives (or just halt the system) that my swap (and ram too if possible) could be wiped (or like overwritten with the shred command). Also, am I going about this the right way, or should I just use truecrypts FDE on the entire drive? In addition, when Ubuntu does it's default install, does it create a swap file in addition to a swap partition? If it does, would that be another vulnerability? If it is, how do I prevent this from happening?
I welcome any input you have on this. I am aware that once the drive is mounted, it is vulnerable, but I want the data to be secure as possible once my computer is turned off. Also, I have read that there are ram exploits where it holds your passwords for up to a few minutes after you turn the machine off, does anyone know how long that it and is there a way to clear it, or will only time let it fade?
View 1 Replies
View Related
Aug 13, 2010
I came across this article: [URL] while looking for a way to clear my BIOS password. I wonder if this is possible with gdb? I've had no luck by trying "output x70 2e" and "output 70 2e", the former asks for a symbol table to be loaded.
View 3 Replies
View Related
Jan 19, 2009
How to clear log files, also how to clear log files on boot.
View 3 Replies
View Related
Dec 27, 2010
I've been using cron to clear /tmp at boot time but thought I'd try another method. After doing a little research I added the following line:
Code:
( cd /tmp && rm -rf -- * .* 2>/dev/null )
to /etc/rc.d/rc.S immediately after:
Code:
# Done checking root filesystem
And /tmp is not clearing out at boot time. This method seems to work for others.
View 14 Replies
View Related
Aug 27, 2011
My other PC has ground to a halt as the tmp file is full: "/tmp out of disk space" & "KDE unable to start". I have scoured commands and can't find how to clear all the junk apart from move it somewhere else.
View 5 Replies
View Related