Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-22-2003, 02:08 AM   #1
LQ Newbie
Registered: Jun 2003
Posts: 6

Rep: Reputation: 0
Question Newbie Samba PDC questions

I setup a Samba file server as a PDC. On my network I have a couple of computers in the domain and a couple of other computers outside of the domain simply as part of a different workgroup. I have some common user names in the two different groups. For example:

Workgroup WG1 User_U1
Domain: DM1 User_U1

On computer #1, I logged on as \\WG1\U1. I could not see the shares associated with \\DM1\U1.

On compter #2, I logon as \\DM1\U1. I am able to see the appropriate shares and directories.

Next, I went back to computer #1 (\\WG1\U1) and all of a sudden it is able to read and write the files associated with \\DM1\U1.

It seems like once I log on to the domain, that samba stops checkiing to see if the user is actually a member of the domain.

I didn't expect to be able to modify files if the computer and/or user was not a member of the domain.

What am I doing wrong?
Old 06-22-2003, 07:39 AM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
No idea - post your smb.conf file. It looks like a permissions problem.
Old 06-22-2003, 10:10 AM   #3
LQ Newbie
Registered: Jun 2003
Posts: 6

Original Poster
Rep: Reputation: 0
Ok here's my smb.conf:

workgroup = W100
netbios name = W100M00
encrypt passwords = Yes
log file = /var/log/samba/log.%m
max log size = 50
domain admin group = @wadmin
logon script = wlogon.bat
logon path = \\%N\profiles\%U
logon drive = h:
domain logons = Yes
os level = 64
preferred master = Yes
domain master = Yes
dns proxy = No
hide local users = Yes
hide unreadable = Yes
map system = Yes
map hidden = Yes

comment = Home directories
read only = No
create mask = 0755
browseable = No

comment = User profiles
path = /win/profiles
read only = No
create mask = 0711
directory mask = 0711
browseable = No

comment = Network services
path = /win/netlogon
write list = @wadmin
browseable = No

comment = Printers
path = /var/spool/samba
printable = Yes
browseable = No
Old 06-22-2003, 05:06 PM   #4
LQ Newbie
Registered: Jun 2003
Posts: 6

Original Poster
Rep: Reputation: 0
I have been reviewing the log. After some experimenting I think I understand what has happened. The same userid while on different domains also has the the same password on each system.

The log shows that the domain client password for the client fails, yet the userid/password passes the smbpasswd check.

As far as windows is concerned as long as the userid/password matches the smbpasswd it seems to allow access to the same shares.

There doesn't seem to be an option in windows or samba to change this behavior. I guess the thing to remember is that the only protection againt this problem is to maintain unqiue userids and passwords on each domain.


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 Newbie Questions gblasius Linux - Newbie 3 09-26-2005 08:31 AM
Questions about Samba acting as a PDC Wonderm00n Linux - Software 1 12-08-2004 07:22 AM
Newbie in NEED!!! SAMBA questions!!! : ) Lord Ghost Linux - Networking 18 07-25-2003 04:06 AM
Samba PDC Questions gauge73 Linux - Networking 1 02-18-2003 01:38 PM
samba as PDC questions? balam Linux - Networking 1 11-29-2002 05:11 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:48 PM.

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