[Samba] tree connect failed: NT_STATUS_ACCESS_DENIED

J. Bakshi joydeep at infoservices.in
Thu May 28 12:47:30 GMT 2009


Dear list,

I have no in depth knowledge about samba but use the online tutorial to
configure the samba server.

this time I have installed samba (  Version 3.2.4-4.3-2042-SUSE-SL11.0 )
on suse 11.
I have now disallowed the guest users and created some samba users with 
"smbpasswd -a <username> " command.

but if I try to connect with the samba share from another linux box I
get the error as below

`````````````````````````````````````
smbclient   //192.168.1.3/htdocs  /mnt/htdocs_192.168.1.3 -o
rw,user=admin,password=adminpass

Domain=[LINUX-A0JN] OS=[Unix] Server=[Samba 3.2.4-4.3-2042-SUSE-SL11.0]
tree connect failed: NT_STATUS_ACCESS_DENIED

```````````````````````````````````````````

and here is the testparm

``````````````````````````````````````````````
Load smb config files from /etc/samba/smb.conf
Processing section "[htdocs]"
Global parameter deadtime found in service section!
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
        workgroup = "192.168.1.3"
        map to guest = Bad User
        passwd program = /usr/bin/passwd %u
        passwd chat = *password:* %n\n *password:* %n\n *successfully.*
        unix password sync = Yes
        log level = 1
        syslog = 0
        max xmit = 4096
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        logon path = \\%L\profiles\.msprofile
        logon drive = P:
        logon home = \\%L\%U\.9xprofile
        dns proxy = No
        wins support = Yes
        usershare allow guests = No

[htdocs]
        comment = htdocs folder
        path = /srv/www/htdocs
        force user = wwwrun
        force group = www
        read only = No
        force create mode = 0777
        force directory mode = 0777

````````````````````````````````````````````````````````````````

 I have no clue at all what is going wrong as there is no error message
at testparm.

Eagerly waiting for your kind response.
Thanks






More information about the samba mailing list