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 06-07-2003, 08:45 PM   #1
ikw38
Member
 
Registered: Nov 2002
Location: Dallas
Distribution: RedHat 8
Posts: 270

Rep: Reputation: 30
Samba's running Now I need help with adding users


Hello,
I have managed to Linux and XP to at least see each other from the the XP side anyway. But I shared my CD ROM on the Linux side and XP see's it fine. But when I try to connect to it , now it wants a user name and pw. I think I am suppose to somehow create users
in Linux but I am unsure how to do this.

I liked the simplicity of setting up the SMB.Conf with little help from a book I used.

SO here it is and please help me get to the next exciting stage. Eventually I want everyone to log on to Linux Network and run thier Windows and Internet connection through it. I do have a router that is a Linksys and it is independent of any computers.Linux see it fine with no problems at all.

Here is my config file as it is right now.


[global]
workgroup = workgroup
os level = 2
time server = Yes
unix extensions = Yes
encrypt passwords = Yes
map to guest = Bad User
log level = 1
syslog = 0
printing = CUPS
printcap name = CUPS
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
wins support = yes
veto files = /*.eml/*.nws/riched20.dll/*.{*}/
domain logons = Yes
domain master = Yes
add user script = /usr/sbin/useradd -g nogroup -c "NT Machine Account" -d /dev/null -s /bin/false %m$

[CDROM]
comment = Linux CD-RO
path = /media/cdrom
locking = No
preexec = /bin/mount /media/cdrom
postexec = /bin/umount /media/cdrom
[homes]
comment = home_directories
valid users = %S
browseable = No
read only = No
create mask = 0640
directory mask = 0750
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775

I am sure there is room for improvement here but this is my first try.


ikw38
 
Old 06-07-2003, 11:14 PM   #2
mayankjohri
Member
 
Registered: Mar 2002
Location: INDIA
Distribution: Mandrake Linux 9.2, Knoppix 3.0
Posts: 158

Rep: Reputation: 30
howabout smbpasswd -a <username>

try this command

#smbpasswd -a <username>

and tell me what happens
 
Old 06-07-2003, 11:23 PM   #3
ikw38
Member
 
Registered: Nov 2002
Location: Dallas
Distribution: RedHat 8
Posts: 270

Original Poster
Rep: Reputation: 30
I did that with root and my login and worked like a charm.

Now I am trying to reverse the method and see windoze in Linux but it keeps giveing me a message about "lisa daemon" needs to be activated??
I can not find this to save me.

How do I activate this lisa?
Thanks
ikw38
 
Old 06-08-2003, 12:32 AM   #4
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
to reverse it, i think u need to use smbclient,

then you can open up nautilius and type:

smb://ip.of.win.box

try that....i have done it only once and dont remember
the exact steps involved to get it to work but i think
it's fairly simple, i do remember though that netscape,
mozilla and galeon didnt recognize smb:// and it only
worked in nautilius (for me anyway).
 
Old 06-08-2003, 05:46 AM   #5
mayankjohri
Member
 
Registered: Mar 2002
Location: INDIA
Distribution: Mandrake Linux 9.2, Knoppix 3.0
Posts: 158

Rep: Reputation: 30
LinNeighborhood

try this software

LinNeighborhood
u can find its rpm in rpmfind.net
 
Old 06-08-2003, 06:35 AM   #6
ikw38
Member
 
Registered: Nov 2002
Location: Dallas
Distribution: RedHat 8
Posts: 270

Original Poster
Rep: Reputation: 30
ok thanks gang. I forgot about LinNeighborhood.
 
  


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
adding users... Digital_Err0r Linux - General 1 03-31-2004 03:08 PM
Adding New Users guygriffiths Linux - General 4 10-13-2003 10:11 AM
Samba's nmbd is not running j_75080 Red Hat 0 08-30-2003 05:25 PM
Samba's nmbd is not running j_75080 Red Hat 0 08-30-2003 05:09 PM
adding Users hextex Linux - Newbie 5 06-08-2001 03:54 AM

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

All times are GMT -5. The time now is 02:38 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