jhixson | 1 Sep 2011 01:33
Picon

SF.net SVN: freenas:[7511] trunk/nanobsd/Files/etc

Revision: 7511
          http://freenas.svn.sourceforge.net/freenas/?rev=7511&view=rev
Author:   jhixson
Date:     2011-08-31 23:33:19 +0000 (Wed, 31 Aug 2011)
Log Message:
-----------
Change from pam_krb5 to pam_winbind.

Modified Paths:
--------------
    trunk/nanobsd/Files/etc/ix/templates/pam.d/ftp
    trunk/nanobsd/Files/etc/ix/templates/pam.d/ftpd
    trunk/nanobsd/Files/etc/ix/templates/pam.d/login
    trunk/nanobsd/Files/etc/ix/templates/pam.d/netatalk
    trunk/nanobsd/Files/etc/ix/templates/pam.d/sshd
    trunk/nanobsd/Files/etc/ix/templates/pam.d/su
    trunk/nanobsd/Files/etc/rc.d/ix-pam

Modified: trunk/nanobsd/Files/etc/ix/templates/pam.d/ftp
===================================================================
--- trunk/nanobsd/Files/etc/ix/templates/pam.d/ftp	2011-08-31 20:21:11 UTC (rev 7510)
+++ trunk/nanobsd/Files/etc/ix/templates/pam.d/ftp	2011-08-31 23:33:19 UTC (rev 7511)
 <at>  <at>  -7,7 +7,7  <at>  <at> 
 # auth
 auth		sufficient	pam_opie.so		no_warn no_fake_prompts
 auth		requisite	pam_opieaccess.so	no_warn allow_local
-# <at>  <at> WINBIND <at>  <at> 	auth		sufficient	/usr/local/lib/pam_winbind.so	silent try_first_pass
+# <at>  <at> WINBIND <at>  <at> 	auth		sufficient	/usr/local/lib/pam_winbind.so	silent try_first_pass krb5_auth
krb5_ccache_type=FILE 
 # <at>  <at> LDAP <at>  <at> 	auth		sufficient	/usr/local/lib/pam_ldap.so	no_warn try_first_pass
(Continue reading)

zippybr | 1 Sep 2011 14:30
Picon

SF.net SVN: freenas:[7512] trunk/gui/account/forms.py

Revision: 7512
          http://freenas.svn.sourceforge.net/freenas/?rev=7512&view=rev
Author:   zippybr
Date:     2011-09-01 12:30:32 +0000 (Thu, 01 Sep 2011)
Log Message:
-----------
do some checks for bsdGroups, first pass for #658

Modified Paths:
--------------
    trunk/gui/account/forms.py

Modified: trunk/gui/account/forms.py
===================================================================
--- trunk/gui/account/forms.py	2011-08-31 23:33:19 UTC (rev 7511)
+++ trunk/gui/account/forms.py	2011-09-01 12:30:32 UTC (rev 7512)
 <at>  <at>  -446,9 +446,16  <at>  <at> 
             self.initial['bsdgrp_gid'] = notifier().user_getnextgid()

     def clean_bsdgrp_group(self):
-        bsdgrp_group = self.cleaned_data.get("bsdgrp_group")
-        self.pw_checkname(bsdgrp_group)
-        return bsdgrp_group
+        if self.instance.id is None:
+            bsdgrp_group = self.cleaned_data.get("bsdgrp_group")
+            self.pw_checkname(bsdgrp_group)
+            try:
+                models.bsdGroups.objects.get(bsdgrp_group=bsdgrp_group)
+            except models.bsdGroups.DoesNotExist:
+                return bsdgrp_group
(Continue reading)

zippybr | 1 Sep 2011 14:59
Picon

SF.net SVN: freenas:[7513] trunk/gui/account/forms.py

Revision: 7513
          http://freenas.svn.sourceforge.net/freenas/?rev=7513&view=rev
Author:   zippybr
Date:     2011-09-01 12:59:47 +0000 (Thu, 01 Sep 2011)
Log Message:
-----------
add a checkbox to allow multiple groups share the same gid

Modified Paths:
--------------
    trunk/gui/account/forms.py

Modified: trunk/gui/account/forms.py
===================================================================
--- trunk/gui/account/forms.py	2011-09-01 12:30:32 UTC (rev 7512)
+++ trunk/gui/account/forms.py	2011-09-01 12:59:47 UTC (rev 7513)
 <at>  <at>  -444,6 +444,11  <at>  <at> 
             self.fields['bsdgrp_gid'].widget.attrs['readonly'] = True
         else:
             self.initial['bsdgrp_gid'] = notifier().user_getnextgid()
+            self.fields['allow'] = forms.BooleanField(
+                                        label=_("Allow repeated GIDs"),
+                                        initial=False,
+                                        required=False,
+                                    )

     def clean_bsdgrp_group(self):
         if self.instance.id is None:
 <at>  <at>  -467,12 +472,13  <at>  <at> 
     def clean(self):
(Continue reading)

zippybr | 1 Sep 2011 15:28
Picon

SF.net SVN: freenas:[7514] trunk/nanobsd/Files/etc/rc.d/ix-smartd

Revision: 7514
          http://freenas.svn.sourceforge.net/freenas/?rev=7514&view=rev
Author:   zippybr
Date:     2011-09-01 13:28:31 +0000 (Thu, 01 Sep 2011)
Log Message:
-----------
do not export zvol to smart

Modified Paths:
--------------
    trunk/nanobsd/Files/etc/rc.d/ix-smartd

Modified: trunk/nanobsd/Files/etc/rc.d/ix-smartd
===================================================================
--- trunk/nanobsd/Files/etc/rc.d/ix-smartd	2011-09-01 12:59:47 UTC (rev 7513)
+++ trunk/nanobsd/Files/etc/rc.d/ix-smartd	2011-09-01 13:28:31 UTC (rev 7514)
 <at>  <at>  -27,7 +27,7  <at>  <at> 
         ${FREENAS_SQLITE_CMD} ${FREENAS_CONFIG} "SELECT disk_identifier, disk_smartoptions,
smarttest_type, smarttest_hour, smarttest_daymonth, smarttest_month, smarttest_dayweek FROM
storage_disk d LEFT JOIN system_smarttest s ON d.id=s.smarttest_disk_id WHERE disk_togglesmart=1" |
         while read ident opts type hour daymonth month dayweek; do
             disk=$(/usr/local/bin/python /usr/local/www/freenasUI/middleware/notifier.py
identifier_to_device "${ident}")
-            if [ "${disk}" = "None" ]; then
+            if [ "${disk}" = "None" ] || [ -n "`echo ${disk}|grep zvol`" ]; then
                 continue
             fi
             echo -n "/dev/${disk}"

This was sent by the SourceForge.net collaborative development platform, the world's largest Open
(Continue reading)

zippybr | 1 Sep 2011 15:36
Picon

SF.net SVN: freenas:[7515] branches/8.0.1/nanobsd/Files/etc/rc.d/ix-smartd

Revision: 7515
          http://freenas.svn.sourceforge.net/freenas/?rev=7515&view=rev
Author:   zippybr
Date:     2011-09-01 13:36:15 +0000 (Thu, 01 Sep 2011)
Log Message:
-----------
do not export zvol to smart

Modified Paths:
--------------
    branches/8.0.1/nanobsd/Files/etc/rc.d/ix-smartd

Modified: branches/8.0.1/nanobsd/Files/etc/rc.d/ix-smartd
===================================================================
--- branches/8.0.1/nanobsd/Files/etc/rc.d/ix-smartd	2011-09-01 13:28:31 UTC (rev 7514)
+++ branches/8.0.1/nanobsd/Files/etc/rc.d/ix-smartd	2011-09-01 13:36:15 UTC (rev 7515)
 <at>  <at>  -27,7 +27,7  <at>  <at> 
         ${FREENAS_SQLITE_CMD} ${FREENAS_CONFIG} "SELECT disk_identifier, disk_smartoptions,
smarttest_type, smarttest_hour, smarttest_daymonth, smarttest_month, smarttest_dayweek FROM
storage_disk d LEFT JOIN system_smarttest s ON d.id=s.smarttest_disk_id WHERE disk_togglesmart=1" |
         while read ident opts type hour daymonth month dayweek; do
             disk=$(/usr/local/bin/python /usr/local/www/freenasUI/middleware/notifier.py
identifier_to_device "${ident}")
-            if [ "${disk}" = "None" ]; then
+            if [ "${disk}" = "None" ] || [ -n "`echo ${disk}|grep zvol`" ]; then
                 continue
             fi
             echo -n "/dev/${disk}"

This was sent by the SourceForge.net collaborative development platform, the world's largest Open
(Continue reading)

yaberauneya | 1 Sep 2011 18:23
Picon

SF.net SVN: freenas:[7516] trunk/nanobsd/Files/etc/rc.d/ix-smartd

Revision: 7516
          http://freenas.svn.sourceforge.net/freenas/?rev=7516&view=rev
Author:   yaberauneya
Date:     2011-09-01 16:23:33 +0000 (Thu, 01 Sep 2011)
Log Message:
-----------
Use a case statement instead of a straight test // grep,
because apart from it being more efficient to use shell
builtins, there are several issues with doing a straight
test call, where someone would need to do magic fu to
strip trailing space in the latter case.

Modified Paths:
--------------
    trunk/nanobsd/Files/etc/rc.d/ix-smartd

Modified: trunk/nanobsd/Files/etc/rc.d/ix-smartd
===================================================================
--- trunk/nanobsd/Files/etc/rc.d/ix-smartd	2011-09-01 13:36:15 UTC (rev 7515)
+++ trunk/nanobsd/Files/etc/rc.d/ix-smartd	2011-09-01 16:23:33 UTC (rev 7516)
 <at>  <at>  -27,9 +27,11  <at>  <at> 
         ${FREENAS_SQLITE_CMD} ${FREENAS_CONFIG} "SELECT disk_identifier, disk_smartoptions,
smarttest_type, smarttest_hour, smarttest_daymonth, smarttest_month, smarttest_dayweek FROM
storage_disk d LEFT JOIN system_smarttest s ON d.id=s.smarttest_disk_id WHERE disk_togglesmart=1" |
         while read ident opts type hour daymonth month dayweek; do
             disk=$(/usr/local/bin/python /usr/local/www/freenasUI/middleware/notifier.py
identifier_to_device "${ident}")
-            if [ "${disk}" = "None" ] || [ -n "`echo ${disk}|grep zvol`" ]; then
+            case "$disk" in
+            None|*zvol*)
(Continue reading)

zippybr | 1 Sep 2011 18:57
Picon

SF.net SVN: freenas:[7517] branches/8.0.1/nanobsd/Files/etc/rc.d/ix-smartd

Revision: 7517
          http://freenas.svn.sourceforge.net/freenas/?rev=7517&view=rev
Author:   zippybr
Date:     2011-09-01 16:57:13 +0000 (Thu, 01 Sep 2011)
Log Message:
-----------
Use a case statement instead of a straight test // grep,
because apart from it being more efficient to use shell
builtins, there are several issues with doing a straight
test call, where someone would need to do magic fu to
strip trailing space in the latter case.

Modified Paths:
--------------
    branches/8.0.1/nanobsd/Files/etc/rc.d/ix-smartd

Modified: branches/8.0.1/nanobsd/Files/etc/rc.d/ix-smartd
===================================================================
--- branches/8.0.1/nanobsd/Files/etc/rc.d/ix-smartd	2011-09-01 16:23:33 UTC (rev 7516)
+++ branches/8.0.1/nanobsd/Files/etc/rc.d/ix-smartd	2011-09-01 16:57:13 UTC (rev 7517)
 <at>  <at>  -27,9 +27,11  <at>  <at> 
         ${FREENAS_SQLITE_CMD} ${FREENAS_CONFIG} "SELECT disk_identifier, disk_smartoptions,
smarttest_type, smarttest_hour, smarttest_daymonth, smarttest_month, smarttest_dayweek FROM
storage_disk d LEFT JOIN system_smarttest s ON d.id=s.smarttest_disk_id WHERE disk_togglesmart=1" |
         while read ident opts type hour daymonth month dayweek; do
             disk=$(/usr/local/bin/python /usr/local/www/freenasUI/middleware/notifier.py
identifier_to_device "${ident}")
-            if [ "${disk}" = "None" ] || [ -n "`echo ${disk}|grep zvol`" ]; then
+            case "$disk" in
+            None|*zvol*)
(Continue reading)

zippybr | 1 Sep 2011 20:56
Picon

SF.net SVN: freenas:[7518] trunk/gui

Revision: 7518
          http://freenas.svn.sourceforge.net/freenas/?rev=7518&view=rev
Author:   zippybr
Date:     2011-09-01 18:56:53 +0000 (Thu, 01 Sep 2011)
Log Message:
-----------
change system/shutdown to make sure the user load the page before issue the command

Modified Paths:
--------------
    trunk/gui/media/lib/js/freeadmin.js
    trunk/gui/system/urls.py
    trunk/gui/system/views.py
    trunk/gui/templates/system/reboot.html
    trunk/gui/templates/system/shutdown.html

Removed Paths:
-------------
    trunk/gui/templates/reboot_base.html
    trunk/gui/templates/shutdown_base.html

Modified: trunk/gui/media/lib/js/freeadmin.js
===================================================================
--- trunk/gui/media/lib/js/freeadmin.js	2011-09-01 16:57:13 UTC (rev 7517)
+++ trunk/gui/media/lib/js/freeadmin.js	2011-09-01 18:56:53 UTC (rev 7518)
 <at>  <at>  -1101,7 +1101,6  <at>  <at> 
     }

     dojo.addOnLoad(function() {
-
(Continue reading)

daoyama | 2 Sep 2011 01:51
Picon

SF.net SVN: freenas:[7519] branches/0.72/build/ports/istgt

Revision: 7519
          http://freenas.svn.sourceforge.net/freenas/?rev=7519&view=rev
Author:   daoyama
Date:     2011-09-01 23:51:18 +0000 (Thu, 01 Sep 2011)
Log Message:
-----------
upgrade istgt for ESXi5 compatibility.

Modified Paths:
--------------
    branches/0.72/build/ports/istgt/Makefile
    branches/0.72/build/ports/istgt/distinfo

Modified: branches/0.72/build/ports/istgt/Makefile
===================================================================
--- branches/0.72/build/ports/istgt/Makefile	2011-09-01 18:56:53 UTC (rev 7518)
+++ branches/0.72/build/ports/istgt/Makefile	2011-09-01 23:51:18 UTC (rev 7519)
 <at>  <at>  -1,5 +1,5  <at>  <at> 
 PORTNAME=		istgt
-PORTVERSION=		20110529
+PORTVERSION=		20110902
 CATEGORIES=		net
 COMMENT=		Implementation of userland ISCSI target
 MAINTAINER=		aoyama@...

Modified: branches/0.72/build/ports/istgt/distinfo
===================================================================
--- branches/0.72/build/ports/istgt/distinfo	2011-09-01 18:56:53 UTC (rev 7518)
+++ branches/0.72/build/ports/istgt/distinfo	2011-09-01 23:51:18 UTC (rev 7519)
 <at>  <at>  -1,2 +1,2  <at>  <at> 
(Continue reading)

jpaetzel | 2 Sep 2011 02:08
Picon

SF.net SVN: freenas:[7520] trunk/patches/ports-istgt.patch

Revision: 7520
          http://freenas.svn.sourceforge.net/freenas/?rev=7520&view=rev
Author:   jpaetzel
Date:     2011-09-02 00:08:43 +0000 (Fri, 02 Sep 2011)
Log Message:
-----------
Update istgt to 20110902 which provides compatibility with ESXi 5.0

Modified Paths:
--------------
    trunk/patches/ports-istgt.patch

Modified: trunk/patches/ports-istgt.patch
===================================================================
--- trunk/patches/ports-istgt.patch	2011-09-01 23:51:18 UTC (rev 7519)
+++ trunk/patches/ports-istgt.patch	2011-09-02 00:08:43 UTC (rev 7520)
 <at>  <at>  -1,11 +1,6  <at>  <at> 
-Index: net/istgt/Makefile
-===================================================================
-RCS file: /home/ncvs/ports/net/istgt/Makefile,v
-retrieving revision 1.23
-diff -u -p -r1.23 Makefile
---- net/istgt/Makefile	30 May 2011 20:10:18 -0000	1.23
-+++ net/istgt/Makefile	23 Aug 2011 18:40:44 -0000
- <at>  <at>  -2,11 +2,12  <at>  <at> 
+--- net/istgt/Makefile	2011-08-19 14:30:30.000000000 -0700
++++ net/istgt/Makefile	2011-09-01 17:00:29.000000000 -0700
+ <at>  <at>  -2,11 +2,11  <at>  <at> 
  # Date created:		2009-02-23
  # Whom:			Daisuke Aoyama <aoyama@...>
(Continue reading)


Gmane