[Samba] samba storing filenames as utf8

2007-01-12 Thread Kurt Weiss

samba 3.0.22
debian woody.
linux charset: iso8859-15
windows charset iso8859-15

tested parameters:
   unix charset = ISO_8859-15
   display charset = ISO_8859-15
   unix charset = ISO-8859-15
   unix charset = iso8859-15
   unix charset = utf8
   unix charset = UTF8
   unix charset = LOCALE

problem:

files are seen in windows correct iso8859 named.
if i look at the linux server, there are encrypted special characters in 
the filenames. (e.g. Entwürfe looks like EntwÃ1/4rfe)


i've tested a long time and today i've tried to convert the filename:

sv01samba:/# echo EntwÃ1/4rfe | iconv -f utf8 -t iso8859-15
Entwürfe

in my view, it seems, that samba ignores the given unix charset parameter.

--
--
greetings,
kurt, austria. (http://www.kwnet.at)
===
this is a posting from a samba *user* - not a samba developer.
the posting is created on the base of experiences an may be faulty.
so, if contains any mistakes, please feel free to correct it
===
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba AutoCAD 2007 high CPU after printing

2006-06-10 Thread Kurt Weiss

THX for your answer.

as pronounced, this is experience. - there was no intention to produce FUD.
sorry, that i've told, that samba is *not* supported by autodesk.
as supporter of small users, i've always got this answer by autodesk 
as reply such questions.

also questions to this list were not answered. (exept one usermail)


you've written, that there's technical notes, how to configure ACAD.
is it possible for you, to post this information, because it seems, that 
it is not reachable for me.


--
--
greetings,
kurt, austria. (http://www.kwnet.at)
===
this is a posting from a samba *user* - not a samba developer.
the posting is created on the base of experiences an may be faulty.
so, if contains any mistakes, please feel free to correct it
===

Jeremy Allison schrieb:

On Wed, Jun 07, 2006 at 08:22:40AM +0200, Kurt Weiss wrote:

autodesk announcing explicit, that samba is *not* supportet.
http://usa.autodesk.com/adsk/servlet/ps/item?siteID=123112id=2872551linkID=2475323


That's not what this link says. This link says that
Autocad expects Windows network semantics, and if it
doesn't work then it's a server problem. I agree :-).
That's why we provide Windows network semantics.

Far from saying they don't support Samba, they actually
have a tech note explaining how to configure part of
Samba to enable things for them !

Please don't spread FUD on the Samba lists - google will
index your reply and hostile forces :-) will use it to
claim Samba isn't supported and doesn't work. No one
will ever read this rebuttal (of course :-).

Jeremy.



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


Re: [Samba] Samba AutoCAD 2007 high CPU after printing

2006-06-07 Thread Kurt Weiss

hello jeremy and jordan.

autodesk announcing explicit, that samba is *not* supportet.
http://usa.autodesk.com/adsk/servlet/ps/item?siteID=123112id=2872551linkID=2475323

our costumers are using using AutoCAD from 2002-2007 on samba 2 + 3.
IMHO, samba 2 may be a good choice for AutoCAD.
for example, AutoCAD with samba3 has a problem with special chars in 
filenames.
(ä,ö, will make no problems, ü causes AutoCAD to throw a 
file-not-found message.)


printer:
i can't remember, if there's already the parameter disable spoolss in 
samba 2. - but this may help.

additional you can play with the ACAD-built spooler (preferences).

sorry, if i interfere this thread, but that are my experiences.

--
--
greetings,
kurt, austria. (http://www.kwnet.at)
===
this is a posting from a samba *user* - not a samba developer.
the posting is created on the base of experiences an may be faulty.
so, if contains any mistakes, please feel free to correct it
===

Jeremy Allison schrieb:

On Wed, Jun 07, 2006 at 10:19:56AM +0800, Jordan Tomkinson wrote:

Hi List,

 


I'm having some problems with Samba 2.0.10 and AutoCAD drawings,
specifically when a user prints a CAD file, an smbd process is spawned
as smbuser (my guest account) which uses 99% CPU and never gives up,
even after the job is fully printed and cups has moved on. This only
happens when printing CAD files.


Samba 2.x is very old and unsupported right now
Can you try upgrading to Samba3 and testing again.

Jeremy.



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


[Samba] problems with AUTOCAD (german version) and samba

2006-03-03 Thread Kurt Weiss
a problem occurs, if somebody tries to access a file, named with ü in 
path- or filename:
AUTOCAD acnnot access this files - throwing error (translated) cannot 
find drawing, make sure, that your networkdrive is available and the 
file exists.


this only happens, with germen special letters ü and Ü
opening with other applications and opening with ACAD on all other files 
is successful.


does anyone have an idea, why this happen?

e.g.:
networkdrive N:
opening N:\tmp\_täst\test.dwg - ok
opening N:\tmp\_tüst\test.dwg - with ACAD error, other applications: 
success


smbd logfile:
  unix_mode(temp/_tüst/test.dwg) returning 0770
[2006/03/03 10:43:24, 2] smbd/open.c:open_file(369)
  marcel opened file temp/_tüst/test.dwg read=Yes write=No (numopen=1)
[2006/03/03 10:43:24, 3] smbd/oplock_linux.c:linux_set_kernel_oplock(166)
  linux_set_kernel_oplock: got kernel oplock on file 
temp/_tüst/test.dwg, dev = 2103, inode = 4489682, file_id = 1092

[2006/03/03 10:43:24, 3] smbd/process.c:process_smb(1194)
  Transaction 6011 of length 90
[2006/03/03 10:43:24, 3] smbd/process.c:switch_message(993)
  switch message SMBopenX (pid 10348) conn 0x83fa2e0
[2006/03/03 10:43:24, 3] smbd/dosmode.c:unix_mode(121)
  unix_mode(temp/_tüst/test.dwg) returning 0770
[2006/03/03 10:43:24, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(515, 102) : sec_ctx_stack_ndx = 1
[2006/03/03 10:43:24, 3] smbd/uid.c:push_conn_ctx(393)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2006/03/03 10:43:24, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2006/03/03 10:43:24, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (515, 102) - sec_ctx_stack_ndx = 0
[2006/03/03 10:43:24, 3] smbd/oplock.c:initial_break_processing(320)
  initial_break_processing: called for dev = 0x2103, inode = 4489682 
file_id = 1092

  Current oplocks_open (exclusive = 1, levelII = 0)
[2006/03/03 10:43:24, 3] smbd/process.c:process_smb(1194)
  Transaction 6012 of length 55
[2006/03/03 10:43:24, 3] smbd/process.c:switch_message(993)
  switch message SMBlockingX (pid 10348) conn 0x83fa2e0
[2006/03/03 10:43:24, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(515, 102) : sec_ctx_stack_ndx = 1
[2006/03/03 10:43:24, 3] smbd/uid.c:push_conn_ctx(393)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2006/03/03 10:43:24, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2006/03/03 10:43:24, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (515, 102) - sec_ctx_stack_ndx = 0
[2006/03/03 10:43:24, 3] smbd/process.c:process_smb(1194)
  Transaction 6013 of length 90
[2006/03/03 10:43:24, 3] smbd/process.c:switch_message(993)
  switch message SMBopenX (pid 10348) conn 0x83fa2e0
[2006/03/03 10:43:24, 3] smbd/dosmode.c:unix_mode(121)
  unix_mode(temp/_tüst/test.dwg) returning 0770
[2006/03/03 10:43:24, 2] smbd/open.c:open_file(369)
  marcel opened file temp/_tüst/test.dwg read=Yes write=Yes (numopen=2)
[2006/03/03 10:43:24, 3] smbd/oplock_linux.c:linux_set_kernel_oplock(161)
  linux_set_kernel_oplock: Refused oplock on file temp/_tüst/test.dwg, 
fd = 27, dev = 2103, inode = 4489682. (Resource temporarily unavailable)

[2006/03/03 10:43:24, 3] smbd/process.c:process_smb(1194)
  Transaction 6014 of length 53
[2006/03/03 10:43:24, 3] smbd/process.c:switch_message(993)
  switch message SMBsetattrE (pid 10348) conn 0x83fa2e0
[2006/03/03 10:43:24, 3] smbd/reply.c:reply_setattrE(5460)
  reply_setattrE fnum=9542 ignoring zero request - not setting 
timestamps of 0

[2006/03/03 10:43:24, 3] smbd/process.c:process_smb(1194)
  Transaction 6015 of length 45
[2006/03/03 10:43:24, 3] smbd/process.c:switch_message(993)
  switch message SMBclose (pid 10348) conn 0x83fa2e0
[2006/03/03 10:43:24, 3] smbd/reply.c:reply_close(3271)
  close fd=27 fnum=9542 (numopen=2)
[2006/03/03 10:43:24, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(515, 102) : sec_ctx_stack_ndx = 1
[2006/03/03 10:43:24, 3] smbd/uid.c:push_conn_ctx(393)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2006/03/03 10:43:24, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2006/03/03 10:43:24, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (515, 102) - sec_ctx_stack_ndx = 0
[2006/03/03 10:43:24, 2] smbd/close.c:close_normal_file(308)
  marcel closed file temp/_tüst/test.dwg (numopen=1)
[2006/03/03 10:43:24, 3] smbd/process.c:process_smb(1194)
  Transaction 6016 of length 45
[2006/03/03 10:43:24, 3] smbd/process.c:switch_message(993)
  switch message SMBclose (pid 10348) conn 0x83fa2e0
[2006/03/03 10:43:24, 3] smbd/reply.c:reply_close(3271)
  close fd=22 fnum=9540 (numopen=1)
[2006/03/03 10:43:24, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(515, 102) : sec_ctx_stack_ndx = 1
[2006/03/03 10:43:24, 3] smbd/uid.c:push_conn_ctx(393)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2006/03/03 10:43:24, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2006/03/03 10:43:24, 3] 

Re: [Samba] How to make a symlink appear as a real file (for a Linux client)?

2006-02-23 Thread Kurt Weiss



Tomasz Chmielewski schrieb:

Kurt Weiss wrote:




When it's set to no, both Windows client and Linux client (using cifs) 
will get an error when trying to access symlinked file/dir.


but then it's the question: why it's a failure?

you wrote:


# ls -l
(...) acrobatreader7
(...) addon - /home/samba/unattended-write/packages
Now, if I mount it on a Linux client using smbmount, symlinks point to non 
existing directories locally (/home/samba/unattended-write/packages exist only 
on a Samba server):
# smbmount //192.168.111.172/unattended /mnt/1
# ls -l /mnt/1
(...) acrobatreader7/
(...) addon - /home/samba/unattended-write/packages
On a Windows client, however, I can browse the files in such directories just 
fine.
I would rather expect that to happen on a Linux client, too (i.e., Linux client 
should not see it as symlinks, but as real files/directories).
Where can I look for a solution?
I didn't find anything about it in smbmount nor in smb.conf manuals.


i hope, that smbfs (smbclient) recognizes the symbolic link and shows it 
as this what it is.

because if i delete the link, the original directory will stay.

AFAIK, the symlink stores the target as text. so, it's a difference to 
create the symlink with /etc/passwd and ../etc/passwd.

e.g.:
you create symlinks in /usr:
 cd /usr
 ln -s ../etc/passwd sympass1
 ln -s /etc/passwd sympass2
 cat sympass1: success
 cat sympass2: success
now move the links to local:
 mv sympass* local/
 cat sympass1: *fail*
 cat sympass2: success

so, if you use relative path descriptions (e.g. ../unattended-write)to 
create the symlink, it will be a solution.


maybe a hardlink will be a second solution.

AFAIK: windows clients does not recognise symbolic links, so samba has 
to handle it as directory.

advantage: global directory entries are handled correct.
disadvantage: a deletion of the symbolic link will be fatal.

--
--
greetings,
kurt, austria. (http://www.kwnet.at)
===
this is a posting from a samba *user* - not a samba developer.
the posting is created on the base of experiences an may be faulty.
so, if contains any mistakes, please feel free to correct it
===
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba PDC/LDAP not mapping logon drive

2006-02-21 Thread Kurt Weiss

hello jeff

Jeff Wiegley schrieb:


Everything seems to be working fine except for
 1) roaming profiles, and
 2) User's home directory (logon drive) doesn't get mapped during
  log in.

So basically I can log in to the workstation. My user can even
see their home directory shares (via the [homes] share) but
it doesn't get mapped automatically as drive E: (or any other
drive letter) when they log on.


my experience showed, that not all windows clients automatically map the 
drive.

workaround: use net use e: /HOME in your logon script.

roaming profiles:
- please check, if your client is a correct member of the domain.
- check unix rights of the filesystem.
profiles needs
profile acls = yes
we're using following entries for the [profile] section:

   csc policy = disable
   browsable = no
   profile acls = yes
   path = /var/smbdata/profiles
   writable = yes
   create mask = 0600
   directory mask = 0700



;logon script = login.bat OR %U.bat


you have comment out the logonscript?

--
--
greetings,
kurt, austria. (http://www.kwnet.at)
===
this is a posting from a samba *user* - not a samba developer.
the posting is created on the base of experiences an may be faulty.
so, if contains any mistakes, please feel free to correct it
===
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] filesize problem...

2006-02-08 Thread Kurt Weiss

dear list,

following problem with large files:

server:
samba 3.0.21b
debian linux kernel 2.4.32
filesystem ext3

client:
windows xp sp2


- i layed a tarball to the directory with a size of 35GB (also tested 
with a smaller filesize of 7.2 GB)

- the filesystem shows the correct filesize.
- looking via samba share, there's a filesize of 2.91GB???
- trying to copy a file bigger then 2.91 GB i get an error filesize 
exeeded


smb.conf (relevant part):

[global]

snip /

   large readwrite = yes

snip /

[datenfriedhof]
  veto files = /lost+found/
  comment = Festplatten f. Datensicherung
  writable = yes
  create mode = 0660
  force create mode = 0660
  directory mode = 2770
  force directory mode = 2770
  path = /datenfriedhof

==

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


Re: [Samba] Can Windows 'Network Drive' name be changed ?

2005-11-17 Thread kurt weiss

Gary Roussak schrieb:


In Windows Explorer, 'Network Drives' section, the Samba share I've set
up is described as:

share on 'Samba 3.0.14a-0.4-SUSE (Our_server_IP_Address)' (K:)

Is there any way of configuring Samba to display something other than
Samba 3.0.14a-0.4-SUSE (Our_server_IP_Address) as the Network Drive
description, for example:


in smb.conf:
server string = text

RTFM before posting to the list (see rules)

--
--
greetings,
kurt, austria. (http://www.kwnet.at)
===
this is a posting from a samba *user* - not a samba developer.
the posting is created on the base of experiences an may be faulty.
so, if contains any mistakes, please feel free to correct it
===

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


Re: [Samba] Unable to connect samba server using hostname

2005-11-15 Thread kurt weiss


updatemyself . schrieb:


I am Unable to connect samba server using hostname
the thing is.. its happen only from few windows machine
in my network... but they can access the sambe share
using IPAddress.. as like all other machine

All the other Windows system in my network can access samba share
using both... IP Address and Hostname..
This creating a big headache for me.
please suggest some solution to solve this problems...




*) what's the result, if you try
nslookup hostname on this machines?
*) which version samba you 're using?
*) which windows versions the broken machines are?

--
--
greetings,
kurt, austria. (http://www.kwnet.at)
===
this is a posting from a samba *user* - not a samba developer.
the posting is created on the base of experiences an may be faulty.
so, if contains any mistakes, please feel free to correct it
===

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


Re: [Samba] hp officejet 9130 and samba

2005-10-19 Thread kurt weiss

did you not recieve my mails?

kurt weiss schrieb:

hello jerry

i did not hear anything from you.
did you recieve my last mail with attachment tcpdump?
is it enough?

thx
gk


Gerald (Jerry) Carter schrieb:



Can you send me an ethereal trace of the failure?





--
--
greetings,
kurt, austria. (http://www.kwnet.at)
===
this is a posting from a samba *user* - not a samba developer.
the posting is created on the base of experiences an may be faulty.
so, if contains any mistakes, please feel free to correct it
===

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


[Samba] hp officejet 9130 and samba

2005-10-06 Thread kurt weiss
we're using an hp officejet 9130 (all in one printer/scanner), wich has 
the possibility to store scans on a network share (smb).


path, username and password are checked on a workstation and are ok.
the printer has full access to the network.

unfortunally samba denies access:
snip filename=log.smbd
[2005/10/06 14:46:22, 0] smbd/negprot.c:reply_negprot(557)
  No protocol supported !
/snip

in smb.conf we'd defined the max protocol as LANMAN2
on the printer we've tested following options:
LM/NTLM
NTLM
NTLM2
allways the same message.

samba version: 3.0.11

can somebody help / has somebody experiences?

thx in adv
kurt

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


Re: [Samba] Canot view any file

2005-10-02 Thread kurt weiss
did you check the directory flags (execution rights must be set, rw is 
not enought)

maybe you can give more information?

Jean-Phils Louis schrieb:

Hi there,
 I am testing Samba on FC4 with LVM. I use share and allow guest. All samba
clients include Windows machine and smbclient on Linux box can list shared
folders but not the files in them. I tried google but no answer.
 Can you help me? Thanks,
 Jean


--
--
greetings,
kurt, austria. (http://www.kwnet.at)
===
this is a posting from a samba *user* - not a samba developer.
the posting is created on the base of experiences an may be faulty.
so, if contains any mistakes, please feel free to correct it
===

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


Re: [Samba] Roaming profile : taking forever to login /log off

2005-09-14 Thread kurt weiss

do not use the home directory as profile dir...
you need profile acls = yes there.
similar like this:

logon path = \\%N\profiles\%u
[profiles]
   csc policy = disable
   browsable = no
   profile acls = yes
   path = /var/smbdata/profiles
   writable = yes
   create mask = 0600
   directory mask = 0700

if u use the homedir as profiledir, u must not use profile acls=yes...
therefore u have problems with logon. this - maybe - will slow down your 
logon process. details u can find, if u turn log level to a higher value.


--
greetings,
kurt, austria. (http://www.kwnet.at)

this is a posting from a samba *user* - not a samba developer.
the posting is created on the base of experiences an may be faulty.
so, please, if there's any mistake in it, please feel free to correct it


FM schrieb:


Hello everybody,

We are using SMB as PDC and roaming profile.
but login /log off are taking 15 min (200 MB) on our GB network.
when I use tcpdump to monitor SMB on the client and the server , I can
see that  the copy  hang during several minutes.
our stations :
win xp sp2 (webclient disabled)

our smb serveur : samba-3.0.9

here is my smb.conf :
# Global parameters
[global]
   workgroup = DOMAIN
   server string = DOMAIN PDC Server
   interfaces = IP
   passdb backend = ldapsam:ldap://ldap-master.lan.lexum.pri/
   passwd program = /usr/local/sbin/krb5_update_pwd.pl -u %u
   passwd chat = *Password:* %n\n *Again:* %n\n *Changed*
   username map = /etc/samba/smbusers
   unix password sync = Yes
   log level = 10
   log file = /var/log/samba/%m.log
   max log size = 50
   name resolve order = wins lmhosts bcast host dns
   time server = Yes
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   printcap name = /etc/printcap
   add user script = /usr/local/sbin/smbldap-useradd -m %u
   delete user script = /usr/local/sbin/smbldap-userdel %u
   add group script = /usr/local/sbin/smbldap-groupadd -p %g
   add user to group script = /usr/local/sbin/smbldap-groupmod -m
%u %g
   delete user from group script = /usr/local/sbin/smbldap-groupmod
-x %u
   set primary group script = /usr/local/sbin/smbldap-usermod -g
%g %u
   add machine script = /usr/local/sbin/smbldap-useradd -t 5 -w %u
   logon path = \\%L\%U\windows
   logon drive = Z:
   logon home = \\%L\%U
   domain logons = Yes
   os level = 33
   preferred master = Yes
   domain master = Yes
   dns proxy = No
   wins support = Yes
   ldap admin dn = cn=samba,ou=LdapSystem,dc=lan,dc=lexum,dc=pri
   ldap group suffix = ou=Group
   ldap idmap suffix = ou=Idmap
   ldap machine suffix = ou=Computers
   ldap suffix = dc=lan,dc=lexum,dc=pri
   ldap ssl = no
   ldap user suffix = ou=Users
   hosts allow = 192.168.4., 127.0.0.1
   cups options = raw
   mangled names = No
[homes]
   comment = Home Directories
   read only = No
   browseable = No
   csc policy = disable

[netlogon]
   comment = Network Logon Service
   path = /etc/samba/netlogon
   guest ok = Yes
   share modes = No



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


[Samba] [repost] problems with win98 and samba 3

2005-08-03 Thread kurt weiss

sorry if i repost this question, but it's urgent.
has somebody an idea?

if i broke any rules with this mail, please tell me, what's wrong with it.

thx in adv, gk

 Ursprüngliche Nachricht 
Betreff: [Samba] problems with win98 and samba 3
Datum: Fri, 29 Jul 2005 16:24:29 +0200
Von: kurt weiss [EMAIL PROTECTED]
An: 'samba@lists.samba.org' samba@lists.samba.org

we're using samba 3.0.11 (updated from 2.2.19)
after the update, the windows 98 machines all showing only the short
filenames on the server. (on other servers there are long filenames
still available).

can anybody give me an idea?

thx in advance
kurt

smb.conf:
==
[global]
# 2005-01-05 einbau wixp

#   vfs object = /opt/GData/lib/bdvfs228a.so

#   log level = 9
   log level = 1
   log file = /usr/local/samba/var/log.%m
   server string = PDC (%L) samba %v
   workgroup = 
   keepalive = 60
   guest account = nobody
   keep alive = 30
   os level = 65
   security = users
   encrypt passwords = yes
   add user script = /usr/sbin/useradd -d /dev/null -g100 -s /bin/false
-M %u
   netbios name = sv01samba

   printing = lprng
   printcap name = /etc/printcap
   load printers = yes
   socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=33288
SO_RCVBUF=33288
#   socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=16644
SO_RCVBUF=16644
#   socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=8322
SO_RCVBUF=8322
   map to guest = Bad User
   local master = yes
   interfaces = ***
   bind interfaces only = yes
   hosts allow = ***

   wins support = no

   logon script =%G.bat

   domain logons = yes
   domain master = yes
   logon path = \\%N\profiles\%u
   logon drive = i:
   logon home = \\%N\ich
   admin users = root

   ###
   ###wixp

###use nameserver instead of...
   name resolve order = host lmhosts bcast
   disable spoolss = yes
   max protocol = LANMAN2
   time server = yes
   ###/wixp
   ###

[netlogon]
   comment = skripts fuer login
   browsable = yes
   path = /usr/smbdata/netlogon
   writable = yes
   create mask = 0744
   directory mask = 2744

[profiles]
   csc policy = disable
   browsable = no
#   nt acl support = no
   profile acls = yes
   path = /usr/smbdata/profiles
   writable = yes
   create mask = 0600
   directory mask = 0700

 [ich]
   comment = Heimatverzeichnis
   browseable = no
   read only = no
   create mask = 0750
   directory mask = 2750
   path = /usr/smbdata/daten/kwnet.at/%G/%U

 [cdrom]
   comment = Linux CD-ROM
   path = /cdrom
   read only = yes
   locking = no

 [floppy]
   comment = Linux CD-ROM
   path = /floppy
   read only = no
   locking = no

 [printers]
   printer admin = @edv
   comment = All Printers
   browseable = no
   printable = yes
   public = yes
   read only = no
   create mode = 0666
   path = /tmp
   use client driver = yes
   lpq command = /usr/bin/lpq -P%p
   lprm command = /usr/bin/lprm -P%p %j

...
==


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


[Samba] problems with win98 and samba 3

2005-07-29 Thread kurt weiss

we're using samba 3.0.11 (updated from 2.2.19)
after the update, the windows 98 machines all showing only the short 
filenames on the server. (on other servers there are long filenames 
still available).


can anybody give me an idea?

thx in advance
kurt

smb.conf:
==
[global]
# 2005-01-05 einbau wixp

#   vfs object = /opt/GData/lib/bdvfs228a.so

#   log level = 9
   log level = 1
   log file = /usr/local/samba/var/log.%m
   server string = PDC (%L) samba %v
   workgroup = 
   keepalive = 60
   guest account = nobody
   keep alive = 30
   os level = 65
   security = users
   encrypt passwords = yes
   add user script = /usr/sbin/useradd -d /dev/null -g100 -s /bin/false 
-M %u

   netbios name = sv01samba

   printing = lprng
   printcap name = /etc/printcap
   load printers = yes
   socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=33288 
SO_RCVBUF=33288
#   socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=16644 
SO_RCVBUF=16644
#   socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=8322 
SO_RCVBUF=8322

   map to guest = Bad User
   local master = yes
   interfaces = ***
   bind interfaces only = yes
   hosts allow = ***

   wins support = no

   logon script =%G.bat

   domain logons = yes
   domain master = yes
   logon path = \\%N\profiles\%u
   logon drive = i:
   logon home = \\%N\ich
   admin users = root

   ###
   ###wixp

###use nameserver instead of...
   name resolve order = host lmhosts bcast
   disable spoolss = yes
   max protocol = LANMAN2
   time server = yes
   ###/wixp
   ###

[netlogon]
   comment = skripts fuer login
   browsable = yes
   path = /usr/smbdata/netlogon
   writable = yes
   create mask = 0744
   directory mask = 2744

[profiles]
   csc policy = disable
   browsable = no
#   nt acl support = no
   profile acls = yes
   path = /usr/smbdata/profiles
   writable = yes
   create mask = 0600
   directory mask = 0700

 [ich]
   comment = Heimatverzeichnis
   browseable = no
   read only = no
   create mask = 0750
   directory mask = 2750
   path = /usr/smbdata/daten/kwnet.at/%G/%U

 [cdrom]
   comment = Linux CD-ROM
   path = /cdrom
   read only = yes
   locking = no

 [floppy]
   comment = Linux CD-ROM
   path = /floppy
   read only = no
   locking = no

 [printers]
   printer admin = @edv
   comment = All Printers
   browseable = no
   printable = yes
   public = yes
   read only = no
   create mode = 0666
   path = /tmp
   use client driver = yes
   lpq command = /usr/bin/lpq -P%p
   lprm command = /usr/bin/lprm -P%p %j

...
==

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


Re: [Samba] Re: Problems with Excel MS Word files (EVEN - still ANY ideas?)

2005-04-14 Thread kurt weiss
we have the same problem on systems of many customers:
*) on samba *and* windows server. (2000/2003)
*) only in office verions 2003 (*not* 2000)
seems to be an office problem?
Jeremy Allison schrieb:
On Wed, Apr 13, 2005 at 06:26:19PM +0100, Bruno Guerreiro wrote:
Hi there,
I'm having exactly the same problem.
If using samba-3.0.13 without ACL's, everything goes perfect.
ACL's on causes the file to get marked read only.
Applied the Patch for MS Excel... No results.
Any ideas?
If you need any info, please ask.

What version of office ? I keep trying to reproduce this and haven't suceeded
yet (Office 2003).
Jeremy.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] can't specify username under WinXP

2005-02-19 Thread kurt weiss
smb.conf:
null passwords = yes

attention!! if the network is not secure...
Andrei Voropaev schrieb:
Hello!
One little problem when accessing Samba shares that require password
authentication. I have WinXP. When clicking on the name of share in the
Network Neighbourhood, I get prompt for password. But the user name
field is greyed out and is preset to guest. So I can't specify needed
username. If I try to access password protected share created on some
other Windows machine, then the dialog is normal and allows to enter
username. So I guess it is connected with Samba somehow.
Currently we have to mount samba shares as disks. Then we can provide
user name and password during mounting.
What could possibly cause the above behaviour?
Thanks
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] can't specify username under WinXP

2005-02-19 Thread kurt weiss
sorry, forget the first answer - i did not read correct ...
can you include smb.conf in your mail?
which samba version you're using?
Andrei Voropaev schrieb:
Hello!
One little problem when accessing Samba shares that require password
authentication. I have WinXP. When clicking on the name of share in the
Network Neighbourhood, I get prompt for password. But the user name
field is greyed out and is preset to guest. So I can't specify needed
username. If I try to access password protected share created on some
other Windows machine, then the dialog is normal and allows to enter
username. So I guess it is connected with Samba somehow.
Currently we have to mount samba shares as disks. Then we can provide
user name and password during mounting.
What could possibly cause the above behaviour?
Thanks
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] home network

2005-02-15 Thread kurt weiss
windows XP does not allow login with empty password in default.
also you may install the signorseal registry file.
Kevin Altizer schrieb:
Greetings, I have a home network setup with a broadband router sharing a connection to a MDK Linux machine and an XP Pro machine.  The XP box is setup as master.  At first I could access the xp machine from the linux box only.  I changed the smb.conf file and uncommented the [tmp] section and could access that directory from the xp box.  Now I can't mount the shared directories on the xp machine from the linux machine.  In the smb4k window, when I double click the shared directories on the xp machine, the icon pops up on the right for a moment, then disappears.  I had a wireless router, but I changed back to my regular broadband router and now I'm getting a username/password prompt when trying to access the linux machine from the xp machine.  I tried uncommenting the guest user lines in smb.conf and this didn't help.  I downloaded Ethereal yesterday and followed the directions step by step at samba.org and still can't get things to work right.  I've googled time and time a
gain, I've posted in the linux newsgroup, I'm about out of gas here.  Do I need to just start over?  Any help would be appreciated.
Kevin A.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Preventing deletion of folders under a SAMBA share

2005-02-04 Thread kurt weiss

Stuart Callender:

Thanks for the reply.  I thought this too, but no matter what
permissions I give for existing folders via Unix permissions (even tried
sticky bits), or via the directory mask and force directory mode, the
folders can still be deleted.
the folder can be deleted if *the parent* folder has deletion rights.
e.g.
parent: 0555
parent/child: 0777
child cannot be deleted, all folders in child you can delete
if you have *no* linux fs (ext2/ext3/a.s.o.) e.g. FAT, this will take no 
effect... :-(

i hop it helped.
Windows 2000 sees the folders as read only, but allows you to delete
them.  According to O'Rielly's Samba book (based on Samba 2), all should
work fine, but it doesn't.  I was wondering whether this is because of
Windows 2000 allowing delete of Read Only files.  As such I may have to
perhaps set up a Windows 95/98 box just to see.

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


Re: [Samba] Problems with Access Control for Shares on Samba 2

2005-01-28 Thread kurt weiss
hi again :-)
u can use the unix rights to do that:
===
if e.g. all users are members of group win
hobbit directory must have rights 2770 and has owner root.win
share:
[hobbit]
  comment = only the owner can write
  path = /ALPHA-DATA/hobbit5
  create mode = 0640
  force create mode = 0640
  directory mode = 2770
  force directory mode = 2770
so all users (of group win) has read access and the owner can write.
the 2 bit in directory mode ensures, that newly created directories 
and files has the correct group (win)
===
if u want to access all other users, it will be something like this:
[hobbit]
  comment = only the owner can write
  path = /ALPHA-DATA/hobbit5
  create mode = 0644
  force create mode = 0644
  directory mode = 0777
  force directory mode = 0777
===
i prefer the first version (it's more secure)

i hope thats the answer u expected...

--
mit freundlichen grüssen

ing. kurt weiss, A-6425 Haiming, Gartenweg 3
Tel.: +43 699 1 272 9926/Fax: +43 699 4 272 9926
E-Mail: [EMAIL PROTECTED]
Web: http://www.kwnet.at/ || http://www.oberlandinfo.at/
www.kwnet.at   ...one step to the future
edv  internet   programmierung   informationstechnologie
mfh servicepoint west http://www.mfh.at/

empfehlungen:===
suche nach wissen:   http://de.wikipedia.org
legale, gute gratissoftware:  http://www.sourceforge.net
http://www.heise.de/software
suche im internet:  http://www.google.at

remote schrieb:
Hi all !
I have a question regarding the access control in Samba 2. I want to make shares available to the Windows Network for which only the owner of the share has write access. Other users however should be able to read and browse these shares. 
My smb.conf : 

global]
   workgroup = leat
   guest account = nobody
   keep alive = 30
   os level = 2
   kernel oplocks = false
   security = user
[hobbit5]
comment = hobbit5 
path = /ALPHA-DATA/hobbit5
browseable = yes
read only = no 
guest = ok
valid user = hobbit5 
;force user = hobbit5

As far as I understand Samba, with this configuration any Samba user should be able to browse and read the hobbit5 - share, while only hobbit5 himself can write and delete within this share. 
However, what happens is that any Samba user can see the share in the Network Neighborhood, but except for hobbit5, none can enter it. Windows tells me that either the path is not correct or I don´t have the network privileges to do this. 

What do I do wrong ?
Thanks,
Jörg
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Visual Studio/Samba Compile from Shares issue

2005-01-28 Thread kurt weiss
sorry, if i answer the wrong one - i did not follow the threat from begin.
here's my answer:
* is it windows xp sp2?
* is the compiler error similar like this one?:
==
fatal error C1001: INTERNER COMPILER- FEHLER
  (Compiler-Datei 'E:\8966\vc98\p2\src\P2\p2symtab.c', Zeile 932)
  Bitte klicken Sie im Menü '?' von Visual C++ auf 'Software Service',
oder öffnen Sie die Hilfedatei für den Software Service, um weitere 
Informationen zu erhalten.
==
(sorry, a stupid reseller sold me vc++ as german version :-( )

* this error apears in debug version, but not in release version?
- a fast workaround:
* turn off precompiled headers in project...
* recompile all
* after that the compilation succeeds again.
(seems that wixp sp2 has changed some shared libraries).
i hope i'd helped...
--
mit freundlichen grüssen

ing. kurt weiss, A-6425 Haiming, Gartenweg 3
Tel.: +43 699 1 272 9926/Fax: +43 699 4 272 9926
E-Mail: [EMAIL PROTECTED]
Web: http://www.kwnet.at/ || http://www.oberlandinfo.at/
www.kwnet.at   ...one step to the future
edv  internet   programmierung   informationstechnologie
mfh servicepoint west http://www.mfh.at/

empfehlungen:===
suche nach wissen:   http://de.wikipedia.org
legale, gute gratissoftware:  http://www.sourceforge.net
http://www.heise.de/software
suche im internet:  http://www.google.at

Kelly S. Smelser schrieb:
I've tried setting dos filetimes = yes and dos filetime resolution = 
yes, but this brought no change.  The problem persists.  Any more ideas?

K.
Gémes Géza wrote:
Kelly S. Smelser írta:
I've run into a problem in which Visual Studio 6.0 gives an Internal 
Compiler Error message when compiling from a samba share.  The 
project compiles fine locally and from shares on Windows machines.  
To me this suggests that the issue is with Samba.  I've tried adding 
full access to the share where the project is housed, but to no 
avail.  Any ideas?  We are running samba 3.0.9-1.3E.2 on a Redhat 
Enterprise 3 server.  The clients are Windows XP machines running 
Visual Studio 6.0 w/ SP5.
K.

--
Kelly S. Smelser
Labs Manager, Client Services
University of Indianapolis
[EMAIL PROTECTED]
I've read something like this in the docs some time ago, I would 
suggest, to read about the dos filetimes smb.conf parameter in the 
smb.conf manpage.

Cheers
Geza


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


Re: [Samba] Text files from Unix share

2005-01-11 Thread kurt weiss

Hentie Pauley schrieb:
Hello
The end-of-line or new-line character is not interpreted when I open a
shared file using MS notepad. The file was created on a Sun Solaris system -
The contents of the file is  I newline am newline testing newline samba
when I do a hex dump of the file on Unix I can see the 0d 0a at the end of
wich editor u're using? afaik, unix does not use CR/LF pairs...
each line and the same on the Windows side but when I open the file with
Notepad I get one line I am testing samba
check with another editor, accessing over the share, if the file is 
correct, or notepad is changing it... (e.g. notepad++ - 
www.sourceforge.net)

I am sure there must be a setting somewhere in the Samba configuration - can
someone please help...
afaik there's no translation in samba from CR/LF. especially not in this 
direction...


Hentie

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


[Samba] samba 2.2.9: printing problem II

2005-01-11 Thread kurt weiss
sorry, if i post again, but at first time i did not get an answer :-(
problem:
when printing from windows clients to samba 2.2.9 PDC, there are strange 
entries in the smbd logfile:
e.g.:
smbd/service.c:make_connection(252) notebook01 (192.168.10.29) could'nt 
find service lpb8-a4-ra

the strange thing is, that the service is names lpb8-a4-raw.
also the same with the other printers:
service hpusb - hpus
service pdfplotter - pdfplotte
service pdfprinter - pdfprinte
can somebody tell me the reason, because i have heavy troubles with one 
of the printers, and i cannot locate the problem (wixp or samba).

samba is reading the services from etc/printcap.
debian woody / samba from source tarball / SMP server / kernel 2.4.19.
etc/printcap:
===
hpusb|lp1|hpusb|hpusb:\
:lp=/dev/usblp0:\
:sd=/var/spool/lpd/cdj970-a4-raw-hp970:\
:lf=/var/spool/lpd/cdj970-a4-raw-hp970/log:\
:af=/var/spool/lpd/cdj970-a4-raw-hp970/acct:\
:la@:mx#0:\
:tr=:cl:sh:sf:
canon|lp2|lbp8-a4-raw|lbp8 a4 raw:\
:lp=/dev/lp0:\
:sd=/var/spool/lpd/lbp8-a4-raw:\
:lf=/var/spool/lpd/lbp8-a4-raw/log:\
:af=/var/spool/lpd/lbp8-a4-raw/acct:\
:la@:mx#0:\
:tr=:cl:sh:sf:
===
relevant parts of smb.conf:
===
...
   printing = lprng
   printcap name = /etc/printcap
   load printers = yes
...
[printers]
   printer admin = @edv
   comment = All Printers
   browseable = no
   printable = yes
   public = yes
   read only = no
   create mode = 0666
   path = /tmp
   use client driver = yes
[pdfprinter]
  printer admin = @edv
  comment = Drucker fuer PDF files
  browsable = yes
  path = /tmp
  printable = yes
  writable = no
  guest ok = yes
  force user = nobody
  print command = /var/kwnet/pdf/pdfprint %s %U
  lpq command =
  lprm command =
  use client driver = yes
[pdfplotter]
  printer admin = @edv
  comment = Plotter fuer PDF files
  browsable = yes
  path = /tmp
  printable = yes
  writable = no
  guest ok = yes
  force user = nobody
  print command = /var/kwnet/pdf/pdfprint %s %U
  lpq command =
  lprm command =
  use client driver = yes
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] samba 2.2.9 - strange printing problem

2005-01-07 Thread kurt weiss
we're using samba 2.2.9 as PDC. (w2k/wxp as clients)
following strange lines i found in smbd.log:
... smbd/service.c:make_connection(252) notebook01 (192.168.10.29) 
could'nt find service lpb8-a4-ra

the strange thing is:
the service is named lpb8-a4-raw
also the same with the other printers:
service hpusb - hpus
service pdfplotter - pdfplotte
service pdfprinter - pdfprinte
samba is reading the services from etc/printcap.
etc/printcap:
===
hpusb|lp1|hpusb|hpusb:\
:lp=/dev/usblp0:\
:sd=/var/spool/lpd/cdj970-a4-raw-hp970:\
:lf=/var/spool/lpd/cdj970-a4-raw-hp970/log:\
:af=/var/spool/lpd/cdj970-a4-raw-hp970/acct:\
:la@:mx#0:\
:tr=:cl:sh:sf:
canon|lp2|lbp8-a4-raw|lbp8 a4 raw:\
:lp=/dev/lp0:\
:sd=/var/spool/lpd/lbp8-a4-raw:\
:lf=/var/spool/lpd/lbp8-a4-raw/log:\
:af=/var/spool/lpd/lbp8-a4-raw/acct:\
:la@:mx#0:\
:tr=:cl:sh:sf:
===
relevant parts of smb.conf:
===
...
   printing = lprng
   printcap name = /etc/printcap
   load printers = yes
...
[printers]
   printer admin = @edv
   comment = All Printers
   browseable = no
   printable = yes
   public = yes
   read only = no
   create mode = 0666
   path = /tmp
   use client driver = yes
[pdfprinter]
  printer admin = @edv
  comment = Drucker fuer PDF files
  browsable = yes
  path = /tmp
  printable = yes
  writable = no
  guest ok = yes
  force user = nobody
  print command = /var/kwnet/pdf/pdfprint %s %U
  lpq command =
  lprm command =
  use client driver = yes
[pdfplotter]
  printer admin = @edv
  comment = Plotter fuer PDF files
  browsable = yes
  path = /tmp
  printable = yes
  writable = no
  guest ok = yes
  force user = nobody
  print command = /var/kwnet/pdf/pdfprint %s %U
  lpq command =
  lprm command =
  use client driver = yes
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Problem with smbclient and tar archive

2003-09-25 Thread kurt weiss
did u try smbtar??

Leonardo F. Dan schrieb:

Hi,

when I connect on Windows machine with smbclient, my terminal display 
the file's
names correctly, but when I make a tar archive with this files, the 
names of this
files with accentuation change to a characters �

command used: smbclient //machine/share password -U windows_user -Tc 
file_name

Any idea?

Thanks.


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


Re: [Samba] Problem with smbclient and tar archive

2003-09-25 Thread kurt weiss


Leonardo F. Dan schrieb:

yes, but smbtar can't estabilish connection with a server...

smbtar command: smbtar -v -s server_name -x share -u windows_user -p 
password -t file.tar

command results:
[2003/09/25 11:38:11, 2] lib/interface.c:add_interface(79)
 added interface ip=172.16.2.11 bcast=172.16.15.255 nmask=255.255.240.0
[2003/09/25 11:38:11, 2] lib/util_sock.c:open_socket_out(726)
seems, your network does not run ok, or the windows client denies the 
connection. - have u a firewall between?
was smbtar running as root? (a.f.a.i.k. mount and tar have to)

 error connecting to 172.16.1.202:445 (Connection refused)
Anonymous login successful
[2003/09/25 11:38:14, 1] client/client.c:do_connect(2598)
 Domain=[DOMAIN] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0]
tree connect failed: NT_STATUS_ACCESS_DENIED
[2003/09/25 11:38:14, 2] lib/util_sock.c:open_socket_out(726)
 error connecting to 172.16.1.202:445 (Connection refused)
Anonymous login successful
[2003/09/25 11:38:17, 1] client/client.c:do_connect(2598)
 Domain=[DOMAIN] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0]
tree connect failed: NT_STATUS_ACCESS_DENIED
kurt weiss wrote:

did u try smbtar??

Leonardo F. Dan schrieb:

Hi,

when I connect on Windows machine with smbclient, my terminal display 
the file's
names correctly, but when I make a tar archive with this files, the 
names of this
files with accentuation change to a characters �

command used: smbclient //machine/share password -U windows_user -Tc 
file_name

Any idea?

Thanks.




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


Re: [Samba] Problem with smbclient and tar archive

2003-09-25 Thread kurt weiss
in your logs , samba sais, that anonymous connect is successful, but the 
user is denied... (comeing from windows machine)
did u try smbtar with the administrator account on windows?

connect on port 445 is refused...
which version of samba u're running?
did u update samba (maybe version conflict)?
Leonardo F. Dan schrieb:

don't have a firewall, I try to run smbtar as root and as other user... 
I can't understand why smbclient connect to windows and smbtar not...

thanks.

kurt weiss wrote:



Leonardo F. Dan schrieb:

yes, but smbtar can't estabilish connection with a server...

smbtar command: smbtar -v -s server_name -x share -u windows_user -p 
password -t file.tar

command results:
[2003/09/25 11:38:11, 2] lib/interface.c:add_interface(79)
 added interface ip=172.16.2.11 bcast=172.16.15.255 nmask=255.255.240.0
[2003/09/25 11:38:11, 2] lib/util_sock.c:open_socket_out(726)


seems, your network does not run ok, or the windows client denies the 
connection. - have u a firewall between?
was smbtar running as root? (a.f.a.i.k. mount and tar have to)

 error connecting to 172.16.1.202:445 (Connection refused)
Anonymous login successful
[2003/09/25 11:38:14, 1] client/client.c:do_connect(2598)
 Domain=[DOMAIN] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0]
tree connect failed: NT_STATUS_ACCESS_DENIED
[2003/09/25 11:38:14, 2] lib/util_sock.c:open_socket_out(726)
 error connecting to 172.16.1.202:445 (Connection refused)
Anonymous login successful
[2003/09/25 11:38:17, 1] client/client.c:do_connect(2598)
 Domain=[DOMAIN] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0]
tree connect failed: NT_STATUS_ACCESS_DENIED
kurt weiss wrote:

did u try smbtar??

Leonardo F. Dan schrieb:

Hi,

when I connect on Windows machine with smbclient, my terminal 
display the file's
names correctly, but when I make a tar archive with this files, the 
names of this
files with accentuation change to a characters �

command used: smbclient //machine/share password -U windows_user 
-Tc file_name

Any idea?

Thanks.






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


Re: [Samba] smbclient write default to stderr?

2003-09-23 Thread kurt weiss
[... ]volume pass -U user -d0 -Tc /dev/tape0  /dev/null 21
linux basics...
Pavel Lisy schrieb:
Hi

I have problem with smbclient in samba3 rc2, rc4. 
When I start tar backup with it:

smbclient //comp-32/volume pass -U user -d0 -Tc /dev/tape0  /dev/null
[2003/09/23 08:27:46, 0] client/clitar.c:do_tar(830)
  directory \Kart-32\
[2003/09/23 08:27:46, 0] client/clitar.c:do_tar(830)
  directory \Kart-32\mairs\
[2003/09/23 08:27:46, 0] client/clitar.c:do_tar(830)
  directory \Kart-32\mairs\Kart-32\
[2003/09/23 08:27:46, 0] client/clitar.c:do_tar(830)
  directory \Kart-32\mairs\Kart-32\mairs\
[2003/09/23 08:27:46, 0] client/clitar.c:do_tar(830)
  directory
\Kart-32\mairs\Kart-32\mairs\world_atlas_H4D\
[2003/09/23 08:27:46, 0] client/clitar.c:do_tar(830)
  directory
\Kart-32\mairs\Kart-32\mairs\world_atlas_H4D\pr_2mil\
[2003/09/23 08:27:46, 0] client/clitar.c:do_tar(830)
  directory
\Kart-32\mairs\Kart-32\mairs\world_atlas_H4D\pr_2mil\a_out\
[2003/09/23 08:27:46, 0] client/clitar.c:do_tar(830)
  directory
\Kart-32\mairs\Kart-32\mairs\world_atlas_H4D\zdroj\
[2003/09/23 08:27:46, 0] client/clitar.c:do_tar(830)
  directory \statistika\
[2003/09/23 08:27:46, 0] client/clitar.c:do_atar(764)
 33792 ( 1833,3 kb/s)
\statistika\mairs2002_atlas_stat_021209.xls
[2003/09/23 08:27:46, 0] client/clitar.c:do_atar(764)
 33792 ( 1833,3 kb/s)
\statistika\mairs2002_atlas_stat_021220.xls
[2003/09/23 08:27:46, 0] client/clitar.c:do_atar(764)
 33792 ( 1650,0 kb/s)
\statistika\mairs2002_atlas_stat_030113.xls
[2003/09/23 08:27:46, 0] client/clitar.c:do_atar(764)
 42496 ( 2441,2 kb/s)
\statistika\mairs2002_atlas_stat_030213.xls
[2003/09/23 08:27:46, 0] client/clitar.c:do_atar(764)
 49664 ( 1564,5 kb/s)
\statistika\mairs2002_atlas_stat_030313.xls
...
it is writing all listing to stderr instead to stdout. I have searched
whole documentation (man, google, ...) but I didn't found solution.
It was right in version 2.0.x (if I remember correctly). I have script
which use it and in previous version of samba it worked correctly.
Do anybody known solution?

Pavel

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


Re: [Samba] smbclient write default to stderr?

2003-09-23 Thread kurt weiss
=
clitar.c 764:
if (tar_noisy) {
DEBUG(0, (%12.0f (%7.1f kb/s) %s\n,
(double)finfo.size, finfo.size / MAX(0.001, (1.024*this_time)),
finfo.name));
}
clitar.c 830:
if (tar_noisy) {
DEBUG(0,(directory %s\n, cur_dir));
}
seem's to be correct.
by default tar_noisy=true
i looked at vers. 2.2.8a there's the same.
=
try -q switch to turn it off.
Pavel Lisy schrieb:

V t, 23. 09. 2003 v 08:52, kurt weiss pe:

[... ]volume pass -U user -d0 -Tc /dev/tape0  /dev/null 21
linux basics...
Yes, I know this, but I want redirect stdout to file and see only stderr output 
(in mail from cron daemon)

Right example is:

smbclient //comp-32/volume pass -U user -d0 -Tc /dev/tape0 
/tmp/backuped_files.log
and this is in crontab, so any stderr output I will receive by mail. I
am able watch correct function of backup script with error messages in
email only.

Pavel Lisy schrieb:

Hi

I have problem with smbclient in samba3 rc2, rc4. 
When I start tar backup with it:

smbclient //comp-32/volume pass -U user -d0 -Tc /dev/tape0  /dev/null
[2003/09/23 08:27:46, 0] client/clitar.c:do_tar(830)
 directory \Kart-32\
[2003/09/23 08:27:46, 0] client/clitar.c:do_tar(830)
 directory \Kart-32\mairs\
[2003/09/23 08:27:46, 0] client/clitar.c:do_tar(830)
 directory \Kart-32\mairs\Kart-32\
[2003/09/23 08:27:46, 0] client/clitar.c:do_tar(830)
 directory \Kart-32\mairs\Kart-32\mairs\
[2003/09/23 08:27:46, 0] client/clitar.c:do_tar(830)
 directory
\Kart-32\mairs\Kart-32\mairs\world_atlas_H4D\
[2003/09/23 08:27:46, 0] client/clitar.c:do_tar(830)
 directory
\Kart-32\mairs\Kart-32\mairs\world_atlas_H4D\pr_2mil\
[2003/09/23 08:27:46, 0] client/clitar.c:do_tar(830)
 directory
\Kart-32\mairs\Kart-32\mairs\world_atlas_H4D\pr_2mil\a_out\
[2003/09/23 08:27:46, 0] client/clitar.c:do_tar(830)
 directory
\Kart-32\mairs\Kart-32\mairs\world_atlas_H4D\zdroj\
[2003/09/23 08:27:46, 0] client/clitar.c:do_tar(830)
 directory \statistika\
[2003/09/23 08:27:46, 0] client/clitar.c:do_atar(764)
33792 ( 1833,3 kb/s)
\statistika\mairs2002_atlas_stat_021209.xls
[2003/09/23 08:27:46, 0] client/clitar.c:do_atar(764)
33792 ( 1833,3 kb/s)
\statistika\mairs2002_atlas_stat_021220.xls
[2003/09/23 08:27:46, 0] client/clitar.c:do_atar(764)
33792 ( 1650,0 kb/s)
\statistika\mairs2002_atlas_stat_030113.xls
[2003/09/23 08:27:46, 0] client/clitar.c:do_atar(764)
42496 ( 2441,2 kb/s)
\statistika\mairs2002_atlas_stat_030213.xls
[2003/09/23 08:27:46, 0] client/clitar.c:do_atar(764)
49664 ( 1564,5 kb/s)
\statistika\mairs2002_atlas_stat_030313.xls
...
it is writing all listing to stderr instead to stdout. I have searched
whole documentation (man, google, ...) but I didn't found solution.
It was right in version 2.0.x (if I remember correctly). I have script
which use it and in previous version of samba it worked correctly.
Do anybody known solution?

Pavel

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


Re: [Samba] IP address restrictions and multiple interfaces

2003-09-23 Thread kurt weiss
Joseph Belesi schrieb:

Using Samba (2nd edition) discusses using the interfaces network 
configuration option, along with hosts allow, hosts deny, etc, to 
provide support of multiple interfaces.  The examples cited only discuss 
the scenario in which the interfaces are on different subnets.
interfaces belongs to the interfaces on your server. (similar meaning of 
ip address of the network card)
hosts allow and hosts deny belongs to the client interfaces...
also look at bind interfaces only.

What about the case in which the interfaces of a multi-homed systems are 
on the same subnet?  Can Samba work in this configuration?  The book 
Understanding CIFS by Chris Hertel talks about NetBIOS name conflicts in 
this scenario (same name mapping to multiple IP addresses).
we're working on a network with more than one ip address in the same 
segment, additionally our machines (even the clients) have more than one 
ip address in different segments. (this is nessecary because of costumer 
wks's)

e.g.
server has X.X.10.1 (eth0) X.X.10.254 (eth0:1) and X.X.30.1 (eth0:2)
the notebook has X.X.10.198(lan) X.X.30.198(wireless)
the configuration in this case means (the whole ..10 and ..30 has access)

interfaces = X.X.10.1 X.X.30.1
hosts allow = X.X.10 X.X.30
bind interfaces only = yes ##attention - no answer on localhost...
we're using only a nameserver. the nameserver has configured forward and 
reverse lookup zones.
we have no problems with samba 2.2.8a

i'm doing hard to understand your question exact, so i hope i'd gave u 
the right answer.

gk

Thanks.

_
Instant message during games with MSN Messenger 6.0. Download it now 
FREE!  http://msnmessenger-download.com

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


Re: [Samba] filtering the mailinglist

2003-09-23 Thread kurt weiss
the problem is:
spammer reading the mailing list and collect your email address. 
(they're not sending the email to the list).

if have an old and a new email address, with wich i was subscribed. - i 
get all spams twice :-( (even i've unsubscribed from list with my old 
email address before a year)

INVENTIA - Javier García Márquez schrieb:

i also have to delete too many spam messages since i signed on to this mailing 
list. 
if there is someone in charge, PLEASE FIX IT. I cannot continue subscribed if 
i receive so many span at my work email.

thank you in advance.

El Mar 23 Sep 2003 07:45, Marc Schoechlin escribió:

Hi !

Today i deleted more then 60(!) spam-messages on this list

I think it would be a good idea, to limit the possible senders
of this list to the addresses which are subscribed.
Best regards

Marc Schoechlin


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


Re: [Samba] Samba PDC not creating roaming profiles

2003-09-22 Thread kurt weiss
maybe, u do not use the same SID, or the profiles on the clients are 
switched to local based??

Lee Martin schrieb:

Hi All,

I have recently moved my PDC from a linux suse 7.0 box to a
Solaris 8 server. I have downloaded the samba 2.2.8a and
installed it without any errors.
I used my old smb.conf and made the neccasry changes to it, I
have pasted it below.
I don't receive any errors, it just ends up using a local profile and
doesn't bother to update it to the server.
I have looked at countless documents going through the procedure
of setting up the profiles but not any regarding problems.
If anyone could help me or at least guide me in the right direction,
I would greatly appreciate it.
Thanks,
Lee
smb.conf:

# Global parameters
[global]
workgroup = PROE
netbios name = CADADM
server string = CADADM Samba Server
interfaces = 192.9.201.29/24 192.9.202.129/24
# PDC Settings
encrypt passwords = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter*NEW*password* %n\n *Reenter*NEW*password* %n\n 
*Password*Changed*
passwd chat debug = Yes
unix password sync = Yes
# Logging Settings
log level = 2
log file = /var/samba/log.%m
max log size = 100
# Time-Sync Settings
time service = yes
dos filetimes = yes
# Roaming Profile Settings

domain admin group = root @ntadmin
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
logon script = startup.bat
logon path = \\%N\profiles\%U
domain logons = Yes
os level = 64
preferred master = Yes
domain master = Yes
wins support = Yes
remote announce = 192.9.202.255
admin users = root
[netlogon]
comment = PROE domains logon service
path = /usr/local/samba/netlogon
write list = root
browseable = No
read only = Yes
[profiles]
path = /usr/local/samba/ntprofile
read only = No
create mask = 0600
directory mask = 0700
browseable = Yes
end smb.conf:



--
DISCLAIMER:
The information contained in this communication is confidential and may be legally 
privileged. It is intended solely for the use of the individual or entity to whom it 
is addressed and others authorised to receive it. If you are not the intended 
recipient please inform us of its receipt by you. You are hereby notified that you 
must not disclose, copy, distribute or take any action in reliance of the contents of 
this information, which must be immediately deleted.
This e-mail was checked by the e-Sweeper Service.
For more information visit our website, Baltimore Technologies e-Sweeper :
http:// www.mimesweeper.baltimore.com/products/esweeper/
--
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re-installing Suse and Samba

2003-09-22 Thread kurt weiss
the reason may be cups|lprng?
did u install it?
a little bit more information will be helpful.
we cannot help in case of an any key error
emma emma schrieb:
I have SUSE 8.0 and Samba 2.2.3a installed, but since
i cant resolve the printing errors, anyone have an
idea on how I can re-install SUSE 8.0, followed by
Samba?
I have b4 now re-installed only Samba, but the
Printing eroor persists, so my new resolution to
re-install SUSE at first.
thanks all

Emma

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re-installing Suse and Samba

2003-09-22 Thread kurt weiss


emma emma schrieb:
Thanks for responding.

CUPS was previously installed, and tested fine. But
later had errors. Then I deinstalled Cups and
installed lprng but wont work.
seems something happened to it?
did u reconfigure samba 4 lprng after changing to it?
which errormsg. did u recieve in cups? runs lprng well?
My Printer status have remained Processing ..
(accepting jobs) but produces no output.
are they running to /dev/null or remain in job list?
where the temporary files lay (are they already in lprng or still in 
samba temp folder?

ill appreciate further help since this has draged
almost 2weeks now.
what i ment is:
please tell us, which entries in smb.conf u use a.s.o. - means i cannot 
help, when essential infos are missing.

something else:
if u answer, lease do not remove original text - i will be unable to 
follow the thread...

gk

Pls HELP

Emma

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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


Re: [Samba] Samba W2k login

2003-09-22 Thread kurt weiss
- do you have a domain controller? (and the w2k is *not* member of the 
domain, or is member of another domain?)
- did u require sign or seal = 0 registry entry?
- are u logging in with local or domain user?

please give us a view details - samba version, smb.conf,...

Ari Ryynänen schrieb:
Viestissä Maanantai 22. Syyskuuta 2003 10:44, kirjoitit:

Ari Ryynänen schrieb:

Hi!

I'm having little trouble with my W2K installation: every time I log in,
it says that incorrect password when trying to automatically reconnect to
Samba shares. After typing in password, everything works.
it seems u login as local user and he has another password as the samba
user???


Nope, password is same, and after I retype it in dialog, it connects OK. I 
just have to retype it every time I login, and for every share I connect...

Yours,

Ari Ryynänen


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


Re: [Samba] couldn't write to home dir

2003-09-20 Thread kurt weiss
maybe your parent directory has the wrong rights:
e.g.:
/network/samba/username
user: username group: wingroup
network: root.root 0750 (drwxr-x---)
samba:   root.wingroup 0777 (drwxrwxrwx)
username:username.wingroup 0777 (drwxrwxrwx)
*** this will *not* work - u need basically executable rights on all 
parent directories. (mistake in 'network')

network: root.root 0751 (drwxr-x--x)
samba:   root.wingroup 0750 (drwxr-x---)
username:username.wingroup 0700 (drwx--)
*** this will work - username has minimal x rights on all parents...
i hope it helpes...
gk
andrej misovic schrieb:
hello,
I try to use samba as PDC on NetBSD,
but I 've had problem with that combination..
samba work perfectly..but
if someone want to write into homedir, they couldn't,
and w2k workstation appear message ,
that disk is full..
disk isn't full, and permission are set correct
I don't know, where should be a mistake,
I check configuration problably 100x,
but I haven't found any problem in it..
have you ever had someone similiar problem?
thx a lot
andrej
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] OT: to the list admins: viruses

2003-09-19 Thread kurt weiss
is it possible to block all .exe|.pif|.reg|... extentions from listside.
it's too much traffic here, when a new virus appears...
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: check if drive letters are occupied by novell

2003-09-11 Thread kurt weiss


Marcus Schopen schrieb:
And on client side? Is there a method to do that in a batch script on 
the windows machine. Samba could generate a dynamic batch script, which 
is executed on the client. And this batch-script checks, if a letter is 
already mapped. Just an idea, but I don't know the commands on a windows 
machine to get a list of all novell letters.
e.g.
if exist c:\ echo ok
Marcus


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


Re: [Samba] OT: Win2k ts - cannot start microsft outlook

2003-09-11 Thread kurt weiss


Andre de Koning schrieb:

This is off-topic so please let me know if it is inappropriate.  I thought
i'd post here as a lot of people on the list seem to be using samba with ms
terminal server.
I have profile problem ito roaming profiles from my samba dc not loading
when you log onto w2k terminal server.
I reloaded one of the servers, installed sp4 and installed ms office 2000
using the termsrvr.mst file.
When a normal user now logs in it says : Cannot start microsoft outlook.
If I add that user to the administrators group it works fine.
It looks like it's trying to create registry entries in the global registry
in stead of that specific user's registry file that is saved in his profile.
if it's in the global section or else, - maybe...
u can modify access rights to the registry with regedt32.
giv the office keys free for all users, so u'll see if it's right...
I had this on NT4 t/s but can't remember the solution and M$ is, as usual,
not very helpfull.
maybe this will help:
http://support.microsoft.com/default.aspx?scid=kb;en-us;222303
how sensefull this security system is, u can think yourselve. ;-)

Does anybody have the solution for this?
André de Koning
IT Manager
Softline VIP Payroll
Tel: +27 12 420 7000
[EMAIL PROTECTED]

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


Re: [Samba] roaming profiles

2003-09-10 Thread kurt weiss
hi andre
see below for my comments.
Andre de Koning schrieb:

Hi all.

I'm runnig samba as a DC with win2k clients using roaming profiles.

Since installation I have been experiencing problems with users unable to
log in due to their profiles not loading - some users are on w2k prof end
some use w2k terminal services.

It maily complains about not being able to load (or copy) files like
prf23.tmp - access denied etc.
Most of the time if I delete the file in question in eg.
profiledir/Nethood, profiledir/Application Data/Microsoft/Office/Recent
en when I log on again it works.
It now started the profile cannot be loaded bacause some file cannot be
copied and when I go delete the file in the profile dir in the samba box and
try again as usual it still tells me that the profile cannot be loaded -
logging you in with a temporary profile - when I click OK a box just pops
up saying profile cannot be loaded - access denied.
This seems to be entirely random - different client machines and terminal
servers and different user accounts every time.  Sometimes I have to restart
the w2k terminal server for the problem to go away and sometimes I have to
restart smb on the linux box.  This always only fixes some of the users'
logins but others can't log in again - it also only lasts for about 3 hours
that were back when we started.
Sometimes I have to completely delete a user's profile and log into w2k for
it to be recreated before it works again.
I also noticed than if I try to delete the temporary copy of the user's
profile in Documents and Settings just after I got the problem I get
Access Denied or Cannot delete, directory not empty messages from
windows.  When this happens, changing the permissions or ever changing the
this is the problem...
your client-side copy is damaged. u *must* get ownership for the broken 
files as administrator, then u can correct the rights.
this u have to do with *every* broken file. (sh.. i know...)

we had the same problems. for me it seems, that it's a w2k problem. 
especially therefore, that ms has corrected such failures in sp4.

as far as we used samba 2.2.2 we used the switch
NT ACL SUPPORT = no
in smb.conf for the profile share to prevent us from this issue.
in samba 2.2.8a all is running fine without this switch.
but we've allready installed sp4 on *all* our w2k clients.
files' ownership to Administrator does not help - I have to restart the
machine completely.
restarting the client helps?

I was originally runnig samba 2.2.1a and tried upgrading to 2.2.3, 2.2.5 and
this morning to 2.2.8a.  I also upgraded from redhat 6 to 7 to 7.1 and last
week to 8.0 but this does not make any difference.  I've tried service pack
2 and 3 on the w2k boxes but to 4 - some of my software does not work when 4
is loaded.
i've only checked this two configurations:

samba 2.2.2 with 'NT ACL SUPPORT = no' on the profile share
w2k sp2 and sp3
samba 2.2.8a *without* 'NT ACL SUPPORT = no' on the profile share
w2k sp4
('NT ACL SUPPORT = no' was not running in this case, but i can't remind 
the symptoms.)

i hope it helped. - let me know
gk

Any ideas?

André de Koning
IT Manager
Softline VIP Payroll
Tel: +27 12 420 7000
[EMAIL PROTECTED]
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] string to long for hosts allow in smb.conf

2003-09-10 Thread kurt weiss
h p.

why u're not using a combination between hosts allow and hosts deny
also use bind interfaces...
P. Bruggink schrieb:

We have found that a number of users (especially notebook user with
Win95) try to  change their IP-address to get more permissions when they
login to the network. Since we have a database with all of the systems
i cannot follow: how do they get *more* permissions on samba? are u not 
using 'security=user || security=domain' ?

also, maybe there's a possibility with DHCP to prevent this?

registered and we already automatically build our configuration files
when something changing in this database (MySql), we tried to block the
unregistered IP number by expanding the hosts allow option in the
smb.conf with all the IP number in the database.
maybe i cannot follow u. but why u try to block ip's dynamically with 
samba. (a.f.a.i.k. u have to restart samba to make effect hosts allow)
why u're not simply using iptables or ipchains?
i think, thats the best way...

Original Entry:

hosts allow = 195.193.119. localhost

changed to

include = /usr/local/samba/lib/include/hosts_allow119.smb

(all parts of the smb.conf file created by an update in the database
have an include line in the smb.conf file, therefor not the smb.conf is
updated but the include files are updated)
the include file for the hosts allow looks like:

hosts allow = 195.193.119.1 \
195.193.119.10 \
195.193.119.11 \
.
.
.
.
.
.
.
.
195.193.119.201 \
localhost
Using this generated an error indicating that the string was to long. We
have also tried to put de line hosts allow directly into the smb.conf,
but also this generated the same error. We are not using NIS and can not
use the netgroup option.
We also have tried to replace the C class part of the IP number with an
environment variable, but cannot find a variable with this value.
How can we overcome this string to long error?
maybe with hosts deny that will be less adresses...

i hope it helpes, let me know
gk



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


Re: [Samba] roaming profiles

2003-09-10 Thread kurt weiss


Andre de Koning schrieb:
yeah, i did check the profile's perms.
No name still the same - I did however upgrade the samba version to
.2.8a  - It started before this though - the closest event I can think of
was upgrading the linux box from redhat 7.1 to redhat 8.0 which I think
upgraded samba to 2.2.5.
look at 'smbstatus -b' for your version
check, if there's different versions of files on your machine (smbd,nmbd).
what does the logscripts say?
is the problem on a special machine or is it on a special user?

Andre

-Original Message-
From: kurt weiss [mailto:[EMAIL PROTECTED]
Sent: 10 September 2003 11:43
To: Andre de Koning
Subject: Re: [Samba] roaming profiles


Andre de Koning schrieb:


I managed to delete the temporary cached profile on one of the windows
boxes

but when I now log onto that machine with the user in question if get:

Windows cannot log you on because the profile cannot be loaded.  Contact
your network administrator
DETAIL - Access denied


- chown user and chmod 0700 -R on the users profile on the server ?
- did u change the netbios name of the server?
- which smb version u are running now?

I haven't tried w2k sp4 yet - downloading now but what bugs me is that it
did work before and only gave me problems from time to time - now it
constantly does it!
any ideas?

Andre

-Original Message-
From: kurt weiss [mailto:[EMAIL PROTECTED]
Sent: 10 September 2003 09:50
To: Andre de Koning
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] roaming profiles
hi andre
see below for my comments.
Andre de Koning schrieb:



Hi all.

I'm runnig samba as a DC with win2k clients using roaming profiles.

Since installation I have been experiencing problems with users unable to
log in due to their profiles not loading - some users are on w2k prof end
some use w2k terminal services.


It maily complains about not being able to load (or copy) files like
prf23.tmp - access denied etc.
Most of the time if I delete the file in question in eg.
profiledir/Nethood, profiledir/Application
Data/Microsoft/Office/Recent


en when I log on again it works.

It now started the profile cannot be loaded bacause some file cannot be
copied and when I go delete the file in the profile dir in the samba box
and


try again as usual it still tells me that the profile cannot be loaded -
logging you in with a temporary profile - when I click OK a box just pops
up saying profile cannot be loaded - access denied.
This seems to be entirely random - different client machines and terminal
servers and different user accounts every time.  Sometimes I have to
restart


the w2k terminal server for the problem to go away and sometimes I have to
restart smb on the linux box.  This always only fixes some of the users'
logins but others can't log in again - it also only lasts for about 3
hours


that were back when we started.

Sometimes I have to completely delete a user's profile and log into w2k
for


it to be recreated before it works again.

I also noticed than if I try to delete the temporary copy of the user's
profile in Documents and Settings just after I got the problem I get
Access Denied or Cannot delete, directory not empty messages from
windows.  When this happens, changing the permissions or ever changing the


this is the problem...
your client-side copy is damaged. u *must* get ownership for the broken
files as administrator, then u can correct the rights.
this u have to do with *every* broken file. (sh.. i know...)
we had the same problems. for me it seems, that it's a w2k problem.
especially therefore, that ms has corrected such failures in sp4.
as far as we used samba 2.2.2 we used the switch
NT ACL SUPPORT = no
in smb.conf for the profile share to prevent us from this issue.
in samba 2.2.8a all is running fine without this switch.
but we've allready installed sp4 on *all* our w2k clients.


files' ownership to Administrator does not help - I have to restart the
machine completely.


restarting the client helps?



I was originally runnig samba 2.2.1a and tried upgrading to 2.2.3, 2.2.5
and


this morning to 2.2.8a.  I also upgraded from redhat 6 to 7 to 7.1 and
last


week to 8.0 but this does not make any difference.  I've tried service
pack


2 and 3 on the w2k boxes but to 4 - some of my software does not work when
4


is loaded.


i've only checked this two configurations:

samba 2.2.2 with 'NT ACL SUPPORT = no' on the profile share
w2k sp2 and sp3
samba 2.2.8a *without* 'NT ACL SUPPORT = no' on the profile share
w2k sp4
('NT ACL SUPPORT = no' was not running in this case, but i can't remind
the symptoms.)
i hope it helped. - let me know
gk



Any ideas?

André de Koning
IT Manager
Softline VIP Payroll
Tel: +27 12 420 7000
[EMAIL PROTECTED]









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


Re: [Samba] roaming profiles

2003-09-10 Thread kurt weiss
it seems, u have installed samba with a different type (source package?)

try to clean all binaries (find / -name smbd a.s.o.) after deinstall 
it over rpm.

then try to reinstall.

but first save smb.conf and write out your SID, will be healthy  :-)

Andre de Koning schrieb:

I just did rpm -Uvh --force to reinstall wint 2.2.8a but smbstatus -b still
says 2.2.5?
Andre

-Original Message-
From: kurt weiss [mailto:[EMAIL PROTECTED]
Sent: 10 September 2003 01:16
To: Andre de Koning; Samba List
Subject: Re: [Samba] roaming profiles


Andre de Koning schrieb:

yeah, i did check the profile's perms.
No name still the same - I did however upgrade the samba version to
.2.8a  - It started before this though - the closest event I can think of
was upgrading the linux box from redhat 7.1 to redhat 8.0 which I think
upgraded samba to 2.2.5.


look at 'smbstatus -b' for your version
check, if there's different versions of files on your machine (smbd,nmbd).
what does the logscripts say?
is the problem on a special machine or is it on a special user?


Andre

-Original Message-
From: kurt weiss [mailto:[EMAIL PROTECTED]
Sent: 10 September 2003 11:43
To: Andre de Koning
Subject: Re: [Samba] roaming profiles


Andre de Koning schrieb:



I managed to delete the temporary cached profile on one of the windows
boxes


but when I now log onto that machine with the user in question if get:

Windows cannot log you on because the profile cannot be loaded.  Contact
your network administrator
DETAIL - Access denied


- chown user and chmod 0700 -R on the users profile on the server ?
- did u change the netbios name of the server?
- which smb version u are running now?


I haven't tried w2k sp4 yet - downloading now but what bugs me is that it
did work before and only gave me problems from time to time - now it
constantly does it!
any ideas?

Andre

-Original Message-
From: kurt weiss [mailto:[EMAIL PROTECTED]
Sent: 10 September 2003 09:50
To: Andre de Koning
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] roaming profiles
hi andre
see below for my comments.
Andre de Koning schrieb:




Hi all.

I'm runnig samba as a DC with win2k clients using roaming profiles.

Since installation I have been experiencing problems with users unable to
log in due to their profiles not loading - some users are on w2k prof end
some use w2k terminal services.


It maily complains about not being able to load (or copy) files like
prf23.tmp - access denied etc.
Most of the time if I delete the file in question in eg.
profiledir/Nethood, profiledir/Application
Data/Microsoft/Office/Recent



en when I log on again it works.

It now started the profile cannot be loaded bacause some file cannot be
copied and when I go delete the file in the profile dir in the samba box
and



try again as usual it still tells me that the profile cannot be loaded -
logging you in with a temporary profile - when I click OK a box just
pops

up saying profile cannot be loaded - access denied.

This seems to be entirely random - different client machines and terminal
servers and different user accounts every time.  Sometimes I have to
restart



the w2k terminal server for the problem to go away and sometimes I have
to

restart smb on the linux box.  This always only fixes some of the users'
logins but others can't log in again - it also only lasts for about 3
hours



that were back when we started.

Sometimes I have to completely delete a user's profile and log into w2k
for



it to be recreated before it works again.

I also noticed than if I try to delete the temporary copy of the user's
profile in Documents and Settings just after I got the problem I get
Access Denied or Cannot delete, directory not empty messages from
windows.  When this happens, changing the permissions or ever changing
the

this is the problem...
your client-side copy is damaged. u *must* get ownership for the broken
files as administrator, then u can correct the rights.
this u have to do with *every* broken file. (sh.. i know...)
we had the same problems. for me it seems, that it's a w2k problem.
especially therefore, that ms has corrected such failures in sp4.
as far as we used samba 2.2.2 we used the switch
NT ACL SUPPORT = no
in smb.conf for the profile share to prevent us from this issue.
in samba 2.2.8a all is running fine without this switch.
but we've allready installed sp4 on *all* our w2k clients.



files' ownership to Administrator does not help - I have to restart the
machine completely.


restarting the client helps?




I was originally runnig samba 2.2.1a and tried upgrading to 2.2.3, 2.2.5
and



this morning to 2.2.8a.  I also upgraded from redhat 6 to 7 to 7.1 and
last



week to 8.0 but this does not make any difference.  I've tried service
pack



2 and 3 on the w2k boxes but to 4 - some of my software does not work
when

4



is loaded.


i've only checked this two configurations:

samba 2.2.2 with 'NT ACL SUPPORT = no' on the profile share
w2k sp2 and sp3
samba

Re: [Samba] HOWTO: name change of Samba PDC

2003-08-28 Thread kurt weiss
are u using 'netbios name=' in smb.conf?

greetings from your 'neighbour' in tirol ;-)

Rainer Hubovsky schrieb:

Hi there!

I once had the problem of not being able to log on to the domain after
changing the name of my Samba server as described in the
documentation. But it was only in a test environment.
Now I have to change the name of a Samba PDC in a real environment and
I am not sure what to do to avoid this problem
In the docs for Samba 2.2 it says that one should restore the file
private/WORKROUP.SID, but although running 2.2.7 I couldn't find this
file.
The Samba 3.0 docs say that the SID is stored in secrets.tdb and could
be get with net getlocalsid.. and set with a similar
command. Running 2.2.7, I do have /etc/secrets.tdb but no command
net.
Just a few minutes ago, I tried a name change with 2.2.7 and had no
problems.
What I am supposed to do?
Under which Samba version this could be a problem and how can this be
avoided?
Thanks a lot.

Best regards,
 +r
--
   @ Rainer Hubovsky
   @ [EMAIL PROTECTED]
   @ Ferdinandstrasse 29/15, A-1020 Wien
   @ Tel/Fax: +43 1 94 60 554
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] HOWTO: name change of Samba PDC

2003-08-28 Thread kurt weiss
over 'netbios name=' u manage the 'windows name' of your server.
additionally u have to check following name sources (if they exist):
- wins and/or dns
- hosts file on the clients
Rainer Hubovsky schrieb:
No I didn't but if I did I would have to change it, too if I want to
chenge the name of the server as it appears it to the clients,
wouldn't I?
All the best from Vienna! ;-)
 +r
kurt weiss writes:
  are u using 'netbios name=' in smb.conf?
  
  greetings from your 'neighbour' in tirol ;-)
  
  
  Rainer Hubovsky schrieb:
  
   Hi there!
   
   I once had the problem of not being able to log on to the domain after
   changing the name of my Samba server as described in the
   documentation. But it was only in a test environment.
   
   Now I have to change the name of a Samba PDC in a real environment and
   I am not sure what to do to avoid this problem
   
   In the docs for Samba 2.2 it says that one should restore the file
   private/WORKROUP.SID, but although running 2.2.7 I couldn't find this
   file.
   
   The Samba 3.0 docs say that the SID is stored in secrets.tdb and could
   be get with net getlocalsid.. and set with a similar
   command. Running 2.2.7, I do have /etc/secrets.tdb but no command
   net.
   
   Just a few minutes ago, I tried a name change with 2.2.7 and had no
   problems.
   
   What I am supposed to do?
   Under which Samba version this could be a problem and how can this be
   avoided?
   
   Thanks a lot.
   
   Best regards,
+r
   
   --
  @ Rainer Hubovsky
  @ [EMAIL PROTECTED]
  @ Ferdinandstrasse 29/15, A-1020 Wien
  @ Tel/Fax: +43 1 94 60 554
   
  


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


Re: [Samba] Outlook .pst files on Samba PDC

2003-03-18 Thread Kurt Weiss
hello alex,

Alex schrieb:
Thanks for your response.
Not sure I understand- Are the clients not set up well?
it was not a setup problem. - a view times w2k looses security 
settings for a file. (i don't know why, sometimes it seems, that the 
filesystem has a bug...)
so, if u look to the security settings of the file on the client, there 
where not entries inside...


what is a view issues?
in a view cases... i'm austrian, not from oxford... ;-)

gk

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


Re: [Samba] Outlook .pst files on Samba PDC

2003-03-16 Thread Kurt Weiss
in a view issues, there's broken security rights on the client the reason...

Alex schrieb:
Occasional problems arise where the .pst file just will not copy from the
users profile on the server.  Doesn't seem to be related to the file size.
Has anyone had issues with outlook and  Samba PDC - (win2k clients).
Solutions that have worked have ranged from complete loss of the .pst file
to restarting users profile from scratch. thanks
Alex Genna



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


Re: [Samba] root can print, users not

2003-03-13 Thread Kurt Weiss
check the rights of your spooler directory of samba (path =)

Tim Thaler schrieb:
Hi,

I have a Win2k client that should be able to print to a printer 
connected to a SuSE 8.1 Linux box.

The situation:

- 'root' is able to print from Win2k to the Linux, user 'tim' is not.
- Both, 'root' and 'tim' have their home directories visible and 
accessible on the Win2k.
- User acounts on Win2k and Linux are the same: 'root', 'tim'  with 
identical passwords on both machines.
- Both, 'root' and 'tim' have been added to the smbpasswd file.
- The smb.log file (level 10) has been filled with a load of messages I 
simply don't know how to interpret, but there is something like access 
denied. I just can't figure why?
- The printer has been made browsable = yes and guest ok = yes
- The printer is visible to Win2k users; 'root' and 'tim'.

Does anyone have a good idea what else could be wrong that only 'root' 
is allowed to print but 'tim' is not?

Cheers

Tim



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


Re: [Samba] Configuring firewall to allow Samba to work

2003-03-13 Thread Kurt Weiss
here's a mail, which was posted in this list...



 all exact ports arel listed in /etc/services.

 the ports u need where postet a view days ago in this list.
 please somebody correct, if i'm wrong:

 netbios-ns  137/tcp# NETBIOS Name Service
 netbios-ns  137/udp# NETBIOS Name Service
 netbios-dgm 138/tcp# NETBIOS Datagram Service
 netbios-dgm 138/udp# NETBIOS Datagram Service
 netbios-ssn 139/tcp# NETBIOS Session Service
 netbios-ssn 139/udp# NETBIOS Session Service
 and,if u need:
 swat   901/tcp # XXX Samba Web Adminisration
And with Win2K you may need port 445/tcp also.

- John T.





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


Re: [Samba] how to view users logged in samba server??

2003-03-13 Thread Kurt Weiss
smbstatus -b gives all logged users...

Diego S. Soares schrieb:
I do not know to do. 

I have around 50 logados users and would like to know the names of who are logados at the moment.

I thank any aid.

Diego.


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


Re: [Samba] problem with join Win2K workstation to a SAMBA PDC

2003-03-13 Thread Kurt Weiss
1) *check, if the name u use to join the domain is root*
2) check if all network drive mappings are removed.
3) check, thats the workgroup, which is setted now, is not the same name 
as the domain...
3) check if username and machinename is not the same



Alexey Raevsky schrieb:
Hello all,

When I try to join Win2K workstation to a SAMBA PDC from the
workstation (with Network ID wizard), I get a error The account used
is a computer account. Use your global user account bla-bla-bla.
When I adding machine manually by editing /etc/passwd and so on,
everything is OK.
What should I do to fix this?

Best regards,
Alexey


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


Re: [Samba] Office documents saved in read-only mode in samba 2.2.7a

2003-03-11 Thread Kurt Weiss


Marco Danzo schrieb:
I have recently upgraded from samba 2.2.6 to 2.2.7a on a Linux RedHat 8.0
server.
Now I have got a problem with Win2K/XP clients.
When a client saves an excel or word document on a Samba share, it is
automaticaly
saved in read only mode(444), and the owner becomes root
i think the network user is mdanzo...

the admin user root and is allowed to do all...

Notes:
This doesn't happen if I use the notepad.
The /tmp share works. Files are not saved in read only mode.
Any idea ?
Thanks, M. Danzo
--MY CONFIGURATION
FILE--
# Global parameters
[global]
workgroup = xxx
netbios name = y
server string = 
encrypt passwords = Yes
passwd program = /usr/bin/passwd %u
password level = 20
unix password sync = Yes
log level = 1
log file = /var/log/samba/%m.log
max log size = 500
time server = Yes
deadtime = 15
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
load printers = No
domain admin group = root
domain guest group = nobody @guest
logon script = %U.bat
logon path = \\%N\profiles\%U
logon home = \\%N\%U\.profile
domain logons = Yes
os level = 40
preferred master = Yes
domain master = Yes
wins support = Yes
oplock break wait time = 20
winbind uid = 1-2
winbind gid = 1-2
admin users = mdanzo
create mask = 0764
directory mask = 0775
hosts allow = 10.1.
veto oplock files = /*.mdb/*.MDB/*.xls/*.XLS
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[public]
comment = Directory pubblica
path = /home/public
read only = No
create mask = 0775
[homes]
comment = Home Directories
read only = No
browseable = No
[netlogon]
comment = Network Logon Service
path = /usr/netlogon
browseable = No
[home]
path = /home
read only = No
[tmp]
comment = Temporary file space
path = /tmp
read only = No
create mask = 0777
directory mask = 0777
guest ok = Yes



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


Re: [Samba] Locked files that stay open after a PC crash

2003-03-10 Thread Kurt Weiss
maybe u should play with keepalive???

Kees Damen schrieb:
Hi,

How should you deal, as an administrator/root, with
locked files that stay open after a PC crash and the
user can't access them any more.
For example:

The PC crashes and the user restart. MS-Outlook
complains that it can't open its outlook.pst file,
that is on a samba share, with the proper read/write
access and the user can't get any mail.
As root you do a smbstatus -u and you see that there 
are 2 smb processen for this user and the old one has
the outlook.pst file exclusively. root kill's the
old smb process but smbstatus -u still shows the 
outlook.pst file as open and the user can't get is.

What is the proper procedure to resolve this situation?

Best regards, Kees


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


Re: [Samba] Win2k, Domain logon, permissions

2003-03-10 Thread Kurt Weiss
brock,
i did talk with my partner:
he had a view issues, in which file access did strange things with file 
access. - *but on a local installation too*.

can u test a clean local installation on a w2k too?

autocad opens files across different threats. - maybe one of the arx is 
to slow with closing or opens the file in a mode, that w2k interpretes 
as 'exclusive'?. (maybe there's a switch in your options.

as far as i see now, u *must* use oplocks. - many threats opens one file 
at the same time.

please try:
http://usa.autodesk.com/
support knowledgebase - i've found a view issues, but the best is, to 
search with the command name and the exact error message. (i did not 
find this in your posting)

try to set temp files to local hdd.

if u find something and let me know.
but at this time i don't think, that it's a network issue.
gk

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


Re: [Samba] WINDOWS XP +SAMBA

2003-03-10 Thread Kurt Weiss


Alvaro Rosales R. schrieb:
Hi.
Sorry If I was not clear enough in explaining my problem.
I oculd join the domain, I also can map network folders from 
windows xp. But I can not lo on my server.  It seeems that for some 
reason I cant  log in my domain so I cant run my logon script, 
this is exactly, what i said:
w2k/xp does support plain text password, if u want to *access* a server.
if u want domain support, u *must* use encrypted password.
so if u want to use xp in as a domain client, u must switch to encrypted 
password and create a machine account.

gk

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


Re: [Samba] printer configuration issue

2003-03-09 Thread Kurt Weiss
hello paul...

i cannot connect to lowplaces.net with http...
so i was not able to look at your files...
but maybe it's not the samba based part, which makes problems...
hopemaybe this one helpes/hope
u said, from DOS u can print with net use and print - so samba will run 
well.
it could be, that u print to an ascii printer - this will have such an 
effect:
unix/linux changes crlf to lf and - maybe - more. so the printjob 
will be sent corrupt to the printer.

test following:
*) redirect the printer to file
*) produce a testpage on a file e.g. test.prn
*) send this file over print in DOS mode to samba
*) if i'm right, this job will fail too...
windows needs a raw printer...
so u have to install an lpraw on your server (in my case over apsfilter) 
and it will run - maybe.
here's the part of my /etc/printcap:

###this is the wrong one in my case - ascii printer###
hp970-ascii|lp1|cdj970-a4-ascii-mono-600-hp970|cdj970 a4 ascii mono 600:\
:lp=/dev/usblp0:\
:sd=/var/spool/lpd/cdj970-a4-ascii-mono-600-hp970:\
:lf=/var/spool/lpd/cdj970-a4-ascii-mono-600-hp970/log:\
:af=/var/spool/lpd/cdj970-a4-ascii-mono-600-hp970/acct:\
:if=/var/lib/apsfilter/bin/cdj970-a4-ascii-mono-600-hp970:\
:la@:mx#0:\
:tr=:cl:sh:sf:
###this is the printer which is printing right...###
hpusb|lp4|cdj970-a4-raw-hp970|cdj970 a4 raw:\
:lp=/dev/usblp0:\
:sd=/var/spool/lpd/cdj970-a4-raw-hp970:\
:lf=/var/spool/lpd/cdj970-a4-raw-hp970/log:\
:af=/var/spool/lpd/cdj970-a4-raw-hp970/acct:\
:if=/var/lib/apsfilter/bin/cdj970-a4-raw-hp970:\
:la@:mx#0:\
:tr=:cl:sh:sf:
i can access both printers over samba, but if i print on 
\\server\hp970-ascii i have a similar problem. (instead of ignoring, my 
printer prints garbage)
on
\\server\hpusb i can print well...

hope multiplier=2maybe i could help this time/hope

gk

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


Re: [Samba] Win2k, Domain logon, permissions

2003-03-08 Thread Kurt Weiss
Brock Nanson schrieb:
I first asked this question at the end of October, got a response which
didn't solve the problem, and have finally got back to the issue now.
there where the same problem with excel/winword files anywhere, i think 
there should be much to read in the archives :-(

-I can view the directory and see the temporary file in it, called
$cvp$tp.dwg.
-Allowing the command to complete, the file is removed as it should be.
to find out, where the problem lies, please try
oplocks = no
afterwards u can try
dos filetime resolution = yes
dos filetimes = yes
LanDevelopment Desktop seems to use more threads, and one does not know, 
what the other does. ('cause, there's running very much arx applications.)
did u look to the autodesk hompage too? (maybe thats an issue, which 
appears on w2k servers too...)

As can be seen with the share definition above, I did try changing from
my original owner/group setting of 'nobody, nobody' to the real owner
and the 'autocad' group.  My logic was that perhaps AutoCAD wanted to
i don't think, that it's a permission problem, we're using AutoCAD, 
Architectual Desktop and Mechanical Desktop on Samba and on w2k servers 
without ( ;-) ) problems...

The only thing I stumbled upon that might help someone suggest a
solution was that killing and restarting the samba daemons after the
win2k box had opened the main drawing file will allow the command to
complete!  The main drawing throws an error when you next try to save
please report if/which switches had sucess.

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


Re: [Samba] WINDOWS XP +SAMBA

2003-03-08 Thread Kurt Weiss


Alvaro Rosales R. schrieb:
Hi Fellows I have a samba 2.4 PDC that works OK with win98 and 
win95 with clear text passwords enabled on them, but I have a 
Windows XP pro that joins the domain without problems (after 
changing the securesignor seal to 0, and enabled plain text 
??? %-/

passwords in XP box)  but when I try to log in to my domain I get an 
unknown user or bad password error,  but If I ignore that error I can 
did u mean: i can access the shares of the domain, but if i try to join 
the domain, i get a bad password error?

as far as i know, w2k/xp does not support joining a domain with plain 
password...
access over plain password is possible...

so, if u want to join the domain (not only access the server) - and i'm 
not false - u have to use encrypted password - try to work thru 
Samba-HOWTO-Collection.pdf from your samba package...

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


Re: [Samba] SAMBA - first time trying to get it working; yes, Iam reading the manuals

2003-03-08 Thread Kurt Weiss


David Jackson schrieb:
In the docs i have read so far, there are several questions I have and I am
not sure which question I am getting wrong when trying to install and
configure my Red Hat 8 server.
1)in the http://us1.samba.org/samba/ftp/docs/Samba-HOWTO-Collection.pdf
document they say you should run $ nroff ?man smbd.8 | more to get the man
pages.  nroff is not supported on my system; however, i was able to get
some man pages of some different sorts.
2) Do i need to build the binaries in Red Hat 8.0 ?
Red Hat 8 has lots of things pre-done; I am not sure if this is one of them.
if u did install the binary package and u want a standard 
installation so u do not need to build - samba is installed

./configure and make u only need for the source package...

the only thing u have to do is to configure smb.conf and start samba...
('service samba start' or 'service smb start')
try man smb.conf for options...

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


Re: [Samba] SAMBA - first time trying to get it working; yes, Iam reading the manuals

2003-03-08 Thread Kurt Weiss
hi david.

if u did install the binary package and u want a standard
installation so u do not need to build - samba is installed  I said 
during the installation that I wanted SAMBA installed.  But beyond that 
step, I have done nothing to my Red Hat 8 system as far as further SAMBA 
installation. Did SAMBA get installed during the installation? When i 
look through my system, I see files that relate to smb which leads me to 
believe it is installed.   Someone had mentioned the command inetd and 
SWAT, but these too were confusing b/c inetd does not exist on Red Hat 
8.  It has been replaced with xinetd.  What would the command be then to 
open SWAT?

*) check if samba is on your system:
which smbd
which nmbd
which smbclient
inetd/xinetd is a tool, which listen to network ports and starts the 
defined program on a request. - (e.g. pop3/smpt).
samba is running always (if it's running) - it does not need 
inetd/xinetd, because it listens to the ports itselves.

SWAT is a help/satatus tool which is running in your webbrowser (if 
started). (i do not use it)
on the linuxbox, where samba is running, u can start it in your browser
http://localhost:901



the only thing u have to do is to configure smb.conf and start samba...
('service samba start' or 'service smb start') THANKS! but how do i 
create the hare and the mount points?
./configure is *not* a tool, where u configure samba shares and else.
./configure is needed in the source package, to configure the Makefile - 
means, *how* is samba compiled. - this is done in a binary package 
already...

shares, servername and else is defined, as mostly in linux/unix 
services, in a text file, which is read from the samba services. this 
file is named 'smb.conf' (means: samba configuration)

in standard use (source), smb.conf lies in /usr/local/samba/lib/
if u use SuSE (e.g. 7.3) - smb.conf is in /etc/
i think, in redhat, smb.conf is in /etc/samba/
u can find it whith 'find / -name smb.conf'
edit this file, to configure samba.
afterwards start samba with 'service samba start' or, if it's running, 
'service samba restart'

have a lot of fun
k
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] printer configuration issue

2003-03-08 Thread Kurt Weiss
paul,
hi again!

It was worth a shot.  I haven't given up yet!

i did not follow your threat from begin on, so it's possible, u can send 
me your smb.conf?

Paul

=
Paul David Mena
Haiku in Low Places, Ltd.
Email: [EMAIL PROTECTED]
Webpage: http://www.lowplaces.net
=



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


Re: [Samba] URGENNTT!!...ROAMING PRO..WIN2K

2003-03-07 Thread Kurt Weiss
check the user access on the client!

Gurnish Anand schrieb:
I CANNOT GET MY W2K TO CATCH UP ON THE ROAMING PROFILES ON THE SERVER.
EACH TIME I LOGGON ON THE DOMAIN...THE ERROR I GET..IS I DO NOT HAVE
PERMISSION FOR THE FOLDER.
PLEASE ADVICE...
BELOW IS MY SMB.CONF



[global]
 workgroup = SAMBAPDC
 netbios name = PCSERVER
 server string = Primary Domain Server running SAMBA%v
 min passwd length = 6
 obey pam restrictions = Yes
 pam password change = Yes
 passwd program = /usr/bin/passwd %u
 passwd chat = *New*Unix*Password* %n\n *Retype*new*Unix*password*%n\n
*passwd: all authentication tokens updated successfully* %n
 passwd chat debug = Yes
 username level = 7
 unix password sync = Yes
 log level = 2
 log file = /var/log/samba/log.%m
 max log size = 50
 socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RNDBUF=8192
SO_SRVBUF=8192
 add user script = /usr/sbin/useradd -d /dev/null -g machines -c
'Machine Account' -s /bin/false -M %u
 logon path = \\%L\pcshare\profile\%u
 domain logons = Yes
 os level = 64
 preferred master = True
 domain master = True
 admin users = root
 hosts allow = 127.0.0.1 192.168.2.0/255.255.255.0
[homes]
 comment = Home Directories
 read only = No
 browseable = No
[profile]
 path = /home/samba/profile
 read only = No
 create mask = 0
 directory mask = 0
 browseable = No





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


Re: [Samba] Roaming Profile files remain locked after logout/shutdown

2003-03-07 Thread Kurt Weiss
if the client machine does not logout cleanly, u can try to set 
keepalive shorter - as workaround...

also please check the security rights on the client-copy of the profile. 
sometimes, there's files in there, which loosed permissions. the w2k 
does not copy the profile...

but, the problem is not completely solved. I also observe profiles like
jo
jo.DOMAIN
jo.DOMAIN.000
jo.DOMAIN.001
as far as i know this issue was discussed and solved a view months before...
i think it was nt acl support = no in profiles section, but refer 
archives please...

gk

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


Re: [Samba] Samba Plain Password Patch

2003-03-06 Thread Kurt Weiss


Matt Lester schrieb:
I cannot seem to find the plain password patch for the registry for NT4 or
2000.  Is there one patch that works for both?  Can you point me to where I
can download the patch?
no it's not the same...
*attention*: in w2k u can only use plain tesxt password, if u *don't* 
join a domain. w2k cannot join a domain with plain text password...

gk

nt4.0:
=
REGEDIT4
;Contributor:   Tim Small ([EMAIL PROTECTED])
;Updated:   20 August 1997
;Status:Current
;
;Subject:   Registry file to enable plain text passwords in NT4-SP3 and later
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Rdr\Parameters]
EnablePlainTextPassword=dword:0001
=
w2k:
=
REGEDIT4
;Contributor:   Herb Lewis ([EMAIL PROTECTED])
;Updated:   16 July 1999
;Status:Current
;
;Subject:   Registry file to enable plain text passwords in Windows 2000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkStation\Parameters]
EnablePlainTextPassword=dword:0001
=


Matt Lester
AISG Government Systems
Network/System's Engineer
(407) 581-2929 ext. 218





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


[Samba] problems with logging in with w95/nt4.0: solution?

2003-03-05 Thread Kurt Weiss
i did read in last days more and more postings with cannot login with 
windows 95/nt40 to samba after updating samba access denied...

now one of my technican had the same problem:
*) the user can login with w2k/xp/w98
*) but he cannot login with w95: access denied
the reason was following:
*) the user used UPPERCASE letters in the password.
*) w95 did send the password as lowercase...
maybe somebody helps this...

gk

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


Re: [Samba] help needed

2003-03-05 Thread Kurt Weiss
all exact ports arel listed in /etc/services.

the ports u need where postet a view days ago in this list.
please somebody correct, if i'm wrong:
netbios-ns  137/tcp # NETBIOS Name Service
netbios-ns  137/udp # NETBIOS Name Service
netbios-dgm 138/tcp # NETBIOS Datagram Service
netbios-dgm 138/udp # NETBIOS Datagram Service
netbios-ssn 139/tcp # NETBIOS Session Service
netbios-ssn 139/udp # NETBIOS Session Service
and,if u need:
swat901/tcp # XXX Samba Web Adminisration


dharanesh dharanesh schrieb:
hello
i am new to Samba protocol
please help.
Our Client software used samba protocol  If there is no firewall case , 
this protocol work properly from remote site.
All of firwall configuration open ( this mean is all of port open ).
Samba work very well, but if some constrain put in, it doesn't work.

My client want to set exact port number for firewall, because he don't 
want to open  all of port for security isseu.

please give info how to configure   samba on firewal.

regards
Dharanish


_
Cricket World Cup 2003- News, Views and Match Reports. 
http://server1.msn.co.in/msnspecials/worldcup03/



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


Re: [Samba] Samba and LinuxMDK 9 file perms oddities?

2003-03-01 Thread Kurt Weiss
AlF schrieb:

When a member of group users connects to the [public] or [grp] share 
and interacts with them by creating dirs and/or files, something strange 
happens because file permissions change to:

   /home/public (owner=root, group=root, perms=0755)
   /home/users (owner=root, group=users, perms=0750)
are u using winbind/ACL support?
can u post the [general] section too?
thx k

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


Re: [Samba] Re: Re: Hiding a share

2003-03-01 Thread Kurt Weiss
hi marco!



Which, in turn, leaves the share still visible in Network Neighborhood 
etc, as I initially reported.
Go figure. :)

i don't understand your question. - we're using browsable = no over 
years. but i did not find, where u'll see the share. i can't see the 
share with 'net view' and not in network neighbourhood. - only if it's 
added in network neighbourhood with adding networkresource then it's 
visible (in a view situations, w2k/xp does this automaticly).
*but* this feature of w2k/xp has nothing to do with visibility in 
network. it's only a directory in profiles, where the system lays *.lnk 
files to accessed shares. - so u mean it's visible.

if it's not so as descripted, then please send me smb.conf and 
versionnr. / version of used windows (incl. sp).

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


Re: [Samba] Adding printer stops with Operation could not becompleted

2003-03-01 Thread Kurt Weiss

Unable to install HP LaserJet 5P/5MP Postscript, Windows NT 4.0 or 200, 
Intel driver. Operation could not be completed.
maybe it's this:
http://support.microsoft.com/default.aspx?scid=kb;en-us;158042


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


Re: [Samba] Can't login from Xbox - No session setup?

2003-02-28 Thread Kurt Weiss
did u find the solution?
the thread is quite old and u did not answer to the last mail...
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] 2.2.7a logon script will not run

2003-02-26 Thread Kurt Weiss
hi florian - we did check this already...
it was my first suggestion in this thread
there are 0777 on dirs and 0777 on logon.bat

but this did not solve *rich's* problem

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


Re: [Samba] Samba locking problem - is this a bug ?

2003-02-25 Thread Kurt Weiss
Kostadin Galabov schrieb:
Hi,

I asked this once and no one seem to answer. So I'm trying once again:

I have the following problem:
I have a linux samba server and a lot of linux clients that connect to
it. What I noticed is that if one of the clients create new file and
starts do some operation on it - the file is unreadable for all other
clients (output od smbstatus: DENY_FCB RDWR   NONE) - which is OK I
the type, how a file is opened, is decided by the programm, which is 
opening.

suppose. But if the connection between the client and the server
disappears while client is working on the newly created file, the file
you mean breaks?

stays locked and in some occasions even when the connection is
established again the file stays locked, the client cannot access the
mounted drive - and the client should be restarted. Which is strange I
at this time samba does not know, that the client is death. - seems, 
that the client hangs.

noticed that if a Windows client do the same operation - the file is at
least readable for other clients.
the other client may have read access to the file. - the broken client 
has a hangup in communication.

I played a lot with the lock options and tried to remove the DENY_FCB -
setting share modes = no but nothing helped - I have this problem.
So please advice - how can I prevent this file locking when connection
between master and client disappears ? For me this look like a bug.
that's not really successfull. - my mention is, that your client has a 
big problem. - samba kills the locking after timeout, if the client is 
death. - in your case it seems, the client answers to a keep alive, 
but cannot access the network... - so samba keeps the locking.

i cannot really help, without further information.
so, if the problem exists again, try something like that first:
- ping to the client
- check, if u have access from the client to another client
- check, if u have access from another client to the broken one
- check ifconfig for error packages on server and client.
Regards
Kostadin Galabov
Netclime Inc.



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


Re: [Samba] 2.2.7a logon script will not run

2003-02-25 Thread Kurt Weiss
Afterwords, I booted my W2K client machine and logged on to the domain.  The
logon script doesn't run, but otherwise everything is fine.  From the
client, I can map drives manually, access files, etc. all without errors.
It authenticates the user name and password throught the pdc and there
aren't any error messages at all either in the server logs or the client
event viewer.  I put everything back w/ 'make revert' and all runs fine
can u look, if the logon.bat starts in upgraded version?
cdrom on z:? maybe u have to use logon drive = ?
Maybe one of these evenings I'll try again w/ log level 10 and try to
diagnose w/ that.
please send it...






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


Re: [Samba] Can't login from Xbox - No session setup?

2003-02-24 Thread Kurt Weiss
public (S)

Synonym for guest ok.

sorry, as usual, i oversaw it... ;-)

	map to guest = Bad User
did u check
'map to guest = Bad Password'
directory/file in unix/linux: access/owner? (nobody/nobody)
'domain guest group' (ver. 2.2.4, i don't know, if u need it...)
'guest account' (is default nobody ok?)


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


Re: [Samba] Win NT / Win 2k variants

2003-02-24 Thread Kurt Weiss


Suggitt, Maria [DAN/PICK] schrieb:
All

I have 3 DEC Unix boxes running OSF3.2C and Samba 1.9.17p2 (I think). They
are currently visible from an NT PC with no problems
The NT PC is to be replaced with a Win 2k machine 

Question 1: Do I need an updated samba version to enable the Win 2K machine
to see the Unix Boxes
for w2k u need samba 2.2 and higher.

Question 2: How do I find out exactly what version of samba I am running
(The version above was in the log.nmb file)
smbstatus | grep version

gk


Thanks

Maria Suggitt

SW Technical Coordinator 
Customer Service Department
Daniel Europe Limited



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


Re: [Samba] Can't login from Xbox - No session setup?

2003-02-24 Thread Kurt Weiss
ps: did u try to access from the x-box to another w2k machine? / as 
which user it did logon?

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


Re: [Samba] Windows XP Profiles

2003-02-24 Thread Kurt Weiss
I would like profiles to be stored locally and
automatically created when a new user logs in.  So, if a
roaming profiles are copied at login from the server to the client. at 
logout they will be copied back...
if netconnection is broken, the client uses the temporary copy on itselves.

if u want to use local profiles, so u have to change the profile type to 
local or turn off roaming. (as u did).

if a user logs on first time (in the network when using roaming / on the 
client, when using not) - so windows creates the profile as copy of 
default user (at the client/ i did not try, what happens if u create 
default user on the server, but i think it will be functional...). - 4 
details, please refer microsoft doc's.

user has not logged into a particular computer before, a
profile will be created (possibly from a template?) for
them and will be stored locally.
I have been able to turn off profile roaming by adding
logon path = to the smb.conf file, but that will just
allow the user to logon, not create an account on the local
machine for them.
if i did not misunderstand u (i'm austrian and not to fix in english) - 
i think u should turn *on* roaming...

i hope i helped
gk
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Win2k and Samba

2003-02-24 Thread Kurt Weiss
Al Bean schrieb:
Hi Kurt,

I set socket options to the default by removing it and I set case case 
sensitive = No.  But that did not help or change the log output.

I also changed the NICs in both boxes just to see if that was the 
problem but that did not help.

:(

I'm wondering, can sombody tell me how long it should take to transfer a 
10MB file from win2k (1.5GHz Pentium4, 100 BaseT NIC) to a Linux share 
(400MHz Pentium2, 100 BaseT Nic) where the two boxes are connected by a 
100 BaseT switch?

Also, (if possible) could sombody post thier smb.conf where they are 
using a Linux box as a simple file server in a Windows environment 
(where the linux box is NOT a PDC)?
That would really help to see if I'm doing something wrong.
hi again.
u always can configure a smb to PDC, u do not have to use this features. 
- if u access with w2k *without* joining the domain, it's functional at 
all. - but i'll send u an example look down.

the speed, how a 10mb file is copied through a lan differs extremly with 
hardware. - if u want to check your hardware/infrastructure, try following:

on linux/(unix):
ifconfig gives information about lost packets. e.g. 'ifconfig eth0'
if u want to stress the connection use:
'ping -fs 1' - abort with 'Ctrl+C'
then u see, how many packets are lost.
if u have a stable connection, u should find something like this in your 
output:
ifconfig:
  RX packets:5857030 errors:0 dropped:0 overruns:0 frame:0
  TX packets:8054607 errors:0 dropped:0 overruns:0 carrier:0
=^=
ping:
2670 packets transmitted, 2670 received, 0% loss, time 7096ms
^^

can u check, if your network is running stable?

i found two little lines, i would ask, if u need them?
remote announce = 192.168.0.255
remote browse sync = 192.168.0.255
as i look into man smb.conf i don't think so (192.168.0 is your main 
segment?)



now here's an (minimal) smb.conf 4 w2k, without joining a domain.

[global]
   server string = your server comment
   workgroup = your workgroup
   guest account = nobody
   keep alive = 30
   os level = 65
   security = users
# u can also use share without user,
#or domain if u have a PDC - butt refer HOWTO...
   encrypt passwords = yes # need 4 w2k - create user with smbpasswd...
   netbios name = your servername
#   printing = lprng
   printing = cups # depends on your printing system.
   printcap name = /etc/printcap
   load printers = yes
#   socket options = TCP_NODELAY SO_SNDBUF=16348 SO_RCVBUF=16348
   map to guest = Bad User
   local master = yes
   wins support = no
   domain logons = no
   domain master = no
   #maybe this will help with different programm problems...
   dos filetime resolution = yes
   dos filetimes = yes
 [cdrom]
   comment = Linux CD-ROM
   path = /mnt/cdrom
   read only = yes
   locking = no
 [floppy]
   comment = Linux CD-ROM
   path = /mnt/floppy
   read only = no
   locking = no
 [printers]
   comment = All Printers
   browseable = no
   printable = yes
   public = yes
   read only = no
   create mode = 0666
   path = /tmp
[test]
  comment = share fuer testzwecke
  writable = yes
  path = /netzwerk/windows/test
  create mode = 0661
  directory mode = 2771
  force user = nobody
have a lot of fun
gk


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


Re: [Samba] Win2k and Samba

2003-02-23 Thread Kurt Weiss


Al Bean schrieb:
Hi,

I've been trying to configure samba (on RH 7.3 with the samba-2.2.3a-6 
rpm).  I am able to connect to the linux box from win2k and I am able to 
copy files but it acts really strange.  For example, sometimes after I 
copy a file from win2k to linux i get a message that says path to deep 
path to deep we get, when the path ist to deep :-)
e.g. here:
u are using: /usr/local/samba/data/windows/share1/ as path for a share.
windows has: 
\\server\this\is\a\typical\path\that\seems\to\be\created\by\any\windows\application\or\an\user\with\many\paths\ad\so\on\...
so amba has to create:
/usr/local/samba/data/windows/share1/this/is/a/typical/...
this may be to long...
can u check this?

sometimes I get a differnt message or it will simply lock-up for a 
little while.
we had many situations, in which we got a lock up on w2k/98/xp, but 
always a different reason.

so please post smb.conf and the relevant parts of the logfile.
if nothing in the log is seen, please increase the loglevel.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] 95 and NT cannot access shares

2003-02-23 Thread Kurt Weiss
Dave Ansell schrieb:

[2003/02/22 16:21:37, 0] smbd/service.c:make_connection(599)
  wvo1314904 (192.168.1.10) Can't change directory to /home/samba/public
(Permission denied)
did u check the permissions of /home/samba/public:
minimum:
***the lower directories (home,samba) needs the x-flag for the specific 
group (mind other! if the owner is e.g. root.root) as minimum***
the public directory needs the rights for the given user/group.

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


Re: [Samba] Win2k and Samba

2003-02-23 Thread Kurt Weiss
hi again!

Al Bean schrieb:

The first few entries are on trying to copy a file from win2k to the 
linux share.
The last few entries are on trying to delete a file on the linux share.



As you can see from the conf file the path to the linux share is /ark
and I'm copying from the win2k desktop to that linux share so the path is:
C:\Documents and Settings\Administrator\Desktop\
I know the /ark path is not deep and I really don't thing the path to 
the desktop is that deep either.
ok - i believe - it's not that i thought ;-)

---
[2003/02/23 08:45:25, 0] lib/util_sock.c:read_data(436)
 read_data: read failure for 19168. Error = Connection reset by peer
[2003/02/23 08:52:57, 0] lib/util_sock.c:read_data(436)
 read_data: read failure for 29388. Error = Connection reset by peer
[2003/02/23 09:11:06, 0] lib/util_sock.c:read_data(436)
 read_data: read failure for 49828. Error = Interrupted system call
[2003/02/23 09:14:09, 0] smbd/oplock.c:request_oplock_break(981)
 request_oplock_break: no response received to oplock break request to 
pid 968 on port 1029 for dev = 303, inode = 140233, fi
le_id = 2
[2003/02/23 09:14:41, 0] smbd/oplock.c:request_oplock_break(981)
 request_oplock_break: no response received to oplock break request to 
pid 968 on port 1029 for dev = 303, inode = 140233, fi
le_id = 2
[2003/02/23 09:15:13, 0] smbd/oplock.c:request_oplock_break(981)
 request_oplock_break: no response received to oplock break request to 
pid 968 on port 1029 for dev = 303, inode = 140233, fi
le_id = 2
what's that? - seems, something is running bad in network communication!
i'm looking for the errno. (436) -stay tuned
   encrypt passwords = Yes
   obey pam restrictions = Yes
pam password change = Yes

man smb.conf:
Note that samba always ignores PAM for authentication in case of 
encrypt password = yes
(samba 2.2.4)


   socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 
SO_RCVBUF=8192
only an idea: won't u play with this to see, which effect it has to your 
error log?

   local master = No
   dns proxy = No
   remote announce = 192.168.0.255
   remote browse sync = 192.168.0.255
   hosts allow = 192.168.0. 127.
   case sensitive = Yes
i think, that's dangerous: windows mostly changes case! - try 'no'

so i hope it helped
gk
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Can't login from Xbox - No session setup?

2003-02-23 Thread Kurt Weiss
hello again!

[Filme]
public = yes
can u try for testing reasons please
guest ok = yes
in the share? - i don't know, how an Xbox logins to a windows server. 
(for me it seems, that the Xbox does not send a username at all.)






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


Re: [Samba] Unable tp map to a samba share from home

2003-02-23 Thread Kurt Weiss


ArtSaucedo schrieb:
I have a filtered restriction on port 139 Why ?
firewall?



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


Re: [Samba] Restrict access to [homes] share

2003-02-22 Thread Kurt Weiss


Chew, Darren schrieb:
G'day,

I'd like to know how to restrict access to the [homes] share. Currently, each 
user is able to read/write to his/her own share, and by typing 
\\machine\anotheruser can open another user's share and read/write there too. 
I would like to restrict access so that a user can only read/write to their 
own share only.




[homes]
comment = Home Directories
path = /home/samba/%S
force group = nobody
read only = No
browseable = No
set the owner of /home/samba/username to the given owner,
set access for directories and files to 0700
in smb.conf use:
creation mode = 0700
directory mode = 0700
so nobody than the given user has access...

I have tried using the valid users line but when I put it in I can't open my 
home share. I am using Red Hat Linux 8.0 and Samba 2.2.7a (from rpm). Any help 
is greatly appreciated. Thanks.

Darren
-
This mail was sent using Scout WebMail
https://webmail.vicscouts.asn.au/


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


Re: [Samba] Worksatation Logon restriction

2003-02-19 Thread Kurt Weiss


Marco A R Henriques schrieb:

Hi Kurt,

Thanks for your reply. My users should be logon on my network (samba
domain), but some them only logon through some specific workstation. Is it


so u can realize this:

e.g.
network 192.168.10.
user a,b,c have access from all places
user c,d only from ip adresses .10 and .11

use this in your smb.conf [global] section:
===
netbios name = intern
netbios alias = extern

# than take an include:

include = /usr/local/samba/lib/smb.conf.%L

#rest of the file
===

use this in your smb.conf.intern file: (access only for a,b,c)
===
hosts allow = 192.168.10. EXCEPT 192.168.10.10 EXCEPT 192.168.10.11
invalid users = c,d
===

use this in your smb.conf.extern file: (login for all users)
===
hosts allow = 192.168.10.10 192.168.10.11
===

now u can access over server extern with all users from .10 and .11
and u can access to intern with all workstations, but not users c,d

!!*attention*!!
if u use invalid users in a share section, so u overwrite the default.

i hope, it helped,

gk

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



Re: [Samba] home directories

2003-02-19 Thread Kurt Weiss


Stand H schrieb:

Hi,

I want to implement home directories for all my users
on my linux box using only [homes] share. I dont want
to create 1 shares for my 1 users if I have


smb.conf:

logon home = \\%N\myhome

[myhome]
comment = home of user %U
path = /homes/%U

i think this is that u're looking for?
tell me, if it's is.



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



Re: [Samba] version of samba for windows xp

2003-02-19 Thread Kurt Weiss


cinzia lippi schrieb:

Hi,
what is the first version of samba who is compatible whith windows xp
clients?


we've used 2k/xp since 2.2.2 and had problems.
the first stable configuration was/is on 2.2.4
versions below 2.2 does not support w2k/xp.


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



Re: [Samba] add/delete/remame/move logging ?

2003-02-18 Thread Kurt Weiss
samba server ?
i've looked in the samba.log file (set at log, level 3) and found a LOT of
logging but nothing about add/delete etc...


so, if u did not read my last answer, i'll post it again:

use a higher log level! - there will be all open/close incl. username 
and file logged. - but this produces much data.

samba does not write add/delete/... but u can find it out over looking 
at open/close a.s.o. - this will be good enough to observe your users.

with one or two tests u'll find out in which order the keywords effect 
which action.

man smb.conf - looking for log level...

any suggestions ?

-z




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



Re: [Samba] Worksatation Logon restriction

2003-02-18 Thread Kurt Weiss


Marco A R Henriques schrieb:

Hi ALL,

I'm trying to implement a workstation logon restriction policy (where I say
that a user only logon on my domain from a specific station) through Samba


if u want a user specific logon restriction, u can implement with samba.
if u want a machine specific restriction (ip-adress) u can implement 
this with samba or iptables (firewall)
if u want to restrict one user to one workstation, i can't tell u, if 
it's possible. - i only can imagine, that u do not use domain logon, and 
create only one user on this client. - so u can only login with this 
user from this workstation.

with Win 9X client machines, like Windows NT/2000 Servers.  Is it possible
?!? I found on some lists diff files to implement Time logon restriction,
where I say what time my user can logon on my network, but nothing about
workstation time restriction.


this will be possible (ip-adress) over iptables(firewall) and cron.



Thanks in advance,

Marco

___
Busca Yahoo!
O serviço de busca mais completo da Internet. O que você pensar o Yahoo! encontra.
http://br.busca.yahoo.com/



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



Re: [Samba] problem with printing server

2003-02-17 Thread Kurt Weiss


Andrei Baldes schrieb:

From any windows machine the print is only 5mm of the first row. 
(For instance  I'm on win2000 and I gave from Printers Property - Print 
a test Page - it will print 5 mm from the upper part of the test page 
(this mean 5 mm from the Win logo and upper part of Windows 2000 (upper 
half - only 5mm - windows 2000 on test page has almost 1 cm height) and 
then eject paper and said - Job's Done. I hope you understand.



Below is my smb.conf


it seems ok








And the printcap file - this is autoconfig.




hp930c:\
:ml=0:\
:mx=0:\
:sd=/var/spool/lpd/hp930c:\
:af=/var/spool/lpd/hp930c/hp930c.acct:\
:sh:\
:lp=/dev/lp0:\
:lpd_bounce=true:\
:if=/usr/share/printconf/util/mf_wrapper:



try to configure the printcap manual (e.g. over /var/lib/apsfilter/SETUP)
because there's the failure (missing raw statement?).
but i strongly recomment to read the relevant manuals *before* usage
(i'm not the strongest in theme printing over linux)


look at this (correct) printcap entry.
==v=
hpusb|lp4|cdj970-a4-raw-hp970|cdj970 a4 raw:\
	:lp=/dev/usblp0:\
	:sd=/var/spool/lpd/cdj970-a4-raw-hp970:\
	:lf=/var/spool/lpd/cdj970-a4-raw-hp970/log:\
	:af=/var/spool/lpd/cdj970-a4-raw-hp970/acct:\
	:if=/var/lib/apsfilter/bin/cdj970-a4-raw-hp970:\
	:la@:mx#0:\
	:tr=:cl:sh:sf:




Thanks for your help
Best Regards
Andrei






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



Re: [Samba] No domain server was available to validate your password.

2003-02-17 Thread Kurt Weiss

You are right, I am using security = domain at the
PDC, isn't it suppose to be?



security = domain means, that your samba looks for an password server in 
this domain and uses this authentication.
the password server is written in password server =
so samba could not find the password server, and responses an error.
if your samba server is the authentication server, so u have to use 
security=user
please the refer the samba HOWTO's

e.g.
http://at.samba.org/samba/docs/
man smb.conf
Samba-HOWTO-Collection.pdf in your samba distribution.


 Anyway, I have forwarded my smb.conf for your
 reference. Please comment accordingly. Thanks.

please be not angry - i have to work too. - so i will answer as short as 
possile...
please refer the doc's as discripted upwards.

[global]
	passwd program = /usr/bin/smbpasswrd %


*) as i know it sounds like smbpasswd not smbpasswrd ;-)
*) as far as i know, u have to use the unix/linux program (as passwd) 
for this
next, u do not use password sync (as u wrote below...) - unnessecary.



	dns proxy = yes

u have it?


	logon path = \\%N\%U\.profile
	encrypt passwords = yes

u use encrypt password:
did u create the unix user and added them with smbpasswd -a [user] to 
your smb database?

	debug level = 3
	security = user

this is ok..., but u wrote, that u used domain?



	local master = yes

this means: this server is the PDC...


	server string = Samba %v on Redhat 8

*attention* firewall - redhat 8's default is to block netbios...




	os level = 34

u can increase this to 65, if it's the primary controler.



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



Re: [Samba] Turning Off Roaming Profiles?

2003-02-15 Thread Kurt Weiss


Jarl McConnel schrieb:

Basically, as the subject says, I've found heaps of information on turning them on, but I don't particularly want them as my profile is quite large.


*) u can use a policy file to turn them off
*) u can switch it at the client to a local profile

*) we always move the temporary internet files and the temp files 
away from profiles, so the profiles kept small.

gk

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


Re: [Samba] NT Domain BDC

2003-02-15 Thread Kurt Weiss


Nezar Elgaili Elshiekh schrieb:

Dear Sir
Iam pleased to contcat you and ihope that you will solve my problem.
Ihave NT domain more than 30 sites in each site ihave BDC can i use samba as
BDC instat of NT BDC for authentication and control share please reply me as


u can use samba as BDC and PDC in a domain. - no problem


soon as possible
Nezar Elgaili



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



Re: [Samba] How to join a linux machine to a pure ActiveDirectoryDomain using Samba 3.0alpha21?

2003-02-14 Thread Kurt Weiss
What should this tell me?  As far as I understood your link, it's about
making Win XP Home Edition join a Domain.  I don't have XP Home, just XP


mission impossible!
windows XP home does not support domains!!



Pro and some Windows 2000 Pro boxes.

Alexander Skwar



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



OT: suggestion! (was Re: [Samba] !!ATTENTION NEWBIES!!)

2003-02-14 Thread Kurt Weiss
wow / i did newer see such a response to a theme as in this case! :-O

here's a suggestion:
i did send (in a view cases) a short message to this 'NEWBEES' with 
important internet links, such as: (e.g.)

http://www.samba.org/samba/ml-etiquette.html
http://hr.uoregon.edu/davidrl/samba/
http://at.samba.org/samba/docs/

or such a stuff.
i did this 'OFF LIST' - so that nobody is bothered.

this costs really less time and prevents from multiple posts.
*and* i got mostly positive response.

i think this a way to minimize time and saves nerves.

all in all *everybody* should 'have a lot of fun' and we where all 
*newbies* a long time ago...


==
but here's somethig i did want to say all the time:
a *very* big THX to Jerry Carter  Co. for having so much patience with 
all of us. ( mr. carter: *when* do you work? ;-) )

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


Re: [Samba] win2000 and linux 7.2 trouble using samba

2003-02-14 Thread Kurt Weiss


Duncan Turner schrieb:

I have tried recently to link up two computers over the network using my machine which is win2000 and our Redhat Linux server 7.2 using samba v 2.2.
When I browse the network I can see the approprate workgroup which I have named 'Linux' but the workgroup appears to have nothing available inside it. That is no icon, basically no contents.
I am at a dead end, can anyone help me out?

Here is what I have:

[global]
coding system =
client code page = 850
code page directory = /usr/share/samba/codepages
workgroup = LINUX
netbios name =


did u give *no* netbios name or did u delete it for the list?
in case 1) please remove all empty lines (as interface = )
and give your linux an netbios name...


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



Re: [Samba] Access Denied when connect to samba box

2003-02-12 Thread Kurt Weiss


Denis I. Morozov schrieb:

Hi!

I have MS domain, based on MS Windows 2000 Server. I successfully joined 
my samba box (Linux 2.5.53, Samba 2.2.4) to domain via smbpasswd -j 
DOMAIN -r DC -Uuser%pwd.

i don't know this line...
is here an -a missing? is -Uuser%pass ok?
did u check with smbclient on localhost, if u have access to your server?

snip


Where is error?


smbpasswd not ok,
wrong userrights in linux/unix
firewall
...

there are many reasons,
give us a little more info...




Thanks for help.
Best regards, Den

PS: Also I cant connect to Win'9x boxes from Win'2000,XP.




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



Re: [Samba] How to know what users i have added with smbpasswdprogram?

2003-02-12 Thread Kurt Weiss
look at samba-path/private/smbpasswd but don't change it
it's cryptic, but u see all users in there

Jorge Videgain Marquez schrieb:

How could i get a list of the users already aded to samba with smbpasswd?




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



Re: [Samba] How to know what users i have added with smbpasswdprogram?

2003-02-12 Thread Kurt Weiss
net user

this will give you a list of users in you domain



this only gives the local users - only if u have an win-DC - there it's 
for the domain.

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


  1   2   >