Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Samba & Winbind problem ( Fedora Core 2 ) 1

Status
Not open for further replies.

alanpaterson

IS-IT--Management
May 4, 2000
53
GB
Hi all,

I am running a Windows NT network, but I want to set up a linux box as a member server of the domain and share files.

I have installed fedora core 2 (brilliant) onto a fairly new HP pentium 4 computer and it is running great. I have went through the instructions in the samba 3 How to and reference guide to do this and I get as far as page 339, section 20.5.

I have added the \\linux1 computer account to the domain, have ran the wbinfo -u and wbinfo -g command and indeed I can see the users and groups from my domain, but the next command is getent passwd which I think is supposed to copy these accounts and populate the /etc/passwd file with them -- but it doesn't, on editing the /etc/passwd file I just see the defaults that were there before.

I have edited the /etc/nsswitch.conf file as requested in the manual:

passwd: files winbind
shadow: files
group: files winbind

and saved it, restarted the smb service the winbind service and the whole machine but I still can't see the domain users in the samba configuration program.

Any ideas?

Incidentally, I am well impressed with the release of Fedora Core 2. :)

Alan
 
Maybe you're trying to hard. If memory serves me right, you can set samba to use the primary domain server to authenticate users. This way you can set up the privileges on the domaincontroller and the samba-shares should work.

Jet-Soft
 
That's exactly the set up I'm looking for, I have created some shares on the Linux box but can't assign people to read them unless I create the accounts locally on the Linux box.

As far as I was lead to beleive in the documentation - I should see the NT users and groups in the linux samba and users tool.
 
Have you had any luck with this alanpaterson? I'm having a problem with the same kind of set up, Fedora core 2 with samba and winbind in a WinNT domain. However, I got wbinfo and getent to work and the user profile is showing up in my smbpasswd folder, but when I try to log on as a NT domain user on the Linux box it tells me that the user's profile folder does not exist. So I went in and manually created the profile folder and then tried logging in again. But this time it starts to load and then pops up a box that says that the Systems administrator had disabled your account. I am so close, but have no idea what to do now. Can anyone help? I guess I'm trying to get the Linux box to authenticate any of my users like any of my Windows boxes will do, is this possible? I'm pretty new to Linux still so excuse me if this is a simple issue. Thanks for any help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top