smbclient mi se ok konektuje na smb:
Code:
[root@utvara samba]# smbclient -L utvara -U%
Domain=[HOME] OS=[Unix] Server=[Samba 3.0.14a-2]
Sharename Type Comment
--------- ---- -------
public Disk
INTERNET Disk
IPC$ IPC IPC Service ()
ADMIN$ IPC IPC Service ()
Domain=[HOME] OS=[Unix] Server=[Samba 3.0.14a-2]
Server Comment
--------- -------
UTVARA
Workgroup Master
--------- -------
HOME UTVARA
[root@utvara samba]# smbclient -L utvara -U%
Domain=[HOME] OS=[Unix] Server=[Samba 3.0.14a-2]
Sharename Type Comment
--------- ---- -------
public Disk
INTERNET Disk
IPC$ IPC IPC Service ()
ADMIN$ IPC IPC Service ()
Domain=[HOME] OS=[Unix] Server=[Samba 3.0.14a-2]
Server Comment
--------- -------
UTVARA
Workgroup Master
--------- -------
HOME UTVARA
smb.conf:
Code:
[global]
workgroup = home
printcap name = CUPS
map to guest = Bad User
show add printer wizard = No
wins support = yes
server string =
security = share
guest ok = yes
guest account = utvara
[public]
path = /tmp
guest only = yes
read only = no
[INTERNET]
path = /mnt/internet
guest only = yes
read only = no
[global]
workgroup = home
printcap name = CUPS
map to guest = Bad User
show add printer wizard = No
wins support = yes
server string =
security = share
guest ok = yes
guest account = utvara
[public]
path = /tmp
guest only = yes
read only = no
[INTERNET]
path = /mnt/internet
guest only = yes
read only = no
Fajl sistem:
Code:
drwxrwxrwt 29 root root 4096 Oct 24 07:50 tmp
drwxrwxrwx 15 root root 8192 Jan 1 1970 internet
drwxrwxrwt 29 root root 4096 Oct 24 07:50 tmp
drwxrwxrwx 15 root root 8192 Jan 1 1970 internet
Inace /mnt/internet je fat particija mountovana sa
Code:
/dev/hda6 /mnt/internet vfat rw,umask=000,uid=root,gid=root 0 0
/dev/hda6 /mnt/internet vfat rw,umask=000,uid=root,gid=root 0 0
Pristupam //utvara/public normalno. Problem je sa //utvara/INTERNET
Code:
[root@utvara samba]# smbclient //localhost/INTERNET -U%
Domain=[HOME] OS=[Unix] Server=[Samba 3.0.14a-2]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
[root@utvara samba]# smbclient //localhost/INTERNET -U%
Domain=[HOME] OS=[Unix] Server=[Samba 3.0.14a-2]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
Jedino što sam uspeo "pametno" da nađem u logovima je:
Code:
2005/01/21 14:36:27, 1] smbd/service.c:make_connection_snum(648)
utvara (127.0.0.1) connect to service internet initially as user nfsnobody (uid=65534, gid=65534) (pid 4716)
[2005/01/21 14:36:34, 1] smbd/service.c:make_connection_snum(648)
utvara (127.0.0.1) connect to service data initially as user nfsnobody (uid=65534, gid=65534) (pid 4717)
[2005/01/21 14:36:34, 0] smbd/service.c:set_current_service(51)
chdir (/mnt/data) failed
2005/01/21 14:36:27, 1] smbd/service.c:make_connection_snum(648)
utvara (127.0.0.1) connect to service internet initially as user nfsnobody (uid=65534, gid=65534) (pid 4716)
[2005/01/21 14:36:34, 1] smbd/service.c:make_connection_snum(648)
utvara (127.0.0.1) connect to service data initially as user nfsnobody (uid=65534, gid=65534) (pid 4717)
[2005/01/21 14:36:34, 0] smbd/service.c:set_current_service(51)
chdir (/mnt/data) failed
Pošto su mi ovo prvi časovi sambe, molim vas za malo pomoći. Šta ne vidim??
8:11 - nisam ustao, tek ležem.
poz, utvara