LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Samba's running Now I need help with adding users (https://www.linuxquestions.org/questions/linux-networking-3/sambas-running-now-i-need-help-with-adding-users-64294/)

ikw38 06-07-2003 08:45 PM

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

mayankjohri 06-07-2003 11:14 PM

howabout smbpasswd -a <username>
 
try this command

#smbpasswd -a <username>

and tell me what happens

ikw38 06-07-2003 11:23 PM

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

Robert0380 06-08-2003 12:32 AM

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).

mayankjohri 06-08-2003 05:46 AM

LinNeighborhood
 
try this software

LinNeighborhood
u can find its rpm in rpmfind.net

ikw38 06-08-2003 06:35 AM

ok thanks gang. I forgot about LinNeighborhood.


All times are GMT -5. The time now is 02:37 PM.