Hallo , when I try to change user password on samba server i become this error : error connecting to 127.0.0.1:139 (Verbindungsaufbau abgelehnt) unable to connect to SMB server on machine 127.0.0.1. Error was : code 0. Failed to change password for bukhari if any someone I have an Idea please send me an E-Mail to "ufz6@rz.uni-karlsruhe.de" Thanks to All Amir Bukhari
Running a firewall? Not sure. SMB needs port 139. I got in my suse: /etc/rc.config.d/firewall.rc.config: FW_SERVICES_INTERNAL_TCP="smtp domain ftp telnet ssh www 139" and also: FW_SERVICE_SAMBA="yes" mk> > Hallo , > when I try to change user password on samba server i become this error : > > error connecting to 127.0.0.1:139 (Verbindungsaufbau abgelehnt) > unable to connect to SMB server on machine 127.0.0.1. Error was : code > 0. > Failed to change password for bukhari > > if any someone I have an Idea please send me an E-Mail to > "ufz6@rz.uni-karlsruhe.de" > > Thanks to All > > Amir Bukhari > > >-- Marcel Kunath *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* Montie House Network Greater Lansing Linux Users Group http://www.montiehouse.com http://www.gllug.org *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
what command are you entering? You're doing this from the samba server itself? Another question... have you told samba to bind to an ethernet interface? (interfaces = eth0 eth1 ... in smb.conf) -----Original Message----- From: samba-admin@lists.samba.org [mailto:samba-admin@lists.samba.org]On Behalf Of Amir Bukhri Sent: Tuesday, 23 January 2001 20:42 To: samba@lists.samba.org Subject: smbpasswd error Hallo , when I try to change user password on samba server i become this error : error connecting to 127.0.0.1:139 (Verbindungsaufbau abgelehnt) unable to connect to SMB server on machine 127.0.0.1. Error was : code 0. Failed to change password for bukhari if any someone I have an Idea please send me an E-Mail to "ufz6@rz.uni-karlsruhe.de" Thanks to All Amir Bukhari
Hi, the environment I am working on looks like: Linux RH 7.1, SAMBA 2.0.7 running and Ipmasquerading for a 192.xxx network in the back. In the Back I have a couple of Win2k Server Machines and a WinME box. There is a problem authenticating to the SAMBA Shared Resources. SMB.CONF has entries: security=Domain & encrypt passwords = Yes PROBLEM: win2k and winME cannot access shared resource on Linux box. Attempts to connect to Linux by Win2k returns an error: "Userid or Password confict with existing cridentials" and WinME returns error ... like "Cannot access this resource" QUESTION: Can someone give me a clue what is going on... what do I do next? Here are the results of attempting to run: SMBPASSWD with a valid user created on the Linux Box. THANKS ! ...in advance for taking a look at this [root@ourfaircity samba]# smbpasswd testaccount doing parameter syslog = 3 doing parameter log file = /var/log/samba/%m.log doing parameter max log size = 0 doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 doing parameter dns proxy = No doing parameter guest account = pcguest doing parameter hosts allow = 192.168.1.10 192.168.1.20 192.168.1.30 127. Cecile thomas testaccount pm_process() returned Yes added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0 added interface ip=192.168.1.10 bcast=192.168.1.255 nmask=255.255.255.0 New SMB password: Retype new SMB password: getsmbfilepwent: malformed password entry (uid not number) getsmbfilepwent: malformed password entry (uid not number) getsmbfilepwent: malformed password entry (uid not number) getsmbfilepwent: malformed password entry (uid not number) getsmbfilepwent: malformed password entry (uid not number) getsmbfilepwent: malformed password entry (uid not number) getsmbfilepwent: malformed password entry (uid not number) getsmbfilepwent: malformed password entry (uid not number) getsmbfilepwent: malformed password entry (uid not number) getsmbfilepwent: malformed password entry (uid not number) getsmbfilepwent: malformed password entry (uid not number) getsmbfilepwent: malformed password entry (uid not number) getsmbfilepwent: malformed password entry (uid not number) getsmbfilepwent: malformed password entry (uid not number) getsmbfilepwent: malformed password entry (uid not number) getsmbfilepwent: malformed password entry (uid not number) getsmbfilepwent: malformed password entry (uid not number) getsmbfilepwent: malformed password entry (uid not number) getsmbfilepwent: malformed password entry (uid not number) getsmbfilepwent: malformed password entry (uid not number) getsmbfilepwent: malformed password entry (uid not number) getsmbfilepwent: malformed password entry (uid not number) getsmbfilepwent: malformed password entry (uid not number) getsmbfilepwent: malformed password entry (uid not number) getsmbfilepwent: malformed password entry (uid not number) getsmbfilepwent: malformed password entry (uid not number) getsmbfilepwent: malformed password entry (uid not number) getsmbfilepwent: malformed password entry (uid not number) getsmbfilepwent: malformed password entry (uid not number) Failed to find entry for user testaccount. Failed to modify password entry for user testaccount [root@ourfaircity samba]# SMB.CONF file contents: [root@ourfaircity /root]# cat /etc/samba/smb.conf # Samba config file created using SWAT # from localhost.localdomain (127.0.0.1) # Date: 2001/09/16 21:47:45 # Global parameters [global] netbios name = OURFAIRCITY server string = Samba Server interfaces = localhost 192.168.1.10/24 security = DOMAIN encrypt passwords = Yes map to guest = Bad User null passwords = Yes ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt debug level = 3 syslog = 3 log file = /var/log/samba/%m.log max log size = 0 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No guest account = pcguest hosts allow = 192.168.1.10 192.168.1.20 192.168.1.30 127. Cecile thomas testaccount [homes] comment = Home Directories path = /usr/pub writeable = Yes hosts allow = 192.168.1.10 192.168.1.20 192.168.1.30 127.0.0.1 Cecile thomas testaccount [public] path = /usr/pub writeable = Yes max connections = 100 write cache size = 100 fstype = FAT [root@ourfaircity /root]# -------------- next part -------------- HTML attachment scrubbed and removed
> Tom wrote: > > Hi, the environment I am working on looks like: Linux RH 7.1, SAMBA > 2.0.7 running and Ipmasquerading for a 192.xxx network in the back. > In the Back I have a couple of Win2k Server Machines and a WinME box. > There is a problem authenticating to the SAMBA Shared Resources. > > SMB.CONF has entries: security=Domain & encrypt passwords = Yes > > PROBLEM: win2k and winME cannot access shared resource on Linux box. > Attempts to connect to Linux by Win2k returns an error: "Userid or > Password confict with existing cridentials" and WinME returns error > ... like "Cannot access this resource" > > QUESTION: Can someone give me a clue what is going on... what do I do > next?This indicates you already have a connection to the machine as a different user. NT will only connect to a netbios name as a single user. You can try the connection by using the IP address of the server for the server name. Run smbstatus and see what other connnection you have. Disconnect that share on the Win client and you should be able to connect as the current user.> > Here are the results of attempting to run: SMBPASSWD with a valid user > created on the Linux Box. > THANKS ! ...in advance for taking a look at thisIt looks like you may have a bad smbpasswd file. If you were trying to add a new user "testaccount" the syntax is smbpasswd -a testaccount Try this and see if it works. -- =====================================================================Herb Lewis Silicon Graphics Networking Engineer 1600 Amphitheatre Pkwy MS-510 Strategic Software Organization Mountain View, CA 94043-1351 herb@sgi.com Tel: 650-933-2177 http://www.sgi.com Fax: 650-932-2177 ======================================================================
I have an AIX 4.3 machine with Samba 2.2.1a installed. I can use smbpasswd as root with no problem. However, when I try smbpasswd as a non-root user I get this error: machine hostname rejected the tconX on the IPC$ share. Error was : ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.). Failed to change password for username Can anyone help me with this? Please reply directly to my email address. Thanks in advance, Michael W. Dunham UNIX System Administrator III M&I Support Services Corporation 770 North Water Street / Milwaukee, WI 53202 Tel 414 765-8393 / Fax 414 298-2797 michael.dunham@micorp.com
Where is the user account that you're changing the password for? If it's local, it looks like only root can change it. from - man smbpasswd: username This specifies the username for all of the root only options to operate on. Only root can specify this parameter as only root has the permission ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ needed to modify attributes directly in the local ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ smbpasswd file. ^^^^^^^^^^^^^^ If it's on a remote machine, and it's a Win2k/XP system, look into the RestrictAnonymous registry key setting, and see if it's set to 2. Set it to 1, and see if the tconX errors go away. Search on Microsoft's site for Q246261 (How to Use the RestrictAnonymous Registry Value in Windows 2000). Jim> -----Original Message----- > From: Michael.Dunham@micorp.com [mailto:Michael.Dunham@micorp.com] > Sent: Wednesday, May 08, 2002 7:36 AM > To: samba@lists.samba.org > Subject: [Samba] smbpasswd error > > > I have an AIX 4.3 machine with Samba 2.2.1a installed. I can > use smbpasswd > as root with no problem. > > However, when I try smbpasswd as a non-root user I get this error: > > machine hostname rejected the tconX on the IPC$ share. Error > was : ERRSRV - > ERRbadpw (Bad password - name/password pair in a Tree Connect > or Session > Setup are invalid.). > Failed to change password for username > > Can anyone help me with this? Please reply directly to my > email address. > > Thanks in advance, > > Michael W. Dunham > UNIX System Administrator > III > M&I Support Services > Corporation > 770 North Water Street / > Milwaukee, WI 53202 > Tel 414 765-8393 / Fax > 414 298-2797 > michael.dunham@micorp.com > > > > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
Hi All, Can you help me?, I try to join to pdc, with these command smbpasswd -j SANTOSA -r PDC -U Administrator but I see these error message : Error connecting to PDC Unable to join domain SANTOSA. my smb.conf is : [global] netbios name = att workgroup = linux encrypt passwords = yes security = domain password server = * winbind separator = + winbind uid = 10000-20000 winbind gid = 10000-20000 winbind enum users = yes winbind enum groups = yes template shell = /bin/bash [netlogon] path = /usr/local/samba/netlogon read only = yes Can any one help me ??? Thank you, Agus Santosa ========================================================================Ikuti polling TELKOM Memo 166 di www.plasa.com dan menangkan hadiah masing-masing Rp 250.000 tunai. =========================================================================
Unless PDC is the name of your primary domain controller, try changing it to the name of your primary domain controller. That should work. --- Agus Santosa <agus.santosa@telkom.net> wrote:> Hi All, > > Can you help me?, > > I try to join to pdc, with these command > > smbpasswd -j SANTOSA -r PDC -U Administrator > > but I see these error message : > > Error connecting to PDC > Unable to join domain SANTOSA. > > my smb.conf is : > > [global] > netbios name = att > workgroup = linux > encrypt passwords = yes > security = domain > password server = * > winbind separator = + > winbind uid = 10000-20000 > winbind gid = 10000-20000 > winbind enum users = yes > winbind enum groups = yes > template shell = /bin/bash > > [netlogon] > path = /usr/local/samba/netlogon > read only = yes > > Can any one help me ??? > > Thank you, > > Agus Santosa >========================================================================> Ikuti polling TELKOM Memo 166 di www.plasa.com dan> menangkan hadiah masing-masing Rp 250.000 tunai. >========================================================================> --> To unsubscribe from this list go to the following > URL and read the > instructions:http://lists.samba.org/mailman/listinfo/samba __________________________________________________ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/
On Sat, Oct 26, 2002 at 11:18:32PM +0700, Agus Santosa wrote:> Hi All, > > Can you help me?, > > I try to join to pdc, with these command > > smbpasswd -j SANTOSA -r PDC -U Administrator > > but I see these error message : > > Error connecting to PDC > Unable to join domain SANTOSA.You need to supply a password along with the administrative account username for the -U option. Try: smbpasswd -j SANTOSA -r PDC_NetBIOS_name -UAdministrator%Administrators_password Jay Ts
when i type smbpasswd -r pdc -j domain it says: fetch_domain_sid: machine pmf rejected the tconX on the IPC$ share. Error was : NT_STATUS_ACCESS_DENIED. Failed to get domain SID. Unable to join domain CENTROADM. what is it??? thanks wilson