LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-20-2003, 08:17 AM   #1
deadlock
Member
 
Registered: Apr 2003
Distribution: Red Hat
Posts: 65

Rep: Reputation: 15
Arrow Samba 3.0 WinNT / domain print server


I am trying to set up a print server for our windows NT 4.0 domain, using Samba 3.0 installed on Red Hat 9.0.

I can get the server to show up, and the shares to appear using:

security = share

However I would like to have the server as a domain member server. My smb.conf has the following security lines:

workgroup = mydomain
security = server
password server = *
null passwords = true
encrypt passwords = yes
name resolve order = wins lmhosts bcast
winserver = MyPDCServer

Anything missing there?

Also, although SWAT is activated in services I cannot access http://localhost:901/

Finally, On the windows client, the printer on the server is listed as "Unable TO Connect" - printing is however fine. Any solutions?

Dan
 
Old 10-21-2003, 05:08 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Have a read of this Unofficial Samba HOWTO.
It's very easy to read and covers these things in the first couple of pages...
 
Old 10-21-2003, 05:20 AM   #3
deadlock
Member
 
Registered: Apr 2003
Distribution: Red Hat
Posts: 65

Original Poster
Rep: Reputation: 15
I have looked at that before posting here, but couldn't see anything relating to

security = domain

I don't understand why when security = share the server appears, without needing any password, but when security = domain I get nowhere...

Dan

Last edited by deadlock; 10-21-2003 at 05:23 AM.
 
Old 10-21-2003, 06:03 AM   #4
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Security=share means the passwords are taken from smbpasswd, ie stored locally

Security=User means an external NT Server is used for passwords

Security=Domain means an external PDC is used to check passwords.
 
Old 10-21-2003, 06:12 AM   #5
deadlock
Member
 
Registered: Apr 2003
Distribution: Red Hat
Posts: 65

Original Poster
Rep: Reputation: 15
I understand this, however Samba doesn't seem to recognise the PDC

With Security = Share I get no login/password prompt

Security = Domain asks for a login password, but shouldn't as I am already logged onto the PDC from my Windows 2000 client.

I have registered the Samba Server on the PDC, and used "net rpc join..." to join the domain from the samba box...

Must be missing something...

Dan
 
Old 10-21-2003, 06:36 AM   #6
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
With Security = Share, the logon and password are supplied automatically by the Win pc..

You'll only get a prompt if the pc name/login name/password don't match the smbpasswd file.
 
Old 10-21-2003, 06:38 AM   #7
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
I have set up several PDCs now just following that HOWTO (coz it was the shortest) and so far so good...

Time to check "everything" again.
Good luck.

(My bet it is just one small typo in smb.conf)
 
Old 10-21-2003, 07:00 AM   #8
deadlock
Member
 
Registered: Apr 2003
Distribution: Red Hat
Posts: 65

Original Poster
Rep: Reputation: 15
I don't want the Samba box to be a PDC, just to communicate with the one that already exists

Dan
 
Old 10-21-2003, 07:09 AM   #9
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Ok, that'll take me a bit more searching... into black arts now..
 
Old 10-21-2003, 07:19 AM   #10
deadlock
Member
 
Registered: Apr 2003
Distribution: Red Hat
Posts: 65

Original Poster
Rep: Reputation: 15
Thanks for the help.

From the docs it should be easy, and I'm sure it's just that I'm missing something simple.

I have basically used this page:

http://optics.ph.unimelb.edu.au/help...IN_MEMBER.html

As the basis of the setup - but used net join to join the domain. AFAICS this doesn't create the .mac file...

(the problem with SWAT was I was missing BIND from the RedHat installation - thats fixed)

Dan

Last edited by deadlock; 10-21-2003 at 07:40 AM.
 
  


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
Authentication over WinNT 4 domain Tamerz Linux - Security 1 08-29-2005 05:52 PM
lout of winnt domain is slow jingjing Fedora 0 01-13-2005 05:16 AM
Can only print to samba domain printer as root irios Linux - Networking 0 02-20-2004 12:24 PM
Samba server on WinNT domain haz300 Linux - Newbie 2 01-12-2004 10:07 AM
Linux Print Server in Windows Domain fuzz141 Linux - Networking 0 09-11-2002 10:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:49 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
Open Source Consulting | Domain Registration