[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

samba problems



Hi,

 hoping that someone really nice can lend a helping hand...with configuring 
samba...
    
      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.

    2. do I need to do a 'route add -net <192.168.0> dev eth0' aside from 
specifying the ip add and netmask? how about the broadcast address? do i need 
to configure that too?

  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.)
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?

[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



Hoping for any kind of help. 





Reply to: