Bug#718865: Update and minimize /etc/samba/smbldap-machineadd-gosa

2015-10-14 Thread Mike Gabriel
Hi Petter, hi all, On Di 20 Aug 2013 18:34:29 CEST, Petter Reinholdtsen wrote: [Arne Sørli] When testing on a fresh install of cd-wheezy-test-usbstick/debian-edu-amd64-i386-BD-1.iso, timestamp 2013-08-17 16:30, I discovered that joining the domain still does not work. Please try again with

Bug#718865: Update and minimize /etc/samba/smbldap-machineadd-gosa

2013-08-21 Thread Arne Soerli
[Petter Reinholdtsen] > Please try again with the wheey-test iso. I fixed a bug in the samba > SID handling this morning, and it solve another problem with samba. I > hope it solve your problem too. With cd-wheezy-test-usbstick/debian-edu-amd64-i386-BD-1.iso, timestamp 2013-08-20, I was able to

Bug#718865: Update and minimize /etc/samba/smbldap-machineadd-gosa

2013-08-20 Thread Petter Reinholdtsen
[Arne Sørli] > When testing on a fresh install of > cd-wheezy-test-usbstick/debian-edu-amd64-i386-BD-1.iso, timestamp > 2013-08-17 16:30, I discovered that joining the domain still does > not work. Please try again with the wheey-test iso. I fixed a bug in the samba SID handling this morning, and

Bug#718865: Update and minimize /etc/samba/smbldap-machineadd-gosa

2013-08-18 Thread Arne Sørli
When testing on a fresh install of cd-wheezy-test-usbstick/debian-edu-amd64-i386-BD-1.iso, timestamp 2013-08-17 16:30, I discovered that joining the domain still does not work. (It works in my beta0+patches described in http://bugs.debia

Bug#718865: Update and minimize /etc/samba/smbldap-machineadd-gosa

2013-08-16 Thread Arne Sørli
[Wolfgang Schweer] > Replace the string > "perl -MCrypt::SmbHash -e "print join(q[:], ntlmgen \$ARGV[0]), > $/;"" > > with > > 'perl -MCrypt::SmbHash -e "print join(q[:], ntlmgen %password), $/;"' > > Then all user passwords have to be changed using GOsa. Connections > should then be possible usi

Bug#718865: Update and minimize /etc/samba/smbldap-machineadd-gosa

2013-08-16 Thread Wolfgang Schweer
On Mon, Aug 12, 2013 at 07:09:34AM +0200, Arne Sørli wrote: > [Petter Reinholdtsen] > > I noticed a really scaring thing: > > Logged in as a student using a teacher's uid with the above command, I'm > > able to get/put/rename/delete files and dirs, cause I seem to get the > > smb shell under that u

Bug#718865: Update and minimize /etc/samba/smbldap-machineadd-gosa

2013-08-13 Thread Wolfgang Schweer
On Mon, Aug 12, 2013 at 06:37:19PM +0200, Mike Gabriel wrote: > On So 11 Aug 2013 14:04:26 CEST Wolfgang Schweer wrote: > > >On Sat, Aug 10, 2013 at 11:44:09AM +0200, Petter Reinholdtsen wrote: > >>[Wolfgang Schweer] > >>> Using a normal user account, the failure message is: > >>> > >>> "tree conn

Bug#718865: Update and minimize /etc/samba/smbldap-machineadd-gosa

2013-08-12 Thread Mike Gabriel
Hi Wolfgang, Arne, On So 11 Aug 2013 14:04:26 CEST Wolfgang Schweer wrote: On Sat, Aug 10, 2013 at 11:44:09AM +0200, Petter Reinholdtsen wrote: [Wolfgang Schweer] > Using a normal user account, the failure message is: > > "tree connect failed: NT_STATUS_LOGON_FAILURE"; so the issue is > reprod

Bug#718865: Update and minimize /etc/samba/smbldap-machineadd-gosa

2013-08-11 Thread Arne Sørli
[Petter Reinholdtsen] > I noticed a really scaring thing: > Logged in as a student using a teacher's uid with the above command, I'm > able to get/put/rename/delete files and dirs, cause I seem to get the > smb shell under that uid. Something seems to be misconfigured. > > Can someone try to repro

Bug#718865: Update and minimize /etc/samba/smbldap-machineadd-gosa

2013-08-11 Thread Wolfgang Schweer
On Sat, Aug 10, 2013 at 11:44:09AM +0200, Petter Reinholdtsen wrote: > [Wolfgang Schweer] > > Using a normal user account, the failure message is: > > > > "tree connect failed: NT_STATUS_LOGON_FAILURE"; so the issue is > > reproducible. > > I get this too when I provide the password. But when I

Bug#718865: Update and minimize /etc/samba/smbldap-machineadd-gosa

2013-08-10 Thread Arne Sørli
[Petter Reinholdtsen] > Arne, could your problem be that you use the initial account which is > without a samba account? No, I have tried with with two newly created teacher-users, and I have checked that they are registered as samba-users. sudo pdbedit -L shows: Administrator:50500:Administra

Bug#718865: Update and minimize /etc/samba/smbldap-machineadd-gosa

2013-08-10 Thread Petter Reinholdtsen
[Wolfgang Schweer] > This is most probably caused by a missing samba account. (The first user > account hasn't got one by default.) Aha. Good point. Adding a samba account and setting the password (to ensure the samba hash is set too) got me a bit further. I seem to remember that we do not set

Bug#718865: Update and minimize /etc/samba/smbldap-machineadd-gosa

2013-08-09 Thread Wolfgang Schweer
On Fri, Aug 09, 2013 at 09:58:16AM +0200, Petter Reinholdtsen wrote: > [Arne Sørli] > > And I am now able to join the domain from a Windows XP PC :-) > > Great. All the required fixes for this should be in our wheezy-test > repository now. > > > However, I'm still unable to log in. > > Hm. Cou

Bug#718865: Update and minimize /etc/samba/smbldap-machineadd-gosa

2013-08-09 Thread Petter Reinholdtsen
[Arne Sørli] > And I am now able to join the domain from a Windows XP PC :-) Great. All the required fixes for this should be in our wheezy-test repository now. > However, I'm still unable to log in. Hm. Could this be the same problem I see when I try to run this command (which should work acc

Bug#718865: Update and minimize /etc/samba/smbldap-machineadd-gosa

2013-08-08 Thread Petter Reinholdtsen
Note, our script causes two warnings to show up: root@tjener:/etc# ./samba/smbldap-machineadd-gosa -t0 -w "floffa" Use of uninitialized value $encoding in string eq at /usr/share/perl5/smbldap_tools.pm line 1387. Use of uninitialized value $encoding in string eq at /usr/share/perl5/smbldap

Bug#718865: Update and minimize /etc/samba/smbldap-machineadd-gosa

2013-08-07 Thread Arne Sørli
The get_next_id-error was fixed with this: [Petter Reinholdtsen] > Checked the original and the library, and thus function is now called > user_next_uid(); Try editing machineadd-gosa and replace > 'get_next_id($config{usersdn}, "uidNumber" );' with > 'user_next_uid();'. And I am now able to join

Bug#718865: Update and minimize /etc/samba/smbldap-machineadd-gosa

2013-08-07 Thread Mike Gabriel
Hi Holger, On Mi 07 Aug 2013 11:41:00 CEST Holger Levsen wrote: Hi Mike, On Mittwoch, 7. August 2013, Mike Gabriel wrote: control: tag -1 - moreinfo I suggest you stop removing "moreinfo" tags if you are not the one who have set them. Ack. Because smbldap-useradd does not cover the obje

Bug#718865: Update and minimize /etc/samba/smbldap-machineadd-gosa

2013-08-07 Thread Holger Levsen
Hi Mike, On Mittwoch, 7. August 2013, Mike Gabriel wrote: > control: tag -1 - moreinfo I suggest you stop removing "moreinfo" tags if you are not the one who have set them. > Because smbldap-useradd does not cover the objectClasses / > attributeDescriptions required by GOsa² to recognize the SM

Bug#718865: Update and minimize /etc/samba/smbldap-machineadd-gosa

2013-08-07 Thread Mike Gabriel
control: tag -1 - moreinfo Hi Holger, On Di 06 Aug 2013 22:48:43 CEST Holger Levsen wrote: control: tags -1 + moreinfo Hi, On Dienstag, 6. August 2013, Mike Gabriel wrote: Because it is the script that gets triggered by Samba whenever new Windows workstation attempt to join the SKOLELINUX N

Bug#718865: Update and minimize /etc/samba/smbldap-machineadd-gosa

2013-08-06 Thread Petter Reinholdtsen
I fetched version 0.9.5 of the smbldap-tools source, and ran diff between smbldap-tools-0.9.5/smbldap-useradd and smbldap-machineadd-gosa to see what was changed: --- smbldap-tools-0.9.5/smbldap-useradd 2008-04-22 10:13:29.0 +0200 +++ smbldap-machineadd-gosa 2013-07-03 23:37:42.000

Bug#718865: Update and minimize /etc/samba/smbldap-machineadd-gosa

2013-08-06 Thread Holger Levsen
control: tags -1 + moreinfo Hi, On Dienstag, 6. August 2013, Mike Gabriel wrote: > Because it is the script that gets triggered by Samba whenever new > Windows workstation attempt to join the SKOLELINUX NT-Domain. To make > this attempt a success smbldap-machineadd-gosa adds an object to LDAP > w

Bug#718865: Update and minimize /etc/samba/smbldap-machineadd-gosa

2013-08-06 Thread Mike Gabriel
control: tags -1 - moreinfo Hi Holger, On Di 06 Aug 2013 12:56:11 CEST Holger Levsen wrote: control: tags -1 + moreinfo Hi, On Dienstag, 6. August 2013, Mike Gabriel wrote: The script /etc/samba/smbldap-machineadd-gosa is a fork of smbldap-useradd and contains many lines of unused code. s

Bug#718865: Update and minimize /etc/samba/smbldap-machineadd-gosa

2013-08-06 Thread Holger Levsen
control: tags -1 + moreinfo Hi, On Dienstag, 6. August 2013, Mike Gabriel wrote: > The script /etc/samba/smbldap-machineadd-gosa is a fork of > smbldap-useradd and contains many lines of unused code. sigh :-( > Furthermore, the fork was taken from smbldap-tools 0.9.5 whereas it > uses the Perl

Bug#718865: Update and minimize /etc/samba/smbldap-machineadd-gosa

2013-08-06 Thread Mike Gabriel
Package: debian-edu-config Version: 1.711 The script /etc/samba/smbldap-machineadd-gosa is a fork of smbldap-useradd and contains many lines of unused code. Furthermore, the fork was taken from smbldap-tools 0.9.5 whereas it uses the Perl package shipped with the smbldap-tools Debian packag