Package: smbldap-tools / 0.9.7-1+deb7u1

0012_smbldap-tools-net-command-name.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From d0d155b8693650a54b452a80d17734968496c211 Mon Sep 17 00:00:00 2001
From: fumiyas <fumiyas@69f2458b-35d4-408a-aa88-7d8d64836e89>
Date: Mon, 7 May 2012 06:58:27 +0000
Subject: [PATCH] smbldap_tools.pm: Fix net(8) command name

git-svn-id: svn+ssh://svn.gna.org/svn/smbldap-tools/trunk@134 69f2458b-35d4-408a-aa88-7d8d64836e89
---
 smbldap_tools.pl |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/smbldap_tools.pl b/smbldap_tools.pl
index 6709860..7af50c3 100644
--- a/smbldap_tools.pl
+++ b/smbldap_tools.pl
@@ -242,7 +242,7 @@ sub read_smbconf {
 my %smbconf = read_smbconf();
 
 sub getLocalSID {
-    open my $fh, "-|" or exec("$samba_bindir/netx", "getlocalsid") || exit(1);
+    open my $fh, "-|" or exec("$samba_bindir/net", "getlocalsid") || exit(1);
 
     my $line = <$fh>;
     if (!defined($line)) {
-- 
1.7.10.4