Fwd: Re: [Samba] smbclient timeout?

2007-10-29 Thread Julius Junghans

--  Forwarded Message  --

Subject: Re: [Samba] smbclient timeout?
Date: Monday 29 October 2007
From: Dale Schroeder <[EMAIL PROTECTED]>
To: Julius Junghans <[EMAIL PROTECTED]>

Julius,

In some cases, I've had to add "domain master = Yes" to stop the 
workstations from fighting for superiority within the workgroup.
Maybe it will work for you.

Dale

Julius Junghans wrote:
> Hi,
>
> i can see some systems with the smb kde ioslave (smb:/ in konqueror) that i 
> can't connect to even with smbclient, error message is:
>
> timeout connecting to 192.168.0.2:445
> timeout connecting to 192.168.0.2:139
> Error connecting to 192.168.0.2 (Die Operation wird bereits ausgeführt)  - 
> free translation "operation in progress"
> Connection to 192.168.0.2 failed
>
> sometimes ofcoure througb the smb nature the browse list is outdated, but 
nmap 
> tells me that the machine is online?
>
> if i tell samba to be the lmb for this workgroup with:
> os level = 255
> preferred master = yes
>
> i can see in wireshark that browser election takes place, and the pc in 
> question releases the workgroup so that my pc is the new local master 
> browser.
>
> Any ideas?
>   

---
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] smbclient timeout?

2007-10-28 Thread Julius Junghans
Hi,

i can see some systems with the smb kde ioslave (smb:/ in konqueror) that i 
can't connect to even with smbclient, error message is:

timeout connecting to 192.168.0.2:445
timeout connecting to 192.168.0.2:139
Error connecting to 192.168.0.2 (Die Operation wird bereits ausgeführt)  - 
free translation "operation in progress"
Connection to 192.168.0.2 failed

sometimes ofcoure througb the smb nature the browse list is outdated, but nmap 
tells me that the machine is online?

if i tell samba to be the lmb for this workgroup with:
os level = 255
preferred master = yes

i can see in wireshark that browser election takes place, and the pc in 
question releases the workgroup so that my pc is the new local master 
browser.

Any ideas?
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Fwd: Re: [Samba] NBIPX, "local" problem?

2007-10-27 Thread Julius Junghans

--  Forwarded Message  --

Subject: Re: [Samba] NBIPX, "local" problem?
Date: Friday 26 October 2007
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]

I think samba requires TCP/IP and will not work on ipx

 Original Message 
Subject: [Samba] NBIPX, "local" problem? (23-Oct-2007 22:30)
From:[EMAIL PROTECTED]
To:  [EMAIL PROTECTED]

> Hi,
> 
> as stated in the samba docs Netbios over IPX should be disabled, see:
> http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/NetworkBrowsing.
> html
> 
> Are all workgroups affected by this?
> Or is it just not possible to connect to computers in the workgroup with 
> the 
> IPX clients?
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
> 
> To: samba@lists.samba.org

---
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] NBIPX, "local" problem?

2007-10-23 Thread Julius Junghans
Hi,

as stated in the samba docs Netbios over IPX should be disabled, see:
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/NetworkBrowsing.html

Are all workgroups affected by this?
Or is it just not possible to connect to computers in the workgroup with the 
IPX clients?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] LMB doesnt answer?

2007-10-23 Thread Julius Junghans
Hi,

nmblookup -M workgroup
querying workgroup on 192.168.0.255
192.168.0.5 workgroup<1d>

smbclient -NL //192.168.0.5
timeout connecting to 192.168.0.5:445
timeout connecting to 192.168.0.5:139
Error connecting to 192.168.0.5 (Die Operation wird bereits ausgeführt)
Connection to 192.168.0.5 failed

But nmap -sP tells me that the machine is still online?
Whats wrong?
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] guest account group

2007-01-14 Thread Julius Junghans
On Tuesday 02 January 2007 13:18, Julius Junghans wrote:
> Hi,
>
> ive created a new user "myuser" with his primary group "users". after
> adding him with pdbedit -a -u myuser to samba pdbedit -L doesnt list the
> users group...? how can i set it?
>
>
> greets
> Julius

Ive got an answer on this question to my private email adress...i am supposed 
to use the net command.
Ive read about the net command and im beginning to doubt that its the right 
way. Is it possible to use the linux group permissions for my guest account 
in samba?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] guest account group

2007-01-02 Thread Julius Junghans
Hi,

ive created a new user "myuser" with his primary group "users". after adding 
him with pdbedit -a -u myuser to samba pdbedit -L doesnt list the users 
group...? how can i set it?


greets
Julius
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] share subdir (permission problem)

2006-10-28 Thread julius . junghans
Hi,

i would like to share some directorys below /home/myuser with security = 
share. it all works fine if all parent dirs (e.x. /test1/test2/test3) are 
owned by the samba guest account. but if just one is owned by myuser it 
doesnt work :( at least write support is a problem.
Is there an easy solution?

Julius
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] misc error

2005-12-07 Thread julius Junghans

hi,

my samba share worked fine for some time now, today the local syslog was 
spamed with this:


Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: No response buffer
Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: Send error in read = -11
Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: Invalid size SMB length 4 
pdu_length 65343

Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: No response buffer
Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: Send error in read = -11
Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: Invalid size SMB length 4 
pdu_length 65343

Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: No response buffer
Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: Send error in read = -11
Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: Invalid size SMB length 4 
pdu_length 65343

Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: No response buffer
Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: Send error in read = -11
Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: Invalid size SMB length 4 
pdu_length 65343

Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: No response buffer
Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: Send error in read = -11
Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: Invalid size SMB length 4 
pdu_length 65343

Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: No response buffer
Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: Send error in read = -11
Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: Invalid size SMB length 4 
pdu_length 65343

Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: No response buffer
Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: Send error in read = -11
Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: Invalid size SMB length 4 
pdu_length 65343

Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: No response buffer
Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: Send error in read = -11
Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: Invalid size SMB length 4 
pdu_length 65343

Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: No response buffer
Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: Send error in read = -11
Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: Invalid size SMB length 4 
pdu_length 65343

Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: No response buffer
Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: Send error in read = -11
Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: Invalid size SMB length 4 
pdu_length 65343

Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: No response buffer
Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: Send error in read = -11
Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: Invalid size SMB length 4 
pdu_length 65343

Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: No response buffer
Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: Send error in read = -11
Dec  7 19:13:36 [EMAIL PROTECTED] CIFS VFS: Invalid size SMB length 4 
pdu_length 65343

Dec  7 19:13:37 [EMAIL PROTECTED] CIFS VFS: No response buffer
Dec  7 19:13:37 [EMAIL PROTECTED] CIFS VFS: Send error in read = -11
Dec  7 19:13:37 [EMAIL PROTECTED] CIFS VFS: Invalid size SMB length 4 
pdu_length 65343

Dec  7 19:13:37 [EMAIL PROTECTED] CIFS VFS: No response buffer
Dec  7 19:13:37 [EMAIL PROTECTED] CIFS VFS: Send error in read = -11
Dec  7 19:13:37 [EMAIL PROTECTED] CIFS VFS: Invalid size SMB length 4 
pdu_length 65343

Dec  7 19:13:37 [EMAIL PROTECTED] CIFS VFS: No response buffer
Dec  7 19:13:37 [EMAIL PROTECTED] CIFS VFS: Send error in read = -11
Dec  7 19:13:37 [EMAIL PROTECTED] CIFS VFS: Invalid size SMB length 4 
pdu_length 65343

Dec  7 19:13:37 [EMAIL PROTECTED] CIFS VFS: No response buffer
Dec  7 19:13:37 [EMAIL PROTECTED] CIFS VFS: Send error in read = -11
Dec  7 19:13:37 [EMAIL PROTECTED] CIFS VFS: Invalid size SMB length 4 
pdu_length 65343

Dec  7 19:13:37 [EMAIL PROTECTED] CIFS VFS: No response buffer
Dec  7 19:13:37 [EMAIL PROTECTED] CIFS VFS: Send error in read = -11
Dec  7 19:13:37 [EMAIL PROTECTED] CIFS VFS: Invalid size SMB length 4 
pdu_length 65343

Dec  7 19:13:37 [EMAIL PROTECTED] CIFS VFS: No response buffer


i can use scp to copy files to the exported drive at normal speed, so 
the hardware should work.

from the samba.log:

192.168.10.66 (192.168.10.66) connect to service music2 initially as 
user nobody (uid=65534, gid=65534) (pid 15441)

[2005/12/07 19:42:11, 0] lib/util_sock.c:write_data(554)
 write_data: write failure in writing to client 192.168.10.66. Error 
Broken pipe

[2005/12/07 19:42:11, 0] lib/util_sock.c:send_smb(762)
 Error writing 65343 bytes to client. -1. (Broken pipe)
[2005/12/07 19:42:11, 1] smbd/service.c:close_cnum(835)
 192.168.10.66 (192.168.10.66) closed connection to service music2
[2005/12/07 19:42:11, 1] smbd/service.c:make_connection_snum(662)
 192.168.10.66 (192.168.10.66) connect to service music2 initially as 
user nobody (uid=65534, gid=65534) (pid 15442)

[2005/12/07 19:42:11, 0] lib/util_sock.c:write_data(554)
 write_data: write failure in writing to client 192.168.10.66. Error 
Broken pipe

[2005/12/07 19:42:11, 0] lib/util_sock.c:send_smb(762)
 Error writing 65343 bytes to client. -1. (Broken pipe)
[2005/12/07 19:42:11, 1] smbd/

[Samba] smbpasswd -d nobody, listing still possible?

2005-11-27 Thread julius Junghans

hi,

i wondered why i can still list my shares with "smbclient -NL localip", 
security = SHARE i just disable the user nobody?



the log:
[2005/11/27 12:05:48, 2] lib/interface.c:add_interface(81)
 added interface ip=192.168.10.66 bcast=192.168.10.255 nmask=255.255.255.0
[2005/11/27 12:05:48, 2] lib/interface.c:add_interface(81)
 added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
[2005/11/27 12:05:48, 3] smbd/sec_ctx.c:push_sec_ctx(256)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2005/11/27 12:05:48, 3] smbd/uid.c:push_conn_ctx(388)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2005/11/27 12:05:48, 3] smbd/sec_ctx.c:set_sec_ctx(288)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/11/27 12:05:48, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/11/27 12:05:48, 3] smbd/sec_ctx.c:push_sec_ctx(256)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2005/11/27 12:05:48, 3] smbd/uid.c:push_conn_ctx(388)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2005/11/27 12:05:48, 3] smbd/sec_ctx.c:set_sec_ctx(288)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/11/27 12:05:48, 3] smbd/sec_ctx.c:push_sec_ctx(256)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2005/11/27 12:05:48, 3] smbd/uid.c:push_conn_ctx(388)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2005/11/27 12:05:48, 3] smbd/sec_ctx.c:set_sec_ctx(288)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2005/11/27 12:05:48, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/11/27 12:05:48, 3] smbd/sec_ctx.c:push_sec_ctx(256)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2005/11/27 12:05:48, 3] smbd/uid.c:push_conn_ctx(388)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2005/11/27 12:05:48, 3] smbd/sec_ctx.c:set_sec_ctx(288)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2005/11/27 12:05:48, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/11/27 12:05:48, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/11/27 12:05:48, 3] smbd/server.c:main(839)
 loaded services
[2005/11/27 12:05:48, 3] smbd/server.c:main(854)
 Becoming a daemon.
[2005/11/27 12:05:48, 2] lib/tallocmsg.c:register_msg_pool_usage(56)
 Registered MSG_REQ_POOL_USAGE
[2005/11/27 12:05:48, 2] lib/dmallocmsg.c:register_dmalloc_msgs(71)
 Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
[2005/11/27 12:05:48, 3] printing/printing.c:start_background_queue(1321)
 start_background_queue: Starting background LPQ thread
[2005/11/27 12:05:48, 2] smbd/server.c:open_sockets_smbd(334)
 waiting for a connection
[2005/11/27 12:05:54, 3] smbd/oplock.c:init_oplocks(1380)
 open_oplock_ipc: opening loopback UDP socket.
[2005/11/27 12:05:54, 3] smbd/oplock_linux.c:linux_init_kernel_oplocks(309)
 Linux kernel oplocks enabled
[2005/11/27 12:05:54, 3] smbd/oplock.c:init_oplocks(1411)
 open_oplock ipc: pid = 5986, global_oplock_port = 32771
[2005/11/27 12:05:54, 3] smbd/process.c:process_smb(1114)
 Transaction 0 of length 183
[2005/11/27 12:05:54, 3] smbd/process.c:switch_message(900)
 switch message SMBnegprot (pid 5986) conn 0x0
[2005/11/27 12:05:54, 3] smbd/sec_ctx.c:set_sec_ctx(288)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/11/27 12:05:54, 3] smbd/negprot.c:reply_negprot(466)
 Requested protocol [PC NETWORK PROGRAM 1.0]
[2005/11/27 12:05:54, 3] smbd/negprot.c:reply_negprot(466)
 Requested protocol [MICROSOFT NETWORKS 1.03]
[2005/11/27 12:05:54, 3] smbd/negprot.c:reply_negprot(466)
 Requested protocol [MICROSOFT NETWORKS 3.0]
[2005/11/27 12:05:54, 3] smbd/negprot.c:reply_negprot(466)
 Requested protocol [LANMAN1.0]
[2005/11/27 12:05:54, 3] smbd/negprot.c:reply_negprot(466)
 Requested protocol [LM1.2X002]
[2005/11/27 12:05:54, 3] smbd/negprot.c:reply_negprot(466)
 Requested protocol [DOS LANMAN2.1]
[2005/11/27 12:05:54, 3] smbd/negprot.c:reply_negprot(466)
 Requested protocol [Samba]
[2005/11/27 12:05:54, 3] smbd/negprot.c:reply_nt1(331)
 not using SPNEGO
[2005/11/27 12:05:54, 3] smbd/negprot.c:reply_negprot(559)
 Selected protocol NT LANMAN 1.0
[2005/11/27 12:05:54, 3] smbd/process.c:process_smb(1114)
 Transaction 1 of length 142
[2005/11/27 12:05:54, 3] smbd/process.c:switch_message(900)
 switch message SMBsesssetupX (pid 5986) conn 0x0
[2005/11/27 12:05:54, 3] smbd/sec_ctx.c:set_sec_ctx(288)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/11/27 12:05:54, 3] smbd/sesssetup.c:reply_sesssetup_and_X(751)
 wct=13 flg2=0xc801
[2005/11/27 12:05:54, 3] smbd/sesssetup.c:reply_sesssetup_and_X(897)
 Domain=[MIDEARTH]  NativeOS=[Unix] NativeLanMan=[Samba 3.0.20b] 
PrimaryDomain=[null]

[2005/11/27 12:05:54, 3] smbd/sesssetup.c:reply_sesssetup_and_X(912)
 sesssetupX:[EMAIL PROTECTED]
[2005/11/27 12:05:54, 3] smbd/sesssetup.c:check_guest_password(115)
 Got anonymous request
[2005/11/27 12:05:54, 3] auth/auth.c:check_ntlm_password(219)
 check_ntlm_password:  Checking password for unmapped user [EMAIL PROTECTED] 
with the new password interface

[2005/11/27 12:05:54, 

[Samba] dns queries from samba?

2005-10-28 Thread julius Junghans
hi,

i played around with ethereal a bit, looks like samba is trying to
resolve GANDALF, the ethereal entry:

source: my ip, dest: nameserver, protocol: dns info: standard query A
GANDALF

im very sure i've used the name GANDALF for nothing else except my
netbios name.

My dns server awnsers with:  Standard query response, Server
failure[Short Frame]


Is this really samba and if it is, why?




my smb.conf:

[global]
workgroup = MIDEARTH
netbios name = GANDALF
security = SHARE

bind interfaces only = yes
interfaces = eth0 lo

passdb backend = tdbsam
guest account = nobody

#logging
log file = /tmp/samba.log
log level = 1


[data]
comment = Data

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Netbios over more then one protocol

2005-10-27 Thread julius Junghans
Michael Barnes wrote:

> Why do you have IPX installed?  Are you running an older Netware
> server in the same network?  If it is not needed, maybe you can remove
> the IPX protocol from the Win9x machines?
>
> Michael


No, i don't use Win9x anymore. I'm just interested what might happen
because i used 9x for some years.

Julius


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Netbios over more then one protocol

2005-10-27 Thread julius Junghans
Hi,


i'm reading:
samba-3.0.20a/docs/htmldocs/Samba3-HOWTO/NetworkBrowsing.html#id2564441

... The election process is /fought out, so to speak/ over every NetBIOS
network interface. In the case of a Windows 9x/Me machine that has both
TCP/IP and IPX installed and has NetBIOS enabled over both protocols,
the election will be decided over both protocols. As often happens, if
the Windows 9x/Me machine is the only one with both protocols, then the
LMB may be won on the NetBIOS interface over the IPX protocol. Samba
will then lose the LMB role because Windows 9x/Me will insist it knows
who the LMB is. Samba will then cease to function as an LMB, and browse
list operation on all TCP/IP-only machines will therefore fail...
 
what exactly happens if theres a netbios/ipx machine in one workgroup
(only windows machines) that wins the election for the local master
browser (theres one in every workgroup right?)

The network neighborhood wouldn't show anything right?
Would anything change if all machines install ipx?



Second scenario:

this workgroup is in a subnet with other workgroups (no ipx installed),
every workgroup has its lmb.
The "other" workgroups should show up in the network neighborhood except
for the machines from the "ipx" workgroup?






greets
Julius
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Windows lost Samba server

2005-10-27 Thread julius Junghans
Michael Barnes wrote:

> I have two Samba servers on a local network.  One is to eventually
> become the new system file server.  The original server is on the
> domain/workgroup MCALLEN, the new server is on the domain/workgroup
> WRNHQ.
>
> Everything was moving along smoothly.  I could see both workgroups on
> various Windows machines (both 98 and 2K), I could see the shares,
> permissions seemed good, etc.  I was working on fine tuning the logon
> scripts for WRNHQ.
>
> An unexpected power failure rebooted WRNHQ.  (Machines on the bench
> are not on UPS)  Since the reboot, the Windows machines cannot see
> WRNHQ. They can still see MCALLEN with no problem.  Searching for
> computers in Network Places/Neighborhood finds everything but WRNHQ.
>
> Samba is running fine, no errors found.  Nothing was being edited, nor
> were any files open when the reboot occurred.
>
> I'm totally lost on what to check.  Ideas appreciated.
>
> BTW, WRNHQ is CentOS4 running Samba 3.
>
> Thanks,
> Michael

Hi,

im a samba/networking newbie, but i would first take a look at the
system logs.

Is the machine reachable with ping (interface up)?
is samba listening on the lan interface?

greets
Julius



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] samba without netbios

2005-10-26 Thread julius Junghans
John H Terpstra wrote:

>OK - I'll try to answer this.
>
>Originally Windows networking used only NetBIOS over TCP/IP.
>
>Browsing uses a complex interaction of name registration and resolution 
>involving UDP ports 137 and 138. Port 137 is the NetBIOS Name Server port, 
>but it is also used to handle all browsing operations. Browsing is the 
>ability to locate domains and machines over the network.
>
>A NetBIOS machine name must be resolved to its IP address. This can be done 
>using WINS using NetBIOS unicast requeries over unicast UDP, or via NetBIOS 
>broadcasts over UDP broadcast using port 137.
>
>File and print sharing operations under NetBIOS over TCP/IP are performed over 
>TCP port 139. Both ends of the NetBIOS over TCP/IP connection must know each 
>others NetBIOS name. Name resolution is vital to NetBIOS over TCP/IP 
>operation - WINS is your friend because it adds reliability and reduces 
>network UDP traffic.
>
>Windows 2000 introduces ADS!
>
>Enter Windows 2000 with ADS, and the ability to disable NetBIOS over TCP/IP.
>In its place Windows 200X uses DNS, Kerberos, LDAP, and Raw SMB over TCP/IP.
>The DNS, Kerberos and LDAP services run over the standard well-known ports.
>Raw SMB over TCP/IP uses TCP port 445.
>
>On Windows 200X clients, when NetBIOS over TCP/IP is disabled, and an attempt 
>is made to join a domain, the client automatically tries to use the 
>combination of DNS, Kerberos, LDAP and TCP port 445 services with the 
>expectation that Microsoft Active Directory is being used. In order to remain 
>backwards compatible, TCP port 139 can also be used.
>
>The mechanisms behind TCP ports 139 and 445 are very different. A connection 
>made on port 445 must be able to resolve the fully qualified hostname using 
>the protocols expected within ADS. That is, via DNS using SRV records as well 
>as A records. Additionally, the client will try to use Kerberos information 
>to contact the DNS server and the LDAP server. It expects to find SMB 
>information in the Kerberos PAC (a data blob inside the Kerberos ticket that 
>is unique to ADS's implementation).
>
>With ADS browsing involves DNS, LDAP and Raw SMB traffic over ports 445 and 
>139. The client expects all the information that it wold obtain if it were a 
>member of an ADS domain.
>
>Samba-3 supports port 445 and all operations necessary to be an ADS domain 
>member server. It can not be an ADS server, and it can not be an ADS domain 
>controller. That functionality is being added in the Samba-4 project.
>
>What this means is, that if you disable NetBIOS over TCP/IP on your clients 
>and on Samba-3, you will not be able to browse the network. Additionally, 
>Samba can NOT be a domain controller. It can be a stand-alone server without 
>NetBIOS over TCP/IP.
>
>Samba-3 can be a file and print server for Windows clients that have NetBIOS 
>disabled - but some things may break.
>
>In short, NetBIOS-less SMB implies ADS. Samba-3 is not an ADS server. Ergo, NO 
>ADS for all practical purposes means DOES NOT WORK.
>
>  
>

Thx for the awnser,

so no real solution until samba 4.


Greets
Julius


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] samba without netbios

2005-10-25 Thread julius Junghans
William Burns wrote:

>
>> On Monday 24 October 2005 14:06, julius Junghans wrote:
>>  
>>
>>> ive read a lot in the howto about netbios/ddns, but im still
>>> confused if
>>> its possible for samba to only use tcp/ip without netbios.
>>> are there any howtos for this topic that are not mentioned in the
>>> samba3
>>> howto?
>>>   
>>
> John H Terpstra wrote:
>
>> Please point me to the documentation (section and page number please)
>> that you have referred to and that is not clear to you. I need to
>> know so I can fix it.
>>  
>>
> John:
> I don't know what Julius is looking at but...
> I'm looking into similar docs re: DFS not working on SAMBA servers
> that are referred to w/ fully.qualified.sub.domains... (even though a
> straight samba share WILL work under that name)
>
> I figure that all the info that Julius needs is in the docs...
> Here's how he might proceed to get where he wants to go.
>
> At the bottom of this section:
> http://us3.samba.org/samba/docs/Samba-Guide.pdf
> 13.3.1.2 Routed Networks - Page 480
>
> There's a pretty definitive sounding statement:
>
>> Note
>> The use of DNS is not an acceptable substitute
>> for WINS. DNS does not store specific
>> information regarding NetBIOS networking
>> particulars that get stored in the WINS
>> name resolution database and that Windows
>> clients require and depend on.
>
Ive read that somewhere in the samba3 howto html docs.

> That sounds like a "no".
>
> But, later in section
> "15.1 Joining a Domain: Windows 200x/XP Professional"
> at the bottom of page 495, there's this:
>
>> Where NetBIOS technology uses WINS as well as UDP broadcast
>> as key mechanisms for name resolution, Active Directory
>> servers register their services with the Microsoft Dynamic DNS
>> server. Windows clients must be able to query the correct DNS
>> server to find the services (like which machines are domain controllers
>> or which machines have the Netlogon service running).
>
>
Maybe the service information is hold in the ldap?

> So, sometime you HAVE to use DNS
> Later there's a note that you don't have to do this [DNS] if you're in
> a SAMBA domain.
> But... Does this mean I can disable Netbios/Netbeui?
>

> There's A direct answer to Julius' question in section
> "16.5 Questions and Answers"
> at the bottom of page 554
>
>> 6. Q: Is it possible to reduce network broadcast activity with
>> Samba-3?
>> A: Yes, there are two ways to do this. The first involves
>> use of WINS (See TOSHARG2, Chapter 9, Section 9.5, “WINS
>> — The Windows Inter-networking Name Server”); the alternate
>> method involves disabling the use of NetBIOS over TCP/IP. This
>> second method requires a correctly configured DNS server (see
>> TOSHARG2, Chapter 9, Section 9.3, “Discussion”)
>
>
*howto*

> Plus the following note:
>
>> Note
>> Use of SMB without NetBIOS is possible only
>> on Windows 200x/XP Professional clients
>> and servers, as well as with Samba-3.
>
>
> Personally, I find the answer to question 6 a little confusing because
> I *thought* that in Win'9x, disabling "NetBIOS over TCP/IP" meant that
> you'd get no SMB traffic on the TCP/IP side of that client. (It'd be
> all NetBEUI)
>
> This Win' 9x "NetBIOS over TCP/IP" config feature does not exist in
> Win' XP as such, but is provided by Win' XP's "TCP/IP NetBIOS Helper"
> in Control-Panel/Services which "Enables support for NetBIOS over
> TCP/IP (NetBT) service and NetBIOS name resolution"
> This service sometimes inexplicably gets turned off, causing the
> Win'XP client to fail to use DNS resolution to resolve SMB names.
>
> But... it IS possible
> That brings us to this section
> http://tr.samba.org/samba/docs/man/Samba-HOWTO-Collection/NetworkBrowsing.html#id2551944
>
> which is not numbered in the html version ??? but in the PDF version
> has a section number:
> http://us3.samba.org/samba/docs/Samba3-HOWTO.pdf
> "9.3.2 TCP/IP without NetBIOS"
> On page 151 we learn:
>
>> Use of raw SMB over TCP/IP (No NetBIOS layer) can be done only with
>> Active Directory domains. Samba is not an Active Directory domain
>> controller:
>> ergo, it is not possible to run Samba as a domain controller and at
>> the same time not use NetBIOS.
>
Yep, I also read that. so you can't use it without an ms windows active
directory server...if i understand this right.
That would b

[Samba] samba without netbios

2005-10-24 Thread julius Junghans
Hi,

ive read a lot in the howto about netbios/ddns, but im still confused if
its possible for samba to only use tcp/ip without netbios.
are there any howtos for this topic that are not mentioned in the samba3
howto?

Greets
Julius
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] passdb backend = guest ?

2005-10-21 Thread julius Junghans
Hi,

im reading the Samba 3 Howto / Chapter 7. Standalone Servers at the
moment, where can i get more infos about:
passdb backend = guest ?

Greets
Julius
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] cifs share / unable to load nls charset utf8

2005-05-11 Thread Julius Junghans
Hi,
ive got some problems with my shares(cifs), the server/client (both 
gentoo) is utf8 ready but i cant get typical german sings like "öäü" to 
work, all i get is ? instead of the  chars.
i can see the chars from my windows xp machine, but why not from the 
linux client?

regards
julius
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Unable to load NLS charset utf-8

2005-05-09 Thread Julius Junghans
Hi,
my log is full with etries like this: Unable to load NLS charset utf-8
utf8 support is build into the kernel and selected as default nls page.
testparm /etc/samba/smb.conf -v|grep charset :
   dos charset = CP850
   unix charset = UTF8
   display charset = UTF8
so whats wrong?
regards
julius
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] findsmb, windows xp sp2 not listed?

2005-04-18 Thread Julius Junghans
Hi,
findsmb doesnt list the only xp machine in the network...
smbclient -NL 192.168.10.10 shows:
Anonymous login successful
Domain=[ARBEITSGRUPPE] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
   Sharename   Type  Comment
   -     ---
Error returning browse list: NT_STATUS_ACCESS_DENIED
session request to 192.168.10.10 failed (Called name not present)
session request to 192 failed (Called name not present)
Anonymous login successful
Domain=[ARBEITSGRUPPE] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
   Server   Comment
   ----
   TEST
   WorkgroupMaster
   ----
   ARBEITSGRUPPETEST
   HEAVY_METAL  FILESERVER
i can play music from the samba server on the xp machine...but why isnt 
the machine listed by findsmb?

regards
julius
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: Samba-HOWTO-Collection/StandAloneServer.html#simplynice

2004-12-19 Thread Julius Junghans
Jim C. wrote:
| After reading smb.conf the option "passdb backend = guest" looks wrong?
| guest isnt listed as a possibility in the manpage.
| Ive changed nothing in my passwd/smbpasswd file.
| Why is it not working?
passdb backend tells samba where to find it's records.  You need to read
up on this.
http://us2.samba.org/samba/docs/man/Samba-HOWTO-Collection/passdb.html
Jim C.
--
-
| I can be reached on the following Instant Messenger services: |
|---|
| MSN: j_c_llings @ hotmail.com  AIM: WyteLi0n  ICQ: 123291844  |
|---|
| Y!: j_c_llingsJabber: jcllings @ njs.netlab.cz| 

Yes, but reading the mentioned site doesnt helpguest still looks 
wrong :(
there should be a password backend like tdbsam, ldapsam or mysqlsam.
It makes no sense.

Regards
Julius
-
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Samba-HOWTO-Collection/StandAloneServer.html#simplynice

2004-12-18 Thread Julius Junghans
Hi,
after installing samba i added the config mentioned above.
tux / # smbclient -L GANDALF
Connection to GANDALF failed
tux / # smbclient -L "myip"
Password:
Domain=[MIDEARTH] OS=[Unix] Server=[Samba 3.0.7]
   Sharename   Type  Comment
   -     ---
Error returning browse list: NT_STATUS_NETWORK_ACCESS_DENIED
Domain=[MIDEARTH] OS=[Unix] Server=[Samba 3.0.7]
   Server   Comment
   ----
   WorkgroupMaster
   ----
After reading smb.conf the option "passdb backend = guest" looks wrong? 
guest isnt listed as a possibility in the manpage.
Ive changed nothing in my passwd/smbpasswd file.
Why is it not working?

Regards
Julius
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Tool to Search SMB networks?

2004-11-23 Thread julius . junghans
Hi
i was looking for some programm that searches files in a network with many 
linux/windows machines...can anybody give me a hint?

Mfg
Julius Junghans
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba