Re: [Samba] Is Samba made for trash?!? Newp.

2003-02-21 Thread Jean-Paul ARGUDO
 By then, we discovered that if we disabled all oplocks,

we got no more corruption.  

I posted here weeks ago problems regarding Excel 97 file corruption. I 
finally disabled oplocks then.

But day passing, I had new problems with Word 97 :-/  (new posts here, 
mainly not answered but a tip on how to get clients at same time that 
servers... -NET command usage...):

Many times a day, clients here when oppening a MS Word 97 document have 
it in READ ONLY mode, but seems no reason fort that!!

I recently put oplocks *back* ON *but* with veto-ing excel files...
I hope this change could solve de pb..

Waiting for changes, I read again docs about oplocks (Samba HOWTO 
Collection -R-O-X-, O'Reilly and SAM'S books too)

Again and again but as Jeremy says thereafter, seems a problem *in* 
Word 97 ... Maybe I'll have to patch it  (it's original version, just 
patched with Euro Font Fix, nothing more, maybe the source of the 
problems? -Idem with Excel)

That Samba file server has been incredibly stable,
serving terabytes of data to almost 100 clients. 
We've seen no file corruption since that day.  You'll
find many admins who agree with me - Samba rocks!

Same opinion here. Samba works like a charm. We got 2.2.3a Debian woody 
stable release (damm when will they upgrade at debian?? ;-)).


--
Jean-Paul ARGUDO

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


Re: [Samba] The Big Plunge

2003-02-18 Thread Jean-Paul ARGUDO
1.  Will a Samba PDC establish trust relationships with NT PDCs?


Yes. But I a really reccomend you have all PDCs under Samba, since my 
feeling is they are much stable an easier to manage than real M$ ones 
:-) It's an advice, you can keep your PDC under NT if you want.

2.  What anti-virus software exists for Windows clients which will
automatically grab signature updates from an internal server?


Dunno. All users here are under W2K with Norton Anti-virus auto-update 
mode on... This works nicely and const about $60 USD -max price, you can 
get cheaper with bundle licenses. I'm thinking about replacing this 
costly solution and potentially risky (I need to trust Norton...) with a 
centralized anti-virus software on samba shares...

3.  Do you mostly use scripts to manage users, or a GUI?


AFAIK, there are many GUI for you convenience (SWAT or SWAT module for 
webmin...). I personaly prefer scripts.

4.  Is it LDAP/Samba integration possible?


Sure. This works really well, look at samba-ldap-tools.

My 2 cents.


--
Jean-Paul ARGUDO

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



[Samba] Found MS-Word 97 Samba bug : diagnostic found!

2003-02-14 Thread Jean-Paul ARGUDO
Hi all,

I have a bug with Version 2.2.3a-12 for Debian GNU/Linux (custom 2.4.20 
kernel with aacraid support (DELL PowerEdge 1650 with RAID mirror, etc)):

Some users have, SOMETIMES, a READ ONLY set on files, where no one 
except them use this files.

I'm in oplocks=false because of MS-Excel 97 issues, and, no need of fast 
performances at the moment (10 users).

I put a /home/public with nobody.nogroup rights.
Each users is in nogroup group too.
force user=nobody on this share
set force create mask=0664 on this share

And, here what I have!!! : First file has NO PROBLEM, second one HAS 
READ ONLY ERROR, (but not if the file is REOPEN again):

-rw-rw-r--1 nobody   nogroup 37888 Feb 14 11:46 test_file_1.doc
-rwxr--r--1 nobody   nogroup 37376 Feb 14  2003 test_file_2.doc

Look at date Feb 14  2003: erkk!! this is not a standard date!!!

If I touch the file, as root, the date is now ok:

-rw-rw-r--1 nobody   nogroup 37888 Feb 14 11:46 test_file_1.doc
-rwxr--r--1 nobody   nogroup 37376 Feb 14 11:59 test_file_2.doc

Then, the user can access the file, with READ/WRITE permissions

Please consider too that -rwxr--r-- has nothing to do with 664 
permissions!! :-/

I think there is a mess with Samba and Word 97 ..

I found that Samba 2.0.4 has a fix for Word 97 issues. Seems there's 
still one lurking around?

Or did I configured badly??

Thanks a lot for answering

*---
Here datas on my config:
*---
KERNEL:
Linux master 2.4.20 #5 SMP Fri Feb 7 10:06:37 CET 2003 i686 unknown

UPTIME/LOAD:
12:21:56 up 6 days, 22:37,  3 users,  load average: 0.01, 0.00, 0.00

SAMBA:
Version 2.2.3a-12 for Debian
  = (I know it's old but it's still the version in the debian/stable)

*---
/etc/samba/smb.conf
*---
[global]
netbios name=MASTER
workgroup=PACK
security=user
encrypt passwords=Yes
domain logons=yes
logon script=logon.bat
os level=64
domain master=yes
local master=yes
preferred master=yes
wins support = yes
name resolve order = wins hosts lmhosts bcast
oplocks=no

hosts allow=192.168.0. 192.168.1.

log level=1

printer driver file=/home/public/driver/printers.def
server string=PACK DOMAIN CONTROLER

[netlogon]
path=/var/samba/netlogon
read only=yes
public=no

[profiles]
path=/var/samba/profiles
read only=no
create mask = 0600
directory mask = 0700

[homes]
browseable=No
writeable=Yes
guest ok=no
comment=HOME
create mask = 0600
directory mask = 0700
valid users = %S

[public]
path=/home/public
browseable=Yes
writeable=Yes
guest ok=yes
read only=no
force user=nobody
comment=PUBLIC
set force create mask = 0664

[pdf]
path=/tmp
printable=yes
guest ok=yes
print command=/usr/bin/printpdf %s
lpq command=
lprm command=
printer driver=HP C LaserJet 4500-PS
printer driver location=\\%h\printer$

[printer$]
path=/home/public/driver
guest ok=yes
read only=yes


--

Really hope this report has all data you need to answer my question!
Ask me more info you'd need.

--
Jean-Paul ARGUDO

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


Re: [Samba] Found MS-Word 97 Samba bug : diagnostic found!

2003-02-14 Thread Jean-Paul ARGUDO
I presume that's output from ls -l. I would hazard a guess that your
server and client clocks are not in sync. If you're on linux, try ls
--full-time


Yes! It's ls -l output I've posted.

And yes again, client and server are not in sync.

Do you mean that way I've to install ntpd and sync date/hour mechanism 
between samba server and clients?

Why? Is there any paragraph on this in the samba howto collection?

Thanks a lot!!

--
Jean-Paul ARGUDO

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


Re: [Samba] How important are oplocks?

2002-12-19 Thread Jean-Paul ARGUDO
Super can be if you can add info or link about list of dangerous database
engines for oplocks...
Btw.  Foxpro 2.6 = is ok.
 Foxpro 7.. = bad.
 Clipper=  dangerous...
exist this list for off oplocks?

Thanks. But unfortunately, its not that simple.I doubt for example that
one version of FoxPro will be good with oplocks, while another is bad. 

Yes. Making such list is not a good idea I think.

Seems you all debate here of what the causes of the malfuntion could be 
(or are), and I think you didnt understand my point of view. Seems you 
arent considering all of the problem. (read above).

When you see oplock problems, I guess you could say it is more client-OS
and hardware dependant than it is on the software involve. 

So?...

 Most other applications do not have 2 or more users opening the same
 file at the same time on a routine basis.

Sure. But you can't forbid people to drive because one of them maybe one 
day will drive drunk :-)

I mean, in a production environment, It cant be half answers. It works 
or it doesnt. Thats my point of view.

It is really interesting to know more about oplocks, why it works or 
not, why this client OS, this application will fail with oplocks on.
And I really thank you all to share your knowledge on this!

But, again, I cant bet on a technology. I'm not playing poker and cant 
do it with files where maybe all the business of my company is based on. 
Thats why I've disabled oplocks.

I'm DBA maybe you'll understand why my principal fear is data loss. :-)


Thanks all again.


--
Jean-Paul ARGUDO

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


Re: [Samba] How important are oplocks?

2002-12-18 Thread Jean-Paul ARGUDO
But, some times that can result in corrupted files back on the server if...


... no need to say more :-)

IMHO, this is a real good reason to disable oplocks.

I don't believe that in a production environment one could take such a 
risk. I personaly had Excel files corrupted. Had to take it back from 
backup sets. I really had to find good BOFH excuses for my users :-/

Editing the corrupted .xls file, I found that Samba loggued kind of 
samba log output in it instead putting it to /var/log/log.smbd :-)

Search for my mail on bug 26128 in this list for example and/or more info.

I really think oplocks could be is real good thing if there were no such 
risks using it :-)

Cheers,


--
Jean-Paul ARGUDO

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


Re: [Samba] Samba domain with non-domain Win98

2002-12-18 Thread Jean-Paul ARGUDO
Lets suppose you have
/home/public to be accessed by anyone on your network:

You _must_ have /home/public set to nobody.nogroup (recursively huh :)

# ll /home/public/ -d
drwxrwxrwx8 nobody   nogroup  4096 Dec 16 20:26 /home/public/

and in smb.conf:

[public]
path=/home/public
browseable=Yes
writeable=Yes
guest ok=yes
force user=nobody
comment=Common share

This should work fine, works for me in 2.2.3a (Debian stable)

My 2 cts

--
Jean-Paul ARGUDO

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



Re: [Samba] Re: Access Samba Servers from the Internet?

2002-12-17 Thread Jean-Paul ARGUDO
I'll take the time to read more over about NetBIOS.


Read it all. Its all clear now.

So, I finally make it work perfectly.

My PDC at 192.168.0.1 in 192.168.0.x network acts now also as a WINS server.

The foreign 192.168.1.1 windows 2K uses 192.168.1.253 gateway to connect 
to the internet provider. This provider carry on MPLS VPN functionality.

The foreign PC has 192.168.0.1 as 1ary DNS (Bind) and 212 as 2nd DNS 
(providers' firts DNS). It has ALSO 192.168.0.1 as WINS server.

My provider had to unlock both 192.168.0.253 and 192.168.1.253 routers: 
they lock NetBIOS requests in default mode!

Now the foreign PC is authenticated by the PDC, and ca work with its 
personal and common samba shares

Weeepeee :o)

I promise I'll give money to samba.org when I'll get rich one day :-)

Finaly, I'm writing an article to put in my website to detail all to be 
done when creating such a VPN with Samba in the middle.

Will post here when doc is done and published in my site.

Cheers

--
Jean-Paul ARGUDO

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


Re: [Samba] Re: Access Samba Servers from the Internet?

2002-12-16 Thread Jean-Paul ARGUDO
First of all,

Thanks a lot John for take the time to make such precise and valuable 
answers. I am really impressed to read all your answers in this list, 
and I know all difficult and long it is, for answering myself about 
question on PostgreSQL in IRC and Mailing lists.

PS: Master Browser does not mean that same as Domain Controller at
all!
[...] use WINS [...]
Note: Again, none of this has anything to do with domain control (or what
many prefer to call PDC).

 [...]

PDC means Master Authentication Controller - NOT Master Browser.
Please read my comments above very carefully.

 [...]

WINS is your best friend 

Thanks for this answers. I promise to read again and again about NetBios 
in all the HOWTOS of Samba. I now know that my problems could be solved 
using my Samba PDC act as a WINS server too...

As you may know, I use a VPN MPLS solution with my internet provider. He 
just told me today that routers are configured to block NetBIOS traffic 
by default. :-/

He's doing what needs to be done to allow NetBIOS traffic between two 
sites (192.168.0 where the samba box resides and distant 192.168.1..).

I'm doing tests now with Samba PDC acting has a Wins server too.

I'll put in this list my complete configuration and network schemes when 
all will work, in the case other persons would do the same.

 One needs to understand the NetBIOS
protocols to solve a NetBIOS problem - few TCP/IP admins care to do that!


I'll take the time to read more over about NetBIOS.


If you want to catch lots of fish, as a fisherman you need to think 
 like a fish!

:-)

--
Jean-Paul ARGUDO

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



Re: [Samba] Re: Access Samba Servers from the Internet?

2002-12-13 Thread Jean-Paul ARGUDO
Ah ... somenews!

Here what I found in /var/log/nmbd:

Samba name server MASTER is now a local master browser for workgroup 
PACK on subnet 192.168.0.1

*BUT* I have the following line in the [global] section of smb.conf:

hosts allow=192.168.0. 192.168.1.

I found in docs that above list can be comma-separated, space separated, 
etc..

How the Samba server can be MASTER for _both_ 192.168.0. and 192.168.1. 
subnets? Which in my case could be the problem -just read previous mail-
??

Thanks a lot for any help, I'm stuck :-/

--
Jean-Paul ARGUDO

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


Re: [Samba] oplocks and samba 2.2.7

2002-12-13 Thread Jean-Paul ARGUDO
Hi all,

I really know you'll tell me it is not an issue from Samba nor a matter 
of topic in this list.

But. I have problems with oplocks, surely because of my version:
Version 2.2.3a-12 for Debian I noticed it all in bug 26128 and posted 
here precisions, few days ago.

Version 2.2.3a-12!!!??? YES, this is the *stable* version from Debian.

What would I do? Install newer version (2.2.7,afaik), then corrupt my 
system? Or wait for Samba team to put 2.2.7 in the stable?

For example, in current proposed-updates, samba version proposed is
2.2.3a-12!! I think I'll have to wait a year before 2.2.7 becomes 
stable, then you'll be supporting only version 2.4 ? :-)

I really know again it is *not* the problem of Samba team.

But, I think when I read docs always install newest version before 
asking to support, you put to rubbish all users who havent yet 
connexion to internet, or ones who just buy brand new RH, Mandrake, 
Suse, whatever, box, with surely not the latest Samba version in  :-(

What are my solutions then? Build my own deb package from your cvs? 
Thats what I'm gonna do finally, corrupting a bit my stable production 
debian server :-/

I'd really like you give your point of view on this.

Thanks a lot for your efforts!

--
Jean-Paul ARGUDO

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


Re: [Samba] Re: Access Samba Servers from the Internet?

2002-12-13 Thread Jean-Paul ARGUDO
nmbd can be master browser only on network that is on your network machine
eth.


Thanks for your answer.

If I understand you well, MASTER is only PDC for 192.168.0 because of 
eth0 configuration. Here is it:

auto eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.253

Given this, the solution is to change the netmask? Then, MASTER would 
listen in network 192.168. instead of 192.168.0 only.

Am I right?

How to achieve my PDC to become unique PDC in my LAN composed of 
192.168.0, 192.168.1 and may be tommorrow 192.168.2 .. ??

Given the fact I'm DBA, not an Admin sys specialized in TCP/IP, you 
understand my weakness here :-)

Thanks again.

--
Jean-Paul ARGUDO

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


Re: [Samba] Word 97 and samba.

2002-12-13 Thread Jean-Paul ARGUDO
Any other options 
that might help?

I had a problem with auto-timeout from client side :-)
But its a windows problem only ;-)

Type NET CONFIG SERVER and look at SESSION TIMEOUT..
By default you have 15 minutes

Then, if a user is typing from more than 15 minutes, without disk 
access, in a document wich is on a server, the server disconnect the 
client, and crap Word 97 crashes or sends connex problem messages to the 
client!

Type NET CONFING SERVER ? to see how to change the value. Max Value in 
windows 2000 env is about millions :) Watch for support.microsoft.com, 
file Q138365.

Put 65535 minutes instead of 15, will be enough :-)

Z:\net config server ?
La syntaxe de cette commande est :


NET CONFIG SERVER [/AUTODISCONNECT:minutes]
  [/SRVCOMMENT:texte]
  [/HIDDEN:{YES | NO}]


Hope this helps.

--
Jean-Paul ARGUDO

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


Re: [Samba] Re: Access Samba Servers from the Internet?

2002-12-12 Thread Jean-Paul ARGUDO
secure to set-up a VPN connection from your client to your host and then
login that way. Of course, it is possible to access your SMB share through


I have exactly the same need. I have a co-worker that can come to our 
site because of physical problems, he cant just come at work like 
everyone. The thing is to achieve a normal Windows 2000 connection to 
our domain.

Here is how I solved it (not yet accomplished, but in good way to):

I subscribed a VPN MPLS solution at my internet provider. I think it is 
the best way to do actual VPN, better than frame relay or IpSec, because 
it is transparent to users.

Here an ascii-art datagram of the solution:


  ___ Internet...
/
   |
   FIREWALL
   |
 /[ VPN MPLS ]--\
||
router router
192.168.1.253 192.168.0.253
||
||
||
Far away PC  local network with
192.168.1.1W2K workstations, Linux PCs
  /| |  \
   Samba as PDC other machines in
  with Bind DNS 192.168.0.
   192.168.0.1

subnet have to be different for the VPN MPLS to work! That's why the 
main network it's in 192.168.0. and the away network is in 192.168.1


On 192.168.1.1 PC he can ping 192.168.0.x machines! The same in 
192.168.0.x machines, we can ping him and also it's router.

But, we can't achieve him to be connected to our network :-((

That's the current big problem! He has 192.168.0.1 as 1ary DNS and has 
2nd DNS he has the provider's 1st DNS address.

On his machine he can do:
nslookup machinetest
=works

nslookup machinetest.homelocalnetwork.com
=works

ping 192.168.0.100 (machinetest'IP)
=works

ping machinetest
= doesn't work!!

I am sure of the DNS (Bind) configuration but seems Samba is rejecting 
him?? What's wrong???

I read an article about DNS in Windows 2000. Seems the DNS *must* work 
with DHCP, dynamically in order to distant machines to connect. Is that 
true? I mean, then, my local machines would use NetBios only to connect 
to samba PDC?

Then, if this is true, this means NetBios connections cant' go thru the 
VPN? Why? Is this because of different subnets?


As you see, VPN MPLS is a good solution, but I really hope someone doing 
VPN MPLS with Samba as PDC in W3K environnement could tell me how he 
achieved this to work

Finally, sorry for crap english :)


Thanks a lots.
--
Jean-Paul ARGUDO

--
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 problems

2002-12-12 Thread Jean-Paul ARGUDO
Bradley W. Langhorst wrote:

however in order to switch a computer from workgroup to domain mode 
you first need to leave the GENWAX.TEST workgroup 
join the ICANTTHINKOFANAME workgroup
then join the GENWAX.TEST domain...

I agree! I noticed this when migrating my W2K Server domain to Samba 
domain. On clients I had to
1) switch clients from DOMAIN to workgroup TEMPO, reboot
2) power off W2K Server
3) power on Samba PDC
4) Erase *all* profiles in C:\Document and Settings\  (excep 
Administrator and Default )
5) switch clients from TEMPO to DOMAIN, reboot

I think it is a Windows problem too.

--
Jean-Paul ARGUDO

--
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 domain logon

2002-12-12 Thread Jean-Paul ARGUDO
Sean Chambers wrote:

also, in win2k when i open the run window and type : \\FILESERVER\ 
file://\\FILESERVER\
it opens a username/password box, if i put in sean and the password it 
pops the box right up again. In the samba.log file it says something to 
the effect of:
Couldn't find user 'sean' in passdb

AFAIK, you have to create machine trust accounts in order to allow them 
to access your Samba PDC with a W2K workstation. After this, you create 
user accounts too.

There it is machinename$ to be used, not user$ :-)

Remember to add -d /dev/null and -s /bin/false to useradd command when 
creating Machine Trust Account. Also do a passwd -l machinename$.
Then a smbpasswd -a -m machinename$.

I can be more precise with a detailed example if you wish, but:
This is all very well explained in Sam's teach yourself samba in 24 
hours, chapter 22, surely the best samba book I ever bought. ;-)

Cheers

--
Jean-Paul ARGUDO

--
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 domain logon

2002-12-12 Thread Jean-Paul ARGUDO


...and also in Samba-HOWTO-Collection.pdf, which is part of samba.


Yes, section 2.5.3 describes it all..

:-)

--
Jean-Paul ARGUDO

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



[Samba] Precisions to bug 26128

2002-12-11 Thread jean . paul . argudo
Dear all,

First thanks for the good job! Samba allowed me to switch from M$ slavery to
Freedom of Free Softwares I like so much :-))

Here is a precision on the bug number 26128 I've posted by 9th of December 2002.
The EXCEL 97 file has become corrupted _by Samba_..

I don't understand how this could happen but it seems samba logger just logged
in the Excel file directly. Here is what I can see in the Excel file, editing it
with vim, in the middle of Microsoft crappy file: (Sorry, I still have to
anonymyse the file since it contains confidential business data):

[...snip...]
 @@^@^@^D^V à^@^T^@^E^@¬^@^A^@ ^@^@,^Q^B@ @^@^@^@À à^@^T^@^G^@¬^@^A^@ ^@^@,^Q@
@ ^@^@À à^@^T^@^G^@¬^@^A^@ ^@^@,^Q^B@ @^@^@^@À à^@^T^@^G^@¬^@^A^@ ^@^@,^@^@^@@
^@^@À à^@^T^@^@^@^@^@^A^@ ^@^@` ^@ @ ^@^D^V à^@^T^@^G^@¬^@^A^@ ^@^@,^R@ @
^@^@À à^@^T^@^G^@^@^@^A^@ ^@^@(^Q@ @ ^@^@À à^@^T^@^@^@^@^@^A^@^@^@0^Q^B@
@^@^@^@À à^@^T^@^@^@^@^@^A^@^@^@0^Q @ ^@ ^@^@À à^@^T^@^@^@^@^@^A^@^@^@0^Q@ @
^@^@À à^@^T^@^@^@^@^@^A^@^@^@^P^@^@^@^@^@^@^@^@À [2002/12/10 12:47:50, 0]
smbd/oplock.c:oplock_break(758)
  oplock_break: receive_smb error (Success)
  oplock_break failed for file Pxxx/R xx /xxx xxx.xls (dev =
812, inode = 98290, file_id = 589).
[2002/12/10 12:47:50, 0] smbd/oplock.c:oplock_break(843)
  oplock_break: client failure in break - shutting down this smbd.
^T^@^@^@¬^@^A^@ ^@^@d^@ ^@^@^@ ^@^D^V à^@^T^@^@^@^@^@^A^@^@^@p^@ ^@^@^@ ^@^D^V
à^@^T^@^@^@­^@^A^@ ^@^@d^@ ^@^@^@ ^@^D^V à^@^T^@^@^@^@^@^A^@ ^@^@`  ^@ ^@ ^@^D^V
à^@^T^@^@^@^N^@^A^@ ^@^@$^R^R@ @ ^@^@À à^@^T^@^@^@^@^@^A^@ ^@^@ ^Q^R@ @ ^@^@À
à^@^T^@^@^@^D^@^A^@ ^@^@$^Q^R@ @ ^@^@À à^@^T^@^@^@¬^@^A^@ ^@^@$^Q^R@ @ ^@^@À
à^@^T^@^@^@^@^@^A^@^@^@0^Q^R@ @ ^@^@À à^@^T^@^@^@­^@^A^@ ^@^@$^Q^R@ @ ^@^@À
à^@^T^@^@^@^@^@^A^@^@^@0!^R@ @ ^@^@À à^@^T^@^@^@^N^@^A^@ ^@^@$^R!@ @ ^@^@À
à^@^T^@^@^@^@^@^A^@ ^@^@ ^Q!@ @ ^@^
[...snip...]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Error starting the samba services

2002-12-11 Thread Jean-Paul ARGUDO
Isamp wrote:

rm: cannot remove `/var/lock/subsys/smb': IO Error
touch: creating `/var/lock/subsys/smb': IO Error
What happens ?


Seems your almost your /var partition (or the partition where is your 
/var) is mounted read-only, huh?..

type 'mount' and search for last parameter, you should see either 'rw' 
or 'ro' .

what do you see when you type mount?

--
Jean-Paul ARGUDO

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


Re: [Samba] can we map windows folder onto unix

2002-12-11 Thread Jean-Paul ARGUDO
Does anyone on this list know of any utilities that enables mapping windows
folder onto Unix machine? 

I've accomplished a recent migration. I used smbfs to mount Windows 
shares. Then cp from /mnt/...windowsshares... to /home/users...

It worked perfectly. :-)

Is that an answer?

In Debian environment, just apt-get smbfs, then update your /etc/fstab, 
putting line like:

\\SERVER\usershare	/mnt/server/usershare	smbfs	0	0

# apt-cache search smbfs
smbfs - mount and umount commands for the smbfs (for kernels = than 2.2.x)


--
Jean-Paul ARGUDO

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


Re: [Samba] Precisions to bug 26128

2002-12-11 Thread Jean-Paul ARGUDO
Please give *exact* details on your Samba version


# smbd -V
Version 2.2.3a-12 for Debian

Is that enough for you?

 and your OS

# uname -a
Linux master 2.4.20 #2 SMP Mon Dec 2 18:49:26 CET 2002 i686 unknown
# cat /etc/debian_version
3.0

 and system

It's a DELL PowerEdge 1650. With RAID 0, on two 18Gb disks. It's a 
bi-proc P4 1,4 GHz with 1Meg RAM.

(if it's linux I'd like to see glic version as well). 

# ls -l /lib/libc.*
lrwxrwxrwx1 root root   13 Dec  3 17:28 /lib/libc.so.6 
- libc-2.2.5.so

 I'm trying to track
this down and it's been frustratingly non-reproducible.


Yes. I don't even imagine how a smbd process can alter a file this way :-/

Here are errors taken from log.smbd, hope this could help you :

1/ This error is always there, seems to be put at each client's logon:

[2002/12/12 08:48:15, 0] rpc_server/srv_netlog.c:api_net_sam_logon(206)
  api_net_sam_logon: Failed to marshall NET_R_SAM_LOGON.
[2002/12/12 08:48:15, 0] rpc_server/srv_pipe.c:api_rpcTNP(1200)
  api_rpcTNP: api_netlog_rpc: NET_SAMLOGON failed.

2/ This error has come one from yesterday's reboot (I put oplocks=no in 
smb.conf, because I don't want my user to lose data :-(( hope this could 
 be a soluce... Since reboot, no other file corrupted..)

[2002/12/11 15:18:24, 0] smbd/fileio.c:seek_file(53)
  seek_file: sys_lseek failed. Error was Bad file descriptor



Thanks a lot for your help.

--
Jean-Paul ARGUDO

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