LDAP statistics

2008-08-12 Thread Frederik

Hello again.
Is there an easy way to get some statistics on who has logged in to the 
system - preferably by email?

rgds.
Frederik Borg
(Rudolf Steiner Skolen i København)


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: LDAP statistics

2008-08-12 Thread Petter Reinholdtsen
[Frederik]
> Hello again.
> Is there an easy way to get some statistics on who has logged in to
> the system - preferably by email?

This one-liner will fetch how many have logged in so far from the auth
log:

  grep 'session open' /var/log/auth.log | grep "^$(date +"%b %e")" | \
grep -v CRON | egrep -v 'root|munin|daemon|nobody'| \
rev | awk '{print $3}' | rev | sort -u | wc -l

Perhaps you can use it as a starting point?

Happy hacking,
-- 
Petter Reinholdtsen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Storing OpenLDAP configuration in LDAP...

2008-08-12 Thread Petter Reinholdtsen
One of the long term issues with Debian Edu has been the need to
modify the configuration files of openldap/slapd, to get our
configuration.  In a discussion on debian-devel@, I came across a
reference to a new feature in OpenLDAP 2.4, the cn=config feature.

If I am not mistaken, it allow us to store the configuration in the
LDAP database, thus avoiding having to edit the slapd.conf file
directly.

Anyone know how this work?  I found
http://www.zytrax.com/books/ldap/ch6/slapd-config.html> with some
information about it, but have not had time to look into it yet.

Happy hacking,
-- 
Petter Reinholdtsen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



No Login at Thin-Client

2008-08-12 Thread Andreas Lenk
Hello,

i have a problem with my Skole-Linux-Server.
I had installed the Main-Server and the Terminal-Server on one physical
machine.
One NIC goes to 10.0. net and the other one to 192.168.0. subnet
(thin-client-subnet).

The Thin-Clients boot from the Server and everything is fine, but i cannot
login.
If I want to login with an ldap account, there comes "login failed".
If I move my /etc/passwd-file to /opt/ltsp/i386, I can log in but the comes
the failure "Cannot open kstartupconfig".

I suppose theres something with the ldap-Server (I said the lwat wich
machines are here).
But on the other site the client did not mount his HOME-Directory.

Can anybody help, please?

Kings Andreas


Lenny installer broken for Debian Edu (partman-base/parted_server missing libparted-1.7.so.1)

2008-08-12 Thread Petter Reinholdtsen
Hi.  A few days now, the Debian Edu netinst CD has been broken, and
unable to install.  I had a look at why just now, and the problem is
related to libparted.

When main-menu select partman-base, this message is printed in the
log:

  parted_server: error while loading shared libraries:
  libparted-1.7.so.1: cannot open shared object file: No such file or
  directory

The library is missing in the d-i environment.  Is there some version
skew, or some udeb missing, or something else?  What can I do to solve
it?

Happy hacking,
-- 
Petter Reinholdtsen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Lenny installer broken for Debian Edu (partman-base/parted_server missing libparted-1.7.so.1)

2008-08-12 Thread Petter Reinholdtsen
[Petter Reinholdtsen]
> The library is missing in the d-i environment.  Is there some
> version skew, or some udeb missing, or something else?  What can I
> do to solve it?

I was just told on IRC that this is already reported,
http://bugs.debian.org/494532 >.  I see it is already being
worked on, and guess we will just have to be patient.

Happy hacking,
-- 
Petter Reinholdtsen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: No Login at Thin-Client

2008-08-12 Thread Petter Reinholdtsen
[Andreas Lenk]
> Can anybody help, please?

This sound like the users home directory was not created yet when you
tested.  It take some time (~15 minutes) from it is created in LDAP
until the home directory is created on disk.  Could this be the
problem?

Happy hacking,
-- 
Petter Reinholdtsen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Lenny installer broken for Debian Edu (partman-base/parted_server missing libparted-1.7.so.1)

2008-08-12 Thread Martin Michlmayr
* Petter Reinholdtsen <[EMAIL PROTECTED]> [2008-08-12 17:19]:
> Hi.  A few days now, the Debian Edu netinst CD has been broken, and
> unable to install.  I had a look at why just now, and the problem is
> related to libparted.
> 
> When main-menu select partman-base, this message is printed in the
> log:
> 
>   parted_server: error while loading shared libraries:
>   libparted-1.7.so.1: cannot open shared object file: No such file or
>   directory

This is http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494532

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Allow debian-edu-install to propagate to testing

2008-08-12 Thread Otavio Salvador
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Petter Reinholdtsen <[EMAIL PROTECTED]> writes:

> [Petter Reinholdtsen]
>> Since the upload we have discovered and fixed some bugs in the
>> package, which are currently being tested in the Debian Edu
>> repository.  We will need at least another update before Lenny is
>> released, and hope it can be accepted too.  We will get back to you
>> about this.
>
> I guess now is a good time to get back to you about this.  The version
> in unstable is the one we have been testing in Debian Edu the last few
> days, and it seem to work fine.  It contain a code move to put it at
> the correct location in the installer, and a rename of the d-i hooks
> to make sure the makes reflect their position in the d-i sequence to
> make sure I do not put code in the wrong location again, and finally
> fix one leftover code part failing to use a HTTP proxy.  I also added
> some cosmetic changes to speed up the installation and get more fine
> grained information from etcinsvk, but those are not very important.
> This is the changelog:

No objection

- -- 
O T A V I OS A L V A D O R
- -
 E-mail: [EMAIL PROTECTED]  UIN: 5906116
 GNU/Linux User: 239058 GPG ID: 49A5F855
 Home Page: http://otavio.ossystems.com.br
- -
"Microsoft sells you Windows ... Linux gives
 you the whole house."
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8+ 

iEYEARECAAYFAkih0NsACgkQLqiZQEml+FUjigCgifgfHRzYsnqC2cCSmHy2jr09
gCEAn2kTb9MSeoVvNhqHhSkD6uL1TNZ7
=gNSb
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: No Login at Thin-Client

2008-08-12 Thread RalfGesellensetter
Am Dienstag 12 August 2008 schrieb Petter Reinholdtsen:
> This sound like the users home directory was not created yet when you
> tested.  It take some time (~15 minutes) from it is created in LDAP
> until the home directory is created on disk.  Could this be the
> problem?

Yes, please check if /skole/tjener/home0/$USERNAME does exist. 

Good luck,
Ralf

P.S.: Be welcome, as this seems to be your first posting on this list!
As soon as your lab is up and running, we'll be eager to know some 
information about the geography of your school ;)


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: No Login at Thin-Client

2008-08-12 Thread Andreas Lenk
>
> Am Dienstag 12 August 2008 schrieb Petter Reinholdtsen:
>
> > This sound like the users home directory was not created yet when you
> > tested.  It take some time (~15 minutes) from it is created in LDAP
> > until the home directory is created on disk.  Could this be the
> > problem?
>
>
> Yes, please check if /skole/tjener/home0/$USERNAME does exist.


Thanks Ralf and Petter.
The Home-Directory exists.
Does it matter at wich IP-Adress the LDAP-Server works? (10.0. or 192.168.)?

All the best, Andreas


Re: No Login at Thin-Client

2008-08-12 Thread RalfGesellensetter
Am Dienstag 12 August 2008 schrieb Andreas Lenk:
> Does it matter at wich IP-Adress the LDAP-Server works? 
?

LDAP should be running at 10.0.2.2 (tjener)
Thin clients are connected to your 192.168.0 net.

Is it possibly necessary to add the thin client server to netgroups? I 
doubt it as it is a combiserver.

Please try non-KDE login (icewm, shell). This will work in most cases 
and reveal what's wrong with ~/. (access rights? - disk full?)

Regards
Ralf



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Allow debian-edu-install to propagate to testing

2008-08-12 Thread Petter Reinholdtsen

[Petter Reinholdtsen]
> Since the upload we have discovered and fixed some bugs in the
> package, which are currently being tested in the Debian Edu
> repository.  We will need at least another update before Lenny is
> released, and hope it can be accepted too.  We will get back to you
> about this.

I guess now is a good time to get back to you about this.  The version
in unstable is the one we have been testing in Debian Edu the last few
days, and it seem to work fine.  It contain a code move to put it at
the correct location in the installer, and a rename of the d-i hooks
to make sure the makes reflect their position in the d-i sequence to
make sure I do not put code in the wrong location again, and finally
fix one leftover code part failing to use a HTTP proxy.  I also added
some cosmetic changes to speed up the installation and get more fine
grained information from etcinsvk, but those are not very important.
This is the changelog:

debian-edu-install (0.673) unstable; urgency=low

  * Move upgrade calls from debian-edu-add_local_apt to pre-pkgsel.d,
to make sure sources.list is updated before trying to upgrade.
  * Rename d-i hook scripts to use the name of their .d directory
as file name to make it easier to predict when a script will execute,
and avoid mistakes like the above in the future.
  * Make sure to activate etcinsvk as soon as possible, imediately after
the base system is installed, to be able to track where changes
come from.
  * Drop redundant 'aptitude update' from post-base-installer.  It is
also executed in pre-pkginst.
  * Make sure http_proxy is set when calling aptitude and cfengine, to
make sure both use a proxy when it is required.

 -- Petter Reinholdtsen <[EMAIL PROTECTED]>  Mon,  4 Aug 2008 20:54:53 +0200

The changes can be seen in
http://svn.debian.org/wsvn/debian-edu/trunk/src/debian-edu-install/?rev=0&sc=0 
>.

The release in Lenny is revision 44697, and the one in unstable is
revision 45670.

Happy hacking,
-- 
Petter Reinholdtsen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Allow debian-edu-install to propagate to testing

2008-08-12 Thread Luk Claes

Petter Reinholdtsen wrote:

[Petter Reinholdtsen]

Since the upload we have discovered and fixed some bugs in the
package, which are currently being tested in the Debian Edu
repository.  We will need at least another update before Lenny is
released, and hope it can be accepted too.  We will get back to you
about this.


I guess now is a good time to get back to you about this.  The version
in unstable is the one we have been testing in Debian Edu the last few
days, and it seem to work fine.  It contain a code move to put it at
the correct location in the installer, and a rename of the d-i hooks
to make sure the makes reflect their position in the d-i sequence to
make sure I do not put code in the wrong location again, and finally
fix one leftover code part failing to use a HTTP proxy.  I also added
some cosmetic changes to speed up the installation and get more fine
grained information from etcinsvk, but those are not very important.


unblocked

Cheers

Luk


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]