mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Add patch from vendor SVN.
PR: ports/161967, ports/165177 Submitted by: Andrey Simonenko <simon at comsys.ntu-kpi.kiev.ua>
This commit is contained in:
parent
48d744e9c4
commit
5ccd4ad043
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=291571
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= smbldap-tools
|
||||
PORTVERSION= 0.9.7
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://download.gna.org/smbldap-tools/sources/${PORTVERSION}/
|
||||
|
||||
|
35
net/smbldap-tools/files/patch-svn-123_125
Normal file
35
net/smbldap-tools/files/patch-svn-123_125
Normal file
@ -0,0 +1,35 @@
|
||||
Index: smbldap-useradd.pl
|
||||
===================================================================
|
||||
--- smbldap-useradd.pl (revision 123)
|
||||
+++ smbldap-useradd.pl (revision 125)
|
||||
@@ -514,6 +514,9 @@
|
||||
$modify->code && die "failed to add entry: ", $modify->error;
|
||||
}
|
||||
|
||||
+# Reset adds
|
||||
+@adds = ();
|
||||
+
|
||||
# Add Samba user infos
|
||||
if ( defined( $Options{'a'} ) ) {
|
||||
if ( !$config{with_smbpasswd} ) {
|
||||
@@ -598,8 +601,6 @@
|
||||
$tmp = defined( $Options{'F'} ) ? $Options{'F'} : $config{userProfile};
|
||||
my $valprofilepath = &subst_user( $tmp, $userName );
|
||||
|
||||
- my @adds = ();
|
||||
-
|
||||
if ($valhomedrive) {
|
||||
push( @adds, 'sambaHomeDrive' => $valhomedrive );
|
||||
}
|
||||
Index: smbldap_tools.pl
|
||||
===================================================================
|
||||
--- smbldap_tools.pl (revision 123)
|
||||
+++ smbldap_tools.pl (revision 125)
|
||||
@@ -106,6 +106,7 @@
|
||||
list_union
|
||||
list_minus
|
||||
account_by_sid
|
||||
+ user_by_uid
|
||||
user_next_uid
|
||||
user_next_rid
|
||||
group_next_uid
|
Loading…
Reference in New Issue
Block a user