(no subject)

Sam ! sol_unix at hotmail.com
Sun Apr 1 21:40:32 GMT 2001


I have a pcwin3.11. I was mapping solaris 2.5 with samba2.0.5 fine.
I added the solaris2.7 system with samba2.0.7 to this small lan. Actaully 
this solaris 2.7 box was another 2.5 box that I upgraded it.
I ftped the smb.conf file from the solaris2.5 box to the solaris 2.7 box so  
that this way the two solaris systems match and that pcwin3.11 will work 
with both equally well.  I even mated the /etc/passwd files on both sides as 
they were happened to be the same. But at pcwin3.11 side when i try to map 
the  solaris 2.7, i get the "network password" prompt. no matter what 
password i enter it gives "invalid password".
what should i do?. I do not think that it is the "passwd encryption" thing 
since both systems have  the same smb.conf.  smbpasswd file on both are the 
same and they are in binary format.


Another problem that I have is that sometimes my samba is not starting after 
reboots. I have added the following S99samba to the /etc/rc3.d. I do not 
know why not?.

sAm



#!/sbin/sh
#
# Start Samba SMB file/print services

# Set environment
PATH=/usr/bin:/sbin:/usr/sbin export PATH

# Samba directory
SAMBA_DIR=/opt/samba
SAMBA_SMBD_DEBUG_LEVEL=0
SAMBA_NMBD_DEBUG_LEVEL=0
SAMBA_SMBD_LOG=/var/opt/samba/log.smb
SAMBA_NMBD_LOG=/var/opt/samba/log.nmb

# Kill all processes matching a certain name
kill_proc () {
	ps -ef | grep "$1" | grep -v grep | while read PROC; do \
		PID=`echo ${PROC} | awk '{ print $2 }'`
		[ ${PID} -gt 0 ] && kill ${PID}
	done
}

case "$1" in
start)
	${SAMBA_DIR}/bin/smbd -D -d ${SAMBA_SMBD_DEBUG_LEVEL:=0} \
		-l ${SAMBA_SMBD_LOG:=/var/opt/samba/log.smb}
	${SAMBA_DIR}/bin/nmbd -D -d ${SAMBA_NMBD_DEBUG_LEVEL:=0} \
		-l ${SAMBA_NMBD_LOG:=/var/opt/samba/log.nmb}

	echo "Samba services started."
	;;

stop)
	kill_proc "${SAMBA_DIR}/bin/nmbd"
	kill_proc "${SAMBA_DIR}/bin/smbd"

	echo "Samba services stopped."
	;;

*)
	echo "Usage: $0 { start | stop }"
	exit 1
	;;
esac

exit 0


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com





More information about the samba mailing list