Path: csiph.com!news.mixmin.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod From: Jeff Sadowski via samba Newsgroups: linux.samba Subject: [Samba] smbpasswd port 139 Date: Mon, 13 Mar 2017 22:10:03 +0100 Message-ID: X-Original-To: Dmitry via samba Dkim-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.samba.org; s=2954282; h=From:List-Id:Subject:To:Date; bh=5WuIobPzsQh1ihk+SloVAKCtwvPxjXkbukv5kTwmnqA=; b=n4HL91q8RLhRvrdqvf+i71G0LpIlg7rOSDRqY6ITDg8ER+D+LxyLLko9CQkTY9uwZyfyS+daK5WaCwSYi4eniTKREBh+fKgNW9FKdmjYkcv6GfXItSTRH9W1LizD41fhSxifWQZQdkGjVjPFi7+BuxdnWW4evBmqUxvatYsY+tBPzXho+kOumsPWe3mPAWWwHCD1VQP7j3JVCc2oSD0qv86/xP87K7n/elUCEmDNhPaA62E7d/7vFcVnHloIaV7X5lhs0khv3gIMMZ4U41ZoT3TUU9xLwKgbM8gTqvIEjsSbcQqc5ZfP+KbaBBQYp+VlMk1HjznishnxBgMYBHwOFA==; Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=gdkOr775cJbdezDODlNd6SnAfAS/FvevCaGJbOmlz3c=; b=PGE7sxTTDEG0CD6dgk3mRqiUcqkmcl3bIDPE/rT2DU2jjgCQWW+WzuZ86GwdLnZ9av oPZzc7bZVOJuW9cDQeNlOirj5f5mdAakeAaIt8zTnlxV6J/4p5kkW58N2NCDADhmA4tf skacejh3oB4n26iDpC6hIXJ/0PAv5TZAFK/ZPneqdTPaSxmuxilD2mPlu22FnIPdTSsF JwLKQQpX7WwkWqsgH6WI9JMogLMFWx5BcFkx3Z1gx5FErYIycEO59r7jaoRNFmI8tBn2 O4UZ0ohSKwFNjpihogNwGYv16ojmF18B+Lw6wZFfkg120nhya74Cec3TDDTaqhqbl106 RQIQ== X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=gdkOr775cJbdezDODlNd6SnAfAS/FvevCaGJbOmlz3c=; b=pgytV9LrzRNFt8J5amB1Acm0o5b/emb0yifomLombqtwP0xWhXYpDCFipnsyVPoTDP TH1vC0Vuna2ECVVi+8B+zvoyP+M1h8m8C/j8h3+Bgbd2P8iygfRlgq/OFKDGuloltXEW W2QE72J8bK+vPBsyHzei2/SvmFZUbIVRihbYAQpZu/T5j1+V5jMmwuVg9WgoTzZHWHPo uj9KPPnvd8YmBdkMmNTMxpHkuiUufDh+jBS18wLkoWI2yAEnOaWfYqFRMLUnsHvnu2f6 ypXUQsEURAvWTJObt0capWZMphstQVVeSu/QpHV2iAkN4g8/jSjjy1lHKIIMrplZmFGd mHEg== X-Gm-Message-State: AMke39lMVsS30tq6xGZe2XTLusJMKFvXKp30UPOcX6tO0KCseJcQV2EWo6ryWnmkVF+jjd3h8Yh2LDRsbXr9Gw== X-Received: by 10.13.199.135 with SMTP id j129mr18450088ywd.255.1489439059041; Mon, 13 Mar 2017 14:04:19 -0700 (PDT) MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 List-ID: General questions regarding Samba List-Archive: Reply-To: Jeff Sadowski Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: robomod@news.nic.it Approved: robomod@news.nic.it Lines: 107 Organization: linux.* mail to news gateway X-Original-Date: Mon, 13 Mar 2017 15:04:18 -0600 X-Original-Message-ID: X-Original-Sender: "samba" Xref: csiph.com linux.samba:60343 I have a network where the domain controllers do not connect on port 139 Is there a way to have smbpasswd change the password without this? I am able to change the password using an ldap method in php ldap_connect ldap_bind ldap_modify_batch full source code here http://forums.fedoraforum.org/showthread.php?t=313554 however this does not allow the password to be set if it has expired. smbpasswd works on 2 of my 3 networks. I was hoping there might be some way to get it working without port 139 (echo -e 'oldpasswd\nnewpasswd\nnewpasswd')|smbpasswd -r otherdomain -U user -D 10 INFO: Current debug levels: all: 10 tdb: 10 printdrivers: 10 lanman: 10 smb: 10 rpc_parse: 10 rpc_srv: 10 rpc_cli: 10 passdb: 10 sam: 10 auth: 10 winbind: 10 vfs: 10 idmap: 10 quota: 10 acls: 10 locking: 10 msdfs: 10 dmapi: 10 registry: 10 scavenger: 10 dns: 10 ldb: 10 tevent: 10 lp_load_ex: refreshing parameters Initialising global parameters rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) INFO: Current debug levels: all: 10 tdb: 10 printdrivers: 10 lanman: 10 smb: 10 rpc_parse: 10 rpc_srv: 10 rpc_cli: 10 passdb: 10 sam: 10 auth: 10 winbind: 10 vfs: 10 idmap: 10 quota: 10 acls: 10 locking: 10 msdfs: 10 dmapi: 10 registry: 10 scavenger: 10 dns: 10 ldb: 10 tevent: 10 Processing section "[global]" doing parameter security = ads ... pm_process() returned Yes lp_servicenumber: couldn't find homes Netbios name list:- ... Old SMB password: New SMB password: Retype new SMB password: Opening cache file at /var/cache/samba/gencache.tdb tdb(/var/cache/samba/gencache.tdb): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: Permission denied gencache_init: Opening cache file /var/cache/samba/gencache.tdb read-only. Opening cache file at /var/run/samba/gencache_notrans.tdb ... internal_resolve_name: returning 1 addresses: Connecting to at port 445 E2BIG: convert_string(UTF-8,CP850): srclen=22 destlen=16 - '' Connecting to at port 139 Unable to connect to SMB server on machine Error was : NT_STATUS_CONNECTION_REFUSED. echo "hello" | telnet 139 Trying ... telnet: Unable to connect to remote host: Connection refused -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba