<rant>Every time I set up a new test Samba server, the step to "net rpc rights grant..." ALWAYS fights me tooth and nail... ALWAYS with a different error message. I've even created little scripts to run so I am not typing commands incorrectly... but NNNOOOOOO, the script to grand rights to one stink'n account always has to complain!</rant> OK, this time it is... Could not connect to server 127.0.0.1 HUA?!?!? ldslnx03:/var/log/samba# netstat -taupen | grep mbd tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 0 4786 3973/smbd tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 0 4785 3973/smbd udp 0 0 10.10.10.14:137 0.0.0.0:* 0 4767 3970/nmbd udp 0 0 0.0.0.0:137 0.0.0.0:* 0 4764 3970/nmbd udp 0 0 10.10.10.14:138 0.0.0.0:* 0 4768 3970/nmbd udp 0 0 0.0.0.0:138 0.0.0.0:* 0 4765 3970/nmbd This is on a 10.10.10.xx Class C network. Am I missing something obvious? Is it REALLY dinner time? I have a stock smb.conf file, change the server / workgroup name, that's it. Running on Debian Sarge. Simo's deb packages from samba.org, trying 3.0.21b packages this time. Backed down to 3.0.21a just to make sure it was not a new bug in the (b) version. Running 3.0.21a on all of the other servers. TIA! -- Michael Lueck Lueck Data Systems http://www.lueckdatasystems.com/ Remove the upper case letters NOSPAM to contact me directly.
Michael Lueck
2006-Feb-14 00:44 UTC
[Samba] Re: Samba not listening on 127.0.0.1... hua???
Someone asked what interfaces I have configured on this box... ldslnx03:/var/log/samba# ifconfig eth0 Link encap:Ethernet HWaddr 00:00:86:5A:42:5C inet addr:10.10.10.14 Bcast:10.10.10.255 Mask:255.255.255.0 inet6 addr: fe80::200:86ff:fe5a:425c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:6944 errors:0 dropped:0 overruns:0 frame:0 TX packets:7175 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:5282606 (5.0 MiB) TX bytes:790309 (771.7 KiB) Interrupt:11 Base address:0x4800 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:980 errors:0 dropped:0 overruns:0 frame:0 TX packets:980 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:81788 (79.8 KiB) TX bytes:81788 (79.8 KiB) -- Michael Lueck Lueck Data Systems http://www.lueckdatasystems.com/ Remove the upper case letters NOSPAM to contact me directly.
Michael Lueck
2006-Feb-14 02:14 UTC
[Samba] Re: Samba not listening on 127.0.0.1... hua???
Next I am going to tell dselect to purge (yes deb PURGE) the whole bloody thing away and go back to 3.0.21a... get a load of this... pianoman@ldslnx03:/srv/samba$ ./initLDSInst.sh Password: [2006/02/13 21:13:15, 0] lib/util_sock.c:read_socket_with_timeout(492) read_socket_with_timeout: timeout read. read error = Connection reset by peer. Could not connect to server 127.0.0.1 pianoman@ldslnx03:/srv/samba$ ./initLDSInst.sh Password: [2006/02/13 21:13:19, 0] lib/util_sock.c:read_socket_with_timeout(492) read_socket_with_timeout: timeout read. read error = Connection reset by peer. Could not connect to server 127.0.0.1 pianoman@ldslnx03:/srv/samba$ su Password: ldslnx03:/srv/samba# /etc/init.d/samba restart Stopping Samba daemons: nmbd smbd. Starting Samba daemons: nmbd smbd. ldslnx03:/srv/samba# exit exit pianoman@ldslnx03:/srv/samba$ ./initLDSInst.sh Password: Failed to grant privileges for LDS-DEMO\ldsinst (NT_STATUS_ACCESS_DENIED) -- Michael Lueck Lueck Data Systems http://www.lueckdatasystems.com/ Remove the upper case letters NOSPAM to contact me directly.
Kristaps Rāts
2006-Feb-14 07:36 UTC
[Samba] Re: Samba not listening on 127.0.0.1... hua???
1) Do you have the user pianoman in your passdb? 2) Is pianoman a member of the Domain Admins group? On P , 2006-02-13 at 21:13 -0500, Michael Lueck wrote:> Next I am going to tell dselect to purge (yes deb PURGE) the whole bloody thing away and go back to 3.0.21a... get a load of this... > > pianoman@ldslnx03:/srv/samba$ ./initLDSInst.sh > Password: > [2006/02/13 21:13:15, 0] lib/util_sock.c:read_socket_with_timeout(492) > read_socket_with_timeout: timeout read. read error = Connection reset by peer. > Could not connect to server 127.0.0.1 > pianoman@ldslnx03:/srv/samba$ ./initLDSInst.sh > Password: > [2006/02/13 21:13:19, 0] lib/util_sock.c:read_socket_with_timeout(492) > read_socket_with_timeout: timeout read. read error = Connection reset by peer. > Could not connect to server 127.0.0.1 > pianoman@ldslnx03:/srv/samba$ su > Password: > ldslnx03:/srv/samba# /etc/init.d/samba restart > Stopping Samba daemons: nmbd smbd. > Starting Samba daemons: nmbd smbd. > ldslnx03:/srv/samba# exit > exit > pianoman@ldslnx03:/srv/samba$ ./initLDSInst.sh > Password: > Failed to grant privileges for LDS-DEMO\ldsinst (NT_STATUS_ACCESS_DENIED) > > -- > Michael Lueck > Lueck Data Systems > http://www.lueckdatasystems.com/ > > Remove the upper case letters NOSPAM to contact me directly. >