A long time ago, in a galaxy far, far way, someone said... > Hi, > > hoping that someone really nice can lend a helping hand...with > configuring samba...
Samba's not that hard. > 1. I always do an ifconfig eth0 <192.168.0.1> netmask < > 255.255.255.0> everytime I boot to configure my network interface. I > want to configure the interface permanently so I do not have to > manually specify it everytime. One of two ways: * /etc/init.d/network * /etc/network/interfaces > 2. do I need to do a 'route add -net <192.168.0> dev eth0' aside > from specifying the ip add and netmask? Depends; what kernel revision are you using? > how about the broadcast address? do i need to configure that too? Yep. Same place as the ip number. > 3.when trying to test the connection with $smbclient > \\\\debian\\user1, it prompts me for the password, then gives the > error.. > Password: > session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair in > a Tree Connect or Session Setup are invalid.) You entered the wrong password, obviously. What are the contents the [global] section in smb.conf? According to the log below, you're missing the smbpasswd file (the list of encrypted NT LanMan passwords). You really can't use samba without it... > ah.....say what? > > btw, > I run samba from inetd. nmblookup works..(i think, doesn't complain > anyway) testparm also doesn't complains...but checking var/log/smb > shows this errors...when I first installed samba it asked me if i > wanted to make a new samba passwords file...i said no, (taking the > default choice) perhaps that is where my problem lies? Yes that's the problem. > > [2000/08/02 20:16:56, 1] smbd/server.c:main(641) > smbd version 2.0.7 started. > Copyright Andrew Tridgell 1992-1998 > [2000/08/02 20:16:56, 1] smbd/files.c:file_init(216) > file_init: Information only: requested 10000 open files, 1014 are available. > [2000/08/02 20:17:11, 0] passdb/smbpass.c:startsmbfilepwent_internal(87) > startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error > was No such file or directory > [2000/08/02 20:17:11, 0] passdb/passdb.c:iterate_getsmbpwnam(149) > unable to open smb password database. > [2000/08/02 20:17:11, 1] smbd/password.c:pass_check_smb(500) > Couldn't find user 'root' in smb_passwd file. > [2000/08/02 20:17:11, 0] passdb/smbpass.c:startsmbfilepwent_internal(87) > startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error > was No such file or directory > [2000/08/02 20:17:11, 0] passdb/passdb.c:iterate_getsmbpwnam(149) > unable to open smb password database. > [2000/08/02 20:17:11, 1] smbd/password.c:pass_check_smb(500) > Couldn't find user 'root' in smb_passwd file. > [2000/08/02 20:17:11, 1] smbd/reply.c:reply_sesssetup_and_X(925) > Rejecting user 'root': authentication failed -- ---------------------------------------------------------------------- Phil Brutsche [EMAIL PROTECTED] "There are two things that are infinite; Human stupidity and the universe. And I'm not sure about the universe." - Albert Einstien