LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 07-06-2003, 09:12 PM   #16
ikw38
Member
 
Registered: Nov 2002
Location: Dallas
Distribution: RedHat 8
Posts: 270

Original Poster
Rep: Reputation: 30

Hello? Is there anyone in there? Is there anyone at home?
Can anyone help me out here?

THanks
 
Old 07-06-2003, 09:38 PM   #17
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
You need to add the user accounts in two steps. The first step adds the user to the /etc/passwd file and the second adds the user to the /etc/samba/smbpasswd file. The first file is the Linux password file and the second is the Samba password file.

To add the users to the Linux password file type:

useradd ikw38

To give the user a password type:

passwd ikw38


To add the user to the Samba password file type:

smbpasswd -a ikw38


You will also need to add the Windows 2000/XP machines to the password files. Let us assume that the Windows 2000 machine is called WS-1.

useradd -d /dev/null -c "WS-1" -s /bin/false WS-1$

The dollar sign at the end tells Linux that it is a computer account. Then type:

passwd -l WS-1$

Next add the workstation to the Samba password file:

smbpasswd -a -m WS-1.

Note that you don't need the dollar sign here.

Try that and let me know what happens. The IBM tutorial has the whole process in more detail.
 
Old 07-06-2003, 10:04 PM   #18
ikw38
Member
 
Registered: Nov 2002
Location: Dallas
Distribution: RedHat 8
Posts: 270

Original Poster
Rep: Reputation: 30
Jamrock,
This is what I get--

[root@SMIS root]# useradd -d /dev/null -c "PLATO" -s /bin/false PLATO $
usage: useradd [-u uid [-o]] [-g group] [-G group,...]
[-d home] [-s shell] [-c comment] [-m [-k template]]
[-f inactive] [-e expire ] [-p passwd] [-M] [-n] [-r] name
useradd -D [-g group] [-b base] [-s shell]
[-f inactive] [-e expire ]
[root@SMIS root]# useradd -d /dev/null -c "PLATO" -s /bin/false PLATO$
useradd: invalid user name 'PLATO$'
[root@SMIS root]# useradd -d /dev/null -c "PLATO" -s /bin/false PLATO $
usage: useradd [-u uid [-o]] [-g group] [-G group,...]
[-d home] [-s shell] [-c comment] [-m [-k template]]
[-f inactive] [-e expire ] [-p passwd] [-M] [-n] [-r] name
useradd -D [-g group] [-b base] [-s shell]
[-f inactive] [-e expire ]
What do you think??
Thanks
 
Old 07-07-2003, 01:30 PM   #19
ikw38
Member
 
Registered: Nov 2002
Location: Dallas
Distribution: RedHat 8
Posts: 270

Original Poster
Rep: Reputation: 30
Does anyone have a suggestion as to why I can't get my W2K box to join this Domain????
AS you can see I just about teid everything. THis is plain wierd...

Help would be apreciated.

ikw38
 
Old 12-04-2005, 06:05 PM   #20
ziox
Member
 
Registered: Apr 2004
Distribution: RedHat, Fedora, Suse, Debian, Gentoo, Mandrake
Posts: 132

Rep: Reputation: 15
I've the same problems with samba
Look at this post http://www.linuxquestions.org/questi...d.php?t=376980
even I'm almost coping from this book http://www.samba.org/samba/docs/man/...ple/index.html browse this book may be you fix it but let me know please

Last edited by ziox; 12-04-2005 at 07:36 PM.
 
Old 09-22-2009, 11:14 PM   #21
tharange
LQ Newbie
 
Registered: Sep 2009
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by ikw38 View Post
Ok I ran this test from the terminal using the smbclinet -L xxxxx

these are the results and I think it is a matter of doing something very simple here to fix this here are the results

Unknown parameter encountered: "prefered domain"
Ignoring unknown parameter "prefered domain"
Unknown parameter encountered: "prefered domain"
Ignoring unknown parameter "prefered domain"
Unknown parameter encountered: "domain admin users"
Ignoring unknown parameter "domain admin users"
added interface ip=192.168.1.100 bcast=192.168.1.255 nmask=255.255.255.0
Got a positive name query response from 192.168.1.100 ( 192.168.1.100 )
Password:
session setup failed: NT_STATUS_LOGON_FAILURE

What can I do to fix this??
Thanks,
ikw38
I had the same problem. I changed security from user to domain. Then new warn appears.
Server's Role (logon server) NOT ADVISED with domain-level security

Then I went back to user level security. Now I don't see any err or warn msgs.
 
  


Reply



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
joining my samba domain tude_1802 Linux - Newbie 1 08-22-2005 07:35 AM
XP Pro not joining SAMBA 3.0.2 Domain JoAnywhere Linux - Networking 0 03-08-2004 09:01 PM
Joining Domain to SAMBA Server radixiz *BSD 2 12-07-2003 10:09 AM
Joining a machine from another domain to my linux samba domain acummins Linux - Networking 0 09-13-2003 07:07 AM
samba and xp re-joining the domain manwe Linux - Networking 1 08-04-2003 08:44 PM

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

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

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