testparm -S
Code:
dev@kevcoder00:~$ testparm -S
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[Share]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
workgroup = METALWAVE
netbios name = KLSTRFK <--This should be the Samba server machine
security = SHARE <-- This means Linux directory and file perms only
lanman auth = Yes <-- This is for Win95/98
client lanman auth = Yes <-- Also for win95/98
[Share]
comment = kevcoder00 file share
path = /srv/samba/share
read only = No
create mask = 0777
guest ok = Yes <- this is for security = user
smbclient -L kevcoder00
Code:
Domain=[METALWAVE] OS=[Unix] Server=[Samba 3.5.8]
Sharename Type Comment
--------- ---- -------
Share Disk kevcoder00 file share
IPC$ IPC IPC Service (Samba 3.5.8)
Domain=[METALWAVE] OS=[Unix] Server=[Samba 3.5.8]
Server Comment
--------- -------
KLSTRFK <--??? Samba 3.5.8 [B]
Workgroup Master
--------- -------
METALWAVE KLSTRFK <-- Which machine is this?
smbclient -L KLSTRFK
Code:
Domain=[KLSTRFK] OS=[Windows 7 Ultimate N 7601 Service Pack 1] Server=[Windows 7 Ultimate N 6.1]
Sharename Type Comment
--------- ---- -------
ADMIN$ Disk Remote Admin
C$ Disk Default share
Fax - HP Officejet 6500 E710n-z Printer Fax - HP Officejet 6500 E710n-z
HP Officejet 6500 E710n-z Printer HP Officejet 6500 E710n-z
IPC$ IPC Remote IPC
METALWAVE_PUBLIC Disk THE PUBLIC FOLDER
metalwave_share Disk
print$ Disk Printer Drivers
Users Disk
session request to KLSTRFK failed (Called name not present)
session request to *SMBSERVER failed (Called name not present)
NetBIOS over TCP disabled -- no workgroup available <--Why is this desabled?
nmblookup -B kevcoder00 __SAMBA__
Code:
querying __SAMBA__ on 127.0.1.1
192.168.2.2 __SAMBA__<00>
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
added interface eth0 ip=fe80::d227:88ff:fe19:ce11%eth0 bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff::
added interface eth0 ip=192.168.2.2 bcast=192.168.2.255 netmask=255.255.255.0
querying * on 192.168.2.255
Got a positive name query response from 192.168.2.2 ( 192.168.2.2 )
tdb(unnamed): tdb_open_ex: could not open file /var/run/samba/unexpected.tdb: No such file or directory
tdb(unnamed): tdb_open_ex: could not open file /var/run/samba/unexpected.tdb: No such file or directory
tdb(unnamed): tdb_open_ex: could not open file /var/run/samba/unexpected.tdb: No such file or directory
192.168.2.2 *<00>
[/CODE]
I stopped there
and finally my share permissions
dev@kevcoder00:/srv/samba$ ls -l
Code:
total 4
drwxr-xr-x 4 nobody nogroup 4096 2011-06-12 00:49 share
Bookmarks