LinuxQuestions.org
Visit Jeremy's Blog.
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
 
LinkBack Search this Thread
Old 03-24-2006, 03:25 PM   #1
mslatter
LQ Newbie
 
Registered: Oct 2005
Posts: 10

Rep: Reputation: 0
Unhappy Samba and NT4.0


Hi,

I'm having some trouble with Samba Permissions on an NT4 domain. I've tried so many things, I've confused myself. I was having issues where windows users who "owned" a file, couldn't write to it. Assuming it was a domain/samba problem between my NT4.0 PDC and Fedora 3 Samba file server, I decided to 'rejoin' the domain.

It 'seemed' to work, but then nobody could write to their Home directories...I made the problem worse! I went to the Samba GUI and found duplicate members of my domain listed in the "mapped user" list. When I look in the Fedora Users list though, everything looks normal - just one of each user. Samba GUI shows duplicate member names.

So my question is, where can I find the file that holds these duplicate domain member names so I can try to fix it? I mapped myself in the Samba gui using the second instance of my name, and it appears to have fixed my access problems....but I really don't want to leave duplicate entries in there....

My brain is frazzled, so sorry if this doesn't make sense. Bottom line is I have duplicate instances of each NT4.0 domain member in my 'mapping options' in the Samba GUI. Any help would be greatly appreciated.

Thanks in advance,

Mark.
 
Old 03-24-2006, 11:36 PM   #2
buaku
Member
 
Registered: Sep 2004
Distribution: Slackware 10.2 (2.4.31)
Posts: 109

Rep: Reputation: 15
I think the /etc/samba/private/smbpasswd keeps the info about the samba users, or wherever the samba stuff is kept on your machine.

I've never used a gui to set up the users, just the commandline smbpasswd program, and that's where it stores all the info i believe.

You might try poking around for that file and see if that helps ya.
 
Old 03-27-2006, 07:17 AM   #3
mslatter
LQ Newbie
 
Registered: Oct 2005
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks Buaku,

I only see one instance of each user in the smbpasswd file - which incidentally, is located in the samba folder...I don't have a "private" folder in the samba folder - only have files.

Thanks for the help though, I appreciate any further assistance anyone can provide.

Thanks again,

Mark.
 
Old 03-27-2006, 07:45 AM   #4
mslatter
LQ Newbie
 
Registered: Oct 2005
Posts: 10

Original Poster
Rep: Reputation: 0
Ok, after looking through it more, I 'think' I know the problem. When I joined the domain and tried to set up trusts, the Fedora box acquired all my users off the NT4.0 box...and it 'happened' to be formatted exactly like I had added users in the Fedora box. This subsequently showed what 'appeared' to be duplicate users... however, one was a fedora user, and the other an NT4.0 user.

Still a bit confusing to me though, because if I can't assign fedora permissions to the home share using the NT4.0 user accounts, then how do I allow NT4.0 users to write to their home directories? Or..... do I set write access to 'everyone' with the Fedora permissions, and then in Samba, only allow specific NT4.0 user's to write to their own home directories?

Thanks in advance,

Mark
 
Old 03-29-2006, 06:53 PM   #5
buaku
Member
 
Registered: Sep 2004
Distribution: Slackware 10.2 (2.4.31)
Posts: 109

Rep: Reputation: 15
Do you mean let the users write to their home directory on the linux machine?
In each of the config blocks in the smb.conf there should be a line that says:
Quote:
writable = yes
Or it could be set to no if you don't want to let that directory be writable.

I think there's even a special block in the smb.conf to handle home directories.
 
Old 03-29-2006, 09:58 PM   #6
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 112Reputation: 112
Vague memory stirring...

Take a look at how NT handles oplocks. I don't recall the details, but many years ago I had a problem similar to what you describe when I was installing an earlier version of samba on an Amiga. I had to do something non-standard with NT opportunistic locking.
 
Old 03-30-2006, 06:56 AM   #7
mslatter
LQ Newbie
 
Registered: Oct 2005
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks guys, I'll look at both of your references and see where I go.

Thanks again,

Mark.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba, NT4 and rpc vampire Vlad the E-Mailer Linux - Software 0 09-01-2005 04:35 PM
has anyone ever apply NT4 policies to an XP machine with samba as a PDC paul_mat Linux - Networking 3 04-12-2005 08:16 AM
Samba & NT4 gigglesnorter Linux - Networking 3 07-01-2004 12:37 PM
How can I migrate NT4.0 PDC to Samba 3.0? allsystems Linux - Networking 0 10-31-2003 03:11 AM
why i can see samba in NT4 but i can see in win98 jc3005 Linux - Software 0 04-23-2001 07:07 AM


All times are GMT -5. The time now is 06:42 PM.

Main Menu
 
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
Open Source Consulting | Domain Registration