LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 05-03-2004, 02:58 PM   #1
bladrag
LQ Newbie
 
Registered: Feb 2004
Location: mtl
Posts: 12

Rep: Reputation: 0
samba "access denied" error


Hi, I am setting up a new samba server to be a master domain controller, i am using samba 2.2.7-3 on redhat enytreprise 2.1 ES
I have added user to both passwd and smbpasswd files, ii can log into shared home directory with valid user using smbclient or WinXp(by browsing)

the problem is when I try to auth to the master domain controller, it always say "access denied" i trhied a lot of stuff but cant find the problem

if maybe you can help , thx

here is my smb.conf file:

# Global parameters
[global]
workgroup = MYDOMAIN
netbios name = MYSERVERNAME
server string = Samba Server myservername
encrypt passwords = Yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = Yes
log level = 0
log file = /var/log/samba/log.%m
max log size = 50
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
logon script = netall.bat
domain logons = Yes
os level = 255
local master = Yes
preferred master = Yes
domain master = Yes
wins support = Yes
security = user

[netlogon]
comment = The domain logon service
path = /home/samba/logon
browseable = No

[homes]
comment = Home Directories
read only = No
veto files = /.bash*/.Xdefaults/.screenrc/
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[doc]
comment = Repertoire documentation
path = /u002/doc/
force group = cad
read only = No
create mask = 0664
directory mask = 0775
delete readonly = Yes



BTW i changed some info for privacy

Last edited by bladrag; 05-03-2004 at 03:54 PM.
 
Old 05-03-2004, 03:55 PM   #2
bladrag
LQ Newbie
 
Registered: Feb 2004
Location: mtl
Posts: 12

Original Poster
Rep: Reputation: 0
why no one ever responde to me, tell me if there is something not clear plz
 
Old 05-04-2004, 08:08 AM   #3
kenji1903
Member
 
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301

Rep: Reputation: 30
have you tried adding a root into your smbpasswd?
 
Old 05-04-2004, 08:11 AM   #4
kenji1903
Member
 
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301

Rep: Reputation: 30
how about network security?
under trusted devices, did you tick eth0?

I'm a beginner myself, what does "veto files" in [homes] do?
 
Old 05-04-2004, 01:17 PM   #5
bladrag
LQ Newbie
 
Registered: Feb 2004
Location: mtl
Posts: 12

Original Poster
Rep: Reputation: 0
hi, the veto was on my config of the other domain server, I am setting an other server so I use a temporary domain name, dunno much about it except that the other server work and not mine, i just changed a few things to adapt it to the new os

i still got the error from xp access denied
I also tried with root, nothing worked, ill repost my config because i changed a lot of stuff:

# Samba config file created using SWAT
# from UNKNOWN (192.168.10.20)
# Date: 2004/05/03 10:39:54
#
# Global parameters
[global]
workgroup = DOMAIN
netbios name = SERVERNAME
server string = Samba Server petrus
encrypt passwords = Yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = Yes
log level = 5
log file = /var/log/samba/log.%m
max log size = 50
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
logon path = \\%U\profiles
# logon path = \\%L\profiles\%U
nt acl support = No
logon script = netall.bat
domain logons = Yes
os level = 255
local master = Yes
preferred master = Yes
domain master = Yes
wins support = Yes
security = user
winbind use default domain = Yes
admin users = root
#
[netlogon]
comment = logon
path = /home/export/netlogon
writable = No
browseable = No
write list = Administrateur
logon script = logon.cmd
nt acl support = No
create mask = 0644
#
[homes]
comment = Home Directories
read only = No
veto files = /.bash*/.Xdefaults/.screenrc/
browseable = No
#
[profiles]
path = /home/export/nishome/%U/profile
browseable = No
writeable = Yes
create mask = 0600
directory mask = 0700
profile acls = yes
read only = No
#
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
#
[doc]
comment = Repertoire documentation
path = /u002/doc/
force group = cad
read only = No
create mask = 0664
directory mask = 0775
delete readonly = Yes



btw thx for responding

Last edited by bladrag; 05-04-2004 at 01:33 PM.
 
Old 05-04-2004, 10:52 PM   #6
kenji1903
Member
 
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301

Rep: Reputation: 30
No worries mate,

Sorry if I've not been of much help, only been using Linux for about a month, I took 2 solid weeks just to setup Samba to act as a PDC for my WinXP clients.....

Your smb.conf looks sinilar to mine.....
Did you try the *registry* hack for XP? go to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters
* requiresignorseal = 0
* signsecurechannel = 0

Mind if I ask you questions as well?
You manage to get the network printer going? my XPs see the printer, I've installed drivers for it but I still can't print, no error reported in XP, had similar experiences?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
samba domain controller Red Squirrel Linux - Software 17 07-16-2005 10:30 AM
samba as a domain controller paul_mat Linux - Networking 1 02-08-2005 12:43 PM
Samba as a Domain Controller mfeoli Linux - Networking 0 01-13-2004 10:32 AM
samba as a domain controller elements Linux - Networking 1 01-02-2004 07:17 PM
samba as a domain controller ilumin8d Linux - Networking 9 04-29-2003 01:55 PM


All times are GMT -5. The time now is 11:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration