Hi I have a small problem I get a message NT_STATUS_ACCESS_DENIED if I want to
do a listing after I have logged in a samba server.
I do it like this
# smbclient //bbb/chr -U chr
Password:
Domain=[BBB] OS=[Unix] Server=[Samba 3.0.28-0.fc8]
smb: \> ls
NT_STATUS_ACCESS_DENIED listing \*
51148 blocks of size 4194304. 27065 blocks available
Any help will be appreciated
Thanks in advance
Chris
This is what my smb.conf look like
[global]
workgroup = FLAMENGRO
realm = NONE
server string = BBB Samba Server
password server username map = /etc/samba/smbusers
log file = /var/log/samba/%m.log
max log size = 50
printcap name = /etc/printcap
preferred master = No
local master = No
domain master = No
dns proxy = No
ldap ssl = no
cups options = raw
[homes]
comment = Home Directories
valid users = chr
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba/
printable = Yes
browseable = No
Um, either you omitted the chr share definition, or you don't have one. Either way we can't help much without it :) Rubin On Tue, 2008-02-12 at 12:37 +0200, Chris du Preez wrote:> Hi I have a small problem I get a message NT_STATUS_ACCESS_DENIED if I want to > do a listing after I have logged in a samba server. > I do it like this > # smbclient //bbb/chr -U chr > Password: > Domain=[BBB] OS=[Unix] Server=[Samba 3.0.28-0.fc8] > smb: \> ls > NT_STATUS_ACCESS_DENIED listing \* > > 51148 blocks of size 4194304. 27065 blocks available > > Any help will be appreciated > Thanks in advance > Chris > > This is what my smb.conf look like > > [global] > workgroup = FLAMENGRO > realm = NONE > server string = BBB Samba Server > password server > username map = /etc/samba/smbusers > log file = /var/log/samba/%m.log > max log size = 50 > printcap name = /etc/printcap > preferred master = No > local master = No > domain master = No > dns proxy = No > ldap ssl = no > cups options = raw > > [homes] > comment = Home Directories > valid users = chr > read only = No > browseable = No > > [printers] > comment = All Printers > path = /var/spool/samba/ > printable = Yes > browseable = No-- Rubin Bennett RB Technologies http://thatitguy.com rbennett@thatitguy.com (802)223-4448 "They that can give up essential liberty to obtain a little temporary security deserve neither liberty nor safety" --Benjamin Franklin, Historical Review of Pennsylvania, 1759
I'm stumped. Same configuration in Debian sarge with
kernel 2.4 works fine, however, with kernel 2.6,
breaks.
boddingtons2:/var# smbclient -U THREESPOT+mgonzalez //10.0.6.41/www -c
'ls'
Password:
Domain=[THREESPOT] OS=[Unix] Server=[Samba 3.0.24]
tree connect failed: NT_STATUS_ACCESS_DENIED
/etc/samba/smb.conf
[global]
workgroup = THREESPOT
server string = boddingtons2
password server = 10.0.6.13
realm = THREESPOT.COM
wins support = no
wins server = 10.0.6.13
dns proxy = no
name resolve order = wins lmhosts hosts bcast
log level =3
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
security = ads
encrypt passwords = true
# passdb backend = tdbsam guest This is the only that changes from
the 2.4 sarge configuration, running it with guest support gives me a core
passdb backend = tdbsam
obey pam restrictions = no
invalid users = root
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n .
socket options = TCP_NODELAY
winbind separator = +
winbind use default domain = true
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
# template homedir = /home/%D/%u
template shell = /bin/bash
load printers = No
#======================= Share Definitions ======================
[www]
comment = Apache2 webroot
path = /var/www
writable = yes
read only = no
admin users = THREESPOT+3SpotAdmin
valid users = THREESPOT+Technology
create mask=0777
directory mask=0777
force user = samba
force group = samba