Link to home
Start Free TrialLog in
Avatar of tecitout
tecitout

asked on

Can not attach to Fedora 4 share

What am I doing wrong?  I can not attach a windows XP machine or win2K to a Samba box.  I can attach to a RH9 samba server fine but not Fedora 4 or Umbuto .  I am sure I have user rights set fine in Samba and the shared directory.  On the XP pro workstation I sometimes get a popup box with guest filled in and a password is needed .
On the Win2K machine I get  "the network name can not be found ." or share is not accessible, the network name can not be found.
Avatar of rajaramamohan
rajaramamohan

Hi,

Things have changed  for samba 3.

Please look at

http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/winbind.html

bye
Avatar of tecitout

ASKER

I should explain that I a not running a domain, I have plain server client setup.  I was able to start winbind but not able to get it to load automaticaly at startup. Just runningit has not helped.  I still get a popup window titled Connect to bench ("bench" is the name of my server) and in that window is the username greyed out with BENCH\Guest filled in and the password box awaiting somebodys elses password, none that I have created because I have tried them all and nothing works <g>  I have struggled with this off and on for 3 months and usually am pushed for time and jsut setup a RH9 box for a customer instead. I am led to believe it is a authtentication issue.  I can see all the shares created and I have added security = share in the smb.conf file to make sure it was not rights issue.  
"the network name can not be found" that's mean your win2K or your XP can't find/resolve the hostname "bench".

try use the "start" and "run" in your windows (win2K or XP) and keep in the ip address of that server (bench) eg "\\10.0.0.11\" what's the result? will it ask you for the username and password?? or just show you the contents of that server?? for doing this at lease you know your windows (win2k or XP) can connect to the samba server or not.

Once you can connect to the samba server by using ip, so try put the hostname and ip into the hosts table of your windows, and try using the hostname again.
sorry typo

should be

key in the ip address, instead keep in
I just did this, and it does the same comes up with a login box same as before withthe user name filled in. This time with 192.168.168.7\Guest and waiting for password.  I have tried adding it to the host file before and just checked it is still there.
I also ran last night the sigOseal.reg file Ii had read about somewhere else.  Rebooted still no luck.  I am having same problem with my notebook XP Home and also a win2Kbox.  I can log into my win2k box from the Fedora box.
ok that's mean you can connect the samba server, how you add the users into the samba server?? or did you??

have you add the user into your samba server for example user1 with password "abc123" you should add into the smbpasswd file by

smbpasswd -a user1
samba password: abc123
reentry password: abc123

so when the user1 logon in your winXP or Win2k there should not need any user login for your samba server.
I did add user once with GUI interface that comes with Fedora and than added it witht he GUI interface to SAMBA.
I also used Webmin to manage all of my customer boxes (have about 12 of them now, all RH9) I am used to the webmin interface, so I added user with it and brought it over to to samba with webmin also it did not work ..  When I get back this morning from apointment I will add it manually on the box and try it again.
Avatar of rindi
Try to disable the firewall (at least temporarily) on your FC4 box

/etc/init.d/iptables stop

If you can then connect to your server it is the firewall blocking your ports needed for samba (tcp ports 139, 445 and udp ports 137 and 138).
check in the samba config where the share is being stated and add the following

EXAMPLE:

[downloads]
comment = Downloads folder
path = /root/downloads
create mask = 0644
#force create mode = 0644
directory mask = 1777
#force directory mode = 1777
read only = no

Regards,
Wayne
I was sure when I did the install I told it no firewall.  Well it was running and I stopped it.
I still can not login.
I used Wayne's sugestion of the samba share and I see it but when atempting to login to it up pop the login window with username shaded out and
bench\Guest entered in there. waiting for me to enter a password.

paul is the user that should be in there!  not guest.   I still think it is a verfifying problem.

On my win2K I get the regular longin box with user name and password but when I enter in Paul and my p/w it comes right back to the login screen. It does not take it either..

I want to thank all of you for giveing me ideas here, I have got to get this solved as I want to use these in new server installs at customers.
L8tr  Paul
worthwhile trying to see whether the share is even visible, by using:

smbclient -L \\ipaddress

This will give you confidence that the share even exists on the network before trying to deal with any authentication and permission problems.
this is waht i got with that command
omain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.14a-2]

        Sharename       Type      Comment
        ---------       ----      -------
        Shared          Disk
        downloads       Disk      Downloads folder
        IPC$            IPC       IPC Service (Samba 3.0.14a-2)
        ADMIN$          IPC       IPC Service (Samba 3.0.14a-2)
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.14a-2]

        Server               Comment
        ---------            -------
        BENCH                Samba 3.0.14a-2
        ELKRIVER             Samba Server

        Workgroup            Master
        ---------            -------
        WORKGROUP            ELKRIVER

And this is the smb.conf file

#======================= Global Settings =====================================
[global]
      encrypt passwords = yes
      netbios name = Bench
      security = share
      socket options = TCP_NODELAY IPTOS_LOWDELAY
      wins support = yes
      workgroup = WORKGROUP

      

      



[Shared]
      path = /home/Shared
      read only = no
       
[downloads]
      create mask = 0644
      directory mask = 1777
      comment = Downloads folder
      writable = yes
      path = /root/downloads
      available = yes
  #force create mode = 0644
  #force directory mode = 1777

thanks am waiting for the next step. to try
paul
how you add the users into your samba server??

1st you have to add user(s) to the linux box, afterward add samba server user(s)

useradd user1    <--- for linux box

smbpasswd -a user1   <---- for samba server

both will ask you for key in password twice, have you do that??

Since you can connect to the samba server, now it's come to user(s) verification, can you also post your smb.conf here may be it can help us to dig out something.

oh sorry still sleepy, you did post your config here :)  ignore my request for the smb.conf
"On my win2K I get the regular longin box with user name and password but when I enter in Paul and my p/w it comes right back to the login screen. It does not take it either.."

do you mean the user Paul also can't login to your win2K pc?? and Paul is the user need to login into the samba server??

did user Paul has the login profile in win2K??

try add something like below in your smb.conf  Global  parameters


        security = user
        encrypt passwords = Yes
        smb passwd file = /etc/samba/smbpasswd
        passwd program = /usr/bin/passwd %u
        passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n * passwd:*all*authentication*tokens*updated*successfully*
        username map = /etc/samba/smbusers
        unix password sync = Yes

Changing the "security =" to user now pops up a correct login box on my XP Pro machine asking for user name and password, I type in paul and my password and it pops right back on the screen. It is still not taking it.  Just for kicks, i tried a new XP Home notebook this morning does the same exact thing.

Well we are narrowing down the possibilities <g>
Well last try is the following command...

/usr/bin/smbpasswd -a username password

then try entering specified username and password

Regards,
Wayne
Wayne my smbpasswd is located
/etc/samba/smbpasswd
I tried your comand - /usr/bin/smbpasswd -a paul 123456
came back permission dennied, I am logged in as root ???   got me
I just noticed the accept buttons on the right side of my screen am I supposed to click them? or only when problem is solved?
Only when problem is solved. You use them to accept an answer as the correct answer.
noticed I type this wrong
this is what I typed..
Wayne my smbpasswd is located
/etc/samba/smbpasswd
I tried your comand - /etc/samba/smbpasswd -a paul 123456
came back permission dennied, I am logged in as root ???   got me
Check the /var/log/samba/log.ipaddress and paste what it says about the folder downloads
Wow nice to know this is here <g>  lots of stuff

Error sending status request (Operation not permitted)
[2006/04/01 08:22:38, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 08:22:39, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 08:30:04, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
Error sending status request (Operation not permitted)
[2006/04/01 15:27:01, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 15:27:02, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 15:27:06, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 15:29:55, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 15:29:55, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 15:29:56, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 15:29:56, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 15:30:12, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 15:30:16, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 15:30:18, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 15:45:16, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 15:45:16, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 15:45:16, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 15:45:16, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 15:45:22, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 15:45:24, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 15:45:24, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 15:45:24, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 15:45:24, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 15:45:24, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 15:45:24, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 15:45:25, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 15:45:25, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 15:45:25, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 15:45:25, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 15:45:25, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 15:45:26, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 15:45:26, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 15:45:26, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 15:45:28, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 15:45:42, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 15:45:42, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
Error sending status request (Operation not permitted)
Error sending status request (Operation not permitted)
[2006/04/01 15:51:45, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 15:51:46, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 15:51:55, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 17:44:39, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 17:44:39, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 17:44:39, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 17:44:39, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 17:44:39, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 17:44:39, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 17:44:39, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 17:44:40, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 17:44:40, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 17:44:51, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 17:44:51, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 17:44:51, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 17:44:51, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 17:44:51, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 17:44:51, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 17:46:52, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 17:46:52, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 17:46:52, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 17:46:54, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 17:46:54, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 17:46:54, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 17:46:54, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 17:46:54, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 17:46:54, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 17:46:54, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 17:46:54, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 17:46:54, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 17:46:54, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 17:46:54, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 17:46:54, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 17:46:54, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 17:46:54, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 17:46:54, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 17:46:54, 0] smbd/service.c:make_connection_snum(615)
  '/home/paul' does not exist or is not a directory, when connecting to [paul]
[2006/04/01 17:46:55, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 17:46:55, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 17:46:55, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 17:46:55, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 17:46:55, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 17:46:55, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 17:46:55, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 17:46:55, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 17:46:55, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 17:46:55, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 17:46:55, 0] smbd/service.c:make_connection_snum(615)
  '/home/paul' does not exist or is not a directory, when connecting to [paul]
[2006/04/01 17:47:05, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 17:47:05, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 17:47:05, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 17:47:05, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 17:47:05, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 17:47:05, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 17:47:05, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 17:47:05, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 17:47:05, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 17:47:05, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 17:47:05, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 17:47:05, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 17:47:05, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 17:47:05, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 17:47:05, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 17:47:05, 0] smbd/service.c:make_connection_snum(615)
  '/home/paul' does not exist or is not a directory, when connecting to [paul]
[2006/04/01 17:59:44, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 17:59:44, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 17:59:44, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 17:59:44, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 17:59:44, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 17:59:44, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 17:59:44, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 17:59:44, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 17:59:44, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 17:59:44, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 17:59:44, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 17:59:44, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 17:59:44, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 17:59:44, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 17:59:44, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 17:59:44, 0] smbd/service.c:make_connection_snum(615)
  '/home/paul' does not exist or is not a directory, when connecting to [paul]
[2006/04/01 18:00:22, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:00:22, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 18:00:22, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 18:00:22, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 18:00:22, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:00:22, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:00:22, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 18:00:22, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 18:00:22, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 18:00:22, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:00:22, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 18:00:22, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 18:00:22, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 18:00:22, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:00:22, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:00:22, 0] smbd/service.c:make_connection_snum(615)
  '/home/paul' does not exist or is not a directory, when connecting to [paul]
[2006/04/01 18:00:22, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:00:22, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 18:00:22, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 18:00:22, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 18:00:22, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:00:22, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 18:00:22, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 18:00:22, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 18:00:22, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:00:22, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:00:22, 0] smbd/service.c:make_connection_snum(615)
  '/home/paul' does not exist or is not a directory, when connecting to [paul]
[2006/04/01 18:00:27, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:00:27, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 18:00:27, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 18:00:27, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 18:00:27, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:00:27, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 18:00:27, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 18:00:27, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 18:00:27, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:00:27, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:00:27, 0] smbd/service.c:make_connection_snum(615)
  '/home/paul' does not exist or is not a directory, when connecting to [paul]
[2006/04/01 18:00:28, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 18:00:28, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 18:03:11, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:03:11, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 18:03:11, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 18:03:11, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 18:03:11, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:03:11, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:03:11, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 18:03:11, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 18:03:11, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 18:03:11, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:03:11, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 18:03:11, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 18:03:11, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 18:03:11, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:03:11, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:03:11, 0] smbd/service.c:make_connection_snum(615)
  '/home/paul' does not exist or is not a directory, when connecting to [paul]
[2006/04/01 18:03:12, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:03:12, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 18:03:12, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 18:03:12, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 18:03:12, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:03:12, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 18:03:12, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 18:03:12, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 18:03:12, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:03:12, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:03:12, 0] smbd/service.c:make_connection_snum(615)
  '/home/paul' does not exist or is not a directory, when connecting to [paul]
[2006/04/01 18:03:15, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:03:15, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 18:03:15, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 18:03:15, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 18:03:15, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:03:15, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 18:03:15, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 18:03:15, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 18:03:15, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:03:15, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:03:15, 0] smbd/service.c:make_connection_snum(615)
  '/home/paul' does not exist or is not a directory, when connecting to [paul]
[2006/04/01 18:29:57, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:29:57, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 18:29:57, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 18:29:57, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 18:29:57, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:29:57, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:29:57, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 18:29:57, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 18:29:57, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 18:29:57, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:29:57, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 18:29:57, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 18:29:57, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 18:29:57, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:29:57, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:29:57, 0] smbd/service.c:make_connection_snum(615)
  '/home/paul' does not exist or is not a directory, when connecting to [paul]
[2006/04/01 18:29:58, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:29:58, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 18:29:58, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 18:29:58, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 18:29:58, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:29:58, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 18:29:58, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 18:29:58, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 18:29:58, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:29:58, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:29:58, 0] smbd/service.c:make_connection_snum(615)
  '/home/paul' does not exist or is not a directory, when connecting to [paul]
[2006/04/01 18:29:59, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:29:59, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 18:29:59, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 18:29:59, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 18:29:59, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:29:59, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 18:29:59, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 18:29:59, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 18:29:59, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:29:59, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:29:59, 0] smbd/service.c:make_connection_snum(615)
  '/home/paul' does not exist or is not a directory, when connecting to [paul]
[2006/04/01 18:35:16, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:35:16, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 18:35:16, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 18:35:16, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 18:35:16, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:42:28, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:42:28, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:42:28, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:42:31, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:42:31, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:42:31, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 18:42:31, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 18:42:31, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 18:42:31, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 18:42:32, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 18:42:39, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 18:44:06, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:44:06, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 18:44:06, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 18:44:06, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 18:44:06, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:44:06, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 18:44:08, 0] lib/access.c:check_access(328)
  Denied connection from  (192.168.168.57)
[2006/04/01 18:46:01, 0] lib/util_sock.c:set_socket_options(178)
  Unknown socket option PTOS_LOWDELAY
[2006/04/01 18:46:01, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:46:01, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 18:46:01, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 18:46:01, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 18:46:01, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:46:01, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:46:01, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 18:46:01, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 18:46:01, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 18:46:01, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:46:01, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:46:01, 0] smbd/password.c:authorise_login(573)
  authorise_login: rejected invalid user nobody
[2006/04/01 18:46:03, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:46:03, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:46:03, 0] smbd/password.c:authorise_login(573)
  authorise_login: rejected invalid user nobody
[2006/04/01 18:46:08, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:46:08, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:46:08, 0] smbd/password.c:authorise_login(573)
  authorise_login: rejected invalid user nobody
[2006/04/01 18:46:12, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:46:12, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 18:46:12, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 18:46:12, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 18:46:12, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:46:12, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 18:46:12, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 18:46:12, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 18:46:12, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:46:12, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:46:12, 0] smbd/service.c:make_connection_snum(615)
  '/home/paul' does not exist or is not a directory, when connecting to [paul]
[2006/04/01 18:46:12, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:46:12, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 18:46:12, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 18:46:12, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 18:46:12, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:46:12, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 18:46:12, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 18:46:12, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 18:46:12, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:46:12, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:46:12, 0] smbd/service.c:make_connection_snum(615)
  '/home/paul' does not exist or is not a directory, when connecting to [paul]
[2006/04/01 18:46:24, 0] lib/util_sock.c:set_socket_options(178)
  Unknown socket option PTOS_LOWDELAY
[2006/04/01 18:48:29, 0] lib/util_sock.c:set_socket_options(178)
  Unknown socket option PTOS_LOWDELAY
[2006/04/01 18:48:29, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:48:32, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/01 18:48:32, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/01 18:48:32, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/01 18:48:32, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/01 18:48:32, 0] smbd/password.c:authorise_login(573)
  authorise_login: rejected invalid user nobody
[2006/04/01 18:48:33, 0] smbd/password.c:authorise_login(573)
  authorise_login: rejected invalid user nobody
[2006/04/01 18:48:45, 0] lib/util_sock.c:set_socket_options(178)
  Unknown socket option PTOS_LOWDELAY
On the linux box make sure you are root, go through the smb.conf again here is mine at the bottom also VERY VERY important use the following command on the folder you are sharing...

chmod 0777 /path/folder
chmod 0777 /root/downloads  <--------- MUST DO (mine just worked)



# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors.
#
#======================= Global Settings =====================================
[global]

# workgroup = NT-Domain-Name or Workgroup-Name
   workgroup = WORKGROUP

# server string is the equivalent of the NT Description field
;   server string = Samba Server

# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
;   hosts allow = 192.168.1. 192.168.2. 127.

# if you want to automatically load your printer list rather
# than setting them up individually then you'll need this
   printcap name = /etc/printcap
   load printers = yes

# It should not be necessary to spell out the print system type unless
# yours is non-standard. Currently supported print systems include:
# bsd, sysv, plp, lprng, aix, hpux, qnx
;   printing = bsd

# Uncomment this if you want a guest account, you must add this to /etc/passwd
# otherwise the user "nobody" is used
;  guest account = pcguest

# this tells Samba to use a separate log file for each machine
# that connects
 log file = /var/log/samba/%m.log
# all log information in one file
#   log file = /var/log/samba/smbd.log

# Put a capping on the size of the log files (in Kb).
   max log size = 50

# Security mode. Most people will want user level security. See
# security_level.txt for details.
   security = share
# Use password server option only with security = server
;   password server = *

# Password Level allows matching of _n_ characters of the password for
# all combinations of upper and lower case.
;  password level = 8
;  username level = 8

# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
  encrypt passwords = yes
  smb passwd file = /etc/samba/smbpasswd

# The following are needed to allow password changing from Windows to
# update the Linux system password also.
# NOTE: Use these with 'encrypt passwords' and 'smb passwd file' above.
# NOTE2: You do NOT need these to allow workstations to change only
#        the encrypted SMB passwords. They allow the Unix password
#        to be kept in sync with the SMB password.
  unix password sync = Yes
  passwd program = /usr/bin/passwd %u
  passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*

# Unix users can map to different SMB User names
  username map = /etc/samba/smbusers

# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
;   include = /etc/samba/smb.conf.%m

# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

# Configure Samba to use multiple interfaces
# If you have multiple network interfaces then you must list them
# here. See the man page for details.
   interfaces = eth0

# Configure remote browse list synchronisation here
#  request announcement to, or browse list sync from:
#      a specific host or from / to a whole subnet (see below)
;   remote browse sync = 192.168.3.25 192.168.5.255
# Cause this host to announce itself to local subnets here
;   remote announce = 192.168.1.255 192.168.2.44

# Browser Control Options:
# set local master to no if you don't want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
;   local master = no

# OS Level determines the precedence of this server in master browser
# elections. The default value should be reasonable
;   os level = 33

# Domain Master specifies Samba to be the Domain Master Browser. This
# allows Samba to collate browse lists between subnets. Don't use this
# if you already have a Windows NT domain controller doing this job
;   domain master = yes

# Preferred Master causes Samba to force a local browser election on startup
# and gives it a slightly higher chance of winning the election
;   preferred master = yes

# Enable this if you want Samba to be a domain logon server for
# Windows95 workstations.
;   domain logons = yes

# if you enable domain logons then you may want a per-machine or
# per user logon script
# run a specific logon batch file per workstation (machine)
;   logon script = %m.bat
# run a specific logon batch file per username
;   logon script = %U.bat

# Where to store roving profiles (only for Win95 and WinNT)
#        %L substitutes for this servers netbios name, %U is username
#        You must uncomment the [Profiles] share below
;   logon path = \\%L\Profiles\%U

# All NetBIOS names must be resolved to IP Addresses
# 'Name Resolve Order' allows the named resolution mechanism to be specified
# the default order is "host lmhosts wins bcast". "host" means use the unix
# system gethostbyname() function call that will use either /etc/hosts OR
# DNS or NIS depending on the settings of /etc/host.config, /etc/nsswitch.conf
# and the /etc/resolv.conf file. "host" therefore is system configuration
# dependant. This parameter is most often of use to prevent DNS lookups
# in order to resolve NetBIOS names to IP Addresses. Use with care!
# The example below excludes use of name resolution for machines that are NOT
# on the local network segment
# - OR - are not deliberately to be known via lmhosts or via WINS.
 name resolve order = wins lmhosts bcast

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
;   wins support = yes

# WINS Server - Tells the NMBD components of Samba to be a WINS Client
#      Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
;   wins server = w.x.y.z

# WINS Proxy - Tells Samba to answer name resolution queries on
# behalf of a non WINS capable client, for this to work there must be
# at least one      WINS Server on the network. The default is NO.
;   wins proxy = yes

# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups. The built-in default for versions 1.9.17 is yes,
# this has been changed in version 1.9.18 to no.
   dns proxy = no

# Case Preservation can be handy - system default is _no_
# NOTE: These can be set on a per share basis
;  preserve case = yes
;  short preserve case = yes
# Default case is normally upper case for all DOS files
;  default case = lower
# Be very careful with case sensitivity - it can break things!
;  case sensitive = no

#============================ Share Definitions ==============================
;   idmap uid = 16777216-33554431
;   idmap gid = 16777216-33554431
;   template shell = /bin/false
;   winbind use default domain = no
;   winbind enum users = yes
;   winbind enum groups = yes

[homes]
   comment = Home Directories
   browseable = no
   writable = yes

# Un-comment the following and create the netlogon directory for Domain Logons
; [netlogon]
;   comment = Network Logon Service
;   path = /home/netlogon
;   guest ok = yes
;   writable = no
;   share modes = no


# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
;[Profiles]
;    path = /home/profiles
;    browseable = no
;    guest ok = yes


# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
# Set public = yes to allow user 'guest account' to print
   guest ok = no
   writable = no
   printable = yes

# This one is useful for people to share files
;[tmp]
;   comment = Temporary file space
;   path = /tmp
;   read only = no
;   public = yes

# A publicly accessible directory, but read only, except for people in
# the "staff" group
;[public]
;   comment = Public Stuff
;   path = /home/samba
;   public = yes
;   read only = yes
;   write list = @staff

# Other examples.
#
# A private printer, usable only by fred. Spool data will be placed in fred's
# home directory. Note that fred must have write access to the spool directory,
# wherever it is.
;[fredsprn]
;   comment = Fred's Printer
;   valid users = fred
;   path = /homes/fred
;   printer = freds_printer
;   public = no
;   writable = no
;   printable = yes

# A private directory, usable only by fred. Note that fred requires write
# access to the directory.
;[fredsdir]
;   comment = Fred's Service
;   path = /usr/somewhere/private
;   valid users = fred
;   public = no
;   writable = yes
;   printable = no

# a service which has a different directory for each machine that connects
# this allows you to tailor configurations to incoming machines. You could
# also use the %u option to tailor it by user name.
# The %m gets replaced with the machine name that is connecting.
;[pchome]
;  comment = PC Directories
;  path = /usr/pc/%m
;  public = no
;  writable = yes

# A publicly accessible directory, read/write to all users. Note that all files
# created in the directory by users will be owned by the default user, so
# any user with access can delete any other user's files. Obviously this
# directory must be writable by the default user. Another user could of course
# be specified, in which case all files would be owned by that user instead.
;[public]
;   path = /usr/somewhere/else/public
;   public = yes
;   only guest = yes
;   writable = yes
;   printable = no

# The following two entries demonstrate how to share a directory so that two
# users can place files there that will be owned by the specific users. In this
# setup, the directory should be writable by both users and should have the
# sticky bit set on it to prevent abuse. Obviously this could be extended to
# as many users as required.
;[myshare]
;   comment = Mary's and Fred's stuff
;   path = /usr/somewhere/shared
;   valid users = mary fred
;   public = no
;   writable = yes
;   printable = no
;   create mask = 0765

[downloads]
;   comment = Downloaded stuff
   path = /root/downloads
;   valid users = root
   public = yes
   writable = yes
;   printable = no
   create mask = 0777
Before i forget please remember to restart the samba service

/etc/init.d/smb restart <--------- RedHat
/etc/init.d/samba restart <------- Ubuntu

Regards,
Wayne
Well Wayne again I thought you hit apon something..
Here is my smb.conf as it is now changed it to match your pretty much pulled out all comments.

[global]
      smb passwd file = /etc/samba/smbpasswd
      load printers = yes
      passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
      socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
      interfaces = eth0
      username map = /etc/samba/smbusers
      encrypt passwords = yes
      passwd program = /usr/bin/passwd %u
      dns proxy = no
      netbios name = bench
      unix password sync = Yes
      workgroup = WORKGROUP
      os level = 20
      printcap name = /etc/printcap
      security = share
      max log size = 50
; name resolve order = wins lmhosts bcast
  dns proxy = no


[Shared]
 path = /home/Shared
 chmod 0777 /home/Shared
 read only = no
       
[downloads]
 path = /root/downloads
 chmod 0777 /root/downloads
 create mask = 0777
 writable = yes
 public = yes
Also Wayne

this is the very last of my smbd.log...    Does it give you any hint something is wrong?

 add_smbfilepwd_entry: unable to open file.
[2006/04/05 06:10:24, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/05 06:10:24, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/05 06:10:24, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/05 06:10:24, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/05 06:10:24, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/05 06:10:24, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/05 06:10:24, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/05 06:10:24, 0] smbd/service.c:make_connection_snum(615)
  '/root/downloads' does not exist or is not a directory, when connecting to [downloads]
this is my nmbd.log  (what ever that is)

well it is the last few lines of it..

[2006/04/05 06:08:26, 0] nmbd/nmbd.c:main(669)
  Netbios nameserver version 3.0.14a-2 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2004
[2006/04/05 06:08:26, 1] param/params.c:Parameter(383)
  params.c:Parameter() - Ignoring badly formed line in configuration file: chmod 0777 /home/Shared
[2006/04/05 06:08:26, 1] param/params.c:Parameter(383)
  params.c:Parameter() - Ignoring badly formed line in configuration file: chmod 0777 /root/downloads
[2006/04/05 06:09:40, 0] nmbd/nmbd.c:terminate(56)
  Got SIGTERM: going down...
[2006/04/05 06:09:40, 0] nmbd/nmbd.c:main(669)
  Netbios nameserver version 3.0.14a-2 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2004
[2006/04/05 06:09:40, 1] param/params.c:Parameter(383)
  params.c:Parameter() - Ignoring badly formed line in configuration file: chmod 0777 /home/Shared
[2006/04/05 06:09:40, 1] param/params.c:Parameter(383)
  params.c:Parameter() - Ignoring badly formed line in configuration file: chmod 0777 /root/downloads
take the "chmod 0777 /root/downloads" out of the config that command should only be used once in the terminal.
Remove the ";" symbol from ; name resolve order = wins lmhosts bcast

restart samba and networking just to be safe and try again...

Regards,
Wayne
sorry I am as you can tell a newbee way in over his head <g>  am confused as I have no trouble setting up RH9..

Ok did all that still comes up with
\\bench\downloads is not accessible. You might not have permission to use this network resource. Contact.......
The net work path was not found.

Now i browsed to it from explorer so it is being seen.

this I cut from smblog
 .Unable to open passdb database.
[2006/04/05 07:30:07, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/05 07:30:07, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/05 07:30:07, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/05 07:30:07, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/05 07:30:07, 0] lib/util_sock.c:write_socket_data(430)
  write_socket_data: write failure. Error = Connection reset by peer
[2006/04/05 07:30:07, 0] lib/util_sock.c:write_socket(455)
  write_socket: Error writing 4 bytes to socket 25: ERRNO = Connection reset by peer
[2006/04/05 07:30:07, 0] lib/util_sock.c:send_smb(647)
  Error writing 4 bytes to client. -1. (Connection reset by peer)
[2006/04/05 07:31:50, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
[2006/04/05 07:31:50, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was: Permission denied
[2006/04/05 07:31:50, 0] passdb/pdb_smbpasswd.c:add_smbfilepwd_entry(606)
  add_smbfilepwd_entry: unable to open file.
[2006/04/05 07:31:50, 1] auth/auth_sam.c:check_sam_security(291)
  Failed to modify entry.
[2006/04/05 07:31:50, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.
ASKER CERTIFIED SOLUTION
Avatar of WayneFourie
WayneFourie

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I'd just like to make a comment, why are you installing such an old and not officially supported OS? It's almost like using windows 2k when you could use vista! The successor of RH9 is Fedora-Core 5, or you could also use another distro like SuSE. SuSE I believe has good tools to help you manage a samba server, and I think also FC5 has better tools for that than RH9.

http://fedora.redhat.com
I did have problems withthe smb file deleted those lines every thing A ok now in the file still can't get in from windows box. the conf file now is
[global]
      smb passwd file = /etc/samba/smbpasswd
      load printers = yes
      passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
      socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
      interfaces = eth0
      username map = /etc/samba/smbusers
      encrypt passwords = yes
      passwd program = /usr/bin/passwd %u
      dns proxy = no
      netbios name = bench
      unix password sync = Yes
      workgroup = WORKGROUP
      os level = 20
      printcap name = /etc/printcap
      security = share
      max log size = 50
  name resolve order = wins lmhosts bcast
  dns proxy = no





[Shared]
 path = /home/Shared
 read only = no
       
[downloads]
 path = /root/downloads
 create mask = 777
 writable = yes
 public = yes
Sorry I have confused every body .. I am installing Fedora core 4 .
I do have another server running on my network Red Hat 9. which works fine.
i do have the disk for ubuntu here and I could install it but am able to get around Fedora pretty good now thanks to Wayne <g>.....
[2006/04/05 07:31:50, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
  startsmbfilepwent_internal: failed to set 0600 permissions on password file /etc/samba/smbpasswd. Error was Permission denied
  .Unable to open passdb database.

Do you still have the same error after with the help of Wayne??

Do you have the firewall setup in your XP or Win2K?? if yes, turn it off  and try again.
Ok ...
When I checked out all the logs (Thanks to Wayne for pointing them out to me)  I noticed lots of errors .   I had  a friend log in to check it through Webmin and he found lots of these errors.. "failed to set 0600 permissions on password file /etc/samba/smbpasswd" and did a search on it and found out it was SELinux causing the problem.  link to this is http://groups.google.com/group/linux.debian.devel/browse_thread/thread/7333d873997d3a81/86fec7ffeae4ac4b?lnk=st&q=failed+to+set+0600+permissions+on+password%0D%0Afailed+to+set+0600+permissions+on+password+file+%2Fetc%2Fsamba%2Fsmbpasswd&rnum=1&hl=en#86fec7ffeae4ac4b

i reinstalled Fedora4 with out the SELinux and all is fine now I can access it from all machines. I am sure there must be a way to manage SELinux if you have it installed but it will take a little research to do so..
ok here is some info for your reference may be help you a bit

http://www.nsa.gov/selinux/papers/policy-abs.cfm

It show you how to config the SELinux policy :o)