Dan Engelsen
2006-Jan-26 16:53 UTC
[Samba] Samba 3.0.21a and AIX 5.3 - Cannot see server on network
I compiled the 3.0.21a samba software with the following configure options: configure --prefix=/opt/samba --exec-prefix=/opt/samba --with-krb=/usr/krb5 --with-smbwrapper --with-syslog --with-mandir=/usr/man --with-winbind Everything compiled fine; however, I am unable to see the server on the microsoft network. My smb.conf file looks like the this: [global] workgroup = CAREMARKRX netbios name = AZSHSAMBAD01 server string = Micro Strategy Dev Samba Server 3.0.21a interfaces = 127.0.0.1, r10dev01/255.255.255.0 security = DOMAIN log file = /opt/samba/logs/log.%m preferred master = No local master = No domain master = No dns proxy = No wins server = WINS1, WINS2 ldap ssl = no passdb expand explicit = No admin users = is81301, ds066 [/dano] path = /tmp guest ok = Yes When I do a netstat -a, I do not see ports 137 or 139 listed: tcp4 0 0 *.daytime *.* LISTEN tcp 0 0 *.ftp *.* LISTEN tcp4 0 0 *.ssh *.* LISTEN tcp 0 0 *.telnet *.* LISTEN tcp4 0 0 *.time *.* LISTEN tcp4 0 0 *.sunrpc *.* LISTEN tcp4 0 0 *.netbios- *.* LISTEN tcp4 0 0 *.microsof *.* LISTEN tcp 0 0 *.exec *.* LISTEN tcp 0 0 *.login *.* LISTEN tcp 0 0 *.shell *.* LISTEN tcp4 0 0 *.rmc *.* LISTEN tcp4 0 0 *.rsync *.* LISTEN tcp4 0 0 *.swat *.* LISTEN tcp4 0 0 *.writesrv *.* LISTEN tcp 0 0 *.shilp *.* LISTEN tcp4 0 0 r10dev01.shilp r10dev02.interna.34383 ESTABLISHED tcp4 0 0 *.filenet- *.* LISTEN tcp4 0 0 *.filenet- *.* LISTEN tcp4 0 0 *.filenet- *.* LISTEN tcp4 0 0 *.33138 *.* LISTEN tcp4 0 0 *.wsmserve *.* LISTEN tcp4 0 52 r10dev01.ssh dpcs0395590.care.atc-l ESTABLISHED tcp4 0 0 r10dev01.ssh dpcs0395590.care.1187 ESTABLISHED udp4 0 0 *.daytime *.* udp4 0 0 *.time *.* udp4 0 0 *.sunrpc *.* udp4 0 0 127.255.255.255.ntp *.* udp4 0 0 rs123ws255.inter.ntp *.* udp4 0 0 loopback.ntp *.* udp4 0 0 r10dev01.ntp *.* udp4 0 0 *.ntp *.* udp4 0 0 r10dev01.netbios- *.* udp4 0 0 *.netbios- *.* udp4 0 0 r10dev01.netbios- *.* udp4 0 0 *.netbios- *.* udp4 0 0 *.syslog *.* udp4 0 0 *.ntalk *.* udp4 0 0 *.rmc *.* udp4 0 0 *.shilp *.* udp4 0 0 *.xmquery *.* udp4 0 0 *.32775 *.* udp4 0 0 *.32776 *.* udp4 0 0 *.32777 *.* udp4 0 0 *.32781 *.* udp4 0 0 *.32782 *.* udp4 0 0 *.32819 *.* udp4 0 0 *.32820 *.* udp4 0 0 *.33402 *.* udp4 0 0 *.33403 *.* udp4 0 0 *.35480 *.* udp4 0 0 *.35481 *.* udp4 0 0 *.35482 *.* udp4 0 0 *.37966 *.* udp4 0 0 *.37967 *.* The processes are up and running: [root@r10dev01]/etc # ps -ef|grep samba root 634946 1 0 10:52:30 - 0:00 /opt/samba/sbin/smbd -D root 671958 634946 0 10:52:31 - 0:00 /opt/samba/sbin/smbd -D root 680114 1 0 10:52:31 - 0:00 /opt/samba/sbin/nmbd -D When I try the echo "help"|telnet localhost 139, it works, but it hangs for about 5 minutes. root@r10dev01]/etc # echo "hello" |telnet localhost 139 Trying... Connected to loopback. Escape character is '^]'. (It hangs at this point) Connection closed. [root@r10dev01]/etc # I do not start the samba daemons out of inetd. I have a startup script that runs from the inittab called /etc/rc.samba. #!/bin/ksh if [ -x /opt/samba/sbin/smbd ] then echo "Starting smbd...." /opt/samba/sbin/smbd -D fi if [ -x /opt/samba/sbin/nmbd ] then echo "Starting nmbd...." /opt/samba/sbin/nmbd -D fi When I try to use the smbclient command, I get the following: [r10dev01:/opt/samba/bin]79> ./smbclient '\\AZSHSAMBAD01\dano' Password: Domain=[CAREMARKRX] OS=[Unix] Server=[Samba 3.0.21a] tree connect failed: NT_STATUS_BAD_NETWORK_NAME Any ideas as to what the problem could be? Any suggestions would be greatly appreciated. Thanks, Dan AIX Administrator __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com