Magueta
08-04-2002, 11:05 AM
Hello everyone.
I'm trying to learn how to install and work with Samba. I have a great book
from O'Reilly that's much better than any of the other books that I've
looked at.
Anyway, I've done at minimum what the book says is required and I've done
the testparm on my test smb.conf file, everything checks out alright.
However, when I do
"smbclient -U% -L localhost" I get the following output. Note certain
information is not explicit due for future security of my server.
added interface ip=192.168.x.x bcast=192.168.x.x nmask=255.255.x.x
Domain=[WORKGROUP] os=[Unix] Server=[Samba x.x.x.x]
Sharename type Comment
----------- ---- ----------
test Disk For testing only, please
IPC$ IPC IPC service (Samba x.x.x.x)
ADMIN$ Disk IPC service (Samba x.x.x.x)
Server Comment
-------- ----------
Workgroup Master
------------ --------
The book implies that there should be a server name and a workgroup in those
fields. I presume that the Master is the Master Browser which should also
be there. Can anyone tell me why they aren't there? I have a hostname,
nmbd seems to be running along with smbd but for some reason I don't think
it's considered the master browser. In fact I can find my Linux box from my
win2K box by doing a search for the ip address of the Linux one but I can't
logon. That's another issue all I'm worried about is getting those fields
to display the correct info. Note: my installation was as a workstation
because I wanted most of my daemons disabled to help secure my Linux box,
I'd add the servers individually later from the disk.
My smb.conf is the simplest one you can get, right out of the book.
[global]
workgroup = SIMPLE
encrypt passwords = yes
[test]
comment = For testing only, please
path = /export/samba/test
read only = no
guest ok = yes
I'm trying to learn how to install and work with Samba. I have a great book
from O'Reilly that's much better than any of the other books that I've
looked at.
Anyway, I've done at minimum what the book says is required and I've done
the testparm on my test smb.conf file, everything checks out alright.
However, when I do
"smbclient -U% -L localhost" I get the following output. Note certain
information is not explicit due for future security of my server.
added interface ip=192.168.x.x bcast=192.168.x.x nmask=255.255.x.x
Domain=[WORKGROUP] os=[Unix] Server=[Samba x.x.x.x]
Sharename type Comment
----------- ---- ----------
test Disk For testing only, please
IPC$ IPC IPC service (Samba x.x.x.x)
ADMIN$ Disk IPC service (Samba x.x.x.x)
Server Comment
-------- ----------
Workgroup Master
------------ --------
The book implies that there should be a server name and a workgroup in those
fields. I presume that the Master is the Master Browser which should also
be there. Can anyone tell me why they aren't there? I have a hostname,
nmbd seems to be running along with smbd but for some reason I don't think
it's considered the master browser. In fact I can find my Linux box from my
win2K box by doing a search for the ip address of the Linux one but I can't
logon. That's another issue all I'm worried about is getting those fields
to display the correct info. Note: my installation was as a workstation
because I wanted most of my daemons disabled to help secure my Linux box,
I'd add the servers individually later from the disk.
My smb.conf is the simplest one you can get, right out of the book.
[global]
workgroup = SIMPLE
encrypt passwords = yes
[test]
comment = For testing only, please
path = /export/samba/test
read only = no
guest ok = yes