Re: [Samba] checking whether to support ACLs... no

2002-12-08 Thread Simo Sorce
If you are using debian packages be warned that they forcibly disabled
the ACL support even if you rebuild the package (I had a report about
that from a friend don't ask me why I really do not know).

So as I understanded it you have to modify the .deb package so that ACLs
are usable.

Simo.

On Sun, 2002-12-08 at 03:54, Jacob Malmberg wrote:
 Hi,
 This problem is really getting frustrating. I have set up my debian 3 box w/ 
 kernel 2.4.2 patched for ext2/3 ACL support. I have also installed all 
 utilies, both attr and ACL. I have joined the box to my domain using winbind 
 and smbpasswd. I can set permissions all right using setfacl with 
 domain+user but when I try to change permissions via LAN using w2k/xp I get 
 access denied/or it just erases my changes. Also, the permissions do not 
 seem to be the same on samba and the rest of the system, since my changes 
 using setfacl doesnt show up if I try to change permission with w2k/xp. Im 
 using samba 2.2.7 and the latest acl patch. Any thoughts anybody? Help is 
 very appreciated.
 
 regards,
 Jacob
 
 
 
 
 
 _
 The new MSN 8: smart spam protection and 2 months FREE*  
 http://join.msn.com/?page=features/junkmail
-- 
Simo Sorce - [EMAIL PROTECTED]
Xsec s.r.l.
via Durando 10 Ed. G - 20158 - Milano
tel. +39 02 2399 7130 - fax: +39 02 700 442 399



signature.asc
Description: This is a digitally signed message part


[Samba] nmbd behaving...

2002-12-08 Thread Dominik Wagenknecht
Hey Guruz

A few lines from my samba.nmbd log:

[2002/12/08 11:10:07, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(245)
  add_name_to_subnet: Added netbios name ABSTELLKAMMER20 with first 
IP 10.1.2.18 ttl=3600 nb_flags= 0 to subnet 10.1.2.15
[2002/12/08 11:10:07, 3] 
nmbd/nmbd_incomingrequests.c:process_name_query_request(480)
  process_name_query_request: Name query from 10.1.2.111 on subnet 
10.1.2.15 for name ABSTELLKAMMER20

How is that possible???

The request was produced by doing an nmblookup abstellkammer#20 form 
another machine to the wins-server. Result: nothing I can't see 
why, but this happens very very very often.

Now my question is:
- When does nmbd do an dns-request??? (it's configured as wins server 
and dns proxy, When I do a nmblookup nothing happens, when entering the 
same name in explorer it does send an dns-query)

This is exactly the behaviour from above!

Kind regards
--Dominik Wagenknecht

eMail: [EMAIL PROTECTED]

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


[Samba] sharing one profile-directory with multiple users

2002-12-08 Thread Sebastian Schinzel
Hi!

I have built a pdc with debian woody and samba 2.2.3a. The clients are
all identical xp-boxes, and i want to give to all the new created users
one custom look on the desktop on all machiens. 

I have created a default installation with a default wallpaper, some
icons (...) and cloned the image via norton ghost to all the clients.
Then I copied the profiles-directory from my default user to the
profiles-directory of all the users on the pdc.

When i now login the pdc via the client, I dont get the wallpaper, the
icons are moved and the custom restrictions from the default
installation are gone.
It seems, that this is not stored in the profiles-directory.

My problem is that i have to create about 200 different logins and i
really have to give them at least my custom-desktop.

Does anyone have a proper solution for this?

Thanks for your reply!!

Greets,

Sebastian
-- 
Sebastian Schinzel

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



[Samba] deleting files problem

2002-12-08 Thread Bill Dossett
Hi,

I've got what I think is a pretty weird problem.

I'm using redhat 8.0 and their latest samba rpm 2.2.7.

I have a directory

/virtuals/SAMARCAN/asterion_caen/hd4008/tiffout

with about 600 tiff files in it.

When I go this directory and try and delete them,
it deletes about 100 of them or so, but while this
is going on, it says:

N:\virtuals\SAMARCAN\asterion_caen\hd4008\tiffout\hd40006530.TIFF
the system cannot find the file specified

and doesn't delete the rest.. if I do it again, it deletes more
file, but messages still appear, doing it aout 5 or 6 times and
all files are deleted.

I upped log level to 5 in samba and it mentions mangling file names
but couldn't really see any answser there...

Has anyone else seen this behaviour or know what is causing it?

Thanks

Bill

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



[Samba] admin users and printer admin in smb.conf

2002-12-08 Thread Patrick Kwan
I've create a user sambaroot to logon the samba2.2.7 PDC.

I found that If I set this as admin users and printer admin
at the same time, then I can't access/print to samba
 printer share when I login to PDC as user sambaroot.

Then I try remove user sambaroot from admin users, I can access
printer property and print to samba share printer.

Another issue is after I remove the user sambaroot from
admi users, then I try to logout and the system prompt that
Can't save the profile to server. I need to remove the profile
directory of user sambaroot from server then I can login and logout
without any problem.

Are these know issue or I have done something wrong?

My config:
samba 2.2.7
redhat 7.3

Thanks!

Patrick








-
This email was sent using SquirrelMail.
   Webmail for nuts!
http://pat.dyndns.info/webmail/


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



RE: [Samba] SAMBA slower than MARSNWE...

2002-12-08 Thread Gerald Drouillard
Check out http://drouillard.ca/TipsTricks/Samba/Oplocks.htm for some advice
on tuning your file server for database applications.

Regards
-
Gerald Drouillard
Owner and Consultant
Drouillard  Associates, Inc.
http://www.Drouillard.ca

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of Dan Phillips
 Sent: Saturday, December 07, 2002 6:02 PM
 To: [EMAIL PROTECTED]
 Subject: [Samba] SAMBA slower than MARSNWE...


 I actually find Samba a very kewl server app so the subject isn't
 coming from
 someone that has a preference for Netware over samba.  My issue
 is actually
 two-fold, one being the record locking problems in Samba and the
 other being
 the slowness of dos apps in samba.

 I'm not going to post any log messages here as I don't feel that
 for this post
 they're really very relevant.  What I am going to post is some
 information
 about the system, configuration, problems, and my solution.

 Server:
 P4-2ghz Dell Poweredge Srvr
 RAID 5 w/ 56GB useable drv space
 1GB RAM

 Wkstations:
 All P4 1.6Ghz Dells or faster
 256MB Ram
 40+gb drv space
 All Win2k SP3

 All boxes are running at 100mb on a 10/100mb switch

 Ok, that's the bulk of the hardware that should be relevant, now for the
 software:
 SRVR:
 Linux (SuSE v8.1)
 Samba v2.2.5  lock stock and barrell from the SuSE installation
 Kernel 2.4.19-4GB  lock stock and barrell from the SuSE installation

 The workstations are all running the standard install from MS of
 Win2k SP3 and
 TCP only.   This company uses an old DOS application called OPTO.   The
 program when first fired up opens roughly 50 files, mostly .db
 and of course
 the .idx files relating to all the various parts of the database system.
 Within the application, you can call a routine that will show you
 information
 about your client station, the network system as well as how many
 users are
 currently running on the shared database system.  While running
 this program
 from the samba share mapped to a drive letter, we noticed two
 very obvious
 problems, one was that going from one screen to the next in OPTO was
 extremely slow.  Even fireing the program up took way too much time as
 compared to the old Netware 3.12 srvr running on a PII233 w/
 128mb ram and
 only a 10mb lan card.   (Before you guys get to harping on my
 samba config, I
 will add that all of our windows functions, IE. copy files, list files,
 read/write word/excel docs, are extremely fast as they should be).

 Now, that was the problem of the slowdown, next is the record
 locking problem.
 As I mentioned before, OPTO has the ability to see how many
 workstations are
 currently talking to the database.  However, OPTO could not
 always see that
 other users were in the database and therefore would not perform the
 necessary record locking to prevent database corruption.  I spoke
 with the
 OPTO software technicians and they could not provide an answer,
 much less a
 solution, to why this was happening.  I read and learned more
 about oplocks
 and various other record and file locking information than I
 should ever have
 had to know.  Anyway, no matter what I changed in Samba (using
 swat) and even
 restarting samba, made any difference.  I therefore have come to the
 conclusion of two things, one, dos apps are not able to run within samba
 without suffering slow performance.  And record locking also
 seems to be a
 problem under samba, at least for dos apps.

 Now, I still have the problem of getting a srvr for the OPTO program.  I
 stumbled on MARSnwe and decided to give it a try.  I installed
 Mars off the
 SuSE distro disks, made the necessary changes for:
 srvr name
 login info
 volume info

 I installed MS's netware client on each of the win2k boxes and logged in
 mapping a new drive for the mars volume.  Ran opto directly from that new
 location on each machine and noticed two things:  One, the speed was
 lightning fast as it should have been, and two, the record
 locking problems
 were completely illiminated.  Now the server is still Linux, the
 files are
 still located on the same raid 5 drive, the workstations are the
 same, the
 software is still the same, the only difference is OPTO is now
 running from
 the novell emulation instead of samba.

 What the heck is with samba and its dos compatibility.  There are
 two very
 obvious problems that Mars on the SAME linux box was able to
 solve: speed and
 record locking.

 Now I'm not the best linux guru by any means and I don't claim to
 be, that's
 why I spend most of my time reading the samba posts rather than posting.
 However, I have built 1000's of computers and installed 100's of
 networks and
 I would have to say that I have a pretty darn good understanding
 of computer
 hardware and software.  The other thing I need to point out is I'm not
 knocking the samba guys especially the developers of samba
 because I find it
 extremely useful and I've converted several locations to Linux
 from 

[Samba] Print status problem

2002-12-08 Thread Joakim Tjernlund
Hi all

I can not see any Status info for a print job when looking at the print queue in W2K. 
I can Pause,
Cancel etc. but there is never any info in the Status column. I am running Samba 2.2.6 
on RH 7.2

Also changes in the print queue etc. is never updated spontainiously, I have to hit 
Refresh to see
any changes. 

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



[Samba] Sudden Bug

2002-12-08 Thread bernd
High

I'm using samba in my private network since 1 year. Since yesterday I fi 
nd the mesg in the appendix when I trie to print. File transfer works 
fine, you find all printers but its not possible to print anything.

Where to search ?

Thanks a lot


Bernd
[1995/12/08 12:52:10, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_free_read bad magic 0x2e6e7270 at offset=4940
[1995/12/08 12:52:10, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_read bad magic 0xd9fee666 at offset=4888
[1995/12/08 12:52:10, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_read bad magic 0xd9fee666 at offset=4888
[1995/12/08 12:52:10, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_read bad magic 0xd9fee666 at offset=4888
[1995/12/08 12:52:10, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_read bad magic 0xd9fee666 at offset=4888
[1995/12/08 12:52:10, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_read bad magic 0xd9fee666 at offset=4888
[1995/12/08 12:52:10, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_read bad magic 0xd9fee666 at offset=4888
[1995/12/08 12:52:19, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_read bad magic 0xd9fee666 at offset=4888
[1995/12/08 12:52:19, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_read bad magic 0xd9fee666 at offset=4888
[1995/12/08 12:52:19, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_read bad magic 0xd9fee666 at offset=4888
[1995/12/08 12:52:20, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_free_read bad magic 0x2e6e7270 at offset=4940
[1995/12/08 12:52:20, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_read bad magic 0xd9fee666 at offset=4888
[1995/12/08 12:52:20, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_read bad magic 0xd9fee666 at offset=4888
[1995/12/08 12:52:20, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_read bad magic 0xd9fee666 at offset=4888
[1995/12/08 12:52:20, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_read bad magic 0xd9fee666 at offset=4888
[1995/12/08 12:52:20, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_read bad magic 0xd9fee666 at offset=4888
[1995/12/08 12:52:29, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_read bad magic 0xd9fee666 at offset=4888
[1995/12/08 12:53:03, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_free_read bad magic 0x2e6e7270 at offset=4940
[1995/12/08 12:53:03, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_read bad magic 0xd9fee666 at offset=4888
[1995/12/08 12:53:03, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_read bad magic 0xd9fee666 at offset=4888
[1995/12/08 12:53:03, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_read bad magic 0xd9fee666 at offset=4888
[1995/12/08 12:53:03, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_read bad magic 0xd9fee666 at offset=4888
[1995/12/08 12:53:03, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_read bad magic 0xd9fee666 at offset=4888
[1995/12/08 12:53:03, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_read bad magic 0xd9fee666 at offset=4888
[1995/12/08 12:53:03, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_free_read bad magic 0x2e6e7270 at offset=4940
[1995/12/08 12:53:15, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_free_read bad magic 0x2e6e7270 at offset=4940
[1995/12/08 12:53:15, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_read bad magic 0xd9fee666 at offset=4888
[1995/12/08 12:53:15, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_read bad magic 0xd9fee666 at offset=4888
[1995/12/08 12:53:15, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_free_read bad magic 0x2e6e7270 at offset=4940
[1995/12/08 12:53:15, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_read bad magic 0xd9fee666 at offset=4888
[1995/12/08 12:53:15, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_read bad magic 0xd9fee666 at offset=4888
[1995/12/08 12:53:15, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_read bad magic 0xd9fee666 at offset=4888
[1995/12/08 12:53:22, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_free_read bad magic 0x2e6e7270 at offset=4940
[1995/12/08 12:53:22, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_read bad magic 0xd9fee666 at offset=4888
[1995/12/08 12:53:22, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/var/lib/samba/printing.tdb): rec_read bad magic 0xd9fee666 at offset=4888
[1995/12/08 12:53:22, 0] 

[Samba] Re: Permissions problem

2002-12-08 Thread Thabu Pienaar




I've done some testing

from the Samba server, 'smbclient -B 192.168.0.255' 
samba returns a name query failed to find-error. All names are in 
all LMHOSTS and HOSTS files on both Win  Linux machines. All other 
smbclient tests worked fine. Can see shares from Linux on Win, only 
reverse not (from Win to Linux). Can also connect to a Wins share from 
Samba srvr. It seems that the Linux box doesn't respond to name 
queries. How can I fix it?




Here is my smb.conf file...

[global] panic action = 
"" %d workgroup = 
PRIVATE netbios name = SAMBA server string = %h 
server (samba %v) security = user encrypt 
passwords = yes smb passwd file = 
/etc/samba/smbpasswd guest ok = no null 
passwords = Yes passwd program = /usr/bin/passwd 
%u passwd chat debug = yes debug level = 
3 log level = 3 passwd chat = 
*Enter\snew\SUNIX\spassword:*%n\n *Retype\snew\SUNIX\spassword:* 
%n\n*passwd:\spassword\supdated*. unix password sync = 
yes syslog = 0 log file = 
/var/log/samba/log.%m max log size = 1000 socket 
options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 domain 
logons = no local master = yes os level = 
64 preferred master = yes domain master = yes 
 enhanced browsing = yes wins support = 
yes printcap name = /etc/printcap load printers 
= yes print command = lp -d%p -oraw %s; rm %s 
lpq command = lpstat -o%p lprm command = cancel 
%p-%j queuepause command = disable %p 
queueresume command = enable %p show add printer wizard = 
yes printing = lprng preserve case = 
no short preserve case = no default case = 
lower case sensitive = no

[netlogon] comment = network Logon 
Service path = /home/samba/netlogon guest ok = 
yes share modes = no hosts allow = 192.168.0. 
192.168.1. 127.

# Share Definitions 
==

[homes] comment = Home Directories 
browseable = no writable = yes valid users = 
%S create mode = 0664 directory mode = 
0775 map to guest = bad user

[tmp] comment = Temporary file space path = 
/tmp read only = no public = yes

[public] comment = Public Stuff path = 
/home/samba public = yes writable = 
yes printable = no write list = @staff

[thabusdir] comment = Thabu's Service path 
= /home/thabu valid users = thabu root Thabu 
public = no writable = yes printable = no

[myshare] comment = Thabu and Antoinette's 
stuff path = /home/public valid users = thabu 
antoinette Thabu Antoinette public = no writable 
= yes printable = no create mask = 
0765
***

Thanks

Thabu


  - Original Message - 
  From: 
  Thabu 
  Pienaar 
  To: [EMAIL PROTECTED] 
  Sent: Friday, December 06, 2002 12:07 
  AM
  Subject: Permissions problem
  
  Help Please
  
  When I try to connect from Win XP Pro to my Samba 
  Server, I get this error...
  
  "Samba is not accessible. You might not have 
  permissiont o use this network resource." (attached error gif). 
  
  I have a smbpasswd file created from 
  /etc/passwd, configured exactly like my XP username and password.
  
  Thanks
  
  
  Thabu 
  Pienaar*ComputerNetWitrivier / White 
  RiverSuid-Afrika / South Africa+27 (0) 83 349-6588
  


[Samba] Installation Samba 2.2.7

2002-12-08 Thread Software
Hello!

I have a question about installing samba on my linux.
I have ThizLinux 6.0 (delivered with the mainboard Chaintech 7VJL) on my PC.
There isn´t any samba-server installed, so I have download  it from your
server
(samba-2.2.7.tar.gz) after using tar (tar xvfz samba-2.2.7.tar.gz) and
reading
your instruction i did like you say:
I chang the directory (cd /root/Download/samba-2.2.7/source) and execute
./configure  and then the problems starts.
Following terms were listed:
   creating cache ./config.cache
   checking for gcc... no
   checking for cc... no
   configure: error: no acceptable cc found in $PATH
and the program stopt.
Calling make:
   make: *** No targets specified and no makefile found.  Stop.

Is it a wrong directory? Is there a bug? ???

And now somthing special:
My knowledge in linux is not very got, because I am a very beginner!
My english is not very well, so please try to use a simple style to answer
me.


Thanks!!!

From good cold ...sorry... old germany.
Hajo Thiel

attachment: winmail.dat

Re: [Samba] Installation Samba 2.2.7

2002-12-08 Thread Dominik Wagenknecht
Hi

I don't know which Linux ThizLinux should be, but your error means that 
you don't have a c compiler installed. (which is standard on almost 
every Linux Distribution)

As a beginner you should perhaps begin playing around with a 
distribution like RedHat or SuSE

Greetings
--Dominik

Am Sonntag, 08.12.02 um 19:25 Uhr schrieb Software:

Hello!

I have a question about installing samba on my linux.
I have ThizLinux 6.0 (delivered with the mainboard Chaintech 7VJL) on 
my PC.
There isn´t any samba-server installed, so I have download  it from 
your
server
(samba-2.2.7.tar.gz) after using tar (tar xvfz samba-2.2.7.tar.gz) and
reading
your instruction i did like you say:
I chang the directory (cd /root/Download/samba-2.2.7/source) and 
execute
./configure  and then the problems starts.
Following terms were listed:
   creating cache ./config.cache
   checking for gcc... no
   checking for cc... no
   configure: error: no acceptable cc found in $PATH
and the program stopt.
Calling make:
   make: *** No targets specified and no makefile found.  Stop.

Is it a wrong directory? Is there a bug? ???

And now somthing special:
My knowledge in linux is not very got, because I am a very beginner!
My english is not very well, so please try to use a simple style to 
answer
me.


Thanks!!!

From good cold ...sorry... old germany.

Hajo Thiel
winmail.dat

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



[Samba] NTLMv2 and Samba server

2002-12-08 Thread yuval
Does Samba server recognize NTLM2?
Since i've changed my win2K workstations registry (LMcompatibilitylevel) to
send
NTLMv2 authentication only (dword=3) can't connect to samba server
Any knowladge how to  solve this is wellcomed




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



[Samba] Serious recurring problem with Samba 2.2.7

2002-12-08 Thread Matthew Anderson
Hey guys, I'm new to watching the list, and while I'll be looking through
the archives as soon as I'm done sending this, I thought I ought to post my
problem anyway.

I'm running 2.2.7 on two machines on my network, with a 2k server running
WINS.

Periodically, when samba is running, network traffic to various places dies.
It gets restored, and it dies, randomly.

Most of the time, it's intranet traffic, i.e. traffic on the local network..
But periodically, it affects Internet traffic as well.

I know that samba is causing the problem, but I don't know why, what to look
for in the logs, nor how to debug the problem.  Any help you can give is
much appreciated.  Thanks!




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



[Samba] Samba and NTLMv2

2002-12-08 Thread yuval
Does Samba server recognize NTLM2?
Since i've changed my win2K workstations registry (LMcompatibilitylevel) to
send
NTLMv2 authentication only (dword=3) can't connect to samba server
Any knowladge how to  solve this is wellcomed





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



Re: [Samba] deleting files problem

2002-12-08 Thread David Morel
Bill Dossett wrote:


Hi,

I've got what I think is a pretty weird problem.

I'm using redhat 8.0 and their latest samba rpm 2.2.7.

I have a directory

/virtuals/SAMARCAN/asterion_caen/hd4008/tiffout

with about 600 tiff files in it.

When I go this directory and try and delete them,
it deletes about 100 of them or so, but while this
is going on, it says:

N:\virtuals\SAMARCAN\asterion_caen\hd4008\tiffout\hd40006530.TIFF
the system cannot find the file specified

and doesn't delete the rest.. if I do it again, it deletes more
file, but messages still appear, doing it aout 5 or 6 times and
all files are deleted.

I upped log level to 5 in samba and it mentions mangling file names
but couldn't really see any answser there...

Has anyone else seen this behaviour or know what is causing it?

Thanks

Bill


have you tried setting : mangling method = hash2 in smb.conf ?
in directories with lots of similar filenames, it might help.


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



[Samba] Antivirus

2002-12-08 Thread cantisan



Anyone are using Server Protect for Linux to 
protect the files on Samba File Server ? Are there any other product, I want to 
check every file saved on my file server.


RE: [Samba] Installation Samba 2.2.7

2002-12-08 Thread Skip Dobrin
What the error is telling you is that you do not have a C Compiler installed
on your system or that the path to it is not configured correctly.  If
ThizLinux is not shipped with a C Compiler, you can download gcc from
www.GNU.org http://www.GNU.org .  Once the compiler is installed and the
paths are set correctly then attempt to install samba again.

Skip :-) 

 -Original Message-
From:   [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] 
Sent:   Sunday, December 08, 2002 1:26 PM
To: [EMAIL PROTECTED]
Subject:[Samba] Installation Samba 2.2.7

Hello!

I have a question about installing samba on my linux.
I have ThizLinux 6.0 (delivered with the mainboard Chaintech
7VJL) on my PC.
There isn´t any samba-server installed, so I have download
it from your server
(samba-2.2.7.tar.gz) after using tar (tar xvfz
samba-2.2.7.tar.gz) and reading
your instruction i did like you say:
I chang the directory (cd /root/Download/samba-2.2.7/source)
and execute
./configure  and then the problems starts.
Following terms were listed:
   creating cache ./config.cache
   checking for gcc... no
   checking for cc... no
   configure: error: no acceptable cc found in $PATH
and the program stopt.
Calling make:
   make: *** No targets specified and no makefile found.
Stop.

Is it a wrong directory? Is there a bug? ???

And now somthing special:
My knowledge in linux is not very got, because I am a very
beginner!
My english is not very well, so please try to use a simple
style to answer me.


Thanks!!!

From good cold ...sorry... old germany.
Hajo Thiel

attachment: winmail.dat

[Samba] 3 Wishes Lingerie * * * Christmas Gift ideas * * *

2002-12-08 Thread 3WishesLingerie
Title: Christmas Gift ideas







3 Wishes Lingerie *
* * Christmas Gift ideas * * *
 

Naughty or Nice? It
Doesn't Matter.
We've Got Gifts for Either One!
See More
__

  Naughty  Hot
Holiday Teddy

Holiday Teddy - Marabou and Velvet Thong Back Teddy.
One Size in Emerald or Ruby. Only $25.95 Delivered.
See More
__

 Nice   Velvet
Pom Pom Outfit

Pom Pom  Velvet Halter Top with Thong.
One Size in Emerald or Ruby. Only $29.95 Delivered.
See More
__

  Naughty  Got Your Christmas
Tree Baby?

Christmas Tree  Bow Babydoll with Thong.
Sure to light up the night. A must have!
See More
__

 Nice  Velvet
Santa
Hat

The Very Best Velvet-Marabou  Santa Hat
Ever.
 These always sell out early, order yours today.
See More
__

Get Someone Special, Something Special, Today.
Hundreds of Great Gift ideas at 3 Wishes Lingerie.
New Items
Cheerleader
Christmas
French Maid
Lingerie
Nurse
Plus Size
School Girl
Shoes
Sugar  Spice
And So Much More!
Order Early before items Sell Out and Time Runs
Out.

Always Free Shipping only takes 3 to 5 Business days.
Express Shipping Available.

P.S. Don't forget to get a Present or Surprise
Outfit for New Year's Eve.

__
*


Merry Christmas  A Happy New Year's to You,
from all of us at 3 Wishes Lingerie.

__
*


===
* PLEASE DO NOT REPLY TO THIS MESSAGE! *
===
This is an automated process. Replies to this message are
only used to determine e-mail failures. If you need to
contact us use the following methods:

Contact us at [EMAIL PROTECTED]

3 Wishes Lingerie Web Address is http://www.3wisheslingerie.com

To SUBSCRIBE send a blank e-mail to
[EMAIL PROTECTED] 


To UNSUBSCRIBE just reply to this e-mail or follow the directions below.








[Samba] unable to connect to SWAT

2002-12-08 Thread yuval
samba ver (all- common,client,swat ..) = 2.2.7 rel 2

 /etc/xinetd.d/swat  
disable is commented
only from localhost
 =
smb is started (#service smb start)
==
# netstat -l | grep 901
tcp0  0 *:901   *:* LISTEN

===  This is the result of lynx localhost:901 
Looking up localhost first
Looking up localhost:901
localhost:901
Making HTTP connection to localhost:901
Sending HTTP request.
HTTP request sent; waiting for response.
Retrying as HTTP0 request.
Looking up localhost:901
localhost:901
Making HTTP connection to localhost:901
Sending HTTP request.
HTTP request sent; waiting for response.
Alert!: Unexpected network read error; connection aborted.
Can't Access `http://localhost:901/'
Alert!: Unable to access document.

lynx: Can't access startfile

Does anyone has a clue what is going on ? i've succeeded only once and then
all the above ..




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



Re: [Samba] Serious recurring problem with Samba 2.2.7

2002-12-08 Thread John H Terpstra
On Sun, 8 Dec 2002, Matthew Anderson wrote:

 Hey guys, I'm new to watching the list, and while I'll be looking through
 the archives as soon as I'm done sending this, I thought I ought to post my
 problem anyway.

 I'm running 2.2.7 on two machines on my network, with a 2k server running
 WINS.

 Periodically, when samba is running, network traffic to various places dies.
 It gets restored, and it dies, randomly.

More information please. This is too vague and we do not yet read minds
well.

 Most of the time, it's intranet traffic, i.e. traffic on the local network..
 But periodically, it affects Internet traffic as well.

 I know that samba is causing the problem, but I don't know why, what to look
 for in the logs, nor how to debug the problem.  Any help you can give is
 much appreciated.  Thanks!

Please explain HOW you know that Samba is causing this problem. It might
help us to understand what to advise next.

- John T.
-- 
John H Terpstra
Email: [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] Serious recurring problem with Samba 2.2.7

2002-12-08 Thread Matthew R J Anderson
I apologize for the terse message.  I will volunteer as much information as
possible.

I know that samba is the cause of this problem because on several occasions
when network traffic fails I have killed smbd and nmbd from the console, and
afterwards the problem disappeared immediately.

Both of the servers are running fairly rudimentary configurations to allow
/tmp and home directory access from Windows clients.  I can post configs if
needed.

Basically, I'm wondering if anyone knows of any scenarios where this strange
behavior can happen.

This morning I reconfigured the servers to use only one interface of the two
that are in the machine (they're multihomed) and while I haven't had any
problems since then, I am not convinced that the problem is solved.
However, I'd like to know if anyone has heard of this problem on multihomed
machines?

Thanks again, I can provide any information about the server machines that
is needed.

-Matt
- Original Message -
From: John H Terpstra [EMAIL PROTECTED]
To: Matthew Anderson [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, December 08, 2002 3:15 PM
Subject: Re: [Samba] Serious recurring problem with Samba 2.2.7


 On Sun, 8 Dec 2002, Matthew Anderson wrote:

  Hey guys, I'm new to watching the list, and while I'll be looking
through
  the archives as soon as I'm done sending this, I thought I ought to post
my
  problem anyway.
 
  I'm running 2.2.7 on two machines on my network, with a 2k server
running
  WINS.
 
  Periodically, when samba is running, network traffic to various places
dies.
  It gets restored, and it dies, randomly.

 More information please. This is too vague and we do not yet read minds
 well.

  Most of the time, it's intranet traffic, i.e. traffic on the local
network..
  But periodically, it affects Internet traffic as well.
 
  I know that samba is causing the problem, but I don't know why, what to
look
  for in the logs, nor how to debug the problem.  Any help you can give is
  much appreciated.  Thanks!

 Please explain HOW you know that Samba is causing this problem. It might
 help us to understand what to advise next.

 - John T.
 --
 John H Terpstra
 Email: [EMAIL PROTECTED]


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



[Samba] Trouble mounting Win2000 directory on RedHat Linux

2002-12-08 Thread Jason Rizer
Hello,

I have for some time been using samba to mount one of
my NT directories to a Red Hat Linux box.  It's Red
Hat 7.2 running kernal 2.4.7-10.  I've recently
replaced my NT installation with Win2000 and now I'm
having some difficulties.  The command I've always
issued is:

mount -t smbfs -o username=jrizer/MyDomain
//MyMachine/projects /mnt/MyMachine

Now when I issue this command I get the following
error:

1729: tree connect failed: ERRDOS - Errnosuchshare
(You specified an invalid share name)

It seems that it can't locate the projects directory.

If instead I replace //MyMachine/projects with
//MyMachine/c$ and replace jrizer with Administrator
I'm able to mount my c drive but only
certain subdirectories are present in the mount.

For example 'ls -l /mnt/MyMachine' only displays
certain of the subdirectories which actually exist. 
The ones which are displayed all seem to be part of
the standard windows installation.  For example,
'Patches', 'Program Files', and 'RECYCLED' are all
present, but none of the directories I've created are.
 I can't seem to figure out what is the
differentiating factor so I can modify the 'projects'
directory accordingly. Does anyone know what my
problem might be or how I can solve it?  I've been
banging my head against this one for about a week now.
I apologize for being so long winded :)

-Jason


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] serious problem with W2K TS and 2.2.7 PDC

2002-12-08 Thread Robert Stuart
Hi,

My setup:

RedHat 7.3 PDC server with samba 2.2.7 rpm rebuilt with max connections
patch and ldapsam and a few other minor changes, openldap 2.0.23-4.

Windows 2000 Terminal Server with SP3, with various pre SP4 updates
too.  Various Win2K Pro, Win95 OSR2 clients.

[homes]
   comment = Home
   writable = yes
   valid users = %S
   nt acl support = no
   oplocks = no
   path = /md3/profiles/%U
   share modes = no


The log for each TS has many of these errors (for various users):

[2002/12/06 16:39:14, 0] smbd/service.c:make_connection(597) ts5
(10.2.3.15) Can't change directory to /md3/profiles/rstu (Permission
denied)

This does NOT happen everytime that the share is accessed, only
sometimes.  This did not happen with 2.2.6.  It is not an issue on
standalone W2K pro machines that I have tested.

Is it likely that the %U expansion fixes broke this - some assumption
with one pid/connection == one user?

I intend to undo the %U changes to 2.2.7 and see if that works.

On another issue, we get a lot of errors regarding failed connections to
truncated service names.  For example we have a service called 'apps'
and sometimes (I never notice when or how) we get errors similar to
this:

[2002/11/27 11:25:04, 0] smbd/service.c:make_connection(251)
  iceberg-ts1 (10.2.3.6) couldn't find service app

It only ever drops the last character and happens fairly frequently on
different shares.  This has happened for quite a while, but hasn't had
any noticeable effect on users.

Any suggestions?  I'm not subscribed to the list.

Thanks,

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



Re: [Samba] Samba ACL

2002-12-08 Thread Ronan Waide
On December 7, [EMAIL PROTECTED] said:
 No, the option/s/ are all enabled in the kernel. What's missing, I
 think, is all the rest of the support: libacl, libattr, patched
 fileutils, etc. I'm currently rebuilding various bits and pieces to
 see if I can make it work without too much grief.

Okay, clarifying my clarification. The ACL defs are in the main
configuration section, but none of the patches in the rest of the
kernel tree appear to be present. Drat.

Cheers,
Waider.
-- 
[EMAIL PROTECTED] / Yes, it /is/ very personal of me.
That's something tas mentioned in passing once or twice...DSP, so
 what is it? If it's anything to do with the glorious Limerick era
 then David's probably better off out of it. - Dalton Moloney 29/03/1996
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] No mapping between usernames and ID's was done

2002-12-08 Thread S. Loeffler
To Whom This May Concern,

I am getting the error No mapping between usernames and ID's
was done when trying to add a Win2k SP2 box to my Samba domain. I have
checked various smb.conf files and not noticed that I am missing
anything etc. I was able to get to this machine to join a samba domain
approx 6 months ago but had to scrap the domain due to my samba box
dying. I have hacked the windoze registry and taken out any relics of
this machine being on a previous samba domain.

I have enclosed my smb.conf file, any suggestions would help. I
am also running FreeBSD 4.7-RELEASE and installed samba via the FreeBSD
ports collection.

Thanks,
Scott

[morningwood-2] log # more /usr/local/etc/smb.conf
# from morningwood-3 (192.168.1.5)
# Date: 2002/12/08 18:03:10

# Global parameters
[global]
workgroup = MORNINGWOOD
netbios name = MORNINGWOOD-2
server string = Samba Server
domain admin group = @wheel
add user script = /usr/sbin/adduser -n -g machines -c Machine -d
/dev/null -s /bin/false %m$
encrypt passwords = Yes
log file = /var/log/log.%m
max log size = 50
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE
SO_RCVBUF=8192 SO_SNDBUF=8192
logon path = \\%N\profiles\%u
logon drive = Z:
logon home = \\home\%u
domain logons = Yes
os level = 99
preferred master = Yes
domain master = Yes
dns proxy = No
wins support = No
hide local users = Yes
local master = Yes
security = User

[homes]
comment = Home Directories
read only = No
browseable = No
create mode = 0600
directory mode = 0700
path = %H
valid users = %S

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[scott]
comment = home directory
path = /home/sloeffle
username = sloeffle
valid users = sloeffle
read only = No

[netlogon]

path = /home/sambausers
read only = no
write list = root

[profiles]

path = /usr/local/private/ntprofile
read only = no
create mask = 0600
directory mask - 0700

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



Re: [Samba] directory vs. file delete permissions

2002-12-08 Thread Mike Williamson
Yes, you guys nailed it-- the sticky bit fixed it.  
Thanks!

- Original Message - 
From: mlh [EMAIL PROTECTED]
To: root [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Saturday, December 07, 2002 6:19 PM
Subject: Re: [Samba] directory vs. file delete permissions


 My quick answer is to make the directory sticky:
  chmod +t /home/samba/apps
 this prevents non-owners from deleting files, even
 if they have directory write permission. (this is
 a unix thing, not a samba thing)
 
 A further comment though, if you allow smbusers to write
 via unix permissions, you do not have to add that to
 the smb.conf 'write list' as well.
 
 Matt

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



Re: [Samba] Antivirus

2002-12-08 Thread Mike Williamson



Take a look at Vexira, www.centralcommand.com . 
Apparently it will provide on-access scanning Samba shares. I'm not using 
it _yet_ but it sounds like a great fit forSamba file 
servers.

Sophos has a Unix/Linux product but it isn't set up 
to automatically scan files that remote users write to the server. 
However, I suspect that it's possible-- with some creativity-- since 
AMaViSuses Sophos to scan e-mail passing through Sendmail.



  - Original Message - 
  From: 
  cantisan 
  
  To: [EMAIL PROTECTED] 
  Sent: Sunday, December 08, 2002 2:45 
  PM
  Subject: [Samba] Antivirus
  
  Anyone are using Server Protect for Linux to 
  protect the files on Samba File Server ? Are there any other product, I want 
  to check every file saved on my file 
server.


[Samba] Printing problems

2002-12-08 Thread Stephen Kuhn
I'm using Samba 2.2.7, RH 7.3, CUPS printing to a Canon BJC-265SP,
accessing the shared printer via either regular network connection
from a WinXP workstation or via VMWare WinXP; I've shared the printer
via Samba, but when printing, instead of EOL's, the printer is receiving
EOP's - (for each line printed to the printer, a new sheet gets put in
instead of an end-of-line)...hence, printing is not good. 

Any suggestions?

TIA,
Stephen

-- 
Mon Dec  9 15:00:00 EST 2002
  3:00pm  up 18:45,  5 users,  load average: 0.40, 0.33, 0.47

   .o0 linux user:267497 0o.

|____  | kühn media australia
|   /  \ /| |'-.   | http://kma.0catch.com
|  .\__/ || |   |  | 
|   _ /  `._ \|_|_.-'  | stephen kühn
|  | /  \__.`=._) (_   |  email: [EMAIL PROTECTED]
|  |/ ._/  || |  email: [EMAIL PROTECTED]
|  |'.  `\ | | |icq: 5483808
|  ;/ / | | |
|  smk  ) /_/| |.---.| | mobile: 0410-728-389
|  '  `-`'   | Berkeley, New South Wales, AU

Coralament*Best Grötens*Liebe Grüße*Best Regards*Elkorajn Salutojn

   Gypsy robot: You want to die? 
   Bender: No, I wanna live! There's still too many things I don't own.  
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Printing problems

2002-12-08 Thread Joel Hammer
Just some random thoughts:

Do you know what commmand is actually being sent at the end of each line? Is
is really a newpage command?

Is there a DIP switch on the printer that may affect this behavior?

Does this happen when you attach the printer directly to a windows client?

Can you print successfully from the linux server to the printer?

Joel

On Mon, Dec 09, 2002 at 03:04:54PM +1100, Stephen Kuhn wrote:
 I'm using Samba 2.2.7, RH 7.3, CUPS printing to a Canon BJC-265SP,
 accessing the shared printer via either regular network connection
 from a WinXP workstation or via VMWare WinXP; I've shared the printer
 via Samba, but when printing, instead of EOL's, the printer is receiving
 EOP's - (for each line printed to the printer, a new sheet gets put in
 instead of an end-of-line)...hence, printing is not good. 
 
 Any suggestions?
 
 TIA,
 Stephen
 
 -- 
 Mon Dec  9 15:00:00 EST 2002
   3:00pm  up 18:45,  5 users,  load average: 0.40, 0.33, 0.47
 
.o0 linux user:267497 0o.
 
 |____  | kühn media australia
 |   /  \ /| |'-.   | http://kma.0catch.com
 |  .\__/ || |   |  | 
 |   _ /  `._ \|_|_.-'  | stephen kühn
 |  | /  \__.`=._) (_   |  email: [EMAIL PROTECTED]
 |  |/ ._/  || |  email: [EMAIL PROTECTED]
 |  |'.  `\ | | |icq: 5483808
 |  ;/ / | | |
 |  smk  ) /_/| |.---.| | mobile: 0410-728-389
 |  '  `-`'   | Berkeley, New South Wales, AU
 
 Coralament*Best Grötens*Liebe Grüße*Best Regards*Elkorajn Salutojn
 
Gypsy robot: You want to die? 
Bender: No, I wanna live! There's still too many things I don't own.  
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Printing problems

2002-12-08 Thread Stephen Kuhn
On Mon, 2002-12-09 at 15:15, Joel Hammer wrote:
 Just some random thoughts:
 
 Do you know what commmand is actually being sent at the end of each line? Is
 is really a newpage command?
 
Yeppers, shore is...

 Is there a DIP switch on the printer that may affect this behavior?
 
It's a WinPrinter - no such thing as a DIP on it...

 Does this happen when you attach the printer directly to a windows client?
 
Nope. If I discon the prn from this box and stick it on a Win box, it's
happy.

 Can you print successfully from the linux server to the printer?
 
If I print directly from linux, it's happy. Prints directly from Win,
it's happy. Print through SAMBA, it freaks out.

 Joel

-- 
Mon Dec  9 15:35:00 EST 2002
  3:35pm  up 19:20,  5 users,  load average: 0.00, 0.00, 0.07

   .o0 linux user:267497 0o.

|____  | kühn media australia
|   /  \ /| |'-.   | http://kma.0catch.com
|  .\__/ || |   |  | 
|   _ /  `._ \|_|_.-'  | stephen kühn
|  | /  \__.`=._) (_   |  email: [EMAIL PROTECTED]
|  |/ ._/  || |  email: [EMAIL PROTECTED]
|  |'.  `\ | | |icq: 5483808
|  ;/ / | | |
|  smk  ) /_/| |.---.| | mobile: 0410-728-389
|  '  `-`'   | Berkeley, New South Wales, AU

Coralament*Best Grötens*Liebe Grüße*Best Regards*Elkorajn Salutojn

Gumperson's Law:
The probability of a given event occurring is inversely
proportional to its desirability.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Printing problems

2002-12-08 Thread Joel Hammer
I know nothing about cups.

Here is what I would do.

I would change the print command in my smb.conf to something like echo have
printed this thing %s  /tmp/junk

The file should be saved on your hard drive somewhere, in the spool directory
you made for it with the name %s.

Try cat'ing the file to /dev/lpX, and see if it prints properly. This will
bypass the cups printing software.

You might also try to figure out what cups is doing with this file after it
lands on your hard drive.

Joel

On Mon, Dec 09, 2002 at 03:39:08PM +1100, Stephen Kuhn wrote:
 On Mon, 2002-12-09 at 15:15, Joel Hammer wrote:
  Just some random thoughts:
  
  Do you know what commmand is actually being sent at the end of each line? Is
  is really a newpage command?
  
 Yeppers, shore is...
 
  Is there a DIP switch on the printer that may affect this behavior?
  
 It's a WinPrinter - no such thing as a DIP on it...
 
  Does this happen when you attach the printer directly to a windows client?
  
 Nope. If I discon the prn from this box and stick it on a Win box, it's
 happy.
 
  Can you print successfully from the linux server to the printer?
  
 If I print directly from linux, it's happy. Prints directly from Win,
 it's happy. Print through SAMBA, it freaks out.
 
  Joel
 
 -- 
 Mon Dec  9 15:35:00 EST 2002
   3:35pm  up 19:20,  5 users,  load average: 0.00, 0.00, 0.07
 
.o0 linux user:267497 0o.
 
 |____  | kühn media australia
 |   /  \ /| |'-.   | http://kma.0catch.com
 |  .\__/ || |   |  | 
 |   _ /  `._ \|_|_.-'  | stephen kühn
 |  | /  \__.`=._) (_   |  email: [EMAIL PROTECTED]
 |  |/ ._/  || |  email: [EMAIL PROTECTED]
 |  |'.  `\ | | |icq: 5483808
 |  ;/ / | | |
 |  smk  ) /_/| |.---.| | mobile: 0410-728-389
 |  '  `-`'   | Berkeley, New South Wales, AU
 
 Coralament*Best Grötens*Liebe Grüße*Best Regards*Elkorajn Salutojn
 
 Gumperson's Law:
   The probability of a given event occurring is inversely
   proportional to its desirability.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Has anybody got ACL to work w/ debian, winbindd in a w2k mixed domain?

2002-12-08 Thread Markus Amersdorfer
On Sun, 08 Dec 2002 23:06:45 +
Jacob Malmberg [EMAIL PROTECTED] wrote:

 Ppl also tell me this is because of some bug in 
 debian. So, as the subject says, anybody got acl to work w/ debian 3, 
 winbindd in a domain?

I wrote down my process of getting XFS and Samba-with-ACL working with
Debian 3 here:  http://homex.subnet.at/~max/comp-12_xfs.php
Mind: I did not play 'round with winbindd.

So long,
Max

-- 
The first time any man's freedom is trodden on, we're all damaged.
   Cpt. Picard, The Drumhead, StarTrek TNG

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



Re: [Samba] Has anybody got ACL to work w/ debian, winbindd in aw2k mixed domain?

2002-12-08 Thread Anthony J. Breeds-Taurima
On Mon, 9 Dec 2002, Markus Amersdorfer wrote:

 On Sun, 08 Dec 2002 23:06:45 +
 Jacob Malmberg [EMAIL PROTECTED] wrote:
 
  Ppl also tell me this is because of some bug in 
  debian. So, as the subject says, anybody got acl to work w/ debian 3, 
  winbindd in a domain?
 
 I wrote down my process of getting XFS and Samba-with-ACL working with
 Debian 3 here:  http://homex.subnet.at/~max/comp-12_xfs.php
 Mind: I did not play 'round with winbindd.


Sorry I missed the original post.

Yes I have gotten samba 2.2.7 working with ACL's (ext3) and winbindd on a
woody box with 12 sid packaages.


Yours Tony

   Jan 22-25 2003   Linux.Conf.AUhttp://linux.conf.au/
  The Australian Linux Technical Conference!

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



typo in Makefile.in

2002-12-08 Thread Bradley W. Langhorst

s/CONFIGFIR/CONFIGDIR/

brad
-- 
Bradley W. Langhorst [EMAIL PROTECTED]




serious problem with W2K TS and 2.2.7 PDC

2002-12-08 Thread Robert Stuart
Hi,

My setup:

RedHat 7.3 PDC server with samba 2.2.7 rpm rebuilt with max connections
patch and ldapsam and a few other minor changes, openldap 2.0.23-4.

Windows 2000 Terminal Server with SP3, with various pre SP4 updates
too.  Various Win2K Pro, Win95 OSR2 clients.

[homes]
   comment = Home
   writable = yes
   valid users = %S
   nt acl support = no
   oplocks = no
   path = /md3/profiles/%U
   share modes = no


The log for each TS has many of these errors (for various users):

[2002/12/06 16:39:14, 0] smbd/service.c:make_connection(597) ts5
(10.2.3.15) Can't change directory to /md3/profiles/rstu (Permission
denied)

This does NOT happen everytime that the share is accessed, only
sometimes.  This did not happen with 2.2.6.  It is not an issue on
standalone W2K pro machines that I have tested.

Is it likely that the %U expansion fixes broke this - some assumption
with one pid/connection == one user?

I intend to undo the %U changes to 2.2.7 and see if that works.

On another issue, we get a lot of errors regarding failed connections to
truncated service names.  For example we have a service called 'apps'
and sometimes (I never notice when or how) we get errors similar to
this:

[2002/11/27 11:25:04, 0] smbd/service.c:make_connection(251)
  iceberg-ts1 (10.2.3.6) couldn't find service app

It only ever drops the last character and happens fairly frequently on
different shares.  This has happened for quite a while, but hasn't had
any noticeable effect on users.

Any suggestions?  I'm not subscribed to the list.

Thanks,

Robert Stuart
Systems Administrator



Minor improvement to libsmbclient.c

2002-12-08 Thread Jrgen Appel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi.

I was working on a little project using libsmclient when i discovered 
something odd:

I wrote a little program listing the directory contents in smb:// with 
smbc_opendir to display a list of all workgroups.

Ususally this works quite well. But if some time passes between 
subsequent opendir(smb://) calls, the LMB might have restarted or 
even changed.

Libsmbclient has a clever way to reuse existing connections via 
smbc_server() but this causes problems in this case. After a restart of 
the LMB the connection from that I got the list of Workgroups the first 
time, gets disconnected, but smbc_server() does not yet know about 
this. It constantly offers me the same dead connection instead of 
creating a new one.

I discovered, that in smbc_close() a similar problem must have been 
tackled by calling smbc_remove_unused_server(srv) to try to remove the 
dead connection from the list of connections in case of an error.

Though I am not fully aware how this would help if the connection is 
used by more than 1 open file/dir, it seemed to me, that
calling smbc_remove_unused_server() after an error has happened in 
smbc_opendir.

Adding this line prior the return -1; in each 
cli_NetServerEnum-Failiure-Branch made my error disappear. What Do you 
think? Should this go into the main branch? Or is there a better way to 
tell libsmbclient to try to reestablish a dead connection?
Perhaps make smbc_server() check the validity of a connection each time 
it returns one?

Greetings
Jürgen

- -- 
GPG key: 
http://pgp.mit.edu:11371/pks/lookup?search=J%FCrgen+Appelop=get
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAj3z4bEACgkQ7h8HhBg+h9WIrQCgpIvZF2XO1z4EsobFRsdE7C9x
t34AnA1rZr9r3aSLu21kF2KgMUSSRVnC
=+u38
-END PGP SIGNATURE-



Did someone send a patch for libsmbclient?

2002-12-08 Thread Richard Sharpe
Hi,

I seem to recall seeing a patch, but seem to have deleted it?

Can anyone forward it to me?

Regards
-
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com




Funny keys in NTUSER.DAT

2002-12-08 Thread Richard Sharpe
Hi,

In my quest to write a registry editor for UNIX, which will take a few 
more days, I have come across a funny key name in the NTUSER.DAT file:

Type: Sub key, Key Hash: S-1-, Key Name: 
S-1-5-21-129735678-430395340-1080627117-2002
  Owner SID: S-1-5-32-544
  Group SID: S-1-5-18
  SACL: NONE
  DACL: ACEs: 1
 Type: Allow, Flags: 02, Perms: 000F003F, SID: S-1-5-18
  Value: Migrate : REG_DWORD : 0x2

What would this key be used for?

Regards
-
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com




CVS update: samba/source/include

2002-12-08 Thread idra

Date:   Sun Dec  8 11:13:23 2002
Author: idra

Update of /data/cvs/samba/source/include
In directory dp.samba.org:/tmp/cvs-serv21023/include

Modified Files:
  Tag: SAMBA_2_2
proto.h 
Log Message:

correctly handle querygroup rpcclient command so that it actually returns something 
instead of losing it down in the code ...

Simo.



Revisions:
proto.h 1.900.2.406 = 1.900.2.407

http://www.samba.org/cgi-bin/cvsweb/samba/source/include/proto.h?r1=1.900.2.406r2=1.900.2.407



CVS update: samba/source/libsmb

2002-12-08 Thread idra

Date:   Sun Dec  8 11:13:23 2002
Author: idra

Update of /data/cvs/samba/source/libsmb
In directory dp.samba.org:/tmp/cvs-serv21023/libsmb

Modified Files:
  Tag: SAMBA_2_2
cli_samr.c 
Log Message:

correctly handle querygroup rpcclient command so that it actually returns something 
instead of losing it down in the code ...

Simo.



Revisions:
cli_samr.c  1.5.2.9 = 1.5.2.10

http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/cli_samr.c?r1=1.5.2.9r2=1.5.2.10



CVS update: samba/source/rpcclient

2002-12-08 Thread idra

Date:   Sun Dec  8 11:13:23 2002
Author: idra

Update of /data/cvs/samba/source/rpcclient
In directory dp.samba.org:/tmp/cvs-serv21023/rpcclient

Modified Files:
  Tag: SAMBA_2_2
cmd_samr.c 
Log Message:

correctly handle querygroup rpcclient command so that it actually returns something 
instead of losing it down in the code ...

Simo.



Revisions:
cmd_samr.c  1.104.4.11 = 1.104.4.12

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpcclient/cmd_samr.c?r1=1.104.4.11r2=1.104.4.12



CVS update: samba/source/rpc_client

2002-12-08 Thread idra

Date:   Sun Dec  8 11:56:45 2002
Author: idra

Update of /data/cvs/samba/source/rpc_client
In directory dp.samba.org:/tmp/cvs-serv22966/rpc_client

Modified Files:
cli_samr.c 
Log Message:

make querygroup in rpcclient working, same fix as per 2.2 tree



Revisions:
cli_samr.c  1.71 = 1.72

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_client/cli_samr.c?r1=1.71r2=1.72



CVS update: samba/source

2002-12-08 Thread idra

Date:   Sun Dec  8 12:03:42 2002
Author: idra

Update of /data/cvs/samba/source
In directory dp.samba.org:/tmp/cvs-serv23432

Modified Files:
  Tag: SAMBA_3_0
configure 
Log Message:

fix rpcclient querygroup command (from 2.2 and head)



Revisions:
configure   1.282.2.25 = 1.282.2.26

http://www.samba.org/cgi-bin/cvsweb/samba/source/configure?r1=1.282.2.25r2=1.282.2.26



CVS update: samba/source/utils

2002-12-08 Thread sharpe

Date:   Sun Dec  8 17:04:23 2002
Author: sharpe

Update of /data/cvs/samba/source/utils
In directory dp.samba.org:/tmp/cvs-serv10278

Modified Files:
editreg.c 
Log Message:

Define some macros for accessing shorts and ints in an endian independent manner.

Start processing the header and etc.

Make sure it compiles on Linux, and runs on Linux for the code that is there.

Will try FreeBSD soon, and maybe Slowaris.



Revisions:
editreg.c   1.4 = 1.5
http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/editreg.c?r1=1.4r2=1.5



CVS update: samba/source

2002-12-08 Thread sharpe

Date:   Sun Dec  8 18:48:48 2002
Author: sharpe

Update of /data/cvs/samba/source
In directory dp.samba.org:/tmp/cvs-serv16909

Modified Files:
Makefile.in 
Log Message:

A small fix to Makefile.in from Bradley Longhurst.
Less Fir needed.



Revisions:
Makefile.in 1.587 = 1.588
http://www.samba.org/cgi-bin/cvsweb/samba/source/Makefile.in?r1=1.587r2=1.588



CVS update: samba/source/utils

2002-12-08 Thread sharpe

Date:   Sun Dec  8 19:30:16 2002
Author: sharpe

Update of /data/cvs/samba/source/utils
In directory dp.samba.org:/tmp/cvs-serv22935

Modified Files:
editreg.c 
Log Message:

Fix the breakage, and start processing the first key record:

./editreg ~rsharpe/profile/NTUSER.DAT
NK HDR: Name len: 12, class name len: 0
Key name: $$$PROTO.HIV



Revisions:
editreg.c   1.5 = 1.6
http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/editreg.c?r1=1.5r2=1.6



CVS update: sambaweb/support

2002-12-08 Thread mbp

Date:   Mon Dec  9 13:23:54 2002
Author: mbp

Update of /data/cvs/sambaweb/support
In directory dp.samba.org:/tmp/cvs-serv24563

Modified Files:
uk.html 
Log Message:
* Add Erion Ltd.


Revisions:
uk.html 1.10 = 1.11
http://www.samba.org/cgi-bin/cvsweb/sambaweb/support/uk.html?r1=1.10r2=1.11



CVS update: samba/source/utils

2002-12-08 Thread sharpe

Date:   Mon Dec  9 07:55:13 2002
Author: sharpe

Update of /data/cvs/samba/source/utils
In directory dp.samba.org:/tmp/cvs-serv17981

Modified Files:
editreg.c 
Log Message:

Begin to decode Value Keys, names and values ...



Revisions:
editreg.c   1.8 = 1.9
http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/editreg.c?r1=1.8r2=1.9