[Samba] Separate mailing list for printing problems ?

2003-02-28 Thread Peter Carpenter
Guys,

Is there any chance of getting a separate mailing list just for Printing
issues e.g. [EMAIL PROTECTED]. Printing is a world of its own
within Samba, at least once you get past the very basic stuff. And there's
_so_ much traffic in the main samba list now...

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


Re: [Samba] Separate mailing list for printing problems ?

2003-02-28 Thread rvt
SOunds like a good idea to me.

Ries

 Guys,
 
 Is there any chance of getting a separate mailing list just for Printing
 issues e.g. [EMAIL PROTECTED]. Printing is a world of its
 own
 within Samba, at least once you get past the very basic stuff. And there's
 _so_ much traffic in the main samba list now...
 
 PCC
 -- 
 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] Thanks Samba Community!!!

2003-02-28 Thread Shane Kennedy
Any ideas anyone on the problem with RH8 ?.

Austin Mann wrote:

You folks are the greatest.
Rolled out my first Samba member server today.
Read the stuff from SWAT, and it worked the first time on RH7.3, after it
failed on RH8
You folks are the best, we're struggling to stay afloat and M$ squeezes us
for more.
(RH is pushing me to Debian by the day!!!)
There will be a lot more Samba in the farm soon.

My deepest grattitude.

Respectully,

Austin Mann

 



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


Re: [Samba] Thanks Samba Community!!!

2003-02-28 Thread Tiago Cruz
Shane,

Look this:
http://www.linuxquestions.org/questions/showthread.php?s=threadid=46181highlight=swat

[ ]'s

Tiago Cruz
Org. King de Contab. S/C Ltda.
www.linuxrapido.kit.net
Linux User #282636



Em Sex, 2003-02-28 às 07:13, Shane Kennedy escreveu:

 Any ideas anyone on the problem with RH8 ?.
 
 Austin Mann wrote:
 
 You folks are the greatest.
 Rolled out my first Samba member server today.
 Read the stuff from SWAT, and it worked the first time on RH7.3, after it
 failed on RH8
 
 You folks are the best, we're struggling to stay afloat and M$ squeezes us
 for more.
 (RH is pushing me to Debian by the day!!!)
 
 There will be a lot more Samba in the farm soon.
 
 My deepest grattitude.
 
 Respectully,
 
 Austin Mann
 
 
   
 




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


Re: [Samba] Re: Need help understanding smbldap-tools and user records

2003-02-28 Thread Markus Schabel
Jim wrote:
After investigateing the scripts behaviour a little further I found that 
the answer is no.  The are not the same.  The smblda-adduser.pl script 
creates primaryGroupID as gidNumber + (gidNumber * 2) + 1 such that if 
you add a user who's gidNumber is 1002 you wind up with a primaryGroupID 
that is 3005.
Sounds fair. That's because samba can't differentiate between a user and
a group, so you calculate the rid with uidNumber*2 and the GroupID with
gidNumber*2+1, so you can differentiate odd/even and never get equal
numbers.
At least I think it is so ;)

regards
--
  \\\ ||| ///   _\=/_
   (  @ @  )(o o)
+oOOo-(_)-oOOo--oOOo-(_)-oOOo--+
| Markus Schabel  TGM - Die Schule der Technik   www.tgm.ac.at |
| IT-Service  A-1200 Wien, Wexstrasse 19-23  net.tgm.ac.at |
| [EMAIL PROTECTED]   Tel.: +43(1)33126/316 |
| [EMAIL PROTECTED] Fax.: +43(1)33126/154 |
| FSF Associate Member #597, Linux User #259595 (counter.li.org)   |
|oOOoYet Another Spam Trap: oOOo   |
|   ()oOOo[EMAIL PROTECTED]   (   ) oOOo  |
+\  ((   )--\ ( -(   )-+
  \_) ) /\_)  ) /
 (_/ (_/
Computers are like airconditioners:
  They stop working properly if you open windows.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba training

2003-02-28 Thread Mark Frayling
Does anyone know of any Samba training courses held in the UK?

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


RE: [Samba] Browsing automatic update

2003-02-28 Thread daniel . jarboe
 I've configured successfuly a Samba-LDAP PDC.

Congrats

 When a Windows PC is up, I can see it in network
 neighbourhood but when it is down, I still see it
 in network neigbourhood. And the entry in browse.dat
 file still exists even the computer is down.  
 
 Any suggestion ?

Maybe you'd prefer enhanced browsing = no?

~ Daniel





---

This message is the property of Time Inc. or its affiliates. It may be
legally privileged and/or confidential and is intended only for the use
of the addressee(s). No addressee should forward, print, copy, or
otherwise reproduce this message in any manner that would allow it to be
viewed by any individual not originally listed as a recipient. If the
reader of this message is not the intended recipient, you are hereby
notified that any unauthorized disclosure, dissemination, distribution,
copying or the taking of any action in reliance on the information
herein is strictly prohibited. If you have received this communication
in error, please immediately notify the sender and delete this message.
Thank you.

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


Re: [Samba] Thanks Samba Community!!!

2003-02-28 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 28 Feb 2003, Tiago Cruz wrote:

 http://www.linuxquestions.org/questions/showthread.php?s=threadid=46181highlight=swat

ummm...but a proxy setting in not really RedHat's fault is it?






cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 You can never go home again, Oatman, but I guess you can shop there.  
--John Cusack - Grosse Point Blank (1997)

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE+X28gIR7qMdg1EfYRAumaAKCbEmo/DA3Hg/O5TZKNfhgNR9rxgQCfSv//
Q9aMM0eqlYrpPCfovu+vggk=
=ZQRO
-END PGP SIGNATURE-

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


[Samba] OT? PDF printer driver for automatic deployment

2003-02-28 Thread Henning Holtschneider
Hi,

I've got a printing server running Samba 3.0alpha21 (on Linux). The
client machines running Windows 2000 are producing PDF files by printing
to a virtual printer on the Samba machine. The printer driver shall be
installed from the Samba server on demand. I need color output, b/w is
not sufficient.

Everything works fine, i.e. the PDF conversion process and the automatic
driver installation on the client machine, BUT:

Which Windows 2000 printer driver should I use? I've tried several HP
models which let me control all sorts of printer (hardware) parameters
but very little Postscript parameters. I've tried an Apple Color
Laserwriter driver but the output doesn't look as good as it should. I
tried a Minolta driver but it fails to install on the server.

Then, I came across Adobe's Universal Postscript driver but it lacks an
.inf file I could use to upload the driver to the server. Apart from
that, the Adobe Universal driver will always result in b/w output.

Thanks for your help,

 -gninneH-
--
   __ _  ____   Henning Holtschneider
  / /  ___  ___ _/ |/ /__ / /_  [EMAIL PROTECTED]
 / /__/ _ \/ __/ _ `// -_) __/
//\___/\__/\_,_/_/|_/\__/\__/  ...net happens!

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


Re: [Samba] Samba, CUPs Win2000 printing

2003-02-28 Thread Bradley W. Langhorst
On Thu, 2003-02-27 at 23:35, [EMAIL PROTECTED] wrote:
 I'm very new to Linux and Samba so bear with me - I am migrating our 

 printcap name = cups
...
 printing = cups
i think this is all you need...

 
 [printers]
 comment = All Printers
 path = /var/spool/samba
 printer admin = root
 guest ok = Yes
 printable = Yes
 print command = lpr-cups -P %p -o raw %s
 lpq command = lpstat -o %p
 lprm command = cancel %p-%j
 use client driver = Yes
 browseable = No
here's my printers share
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

I also use driver downloading with at print$ share 
but worry about that after you get basic printing working...

best wishes!

brad
 
 PS. anyone use HP Web Jetadmin software on Linux?
i think there are some oss tools that can do some port 9100
adminstration...
-- 
Bradley W. Langhorst [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] Samba locking problem - is this a bug ?

2003-02-28 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 25 Feb 2003, System Administrators At Netclime Inc. wrote:

 What you mean, by the program opening the file decides how to open it ?
 Is it depend on the filesystem handling of open calls ? I mean - it
 doesn't matter ith which program I create the file on the share (I tried
 3-4 vaious) this DENY_FCB RDWR shows always.

These are DOS open/deny modes.  The client requested them.  Samba maps
these onto posix locks on the file system, but some of the (e.g. deny 
modes) don't map at all so smbd has to maintain them internally for 
clients.

 My point is, that shouldn't SAMBA server take care of lost connection to
 the clients and remove the file locks ? 

Samba does after a reasonable time.  We don't immediately know that the 
client has gone away.  Do you think it would be a better solution for 
Samba to give away locks because someone tripped over a hub and unplugged 
it for a few seconds?

 And why share modes = no doesn;t remove support for DENY_FCB and other
 similar modes ?

What version did you say you were running?  I haven't look at that option 
since it got added back in.





cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 You can never go home again, Oatman, but I guess you can shop there.  
--John Cusack - Grosse Point Blank (1997)

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE+X3RFIR7qMdg1EfYRAhkwAJ9W7yJnhajEHDUikCSRjmHpGI7tIwCcC6ph
YiLKCJWrAuPCIyN6zXU9iWQ=
=30nj
-END PGP SIGNATURE-

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


Re: [Samba] OT? PDF printer driver for automatic deployment

2003-02-28 Thread René Nieuwenhuizen
We use QMS Colorscript 1000 level 2 which result in perfect prepress 
(CYMK) ready pdf's.

Henning Holtschneider wrote:

Hi,

I've got a printing server running Samba 3.0alpha21 (on Linux). The
client machines running Windows 2000 are producing PDF files by printing
to a virtual printer on the Samba machine. The printer driver shall be
installed from the Samba server on demand. I need color output, b/w is
not sufficient.
Everything works fine, i.e. the PDF conversion process and the automatic
driver installation on the client machine, BUT:
Which Windows 2000 printer driver should I use? I've tried several HP
models which let me control all sorts of printer (hardware) parameters
but very little Postscript parameters. I've tried an Apple Color
Laserwriter driver but the output doesn't look as good as it should. I
tried a Minolta driver but it fails to install on the server.
Then, I came across Adobe's Universal Postscript driver but it lacks an
.inf file I could use to upload the driver to the server. Apart from
that, the Adobe Universal driver will always result in b/w output.
Thanks for your help,

-gninneH-
--
  __ _  ____   Henning Holtschneider
 / /  ___  ___ _/ |/ /__ / /_  [EMAIL PROTECTED]
/ /__/ _ \/ __/ _ `// -_) __/
//\___/\__/\_,_/_/|_/\__/\__/  ...net happens!
 



--
René Nieuwenhuizen
Afdeling Informatietechnologie
Centraal Planbureau
Bezoekadres: Van Stolkweg 14, 2585 JR Den Haag
Postadres: Postbus 80510, 2508 GM Den Haag
T (070) 3383 342
F (070) 3383 350
I http://www.cpb.nl/nl/general/org/afdelingen/it/
--

Aan dit bericht kunnen geen rechten worden ontleend.
Het bericht is alleen bestemd voor de geadresseerde.
Indien dit bericht niet voor u is bestemd, verzoeken wij u dit onmiddellijk aan
ons te melden en de inhoud van het bericht te vernietigen.
This message shall not constitute any obligations.
This message is intended solely for the addressee.
If you have received this message in error, please inform us immediately and
delete its contents.

--
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-28 Thread System Administrators At Netclime Inc.
Hi,
I wonder why linux client should request DOS open/deny modes - but OK, I
managed to see that as Kurt says, this depend on the program that opens
the file. Unfortunately for me the daemon we use creates the file with
DENY_FCB. :(

You are right - it seems I missed the configuration directive about this
check, when samba should release the locks. I think Kurt point me to the
correct opitons - keep alive and the socket options. Possibly I'll need
something like keepalive = 10 or something like this. I haven't had time
recently to check this.

For the share modes = no - I tried it on 2.2.3a; on 2.2.6 (I think)
and I'm not sure (but I'll try it later for sure) on 2.2.7a - these were
the sources I had so I just compiled them one after another.

Regards
Kosta

- Original Message -
From: Gerald (Jerry) Carter [EMAIL PROTECTED]
To: System Administrators At Netclime Inc. [EMAIL PROTECTED]
Cc: Kurt Weiss [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, February 28, 2003 16:37
Subject: Re: [Samba] Samba locking problem - is this a bug ?


 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On Tue, 25 Feb 2003, System Administrators At Netclime Inc. wrote:

  What you mean, by the program opening the file decides how to open
it ?
  Is it depend on the filesystem handling of open calls ? I mean - it
  doesn't matter ith which program I create the file on the share (I
tried
  3-4 vaious) this DENY_FCB RDWR shows always.

 These are DOS open/deny modes.  The client requested them.  Samba maps
 these onto posix locks on the file system, but some of the (e.g. deny
 modes) don't map at all so smbd has to maintain them internally for
 clients.

  My point is, that shouldn't SAMBA server take care of lost
connection to
  the clients and remove the file locks ?

 Samba does after a reasonable time.  We don't immediately know that
the
 client has gone away.  Do you think it would be a better solution for
 Samba to give away locks because someone tripped over a hub and
unplugged
 it for a few seconds?

  And why share modes = no doesn;t remove support for DENY_FCB and
other
  similar modes ?

 What version did you say you were running?  I haven't look at that
option
 since it got added back in.





 cheers, jerry
  -
-
  Hewlett-Packard-
http://www.hp.com
  SAMBA Team --
http://www.samba.org
  GnuPG Key  
http://www.plainjoe.org/gpg_public.asc
  You can never go home again, Oatman, but I guess you can shop
there.
 --John Cusack - Grosse Point Blank
(1997)

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.0 (GNU/Linux)
 Comment: For info see http://quantumlab.net/pine_privacy_guard/

 iD8DBQE+X3RFIR7qMdg1EfYRAhkwAJ9W7yJnhajEHDUikCSRjmHpGI7tIwCcC6ph
 YiLKCJWrAuPCIyN6zXU9iWQ=
 =30nj
 -END PGP SIGNATURE-



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


[Samba] Hiding a share

2003-02-28 Thread Marco De Vitis
Hello.
Is it possible to completely hide a share, not making it visible in the 
Windows client browse tree, although leaving it accessible if the exact 
address is requested?

I tried using browseable = no, but it only hides the contents of the 
share, not the share itself, which I can still see in the resources tree 
(even days - and total network poweroffs - after I changed the option).

Thanks.

-- 
Ciao,
  Marco.

...Thrak, King Crimson 1995

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


RE: [Samba] OT? PDF printer driver for automatic deployment

2003-02-28 Thread Florian Stahl
Hi Henning,

check out the Tektronix Printer drivers shipping with W2K, my PDF-writer on
samba
works with the Phaser 840 plus (max 1200 dpi)

Florian
([EMAIL PROTECTED])

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of
 Henning Holtschneider
 Sent: Friday, February 28, 2003 3:25 PM
 To: [EMAIL PROTECTED]
 Subject: [Samba] OT? PDF printer driver for automatic deployment


 Hi,

 I've got a printing server running Samba 3.0alpha21 (on Linux). The
 client machines running Windows 2000 are producing PDF files
 by printing
 to a virtual printer on the Samba machine. The printer
 driver shall be
 installed from the Samba server on demand. I need color output, b/w is
 not sufficient.

 Everything works fine, i.e. the PDF conversion process and
 the automatic
 driver installation on the client machine, BUT:

 Which Windows 2000 printer driver should I use? I've tried several HP
 models which let me control all sorts of printer (hardware) parameters
 but very little Postscript parameters. I've tried an Apple Color
 Laserwriter driver but the output doesn't look as good as it should. I
 tried a Minolta driver but it fails to install on the server.

 Then, I came across Adobe's Universal Postscript driver but
 it lacks an
 .inf file I could use to upload the driver to the server. Apart from
 that, the Adobe Universal driver will always result in b/w output.

 Thanks for your help,

  -gninneH-
 --
__ _  ____   Henning Holtschneider
   / /  ___  ___ _/ |/ /__ / /_  [EMAIL PROTECTED]
  / /__/ _ \/ __/ _ `// -_) __/
 //\___/\__/\_,_/_/|_/\__/\__/  ...net happens!

 --
 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] Hiding a share

2003-02-28 Thread Henrickson, Den
[sharename$]
comment = Henrickson, Den
path = /home/henrickd
valid users = vmi+henrickd
read only = No

The $ creates a hidden Windows share.  To access you would have to do
something like this from Windows client

\\servername\sharename$

Den Henrickson
Network Administrator
Van Meter Industrial
319-368-2822

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


RE: [Samba] PDF Printer issue

2003-02-28 Thread Florian Stahl
Hi list,

a beginning samba user's learning experience
in the audiences highly regarded interest is as follows :-) :

 - Buchan's script from mandrake works pretty nicely and
   set me on the right path.

 - I even managed to put my own solution without the described trouble as
well:
   the issue is (so below) not stating these lpq and lprm commands.
   stating the print command with a ending '' gives Client resources free
   before ps2pdf finishes the PDF file...

   print command = /var/space/samba/printpdf.sh %s 

thanks again

florian
([EMAIL PROTECTED])


 Hi list,

 I have stepped over this description for Printing from
 Windows into PDF
 files.

  
   Also very nice PDF/Samba Howto here:
   http://www.linuxgazette.com/issue72/bright.html
 
  The script in packaging/Mandrake/print-pdf (or something
 like that) is
  IMHO a better solution. I can expand as to why if you are
 interested.
 
  BTW, Mandrake 9.0 and later have a working pdf converter out-the-box
  (just need to upload a printer driver).
 
  Buchan
 

 my /etc/samba/smb.conf has this section for it  (Samba 2.2.1)

 [pdf]
path = /tmp/spool
printable = yes
guest ok = yes
print command = /var/space/samba/printpdf.sh %s %J %c %z %f
lpq command =
lprm command =

 (I know the %J %c %z %f is bogus, I was trying to figure the
 document name)

 Everything works fine as far as I start printing larger files - a Word
 document containing 150 pages text (NO graphics!), I get only partial
 results, a random part of pages of the original document.


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


[Samba] Samba PDC and NetApp anyone ?

2003-02-28 Thread Frank Bonnet
Hi

I'm trying to use a samba server as a PDC with
a network appliance filer.

Anyone trying too ? 

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


[Samba] Re: Samba Domain Login

2003-02-28 Thread Brent Torrenga
Ok, yes, SID could be the issue. With each install of windows, there is a
unique SID that gets created (I think). I recall seeing a caution about
imaging W2k for this reason, the images will NOT have UNIQUE SID's.

Anyone?

There should be a way to cause windows to recreate a random sid?


Finn Blucher [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Okay,
I'm really starting to run out of ideas here. Any help would really
 be handy. I'm looking after a small network, clients are running win2000
 SP3 and a Linux Server running samba, doing domain logins. Everything is
 working fine apart from two machines (from ten). Probably once a week
 one of them will fail to login in after a reboot or log off. If any
 user tries to login into the domain it comes up with the error The
 system cannot log you on to the domain because the systems computer
 account in its primary domain is missing or the password on
 that account is incorrect. Now the fix for this is simple enough. I log
 into the local machine put the workstation back to a workgroup, reboot,
 log in and re-add the computer to the domain and every ones happy ( for
 a week or so). I've re-imaged the machines from one of the machines on
 the network that doesn't exhibit the problem and sure enough, after a
 week or so, down she goes. I've physically swapped one of the failing
 machines out for a working one and shortly after the new machine is
 failing again. There is no difference in the software or hardware
 between any of the machines on the network, all part of the same roll
 out, all on the same image. All of the machines except for one have done
 had this problem, but only once, after I put them to workgroup then back
 to domain they're happy and have been for six months, it's just these
 two machines that keep doing it. The two failing machines are not near
 each other but they are occasionally used by the same user. I've got the
 logs if that will help people.

 Any help really apreciated,
 Finn.
 --
 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] 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] Re: Samba Domain Login

2003-02-28 Thread Jim Wharton
Microsoft provides sysprep for this purpose. It is downloadable from their
website. There is an option to run sysprep without having to run the whole
minisetup routine.

Symantec, Sysinternals and Powerquest also provide utilities to do the same
thing.

Jim

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]
  Behalf Of
 Brent Torrenga
 Sent: Friday, February 28, 2003 10:59 AM
 To: [EMAIL PROTECTED]
 Subject: [Samba] Re: Samba Domain Login


 Ok, yes, SID could be the issue. With each install of
 windows, there is a
 unique SID that gets created (I think). I recall seeing a
 caution about
 imaging W2k for this reason, the images will NOT have UNIQUE SID's.

 Anyone?

 There should be a way to cause windows to recreate a random sid?


 Finn Blucher [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
  Okay,
 I'm really starting to run out of ideas here. Any help
 would really
  be handy. I'm looking after a small network, clients are
 running win2000
  SP3 and a Linux Server running samba, doing domain logins.
 Everything is
  working fine apart from two machines (from ten). Probably
 once a week
  one of them will fail to login in after a reboot or log off. If any
  user tries to login into the domain it comes up with the error The
  system cannot log you on to the domain because the systems computer
  account in its primary domain is missing or the password on
  that account is incorrect. Now the fix for this is simple
 enough. I log
  into the local machine put the workstation back to a
 workgroup, reboot,
  log in and re-add the computer to the domain and every ones
 happy ( for
  a week or so). I've re-imaged the machines from one of the
 machines on
  the network that doesn't exhibit the problem and sure
 enough, after a
  week or so, down she goes. I've physically swapped one of
 the failing
  machines out for a working one and shortly after the new
 machine is
  failing again. There is no difference in the software or hardware
  between any of the machines on the network, all part of the
 same roll
  out, all on the same image. All of the machines except for
 one have done
  had this problem, but only once, after I put them to
 workgroup then back
  to domain they're happy and have been for six months, it's
 just these
  two machines that keep doing it. The two failing machines
 are not near
  each other but they are occasionally used by the same user.
 I've got the
  logs if that will help people.
 
  Any help really apreciated,
  Finn.
  --
  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




OutBound Mail Scanned by Mcafee Web Appliance.


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


[Samba] Samba offering dynamic homes share trouble..

2003-02-28 Thread Bob Ambroso
I have samba running on RH 8,  samba 2.2.7-2, and using winbind..

Want homes share to automatically display as users access it. 
Thought I could use the %u but am having no luck.. Currently, have it
set up but 
when user clicks on home share a username/password dialog displays and 
will not accept valid credentials for that user? Have 
my config and log snips from nmbd and machine account log as displayed
below:
 smb.conf:
My smb.conf file:
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash) 
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command
testparm
# to check that you have not made any basic syntactic errors. 
#
#=== Global Settings
=
[global]

# workgroup = NT-Domain-Name or Workgroup-Name
   workgroup = LIBRARY

# server string is the equivalent of the NT Description field
   server string = Samba Server

#netbios name of machine
;netbios name = placer
# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the loopback interface. For more examples of the syntax see
# the smb.conf man page
;   hosts allow = 192.168.15. 192.168.11. 127.0.0.

# if you want to automatically load your printer list rather
# than setting them up individually then you'll need this
   printcap name = /etc/printcap
   load printers = yes

# It should not be necessary to spell out the print system type unless
# yours is non-standard. Currently supported print systems include:
# bsd, sysv, plp, lprng, aix, hpux, qnx
   printing = lprng

# Uncomment this if you want a guest account, you must add this to
/etc/passwd
# otherwise the user nobody is used
;  guest account = pcguest

# this tells Samba to use a separate log file for each machine
# that connects
   log file = /var/log/samba/%m.log

# Put a capping on the size of the log files (in Kb).
   max log size = 0

# Security mode. Most people will want user level security. See
# security_level.txt for details.
   security = domain

# Use password server option only with security = server
# The argument list may include:
#   password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
# or to auto-locate the domain controller/s
;password server = *
 password server = NTPDC LASSEN

# Password Level allows matching of _n_ characters of the password for
# all combinations of upper and lower case.
;  password level = 8
;  username level = 8

# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
   encrypt passwords = yes
   smb passwd file = /etc/samba/smbpasswd

# The following is needed to keep smbclient from spouting spurious
errors
# when Samba is built with support for SSL.
;   ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt

# The following are needed to allow password changing from Windows to
# update the Linux system password also.
# NOTE: Use these with 'encrypt passwords' and 'smb passwd file' above.
# NOTE2: You do NOT need these to allow workstations to change only
#the encrypted SMB passwords. They allow the Unix password
#to be kept in sync with the SMB password.
   unix password sync = Yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*

# You can use PAM's password change control flag for Samba. If
# enabled, then PAM will be used for password changes when requested
# by an SMB client instead of the program listed in passwd program.
# It should be possible to enable this without changing your passwd
# chat parameter for most setups.

   pam password change = yes

# Unix users can map to different SMB User names
;  username map = /etc/samba/smbusers

# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
;   include = /etc/samba/smb.conf.%m

# This parameter will control whether or not Samba should obey PAM's
# account and session management directives. The default behavior is
# to use PAM for clear text authentication only and to ignore any
# account or session management. Note that Samba always ignores PAM
# for authentication in the case of encrypt passwords = yes

  obey pam restrictions = yes

# Most people will find that this option gives better 

Re: [Samba] ACL permissions with XP problem

2003-02-28 Thread Thomas Klettke
I've added a line to the share in smb.conf:

nt acl support = yes

See if that helps.

Thomas


On Thu, 2003-02-27 at 09:47, Brad Sagowitz wrote:
 Wondering if anyone can help...
 
 here is my setup:
 
 RedHat 7.3 with XFS (using the XFS install disk)
 After installation I'd downloaded 2.2.7 src rpm from redhat and rebuilt it
 with the --with-acl-support option in the samba.spec file
 then upgraded the resulting rpm files
 I've added the machine accounts and made root a smb user
 I can log in successfully(after applying the xp registry hack), the problem
 comes in when I try to change permission on a file from windows explorer.
 For example adding users to give them rwx permissions on a file gives me
 access denied.
 Now... I tried getfacl and setfacl and both work.  When I use setfacl on a
 file and add a user, that user does not show up on the security tab in XP.
 And one other thing... I check the log for the XP machine and it has this
 error
 is104 (192.168.0.104) couldn't find service screenings
 
 Any help would be greatly appreciated
 
 Thanks
 
 
 
 
 here is my smb.conf file:
 
 [global]
   smb passwd file = /etc/samba/smbpasswd
   passwd program = /usr/bin/passwd %u
   domain master = yes
   dns proxy = no
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   short preserve case = no
   printcap name = /etc/printcap
   wins support = yes
   max log size = 0
   preferred master = yes
   logon script = %U.bat
   password level = 4
   passwd chat = *New*password* %n\n *Retype*new*password* %n\n
 *passwd:*all*authentication*tokens*updated*successfully*
   security = user
   domain logons = yes
   unix password sync = Yes
   workgroup = JDMC
   server string = JDMC Samba Server
   local master = yes
   netbios name = THE-SCOOP
   log file = /var/log/samba/%m.log
   load printers = no
   os level = 64
 
 [netlogon]
   path = /home/netlogon
   public = no
   read only = yes
 
 [homes]
   path = %H
   volume = Private
   writable = yes
   comment = Private Share
   valid users = %S
   browseable = no
   create mode = 0764
   directory mode = 0775
 
 [general]
   path = /shares/general
   writeable = yes
   public = yes
   valid users = @users,@root,root
 force group = users
 force create mode = 764
 
 Brad Sagowitz
 Operating Systems Specialist III
 A+, MCP, Linux+, CCAI-UNIX
 1125 E. Alameda
 Norman, OK 73071
 [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] [help] Error in join domain

2003-02-28 Thread Walter Vendraminetto
I'm trying to add a samba (2.2.7) machine to a samba TNG PDC (security domain)

I get a strange error: lsa_io_sec_qos: length c does not match size 8

My question is: does that mean something important ?


$ smbpasswd -j LABSCIENZEMFN -r LDAPS -D3 -U'Administrator%'
Initialising global parameters
params.c:pm_process() - Processing configuration file
/usr/local/samba/lib/smb.conf
Processing section [global]
added interface ip7.27.241.10 bcast7.27.241.255 nmask%5.255.255.0
resolve_lmhosts: Attempting lmhosts lookup for name LDAPS0x20
Connecting to 157.27.241.11 at port 445
error connecting to 157.27.241.11:445 (Connection refused)
Connecting to 157.27.241.11 at port 139
session setup ok
Domain=[LABSCIENZEMFN] OS=[Unix] Server=[Samba TNG-alpha]
lsa_io_sec_qos: length c does not match size 8
error creating domain user: NT_STATUS_ACCESS_DENIED
Unable to join domain LABSCIENZEMFN.


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


RE: [Samba] ACL permissions with XP problem

2003-02-28 Thread Brad Sagowitz
My understanding was that nt acl support = yes was a default... but I added
it anyway and restarted to no avail.

Whenever I edit a files permissions (as root) from a XP client I get the
error

Unable to save permission changes on filename
 Access is denied. 



-Original Message-
From: Thomas Klettke [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 11:16 AM
To: Brad Sagowitz
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] ACL permissions with XP problem


I've added a line to the share in smb.conf:

nt acl support = yes

See if that helps.

Thomas


On Thu, 2003-02-27 at 09:47, Brad Sagowitz wrote:
 Wondering if anyone can help...

 here is my setup:

 RedHat 7.3 with XFS (using the XFS install disk)
 After installation I'd downloaded 2.2.7 src rpm from redhat and rebuilt it
 with the --with-acl-support option in the samba.spec file
 then upgraded the resulting rpm files
 I've added the machine accounts and made root a smb user
 I can log in successfully(after applying the xp registry hack), the
problem
 comes in when I try to change permission on a file from windows explorer.
 For example adding users to give them rwx permissions on a file gives me
 access denied.
 Now... I tried getfacl and setfacl and both work.  When I use setfacl on a
 file and add a user, that user does not show up on the security tab in XP.
 And one other thing... I check the log for the XP machine and it has this
 error
 is104 (192.168.0.104) couldn't find service screenings

 Any help would be greatly appreciated

 Thanks




 here is my smb.conf file:

 [global]
   smb passwd file = /etc/samba/smbpasswd
   passwd program = /usr/bin/passwd %u
   domain master = yes
   dns proxy = no
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   short preserve case = no
   printcap name = /etc/printcap
   wins support = yes
   max log size = 0
   preferred master = yes
   logon script = %U.bat
   password level = 4
   passwd chat = *New*password* %n\n *Retype*new*password* %n\n
 *passwd:*all*authentication*tokens*updated*successfully*
   security = user
   domain logons = yes
   unix password sync = Yes
   workgroup = JDMC
   server string = JDMC Samba Server
   local master = yes
   netbios name = THE-SCOOP
   log file = /var/log/samba/%m.log
   load printers = no
   os level = 64

 [netlogon]
   path = /home/netlogon
   public = no
   read only = yes

 [homes]
   path = %H
   volume = Private
   writable = yes
   comment = Private Share
   valid users = %S
   browseable = no
   create mode = 0764
   directory mode = 0775

 [general]
   path = /shares/general
   writeable = yes
   public = yes
   valid users = @users,@root,root
 force group = users
 force create mode = 764

 Brad Sagowitz
 Operating Systems Specialist III
 A+, MCP, Linux+, CCAI-UNIX
 1125 E. Alameda
 Norman, OK 73071
 [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] Weird..

2003-02-28 Thread Stefan Becker
Hi,
I would say that their SID System ID ? is the same.  That's
the ID that a domain or Trust uses to identify within the 
network.  This ID does not change with NetBios Name nor IP.

On a Samba share I think it's just a file that can be edited?

Now it's up to somebody else to confirm this...

my regards,
Stefan



 so.. individually the machines are working but in someway they 
 are conflicting and i don't know where...
 

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


Re: [Samba] Weird..

2003-02-28 Thread Thomas Klettke
Another solution (we use this for cloning our Windows200 machines):

Take the machine off the domain (i.e. put it in a workgroup) before
creating the master disk image.
Then, after you created your clones, change their names, and add them to
the domain.

Cheers,
Thomas


On Thu, 2003-02-27 at 17:27, Tim Kubricht wrote:
 Igor,
 
  1st shut down samba then look in the samba/private directory
  for a file called MACHINE.SID and delete the file.
 
  when you start Samba back up it will recreate the file.
 
 Regards,
 Tim
 ___
 At 07:03 PM 2/27/2003 -0300, Igor Debacker wrote:
 I have a machine with 'samba + winbind' installed ... everything works fine.
 
 its my beta-machine.. so i used norton ghost to clone it to another 
 computers, and as usual it works good, so i decided to do it with 5 
 machines. at the end of the procedure i changed the ip of each one and the 
 netbios name
 
 so i have 5 cloned machines with 'winbind+samba' and thats good.. but if i 
 turn all of them on, together, i can only log in at the last one i turned 
 on.. at all others machines i can't log in.. it shows me this error
 
 cli_net_auth2: error nt_status_access_denied
 
 cli_nt_setup_setup_creds: auth2 challenge failed
 
 connect_to_domain_password_server: unable to setup the PDC credentials to 
 machine KANT. error was: nt_status_ok
 
 domain_client_validate: domain password server not available.
 
 so.. individually the machines are working but in someway they are 
 conflicting and i don't know where...
 
 Thanx in advance,
 
 Igor
 
 OBS.: KANT is my PDC machine name
 --
 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] ACL permissions with XP problem

2003-02-28 Thread Thomas Klettke
No clue here yet, just guesses.

What happens when you repeat the experiment with a Windows 2000 (or NT)
client? I don't expect it to make a difference, but to rule out that XP
is the problem.

From what I see so far it seems that there is a discrepancy between the
Unix and Samba IDs - not sure though.


On Fri, 2003-02-28 at 11:29, Brad Sagowitz wrote:
 My understanding was that nt acl support = yes was a default... but I added
 it anyway and restarted to no avail.
 
 Whenever I edit a files permissions (as root) from a XP client I get the
 error
 
 Unable to save permission changes on filename
  Access is denied. 
 
 
 
 -Original Message-
 From: Thomas Klettke [mailto:[EMAIL PROTECTED]
 Sent: Friday, February 28, 2003 11:16 AM
 To: Brad Sagowitz
 Cc: [EMAIL PROTECTED]
 Subject: Re: [Samba] ACL permissions with XP problem
 
 
 I've added a line to the share in smb.conf:
 
 nt acl support = yes
 
 See if that helps.
 
 Thomas
 
 
 On Thu, 2003-02-27 at 09:47, Brad Sagowitz wrote:
  Wondering if anyone can help...
 
  here is my setup:
 
  RedHat 7.3 with XFS (using the XFS install disk)
  After installation I'd downloaded 2.2.7 src rpm from redhat and rebuilt it
  with the --with-acl-support option in the samba.spec file
  then upgraded the resulting rpm files
  I've added the machine accounts and made root a smb user
  I can log in successfully(after applying the xp registry hack), the
 problem
  comes in when I try to change permission on a file from windows explorer.
  For example adding users to give them rwx permissions on a file gives me
  access denied.
  Now... I tried getfacl and setfacl and both work.  When I use setfacl on a
  file and add a user, that user does not show up on the security tab in XP.
  And one other thing... I check the log for the XP machine and it has this
  error
  is104 (192.168.0.104) couldn't find service screenings
 
  Any help would be greatly appreciated
 
  Thanks
 
 
 
 
  here is my smb.conf file:
 
  [global]
  smb passwd file = /etc/samba/smbpasswd
  passwd program = /usr/bin/passwd %u
  domain master = yes
  dns proxy = no
  encrypt passwords = yes
  socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
  short preserve case = no
  printcap name = /etc/printcap
  wins support = yes
  max log size = 0
  preferred master = yes
  logon script = %U.bat
  password level = 4
  passwd chat = *New*password* %n\n *Retype*new*password* %n\n
  *passwd:*all*authentication*tokens*updated*successfully*
  security = user
  domain logons = yes
  unix password sync = Yes
  workgroup = JDMC
  server string = JDMC Samba Server
  local master = yes
  netbios name = THE-SCOOP
  log file = /var/log/samba/%m.log
  load printers = no
  os level = 64
 
  [netlogon]
  path = /home/netlogon
  public = no
  read only = yes
 
  [homes]
  path = %H
  volume = Private
  writable = yes
  comment = Private Share
  valid users = %S
  browseable = no
  create mode = 0764
  directory mode = 0775
 
  [general]
  path = /shares/general
  writeable = yes
  public = yes
  valid users = @users,@root,root
  force group = users
  force create mode = 764
 
  Brad Sagowitz
  Operating Systems Specialist III
  A+, MCP, Linux+, CCAI-UNIX
  1125 E. Alameda
  Norman, OK 73071
  [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Printer Owner not valid in Windows

2003-02-28 Thread Ignacio González López - iSOCO Mad
Hi all.

I have a trouble with my SAMBA 2.2.3a-12 (I'm running a Debian Woody).

I have a printer conected by LPR to my printer server. GNU/Linux
prints ok using lpr printer server.

When I share the printer to my MS Windows Network the printer owner of
the printes in Windows Machines is root\printersNEW instead of
Administrator\Win2kPC, where printersNEW is the samba server and the
Win2kPC is the SMB client. Because that, users can't configure us
printers drivers for printing in both sides, 2 or more pages in a
side, etc.

All MSWindows are in a Workgroup and I have other Samba server running as
a Wins Server.

I have the same trobule in all the windows of my bussines (Win2k Prof
(SP's 1 and 2), WinXP Profesional, WinNT4.0), that's because I think
it's the samba server fault :o)

smb.conf
[global]
   interfaces   = 172.18.2.94/16 127.0.0.1
   socket address   = 172.18.2.94 127.0.0.1
   hosts allow  = 172.16. 172.17. 172.18. 127.
   netbios name = printersNEW
   printing = lprng
   printcap name= /etc/printcap
   load printers= yes
   printer driver file  = /etc/samba/printers.def
   guest account= nobody
   invalid users= root
   client code page = 850
   character set= ISO8859-1
   security = share
   workgroup = ISOCOMAD
   server string= Servidor de Impresoras 
   syslog only  = no
   socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096
   encrypt passwords = false
   wins support = no
   wins server = 172.18.0.2
   name resolve order = wins lmhosts hosts bcast
   dns proxy  = yes
   preserve case   = yes
   short preserve case = yes
   unix password sync = true
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* 
%n\n .
   max log size = 1000
   lock dir = /var/state/samba

[hplj4050drv]
   comment = Drivers HP LaserJet 4050 (Win2000/XP)
   path = /home/ftp/drivers/hplj4050/win2k
   public = yes
   browseable = yes

; [... more drivers ...]

[hplj4050]
   comment  = Hewlett Packard LaserJet 4050
   browseable   = yes
   path = /var/spool/samba
   printable= yes
   printer  = hplj4050
   public   = yes
   create mode  = 0777
   printer driver   = HP LaserJet 4050 Series PS
   printer driver location  = \\printersNEW\hplj4050drv


-- 
¿Que por qué estaba con esa mujer? Porque me recuerda a ti. De hecho,
me recuerda a ti más que tú.
-- Groucho Marx.
:o) + LSSI = :oX

Ignacio González López [EMAIL PROTECTED]
I.T. Dept @ iSOCO http://www.isoco.com#T(+34) 91 3349797
Intelligent Software Components, S.A. #F(+34) 91 3349799
iSOCO Madrid - Francisca Delgado 11, Alcobendas (Madrid).   CP 28108
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] ACL permissions with XP problem

2003-02-28 Thread Brad Sagowitz
I dont have a win2k machine but I'm loading one now to see.   Thanks for
your help!

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Thomas Klettke
Sent: Friday, February 28, 2003 11:52 AM
To: Brad Sagowitz
Cc: [EMAIL PROTECTED]
Subject: RE: [Samba] ACL permissions with XP problem


No clue here yet, just guesses.

What happens when you repeat the experiment with a Windows 2000 (or NT)
client? I don't expect it to make a difference, but to rule out that XP
is the problem.

From what I see so far it seems that there is a discrepancy between the
Unix and Samba IDs - not sure though.


On Fri, 2003-02-28 at 11:29, Brad Sagowitz wrote:
 My understanding was that nt acl support = yes was a default... but I
added
 it anyway and restarted to no avail.

 Whenever I edit a files permissions (as root) from a XP client I get the
 error

 Unable to save permission changes on filename
  Access is denied. 



 -Original Message-
 From: Thomas Klettke [mailto:[EMAIL PROTECTED]
 Sent: Friday, February 28, 2003 11:16 AM
 To: Brad Sagowitz
 Cc: [EMAIL PROTECTED]
 Subject: Re: [Samba] ACL permissions with XP problem


 I've added a line to the share in smb.conf:

 nt acl support = yes

 See if that helps.

 Thomas


 On Thu, 2003-02-27 at 09:47, Brad Sagowitz wrote:
  Wondering if anyone can help...
 
  here is my setup:
 
  RedHat 7.3 with XFS (using the XFS install disk)
  After installation I'd downloaded 2.2.7 src rpm from redhat and rebuilt
it
  with the --with-acl-support option in the samba.spec file
  then upgraded the resulting rpm files
  I've added the machine accounts and made root a smb user
  I can log in successfully(after applying the xp registry hack), the
 problem
  comes in when I try to change permission on a file from windows
explorer.
  For example adding users to give them rwx permissions on a file gives me
  access denied.
  Now... I tried getfacl and setfacl and both work.  When I use setfacl on
a
  file and add a user, that user does not show up on the security tab in
XP.
  And one other thing... I check the log for the XP machine and it has
this
  error
  is104 (192.168.0.104) couldn't find service screenings
 
  Any help would be greatly appreciated
 
  Thanks
 
 
 
 
  here is my smb.conf file:
 
  [global]
  smb passwd file = /etc/samba/smbpasswd
  passwd program = /usr/bin/passwd %u
  domain master = yes
  dns proxy = no
  encrypt passwords = yes
  socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
  short preserve case = no
  printcap name = /etc/printcap
  wins support = yes
  max log size = 0
  preferred master = yes
  logon script = %U.bat
  password level = 4
  passwd chat = *New*password* %n\n *Retype*new*password* %n\n
  *passwd:*all*authentication*tokens*updated*successfully*
  security = user
  domain logons = yes
  unix password sync = Yes
  workgroup = JDMC
  server string = JDMC Samba Server
  local master = yes
  netbios name = THE-SCOOP
  log file = /var/log/samba/%m.log
  load printers = no
  os level = 64
 
  [netlogon]
  path = /home/netlogon
  public = no
  read only = yes
 
  [homes]
  path = %H
  volume = Private
  writable = yes
  comment = Private Share
  valid users = %S
  browseable = no
  create mode = 0764
  directory mode = 0775
 
  [general]
  path = /shares/general
  writeable = yes
  public = yes
  valid users = @users,@root,root
  force group = users
  force create mode = 764
 
  Brad Sagowitz
  Operating Systems Specialist III
  A+, MCP, Linux+, CCAI-UNIX
  1125 E. Alameda
  Norman, OK 73071
  [EMAIL PROTECTED]
--
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] ACL permissions with XP problem

2003-02-28 Thread Raphael Berghmans
Hi,

Which version of libacl and libattr do you use ?

Because I think that for samba you need at least de version 2.0.12.

See you,

Raphaël


On Thu, 2003-02-27 at 16:47, Brad Sagowitz wrote:
 Wondering if anyone can help...
 
 here is my setup:
 
 RedHat 7.3 with XFS (using the XFS install disk)
 After installation I'd downloaded 2.2.7 src rpm from redhat and rebuilt it
 with the --with-acl-support option in the samba.spec file
 then upgraded the resulting rpm files
 I've added the machine accounts and made root a smb user
 I can log in successfully(after applying the xp registry hack), the problem
 comes in when I try to change permission on a file from windows explorer.
 For example adding users to give them rwx permissions on a file gives me
 access denied.
 Now... I tried getfacl and setfacl and both work.  When I use setfacl on a
 file and add a user, that user does not show up on the security tab in XP.
 And one other thing... I check the log for the XP machine and it has this
 error
 is104 (192.168.0.104) couldn't find service screenings
 
 Any help would be greatly appreciated
 
 Thanks
 
 
 
 
 here is my smb.conf file:
 
 [global]
   smb passwd file = /etc/samba/smbpasswd
   passwd program = /usr/bin/passwd %u
   domain master = yes
   dns proxy = no
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   short preserve case = no
   printcap name = /etc/printcap
   wins support = yes
   max log size = 0
   preferred master = yes
   logon script = %U.bat
   password level = 4
   passwd chat = *New*password* %n\n *Retype*new*password* %n\n
 *passwd:*all*authentication*tokens*updated*successfully*
   security = user
   domain logons = yes
   unix password sync = Yes
   workgroup = JDMC
   server string = JDMC Samba Server
   local master = yes
   netbios name = THE-SCOOP
   log file = /var/log/samba/%m.log
   load printers = no
   os level = 64
 
 [netlogon]
   path = /home/netlogon
   public = no
   read only = yes
 
 [homes]
   path = %H
   volume = Private
   writable = yes
   comment = Private Share
   valid users = %S
   browseable = no
   create mode = 0764
   directory mode = 0775
 
 [general]
   path = /shares/general
   writeable = yes
   public = yes
   valid users = @users,@root,root
 force group = users
 force create mode = 764
 
 Brad Sagowitz
 Operating Systems Specialist III
 A+, MCP, Linux+, CCAI-UNIX
 1125 E. Alameda
 Norman, OK 73071
[EMAIL PROTECTED]
-- 
Raphael Berghmans [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] ACL permissions with XP problem

2003-02-28 Thread Brad Sagowitz
I have
libacl-2.0.9-0
libattr-2.0.7-0

But I'm very hesitant to upgrade I did this once and I couldn't even ls
after upgrade.
guess I back-up everything and give it a whirl.

anyone have a good location for rpms?


-Original Message-
From: Raphael Berghmans [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 12:57 PM
To: Brad Sagowitz
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] ACL permissions with XP problem


Hi,

Which version of libacl and libattr do you use ?

Because I think that for samba you need at least de version 2.0.12.

See you,

Raphaël


On Thu, 2003-02-27 at 16:47, Brad Sagowitz wrote:
 Wondering if anyone can help...

 here is my setup:

 RedHat 7.3 with XFS (using the XFS install disk)
 After installation I'd downloaded 2.2.7 src rpm from redhat and rebuilt it
 with the --with-acl-support option in the samba.spec file
 then upgraded the resulting rpm files
 I've added the machine accounts and made root a smb user
 I can log in successfully(after applying the xp registry hack), the
problem
 comes in when I try to change permission on a file from windows explorer.
 For example adding users to give them rwx permissions on a file gives me
 access denied.
 Now... I tried getfacl and setfacl and both work.  When I use setfacl on a
 file and add a user, that user does not show up on the security tab in XP.
 And one other thing... I check the log for the XP machine and it has this
 error
 is104 (192.168.0.104) couldn't find service screenings

 Any help would be greatly appreciated

 Thanks




 here is my smb.conf file:

 [global]
   smb passwd file = /etc/samba/smbpasswd
   passwd program = /usr/bin/passwd %u
   domain master = yes
   dns proxy = no
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   short preserve case = no
   printcap name = /etc/printcap
   wins support = yes
   max log size = 0
   preferred master = yes
   logon script = %U.bat
   password level = 4
   passwd chat = *New*password* %n\n *Retype*new*password* %n\n
 *passwd:*all*authentication*tokens*updated*successfully*
   security = user
   domain logons = yes
   unix password sync = Yes
   workgroup = JDMC
   server string = JDMC Samba Server
   local master = yes
   netbios name = THE-SCOOP
   log file = /var/log/samba/%m.log
   load printers = no
   os level = 64

 [netlogon]
   path = /home/netlogon
   public = no
   read only = yes

 [homes]
   path = %H
   volume = Private
   writable = yes
   comment = Private Share
   valid users = %S
   browseable = no
   create mode = 0764
   directory mode = 0775

 [general]
   path = /shares/general
   writeable = yes
   public = yes
   valid users = @users,@root,root
 force group = users
 force create mode = 764

 Brad Sagowitz
 Operating Systems Specialist III
 A+, MCP, Linux+, CCAI-UNIX
 1125 E. Alameda
 Norman, OK 73071
[EMAIL PROTECTED]
--
Raphael Berghmans [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] ACL permissions with XP problem

2003-02-28 Thread Raphael Berghmans
Hi,

You can find last version of XFS ACL here :
ftp://rpmfind.net/linux/SGILinux/cmd_rpms/i386

This version works with RH 7.3, do not hesitate to upgrade !

Do not forget to install the devel of acl and attr. And recompile Samba.

See you,

Raphaël


On Fri, 2003-02-28 at 20:14, Brad Sagowitz wrote:
 I have
 libacl-2.0.9-0
 libattr-2.0.7-0
 
 But I'm very hesitant to upgrade I did this once and I couldn't even ls
 after upgrade.
 guess I back-up everything and give it a whirl.
 
 anyone have a good location for rpms?
 
 
 -Original Message-
 From: Raphael Berghmans [mailto:[EMAIL PROTECTED]
 Sent: Friday, February 28, 2003 12:57 PM
 To: Brad Sagowitz
 Cc: [EMAIL PROTECTED]
 Subject: Re: [Samba] ACL permissions with XP problem
 
 
 Hi,
 
 Which version of libacl and libattr do you use ?
 
 Because I think that for samba you need at least de version 2.0.12.
 
 See you,
 
 Raphaël
 
 
 On Thu, 2003-02-27 at 16:47, Brad Sagowitz wrote:
  Wondering if anyone can help...
 
  here is my setup:
 
  RedHat 7.3 with XFS (using the XFS install disk)
  After installation I'd downloaded 2.2.7 src rpm from redhat and rebuilt it
  with the --with-acl-support option in the samba.spec file
  then upgraded the resulting rpm files
  I've added the machine accounts and made root a smb user
  I can log in successfully(after applying the xp registry hack), the
 problem
  comes in when I try to change permission on a file from windows explorer.
  For example adding users to give them rwx permissions on a file gives me
  access denied.
  Now... I tried getfacl and setfacl and both work.  When I use setfacl on a
  file and add a user, that user does not show up on the security tab in XP.
  And one other thing... I check the log for the XP machine and it has this
  error
  is104 (192.168.0.104) couldn't find service screenings
 
  Any help would be greatly appreciated
 
  Thanks
 
 
 
 
  here is my smb.conf file:
 
  [global]
  smb passwd file = /etc/samba/smbpasswd
  passwd program = /usr/bin/passwd %u
  domain master = yes
  dns proxy = no
  encrypt passwords = yes
  socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
  short preserve case = no
  printcap name = /etc/printcap
  wins support = yes
  max log size = 0
  preferred master = yes
  logon script = %U.bat
  password level = 4
  passwd chat = *New*password* %n\n *Retype*new*password* %n\n
  *passwd:*all*authentication*tokens*updated*successfully*
  security = user
  domain logons = yes
  unix password sync = Yes
  workgroup = JDMC
  server string = JDMC Samba Server
  local master = yes
  netbios name = THE-SCOOP
  log file = /var/log/samba/%m.log
  load printers = no
  os level = 64
 
  [netlogon]
  path = /home/netlogon
  public = no
  read only = yes
 
  [homes]
  path = %H
  volume = Private
  writable = yes
  comment = Private Share
  valid users = %S
  browseable = no
  create mode = 0764
  directory mode = 0775
 
  [general]
  path = /shares/general
  writeable = yes
  public = yes
  valid users = @users,@root,root
  force group = users
  force create mode = 764
 
  Brad Sagowitz
  Operating Systems Specialist III
  A+, MCP, Linux+, CCAI-UNIX
  1125 E. Alameda
  Norman, OK 73071
 [EMAIL PROTECTED]
 --
 Raphael Berghmans [EMAIL PROTECTED]
-- 
Raphael Berghmans [EMAIL PROTECTED]

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


[Samba] Cannot Copy File: Access is Denied, the source file may be inuse?

2003-02-28 Thread Jon Robertson
Using Samba 2.25 with Webmin interface.when copying a file from local machine 
(windows 2000 pro) to a mapped network drive/share on Samba. I get the error message 
Cannot copy filename: Access is denied. The source file may be in use.

In the globals section, all users are given write permission as they are also on the 
individual share

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


RE: [Samba] ACL permissions with XP problem

2003-02-28 Thread Brad Sagowitz
You say to recompile samba... I compiled samba from the source rpms should I
do this again?

This will have to wait till monday as I'm going to make an image of my /
before doing this  =)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Raphael Berghmans
Sent: Friday, February 28, 2003 1:30 PM
To: Brad Sagowitz
Cc: [EMAIL PROTECTED]
Subject: RE: [Samba] ACL permissions with XP problem


Hi,

You can find last version of XFS ACL here :
ftp://rpmfind.net/linux/SGILinux/cmd_rpms/i386

This version works with RH 7.3, do not hesitate to upgrade !

Do not forget to install the devel of acl and attr. And recompile Samba.

See you,

Raphaël


On Fri, 2003-02-28 at 20:14, Brad Sagowitz wrote:
 I have
 libacl-2.0.9-0
 libattr-2.0.7-0

 But I'm very hesitant to upgrade I did this once and I couldn't even
ls
 after upgrade.
 guess I back-up everything and give it a whirl.

 anyone have a good location for rpms?


 -Original Message-
 From: Raphael Berghmans [mailto:[EMAIL PROTECTED]
 Sent: Friday, February 28, 2003 12:57 PM
 To: Brad Sagowitz
 Cc: [EMAIL PROTECTED]
 Subject: Re: [Samba] ACL permissions with XP problem


 Hi,

 Which version of libacl and libattr do you use ?

 Because I think that for samba you need at least de version 2.0.12.

 See you,

 Raphaël


 On Thu, 2003-02-27 at 16:47, Brad Sagowitz wrote:
  Wondering if anyone can help...
 
  here is my setup:
 
  RedHat 7.3 with XFS (using the XFS install disk)
  After installation I'd downloaded 2.2.7 src rpm from redhat and rebuilt
it
  with the --with-acl-support option in the samba.spec file
  then upgraded the resulting rpm files
  I've added the machine accounts and made root a smb user
  I can log in successfully(after applying the xp registry hack), the
 problem
  comes in when I try to change permission on a file from windows
explorer.
  For example adding users to give them rwx permissions on a file gives me
  access denied.
  Now... I tried getfacl and setfacl and both work.  When I use setfacl on
a
  file and add a user, that user does not show up on the security tab in
XP.
  And one other thing... I check the log for the XP machine and it has
this
  error
  is104 (192.168.0.104) couldn't find service screenings
 
  Any help would be greatly appreciated
 
  Thanks
 
 
 
 
  here is my smb.conf file:
 
  [global]
  smb passwd file = /etc/samba/smbpasswd
  passwd program = /usr/bin/passwd %u
  domain master = yes
  dns proxy = no
  encrypt passwords = yes
  socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
  short preserve case = no
  printcap name = /etc/printcap
  wins support = yes
  max log size = 0
  preferred master = yes
  logon script = %U.bat
  password level = 4
  passwd chat = *New*password* %n\n *Retype*new*password* %n\n
  *passwd:*all*authentication*tokens*updated*successfully*
  security = user
  domain logons = yes
  unix password sync = Yes
  workgroup = JDMC
  server string = JDMC Samba Server
  local master = yes
  netbios name = THE-SCOOP
  log file = /var/log/samba/%m.log
  load printers = no
  os level = 64
 
  [netlogon]
  path = /home/netlogon
  public = no
  read only = yes
 
  [homes]
  path = %H
  volume = Private
  writable = yes
  comment = Private Share
  valid users = %S
  browseable = no
  create mode = 0764
  directory mode = 0775
 
  [general]
  path = /shares/general
  writeable = yes
  public = yes
  valid users = @users,@root,root
  force group = users
  force create mode = 764
 
  Brad Sagowitz
  Operating Systems Specialist III
  A+, MCP, Linux+, CCAI-UNIX
  1125 E. Alameda
  Norman, OK 73071
 [EMAIL PROTECTED]
 --
 Raphael Berghmans [EMAIL PROTECTED]
--
Raphael Berghmans [EMAIL PROTECTED]

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


[Samba] Globals and virtual servers

2003-02-28 Thread bkrusic
Hi,

Do the global parms in smb.conf propagate to the
global parms of the smb.conf.%L files?

When I testparm the smb.conf file, it does not go test
the smb.conf.%L files.  When I testparm the
smb.conf.%L files, it shows Samba defaults as I
removed the global section of the smb.conf.%L files. 
I'd rather do without being redundant and verbose.

Bri- 

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.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] ACL permissions with XP problem

2003-02-28 Thread Raphael Berghmans
Hi,

Last 2 days, I've installed 4 servers RH 7.3 with samba, and I've
recompiled samba from rpms source. By default in the samba.spec, the ACL
support is implemented and then I think that the binary rpm of samba
doesn't include this functionality !

See you,

Raphaël

On Fri, 2003-02-28 at 20:42, Brad Sagowitz wrote:
 You say to recompile samba... I compiled samba from the source rpms should I
 do this again?
 
 This will have to wait till monday as I'm going to make an image of my /
 before doing this  =)
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of
 Raphael Berghmans
 Sent: Friday, February 28, 2003 1:30 PM
 To: Brad Sagowitz
 Cc: [EMAIL PROTECTED]
 Subject: RE: [Samba] ACL permissions with XP problem
 
 
 Hi,
 
 You can find last version of XFS ACL here :
 ftp://rpmfind.net/linux/SGILinux/cmd_rpms/i386
 
 This version works with RH 7.3, do not hesitate to upgrade !
 
 Do not forget to install the devel of acl and attr. And recompile Samba.
 
 See you,
 
 Raphaël
 
 
 On Fri, 2003-02-28 at 20:14, Brad Sagowitz wrote:
  I have
  libacl-2.0.9-0
  libattr-2.0.7-0
 
  But I'm very hesitant to upgrade I did this once and I couldn't even
 ls
  after upgrade.
  guess I back-up everything and give it a whirl.
 
  anyone have a good location for rpms?
 
 
  -Original Message-
  From: Raphael Berghmans [mailto:[EMAIL PROTECTED]
  Sent: Friday, February 28, 2003 12:57 PM
  To: Brad Sagowitz
  Cc: [EMAIL PROTECTED]
  Subject: Re: [Samba] ACL permissions with XP problem
 
 
  Hi,
 
  Which version of libacl and libattr do you use ?
 
  Because I think that for samba you need at least de version 2.0.12.
 
  See you,
 
  Raphaël
 
 
  On Thu, 2003-02-27 at 16:47, Brad Sagowitz wrote:
   Wondering if anyone can help...
  
   here is my setup:
  
   RedHat 7.3 with XFS (using the XFS install disk)
   After installation I'd downloaded 2.2.7 src rpm from redhat and rebuilt
 it
   with the --with-acl-support option in the samba.spec file
   then upgraded the resulting rpm files
   I've added the machine accounts and made root a smb user
   I can log in successfully(after applying the xp registry hack), the
  problem
   comes in when I try to change permission on a file from windows
 explorer.
   For example adding users to give them rwx permissions on a file gives me
   access denied.
   Now... I tried getfacl and setfacl and both work.  When I use setfacl on
 a
   file and add a user, that user does not show up on the security tab in
 XP.
   And one other thing... I check the log for the XP machine and it has
 this
   error
   is104 (192.168.0.104) couldn't find service screenings
  
   Any help would be greatly appreciated
  
   Thanks
  
  
  
  
   here is my smb.conf file:
  
   [global]
 smb passwd file = /etc/samba/smbpasswd
 passwd program = /usr/bin/passwd %u
 domain master = yes
 dns proxy = no
 encrypt passwords = yes
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 short preserve case = no
 printcap name = /etc/printcap
 wins support = yes
 max log size = 0
 preferred master = yes
 logon script = %U.bat
 password level = 4
 passwd chat = *New*password* %n\n *Retype*new*password* %n\n
   *passwd:*all*authentication*tokens*updated*successfully*
 security = user
 domain logons = yes
 unix password sync = Yes
 workgroup = JDMC
 server string = JDMC Samba Server
 local master = yes
 netbios name = THE-SCOOP
 log file = /var/log/samba/%m.log
 load printers = no
 os level = 64
  
   [netlogon]
 path = /home/netlogon
 public = no
 read only = yes
  
   [homes]
 path = %H
 volume = Private
 writable = yes
 comment = Private Share
 valid users = %S
 browseable = no
 create mode = 0764
 directory mode = 0775
  
   [general]
 path = /shares/general
 writeable = yes
 public = yes
 valid users = @users,@root,root
   force group = users
   force create mode = 764
  
   Brad Sagowitz
   Operating Systems Specialist III
   A+, MCP, Linux+, CCAI-UNIX
   1125 E. Alameda
   Norman, OK 73071
  [EMAIL PROTECTED]
  --
  Raphael Berghmans [EMAIL PROTECTED]
 --
 Raphael Berghmans [EMAIL PROTECTED]
 
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
-- 
Raphael Berghmans [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] Weird..

2003-02-28 Thread Igor Debacker
i deleted that file and the error goes on..

any other idea ?

- Original Message -
From: Tim Kubricht [EMAIL PROTECTED]
To: Igor Debacker [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 8:27 PM
Subject: Re: [Samba] Weird..


 Igor,

  1st shut down samba then look in the samba/private directory
  for a file called MACHINE.SID and delete the file.

  when you start Samba back up it will recreate the file.

 Regards,
 Tim


___
 At 07:03 PM 2/27/2003 -0300, Igor Debacker wrote:
 I have a machine with 'samba + winbind' installed ... everything works
fine.
 
 its my beta-machine.. so i used norton ghost to clone it to another
 computers, and as usual it works good, so i decided to do it with 5
 machines. at the end of the procedure i changed the ip of each one and
the
 netbios name
 
 so i have 5 cloned machines with 'winbind+samba' and thats good.. but if
i
 turn all of them on, together, i can only log in at the last one i turned
 on.. at all others machines i can't log in.. it shows me this error
 
 cli_net_auth2: error nt_status_access_denied
 
 cli_nt_setup_setup_creds: auth2 challenge failed
 
 connect_to_domain_password_server: unable to setup the PDC credentials to
 machine KANT. error was: nt_status_ok
 
 domain_client_validate: domain password server not available.
 
 so.. individually the machines are working but in someway they are
 conflicting and i don't know where...
 
 Thanx in advance,
 
 Igor
 
 OBS.: KANT is my PDC machine name
 --
 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] Weird..

2003-02-28 Thread Thomas Klettke
To take the machines off the domain yo have to change their network
settings in Windows (My Computer/Properties/Computer Name/Change).Remove
the entry under domain, then add something in workgroup. It doesn't
matter what, because after you rebooted you will add the machine back to
your domain. 
Make sure that you delete the old machine account on the Samba server. 
userdel win_machine$ where win_machine is the machine's current name
should do it. If you are using the LDAP backend, you should use
smbldap-userdel.pl win_machine$ instead.

Reboot the Windows machine, then add it back to your domain. If your
Samba server doesn't create an account automatically, you will have to
create that machine account manually prior to adding the machine to the
domain.



On Fri, 2003-02-28 at 12:20, Igor Debacker wrote:
 how can i do that in linux ?
 
 - Original Message -
 From: Thomas Klettke [EMAIL PROTECTED]
 To: Igor Debacker [EMAIL PROTECTED]
 Sent: Friday, February 28, 2003 2:57 PM
 Subject: Re: [Samba] Weird..
 
 
  Take the machine off the domain (on the Windows client, move it to a
  workgroup), reboot, and add it back on to the domain (perhaps with a new
  name, to be sure.) If that works, delete all old machine accounts, and
  proceed with the other ones the same way.
 
 
  On Fri, 2003-02-28 at 11:50, Igor Debacker wrote:
   i deleted that file and the error goes on..
  
   any other idea ?
  
   - Original Message -
   From: Tim Kubricht [EMAIL PROTECTED]
   To: Igor Debacker [EMAIL PROTECTED]; [EMAIL PROTECTED]
   Sent: Thursday, February 27, 2003 8:27 PM
   Subject: Re: [Samba] Weird..
  
  
Igor,
   
 1st shut down samba then look in the samba/private directory
 for a file called MACHINE.SID and delete the file.
   
 when you start Samba back up it will recreate the file.
   
Regards,
Tim
   
  
 
   ___
At 07:03 PM 2/27/2003 -0300, Igor Debacker wrote:
I have a machine with 'samba + winbind' installed ... everything
 works
   fine.

its my beta-machine.. so i used norton ghost to clone it to another
computers, and as usual it works good, so i decided to do it with 5
machines. at the end of the procedure i changed the ip of each one
 and
   the
netbios name

so i have 5 cloned machines with 'winbind+samba' and thats good.. but
 if
   i
turn all of them on, together, i can only log in at the last one i
 turned
on.. at all others machines i can't log in.. it shows me this error

cli_net_auth2: error nt_status_access_denied

cli_nt_setup_setup_creds: auth2 challenge failed

connect_to_domain_password_server: unable to setup the PDC
 credentials to
machine KANT. error was: nt_status_ok

domain_client_validate: domain password server not available.

so.. individually the machines are working but in someway they are
conflicting and i don't know where...

Thanx in advance,

Igor

OBS.: KANT is my PDC machine name
--
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] Weird..

2003-02-28 Thread Igor Debacker
but my machines are linux boxes..

well i realised what is happening
i'll re-write the story so new ppl can help me..

i had a linux box which was my alpha machine, after configuring winbind and
samba to log into the nt 2k server i cloned this linux box, so i could be
able to install it in other machines
i installed it in other 5 machines .. changed their netbios and ip, but when
i tryed to use these new machines .. only the last machine i turn on could
be able to log in.. in some way they were conflicting.. list members told me
it was something with SID, i tryed to delete MACHINE.SID and re-starting the
service, but it did not work.. so i looked for machines in my network
neighborhood using my win2k server, but they are not there.. only my alpha
machine name is there.. i looked into the active directory, and they are not
there either, so now i need to add each one of these new machines to the
domain.. i already tryed smbpasswd -j domain -r pdcname -U admin .. but it
did not create their registers in the active directory.

one more thing.. when i ping my alpha machine name (ping machine_name) it
always returns me the last turned on machine ip.

i think i just need an efective way of joining these machines to the domain,
an way which they'll be registered in the active directory, as i did with my
alpha machine .. i don't know what i am missing..

thanx for help..

any idea ?

Igor



- Original Message -
From: Thomas Klettke [EMAIL PROTECTED]
To: Igor Debacker [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, February 28, 2003 3:36 PM
Subject: Re: [Samba] Weird..


 To take the machines off the domain yo have to change their network
 settings in Windows (My Computer/Properties/Computer Name/Change).Remove
 the entry under domain, then add something in workgroup. It doesn't
 matter what, because after you rebooted you will add the machine back to
 your domain.
 Make sure that you delete the old machine account on the Samba server.
 userdel win_machine$ where win_machine is the machine's current name
 should do it. If you are using the LDAP backend, you should use
 smbldap-userdel.pl win_machine$ instead.

 Reboot the Windows machine, then add it back to your domain. If your
 Samba server doesn't create an account automatically, you will have to
 create that machine account manually prior to adding the machine to the
 domain.



 On Fri, 2003-02-28 at 12:20, Igor Debacker wrote:
  how can i do that in linux ?
 
  - Original Message -
  From: Thomas Klettke [EMAIL PROTECTED]
  To: Igor Debacker [EMAIL PROTECTED]
  Sent: Friday, February 28, 2003 2:57 PM
  Subject: Re: [Samba] Weird..
 
 
   Take the machine off the domain (on the Windows client, move it to a
   workgroup), reboot, and add it back on to the domain (perhaps with a
new
   name, to be sure.) If that works, delete all old machine accounts, and
   proceed with the other ones the same way.
  
  
   On Fri, 2003-02-28 at 11:50, Igor Debacker wrote:
i deleted that file and the error goes on..
   
any other idea ?
   
- Original Message -
From: Tim Kubricht [EMAIL PROTECTED]
To: Igor Debacker [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 8:27 PM
Subject: Re: [Samba] Weird..
   
   
 Igor,

  1st shut down samba then look in the samba/private directory
  for a file called MACHINE.SID and delete the file.

  when you start Samba back up it will recreate the file.

 Regards,
 Tim

   
 

___
 At 07:03 PM 2/27/2003 -0300, Igor Debacker wrote:
 I have a machine with 'samba + winbind' installed ... everything
  works
fine.
 
 its my beta-machine.. so i used norton ghost to clone it to
another
 computers, and as usual it works good, so i decided to do it with
5
 machines. at the end of the procedure i changed the ip of each
one
  and
the
 netbios name
 
 so i have 5 cloned machines with 'winbind+samba' and thats good..
but
  if
i
 turn all of them on, together, i can only log in at the last one
i
  turned
 on.. at all others machines i can't log in.. it shows me this
error
 
 cli_net_auth2: error nt_status_access_denied
 
 cli_nt_setup_setup_creds: auth2 challenge failed
 
 connect_to_domain_password_server: unable to setup the PDC
  credentials to
 machine KANT. error was: nt_status_ok
 
 domain_client_validate: domain password server not available.
 
 so.. individually the machines are working but in someway they
are
 conflicting and i don't know where...
 
 Thanx in advance,
 
 Igor
 
 OBS.: KANT is my PDC machine name
 --
 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 

Re: [Samba] Weird..

2003-02-28 Thread Thomas Klettke

Yes,

smbpasswd -j

after you have created a machine account on the Windows 
domain. (Server Manager for Domains)


On Fri, 2003-02-28 at 13:40, Igor Debacker wrote:
 no problem..
 
 but how can i re-add each machine to the domain ?
 
 smbpasswd -j ???
 
 - Original Message -
 From: Thomas Klettke [EMAIL PROTECTED]
 To: Igor Debacker [EMAIL PROTECTED]
 Sent: Friday, February 28, 2003 4:17 PM
 Subject: Re: [Samba] Weird..
 
 
  Ooops, my fault. i guess it's time for the weekend - I must be too
  stressed out :-)
 
  (Apparently I was under the impression that you were using Windows boxes
  to connect to a Linux Samba server. I must have been sleeping and not
  read your first message correctly - my apologies.)
 
  Let's start over again then:
 
  See what happens if you remove the machine account for your alpha
  machine from the Windows Domain, then add each Linux machine to the
  domain again, thereby creating new, unique SIDs for them.
 
  Thomas
 
 
 
  On Fri, 2003-02-28 at 12:46, Igor Debacker wrote:
   but my machines are linux boxes..
  
   well i realised what is happening
   i'll re-write the story so new ppl can help me..
  
   i had a linux box which was my alpha machine, after configuring winbind
 and
   samba to log into the nt 2k server i cloned this linux box, so i could
 be
   able to install it in other machines
   i installed it in other 5 machines .. changed their netbios and ip, but
 when
   i tryed to use these new machines .. only the last machine i turn on
 could
   be able to log in.. in some way they were conflicting.. list members
 told me
   it was something with SID, i tryed to delete MACHINE.SID and re-starting
 the
   service, but it did not work.. so i looked for machines in my network
   neighborhood using my win2k server, but they are not there.. only my
 alpha
   machine name is there.. i looked into the active directory, and they are
 not
   there either, so now i need to add each one of these new machines to the
   domain.. i already tryed smbpasswd -j domain -r pdcname -U admin .. but
 it
   did not create their registers in the active directory.
  
   one more thing.. when i ping my alpha machine name (ping machine_name)
 it
   always returns me the last turned on machine ip.
  
   i think i just need an efective way of joining these machines to the
 domain,
   an way which they'll be registered in the active directory, as i did
 with my
   alpha machine .. i don't know what i am missing..
  
   thanx for help..
  
   any idea ?
  
   Igor
  
  
  
   - Original Message -
   From: Thomas Klettke [EMAIL PROTECTED]
   To: Igor Debacker [EMAIL PROTECTED]
   Cc: [EMAIL PROTECTED]
   Sent: Friday, February 28, 2003 3:36 PM
   Subject: Re: [Samba] Weird..
  
  
To take the machines off the domain yo have to change their network
settings in Windows (My Computer/Properties/Computer
 Name/Change).Remove
the entry under domain, then add something in workgroup. It doesn't
matter what, because after you rebooted you will add the machine back
 to
your domain.
Make sure that you delete the old machine account on the Samba server.
userdel win_machine$ where win_machine is the machine's current name
should do it. If you are using the LDAP backend, you should use
smbldap-userdel.pl win_machine$ instead.
   
Reboot the Windows machine, then add it back to your domain. If your
Samba server doesn't create an account automatically, you will have to
create that machine account manually prior to adding the machine to
 the
domain.
   
   
   
On Fri, 2003-02-28 at 12:20, Igor Debacker wrote:
 how can i do that in linux ?

 - Original Message -
 From: Thomas Klettke [EMAIL PROTECTED]
 To: Igor Debacker [EMAIL PROTECTED]
 Sent: Friday, February 28, 2003 2:57 PM
 Subject: Re: [Samba] Weird..


  Take the machine off the domain (on the Windows client, move it to
 a
  workgroup), reboot, and add it back on to the domain (perhaps with
 a
   new
  name, to be sure.) If that works, delete all old machine accounts,
 and
  proceed with the other ones the same way.
 
 
  On Fri, 2003-02-28 at 11:50, Igor Debacker wrote:
   i deleted that file and the error goes on..
  
   any other idea ?
  
   - Original Message -
   From: Tim Kubricht [EMAIL PROTECTED]
   To: Igor Debacker [EMAIL PROTECTED]; [EMAIL PROTECTED]
   Sent: Thursday, February 27, 2003 8:27 PM
   Subject: Re: [Samba] Weird..
  
  
Igor,
   
 1st shut down samba then look in the samba/private
 directory
 for a file called MACHINE.SID and delete the file.
   
 when you start Samba back up it will recreate the file.
   
Regards,
Tim
   
  

  
 
   ___
At 07:03 PM 2/27/2003 -0300, 

[Samba] Across subnet question?

2003-02-28 Thread TURPIN, SERGE
Guys,

I am a beginner with SAMBA and I have questions.

I install Samba server 2.2.3a on a Unix box.
I have 1 Windows 2000 servers located on the same subnet. I can see the unix
box with the Windows network browser, but not the share drive by double
clicking the workstation. Even the net view command fail with the error code
 Access denied

Does Samba work across multiple subnet?

Your taught will be very appreciated.

Serge Turpin
CGI // GIT Services
Senior Consultant // Tivoli Delivery  Solutions Centre
4 Place Ville Marie,  3rd floor
Montreal, Quebec, Canada
H3B-2E7

Office: (514) 878-8700  ext:4732
Fax : (514) 393-0123
Cellular : (514) 233-1073
Pager : (514) 741-0625

U.S. Sept 11th, 2001 ** The Wall Of Hope **



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


[Samba] Re: smbldap-tools badly messed up

2003-02-28 Thread Jim
I think I am getting used to the scripts now.

It turns out that the tick marks on the -g command are non-negotiable, 
i.e. in order for it to work properly you must enclose the group in 
question with either single (or double?) quotes like so:

smbldap-useradd.pl -a -P -g 'adm' -E '' -m -F '' -D '' -C '' Administrator

I'm very pleased with the -m command which succesfully created the 
user's directory permissions and ownership.  In reality, my prime 
concern here was that users of the HOWTO were going to have to either 
change ownership or permissions by default.  Since it isn't broke 
though, we won't fix it. :-)

  -CsmbHome (SMB home share, like '\\PDC-SRV\homes')
  -DhomeDrive (letter associated with home share, like 'H:')
  -EscriptPath (DOS script to execute on login)
  -FprofilePath (profile directory, like '\\PDC-SRV\profiles\foo')
The above options blanked out nicely with the exception of -D in which I 
was left with a colon.  I think that we can leave this one set to say, X 
or something though and it will be fine for the HOWTO, though.

Jim C.

Tested it several times.  Didn't work.  How often do these scripts get 
...
you to remove the bits you don't want


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


[Samba] Re: Hiding a share

2003-02-28 Thread Jim
THAT was handy to know! :-)
Thanks,
Jim C.

Henrickson, Den wrote:
[sharename$]
comment = Henrickson, Den
path = /home/henrickd
valid users = vmi+henrickd
read only = No
The $ creates a hidden Windows share.  To access you would have to do
something like this from Windows client
\\servername\sharename$

Den Henrickson
Network Administrator
Van Meter Industrial
319-368-2822


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


[Samba] getent group returns only few groups on solaris

2003-02-28 Thread Gopal Bhat
Hi All,
   I was able to get 'winbind' configured on my Solaris-9 system and 
authenticate Windows domain users, but I have three problems:
  Server OS; Solaris 9, MU2
  SAmba version: 2.2.7(also tried 2.2.8prel , but same problem)
  Tried 'winbind enum users/groups' both true and false
  Client OS:  Windows XP, WinNT4.0
  nsswitch.conf entries:passwd:files winbind
  group: files winbind
  nscd is turned off on the Solaris System.
  Number of Users in NT domain:  2
   Number of Groups in NT domain:  7000

1)  'getent passwd'  works great, and returns all the users from local 
files and windows domain as well, but 'getent group' returns all the 
groups in the /etc/group file and only few groups from the WinNT Domain. 
Is there a way to make 'getent group' return all the groups in winNt 
Domain?
 2) I can share a directory from the Solaris 9 system with WinNT/WinXP 
clients without any problem. But, whenever I make changes to ACLs using 
Windows File Property - Security editor (on Win XP), I can not do 'ls 
-l' on the same directory by logging into Solaris system(as root or the 
owner of the file). Also, 'getfacl  filename'  fails on the same 
directory, where as I can see the changed  File ACLs from my Windows XP 
system without any problem.

3) I don't know wether the following problem is related to the one of 
the above two, but here is the thrid problem:
I created a SAMBA share  \\server\TestShare (On UNIX it is 
/export/SMB/TestShare) with owner as 'DOMAIN\TestUser'.  root# ls -ld 
TestShare
drwxrws---+  3 DOMAIN\TestUser other512 Feb 27 10:33 TestShare

I modified the ACLs on this share by logging in as user: 
'DOMAIN\TestUser' from my WinXP client to allow the members of group 
'DOMAIN\TestGroup' to  read and list  this share.  When I log in as a 
different user 'DOMAIN\TestUser1' (Member of DOMAIN\TestGroup) to my 
WinXP(or NT) and try to access this share I get the error Access Denied 
or Network Name Not Found.

Also, the client log on the server shows the following:

[2003/02/27 13:13:40, 0] smbd/sec_ctx.c:initialise_groups(244)
Unable to initgroups. Error was Not owner
[2003/02/27 13:13:40, 0] smbd/sec_ctx.c:initialise_groups(247)
This is probably a problem with the account domain\testuser1
[2003/02/27 13:13:40, 0] smbd/service.c:make_connection(599)
kka6trvy-a (10.81.105.121) Can't change directory to /export/SMB
  Any tips towards solving these problems will be greatly appreciated.
 Can anyone post Sparc/Solaris compiled binary of libnss_winbind.so and 
pam_winbind.so?

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


[Samba] librsync ??

2003-02-28 Thread Greg Freemyer
All,

Does anyone know anything about librsync, and where it is currently maintained on the 
web?

It apparently is/was a samba project, but I'm not sure how it relates.

The authors are listed as:
 Martin Pool [EMAIL PROTECTED]
 Andrew Tridgell [EMAIL PROTECTED]

but I suspect someone else did the 0.9.5.1 update, because only 0.9.5 is available on 
the rproxy site (http://rproxy.sourceforge.net/download.html).

It is used by rdiff-backup (http://rdiff-backup.stanford.edu/) and they have a tarball 
for 0.9.5.1 on their site, but if you download it and try to compile it you get 
problems with missing files.

I did a diff between 0.9.5 and 0.9.5.1 and there were about 3000 lines modified, so 
somebody has done a lot of work on it relatively recently.

0.9.5 does compile, but the above site says that it has memory leaks and the rdiff 
package will not work reliably.

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


Re: [Samba] Re: Hiding a share

2003-02-28 Thread Jim Wharton
Keep in mind however, this only hides the share in Network Neighborhood/My
Network Places/explorer. It is still possible to do a net view command from
the command line and see everything.

Jim

- Original Message -
From: Jim [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 28, 2003 7:02 PM
Subject: [Samba] Re: Hiding a share


 THAT was handy to know! :-)
 Thanks,

 Jim C.

 Henrickson, Den wrote:
  [sharename$]
  comment = Henrickson, Den
  path = /home/henrickd
  valid users = vmi+henrickd
  read only = No
 
  The $ creates a hidden Windows share.  To access you would have to do
  something like this from Windows client
 
  \\servername\sharename$
 
  Den Henrickson
  Network Administrator
  Van Meter Industrial
  319-368-2822
 


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


[Samba] compilation problems with 2.2.7a on OpenBSD 3.2 using --with-ldapsam

2003-02-28 Thread Henry, Brad ERM

Hello, last weekend I downloaded installed the openldap port for openbsd
3.2, which installed ldap.h and lber.h (among others) into
/usr/local/include as well as liblber.a and libldap.a into /usr/local/lib. 

Following that, I downloaded samba-latest, ran 

./configure --with-ldapsam --libdir=/usr/local/lib
--includedir=/usr/local/include
which came back with no problems to speak of.

So I ran make, and it came up with

Compiling passdb/secrets.c
passdb/secrets.c: In function `secrets_named_mutex':
passdb/secrets.c:287: warning: passing arg 2 of `tdb_lock_bystring' discards
qualifiers from pointer target type
Compiling passdb/pass_check.c
Compiling passdb/smbpassfile.c
Compiling passdb/machine_sid.c
Compiling passdb/pdb_smbpasswd.c
Compiling passdb/pampass.c
Compiling passdb/pdb_tdb.c
Compiling passdb/pdb_ldap.c
passdb/pdb_ldap.c:48: lber.h: No such file or directory
passdb/pdb_ldap.c:49: ldap.h: No such file or directory
*** Error code 1


So does anyone know what I should try next to be able to compile samba
--with-ldapsam on openbsd 3.2?
I have attached the full configure and make output if that helps anyone...

Thanks,
Brad

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


Re: [Samba] Weird..

2003-02-28 Thread Thomas Klettke
(Igor, please cc: the list also on your replies - perhaps someone else
has some ideas.)

What if you delete everything under /var/cache/samba/, then try to join
the domain again?
 
I'm not sure if this affects the samba client in any way, but apparently
samba is remembering your previous machine name somewhere. It seems
worth trying.

On Fri, 2003-02-28 at 14:01, Igor Debacker wrote:
 if i use the complete command... as
 
 smbpasswd -j nt-linjur -r kant -U admin
 it asks for passwd and then succesfully joins the domain..
 but.. he re-adds the alpha_machine_name.. not the new name to the active
 directory..
 
 there is something there.. which is pointing to the old name...
 
 but what ?

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


[Samba] Samba doesn't free network resource with XP clients

2003-02-28 Thread Charles Bueche
Hi all,

We are having a difficult time with Samba 2.2.7a on AIX. Since XP clients
appeared, we see growing leaked resources on our ATM network adapter
buffers.

Stopping Samba frees all leaked buffers. The short-term fix is to
stop/start samba in a cron job. Hideous quirk at best.

The local network admin traced the SMB exchanges, and found that some
applications don't generate SMB Logoff after Session Disconnect if the
server doesn't support NT Status Codes.

However, NT Status Codes are supposed to exist since Samba 2.2.3. 

The problem seems to be related to the Microsoft Knowledge Base Article
316740 SMB Logoff Command Is Not Sent When Session Is Disconnected.

Would it be a solution to use the deadtime option in Samba ? What impact
would it have on clients ?

In
http://lists.samba.org/pipermail/samba-technical/2002-September/039416.html,
Jeremy Allison said he understand the problem and sees a fix. Any news on
this ?

Thanks,
Charles

-- 
Charles Bueche [EMAIL PROTECTED]
sand, snow, wave, wind and net -surfer
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Weird..

2003-02-28 Thread Tim Kubricht
Igor,
I found this on the MACHINE.SID  from a file on Samba-HowTo had found a 
Troubleshooting doc that suggested
removing all the files in private.  But I wanted to confirm that before I 
suggested it.
I have removed the secrets.tdb file and started samba and it did re-create 
the secrets.tdb
file.  net view \\computer_name did show my shares as expected.

Thomas Klettke wrote that you may need to go to the PDC system and remove 
the computer name
from the server list for new systems to be added.  I agree this may also 
need to be done.
Regards,
Tim
- 

The file private/MACHINE.SID identifies the domain. When a samba server is 
first started, it is
created on the fly and must never be changed again. This file has to be the 
same on the PDC and the
BDC, so the MACHINE.SID has to be copied from the PDC to the BDC. Note that 
in the latest
Samba 2.2.x releases, the machine SID (and therefore domain SID) is stored 
in the
private/secrets.tdb database. This file cannot just be copied because Samba 
looks under the
key SECRETS/SID/DOMAIN. where DOMAIN is the machine's netbios name. Since 
this name has
to be unique for each SAMBA server, this lookup will fail.
-



At 02:50 PM 2/28/2003 -0300, Igor Debacker wrote:
i deleted that file and the error goes on..

any other idea ?

- Original Message -
From: Tim Kubricht [EMAIL PROTECTED]
To: Igor Debacker [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 8:27 PM
Subject: Re: [Samba] Weird..
 Igor,

  1st shut down samba then look in the samba/private directory
  for a file called MACHINE.SID and delete the file.

  when you start Samba back up it will recreate the file.

 Regards,
 Tim


___
 At 07:03 PM 2/27/2003 -0300, Igor Debacker wrote:
 I have a machine with 'samba + winbind' installed ... everything works
fine.
 
 its my beta-machine.. so i used norton ghost to clone it to another
 computers, and as usual it works good, so i decided to do it with 5
 machines. at the end of the procedure i changed the ip of each one and
the
 netbios name
 
 so i have 5 cloned machines with 'winbind+samba' and thats good.. but if
i
 turn all of them on, together, i can only log in at the last one i turned
 on.. at all others machines i can't log in.. it shows me this error
 
 cli_net_auth2: error nt_status_access_denied
 
 cli_nt_setup_setup_creds: auth2 challenge failed
 
 connect_to_domain_password_server: unable to setup the PDC credentials to
 machine KANT. error was: nt_status_ok
 
 domain_client_validate: domain password server not available.
 
 so.. individually the machines are working but in someway they are
 conflicting and i don't know where...
 
 Thanx in advance,
 
 Igor
 
 OBS.: KANT is my PDC machine name
 --
 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] Re: Hiding a share

2003-02-28 Thread John H Terpstra
On Fri, 28 Feb 2003, Jim Wharton wrote:

 Keep in mind however, this only hides the share in Network Neighborhood/My
 Network Places/explorer. It is still possible to do a net view command from
 the command line and see everything.

Correct. That is why samba has a 'browseable = [ Yes | No]' option.
Go figure.

- John T.


 Jim

 - Original Message -
 From: Jim [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, February 28, 2003 7:02 PM
 Subject: [Samba] Re: Hiding a share


  THAT was handy to know! :-)
  Thanks,
 
  Jim C.
 
  Henrickson, Den wrote:
   [sharename$]
   comment = Henrickson, Den
   path = /home/henrickd
   valid users = vmi+henrickd
   read only = No
  
   The $ creates a hidden Windows share.  To access you would have to do
   something like this from Windows client
  
   \\servername\sharename$
  
   Den Henrickson
   Network Administrator
   Van Meter Industrial
   319-368-2822
  
 
 
  --
  To unsubscribe from this list go to the following URL and read the
  instructions:  http://lists.samba.org/mailman/listinfo/samba



-- 
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] Thanks Samba Community!!!

2003-02-28 Thread Austin Mann
After perusing the archives, it appeared to me that RH8  Winbindd didnt 
play well, and it was a lot more RH8 than winbindd. Similar problems to 
mine.
Mine joined the domain, NT server mngr was completely faked out, registered 
in WINS, 9X, NT  2K could ping srvr by NetBIOS name, but log.winbindd said
cant find dcs for MMCENTERS

I remembered fighting some other Kernel crap on ver 8, than when I went back 
to 7.3 worked fine, and let me install the lids kernel patch as well.

So I figured what the heck try it on 7.3, whatever it installed I ignored, 
got fresh rpms from RH, and then configed and fired up, worked first time.

So it isnt the rpm packaging per se, but I would bet that it is related. RH 
did a lot in 8 and I think it was overly ambitious.

Again thanks to all of the Samba community, excellent product, everyone from 
the CEO on down is just plain stoked!

Now if MySQL would trick folks who write their app to run atop MSSQL. A guy 
can dream!!!

Thanks again
-A


Austin Mann
firemann816 at hotmail.com
The difference between Genius and Stupidity - Genius has its limits.
- Einstein




From: Shane Kennedy [EMAIL PROTECTED]
To: Austin Mann [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [Samba] Thanks Samba Community!!!
Date: Fri, 28 Feb 2003 10:13:52 +
Any ideas anyone on the problem with RH8 ?.

Austin Mann wrote:

You folks are the greatest.
Rolled out my first Samba member server today.
Read the stuff from SWAT, and it worked the first time on RH7.3, after it
failed on RH8
You folks are the best, we're struggling to stay afloat and M$ squeezes us
for more.
(RH is pushing me to Debian by the day!!!)
There will be a lot more Samba in the farm soon.

My deepest grattitude.

Respectully,

Austin Mann


_
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

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


[Samba] Re: Samba offering dynamic homes share trouble..

2003-02-28 Thread Nolan Garrett
I had a similiar problem: try /home/%S

Nolan

Bob Ambroso wrote:

 I have samba running on RH 8,  samba 2.2.7-2, and using winbind..
 
 Want homes share to automatically display as users access it.
 Thought I could use the %u but am having no luck.. Currently, have it
 set up but
 when user clicks on home share a username/password dialog displays and
 will not accept valid credentials for that user? Have
 my config and log snips from nmbd and machine account log as displayed
 below:
  smb.conf:
 My smb.conf file:
 # This is the main Samba configuration file. You should read the
 # smb.conf(5) manual page in order to understand the options listed
 # here. Samba has a huge number of configurable options (perhaps too
 # many!) most of which are not shown in this example
 #
 # Any line which starts with a ; (semi-colon) or a # (hash)
 # is a comment and is ignored. In this example we will use a #
 # for commentry and a ; for parts of the config file that you
 # may wish to enable
 #
 # NOTE: Whenever you modify this file you should run the command
 testparm
 # to check that you have not made any basic syntactic errors.
 #
 #=== Global Settings
 =
 [global]
 
 # workgroup = NT-Domain-Name or Workgroup-Name
workgroup = LIBRARY
 
 # server string is the equivalent of the NT Description field
server string = Samba Server
 
 #netbios name of machine
 ;netbios name = placer
 # This option is important for security. It allows you to restrict
 # connections to machines which are on your local network. The
 # following example restricts access to two C class networks and
 # the loopback interface. For more examples of the syntax see
 # the smb.conf man page
 ;   hosts allow = 192.168.15. 192.168.11. 127.0.0.
 
 # if you want to automatically load your printer list rather
 # than setting them up individually then you'll need this
printcap name = /etc/printcap
load printers = yes
 
 # It should not be necessary to spell out the print system type unless
 # yours is non-standard. Currently supported print systems include:
 # bsd, sysv, plp, lprng, aix, hpux, qnx
printing = lprng
 
 # Uncomment this if you want a guest account, you must add this to
 /etc/passwd
 # otherwise the user nobody is used
 ;  guest account = pcguest
 
 # this tells Samba to use a separate log file for each machine
 # that connects
log file = /var/log/samba/%m.log
 
 # Put a capping on the size of the log files (in Kb).
max log size = 0
 
 # Security mode. Most people will want user level security. See
 # security_level.txt for details.
security = domain
 
 # Use password server option only with security = server
 # The argument list may include:
 #   password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
 # or to auto-locate the domain controller/s
 ;password server = *
  password server = NTPDC LASSEN
 
 # Password Level allows matching of _n_ characters of the password for
 # all combinations of upper and lower case.
 ;  password level = 8
 ;  username level = 8
 
 # You may wish to use password encryption. Please read
 # ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
 # Do not enable this option unless you have read those documents
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
 
 # The following is needed to keep smbclient from spouting spurious
 errors
 # when Samba is built with support for SSL.
 ;   ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt
 
 # The following are needed to allow password changing from Windows to
 # update the Linux system password also.
 # NOTE: Use these with 'encrypt passwords' and 'smb passwd file' above.
 # NOTE2: You do NOT need these to allow workstations to change only
 #the encrypted SMB passwords. They allow the Unix password
 #to be kept in sync with the SMB password.
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
 *passwd:*all*authentication*tokens*updated*successfully*
 
 # You can use PAM's password change control flag for Samba. If
 # enabled, then PAM will be used for password changes when requested
 # by an SMB client instead of the program listed in passwd program.
 # It should be possible to enable this without changing your passwd
 # chat parameter for most setups.
 
pam password change = yes
 
 # Unix users can map to different SMB User names
 ;  username map = /etc/samba/smbusers
 
 # Using the following line enables you to customise your configuration
 # on a per machine basis. The %m gets replaced with the netbios name
 # of the machine that is connecting
 ;   include = /etc/samba/smb.conf.%m
 
 # This parameter will control whether or not Samba should obey PAM's
 # account and session management directives. The default behavior is
 # to use PAM for clear text authentication only and to ignore any
 # account or session management. Note 

Re: [Samba] [Fwd: samba 30alpha21 + NT4/2K WS-s]

2003-02-28 Thread Bradley W. Langhorst
On Fri, 2003-02-28 at 13:09, [EMAIL PROTECTED] wrote:
 [netlogon] share is like that:
 
 [netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
guest ok = no
writable = no
browseable = yes
public = yes
this is what i'm using ...
[netlogon]
path = /etc/samba/netlogon
write list = root
guest ok = Yes
nt acl support = No

do you have scriptPath set in ldap?
i don't use logon scripts so i'm not sure you need it - just an idea.

 
 Another thing was that smbgroupedit -v showd several Domain Admins and
 Domain Users group (with different SIDs).. So i took experimental step
 and deleted some of them, leaving exactly one of every group..
 Can this be somehow connected to 1st problem?
i have one of each of these.
probably you changed your sid during your experiments...
it might be a good idea to wipe out all your tdb files and rejoin
your machines (that is if your still in testing mode)

 Also samba complained that:
 
 get_domain_user_groups: primary gid of user [john] is not a Domain group
 ! get_domain_user_groups: You should fix it, NT doesn't like that
i get that sometimes - i just ignore it...

 Third problem is locally stored profiles. How I could make such set up
 that when user logs out from WS , then WS would copy changed profile
 back to server and delete it from WS ?
 It's question of security and hard disk space..
you can do that with a setting in gpedit.msc
don't remember which one but i think i'll be obvious.
 
 4)
 How could i set up client name resolution so that X client canot
 announce itself as DC/browse master etc?
 I every client resolves names via boadcast then when my DC goes down and
 someone brings up his nt/samba server he could do lotof damaga - collect
 people passwords etc...
just use wins - it reduces broadcasting significantly.
it would not be entirely trivial to just bring up a fake pdc
you'd need to know the domain SID
fake authentication of clients 
and fake up some profiles to be downloaded to the user.

I don't think the client authenticates the server with samba.
someone with more knowledge of the internals might be able to comment
more usefully on this front...

brad

-- 
Bradley W. Langhorst [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] [Fwd: samba 30alpha21 + NT4/2K WS-s]

2003-02-28 Thread john
 4)
 How could i set up client name resolution so that X client canot
 announce itself as DC/browse master etc?
 I every client resolves names via boadcast then when my DC goes down
 and someone brings up his nt/samba server he could do lotof damaga -
 collect people passwords etc...
 just use wins - it reduces broadcasting significantly.
 it would not be entirely trivial to just bring up a fake pdc
 you'd need to know the domain SID
 fake authentication of clients
 and fake up some profiles to be downloaded to the user.

 I don't think the client authenticates the server with samba.
 someone with more knowledge of the internals might be able to comment
 more usefully on this front...

OK, when PDC is also wins server, then when PDC goes down, wins server
goes down and clients that use only wins server can't find PDC and also
noone cant play fake DC? Am I right?
And also , as I read about p-nodes b-nodes , etc, how can configure
nt4/w2k/xp  to act as for example p-node? Is that so that I specify wins
server and boom it works as P-node?

Acctually another stupid question I'd like to ask now (well I just havent
searchd this out with google yet) is that what is Master Browser ?

I mean samba docs somewhere said that samba wins master browser election
exepct against NT4 server... Which brings question about following
scenario:

I have samba  PDC which also acts as wins server. Now if some damn cracker
sets up win NT 4.0 server and announces itself to wins  master browser
election, then what harm could he do? I mean again, could he stole
passwords, etc... ?




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


[Samba] [Fwd: samba 30alpha21 + NT4/2K WS-s]

2003-02-28 Thread john

Hi,

I have some strange problems with 3.0a21 PDC (samba and nss use both
ldap) and I can't find any good help with google...

One strange thing is that logon script does'nt work anymore, it worked
at one point and now doesnt (I quite play around here and I dont know in
which point of changing smb.conf it stopped to work).

[netlogon] share is like that:

[netlogon]
   comment = Network Logon Service
   path = /home/samba/netlogon
   guest ok = no
   writable = no
   browseable = yes
   public = yes

and some lines from [global]:
local master = yes
os level = 99
domain master = yes
preferred master = yes

domain logons = yes
logon drive = U:
logon path = \\server\%U\profiles
logon home = \\server\%U\
logon script = START.BAT

/home/samba/netlogn/START.BAT exists, line breaks are in dos -style ...
if I log into NT4 on 2K ws, then i can mount \\pdc1\netlogon share and
run START.BAT there..
So what the heck can it be?

Another thing was that smbgroupedit -v showd several Domain Admins and
Domain Users group (with different SIDs).. So i took experimental step
and deleted some of them, leaving exactly one of every group..
Can this be somehow connected to 1st problem?

Also samba complained that:

get_domain_user_groups: primary gid of user [john] is not a Domain group
! get_domain_user_groups: You should fix it, NT doesn't like that

so a added john's primary group to Domain Users ans Users group (but
seems to change nothing):
[EMAIL PROTECTED]:/var/log/samba# smbgroupedit -v
NT group (SID) - Unix group
System Operators (S-1-5-32-549) - -1
Replicators (S-1-5-32-552) - -1
Guests (S-1-5-32-546) - -1
Power Users (S-1-5-32-547) - -1
Print Operators (S-1-5-32-550) - -1
Administrators (S-1-5-32-544) - -1
Account Operators (S-1-5-32-548) - -1
Domain Admins (S-1-5-21-2072525299-305900136-1143589454-512) - domadm
Domain Guests (S-1-5-21-2072525299-305900136-1143589454-514) - -1
Domain Users (S-1-5-21-2072525299-305900136-1143589454-513) - users
Backup Operators (S-1-5-32-551) - -1
Users (S-1-5-32-545) - users
[EMAIL PROTECTED]:/var/log/samba#



Third problem is locally stored profiles. How I could make such set up
that when user logs out from WS , then WS would copy changed profile
back to server and delete it from WS ?
It's question of security and hard disk space..

4)
How could i set up client name resolution so that X client canot
announce itself as DC/browse master etc?
I every client resolves names via boadcast then when my DC goes down and
someone brings up his nt/samba server he could do lotof damaga - collect
people passwords etc...

now if I had every WS configured to resolve names via WINS and wins
configured with static netbios/ip resolve table, then I wouldn have to
worry about this? But as I understand only way wins server works is like
it adds routing support to broadcast resove mechanism...


Thanks goes to everyone bothering to enlighten me..


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


Only from Windows9x

2003-02-28 Thread Andras S. Haramasz
Hi,
1).On version 2.2.7a (as PDC) during the execution of the logon script
all drives fail with:
Error 55: The specified resource is not available. The computer that
shared the resource might have been turned off, or the permissions might
have been changed. For more information, contact your network
administrator.

Here is the bat file:
net time \\linux /set /yes  This is fine
net use n: \\linux\netlogon This is fine
net use h: \\linux\homesfails
net use p: \\linux\public   fails
net use t: \\linux\tmp  fails
net use w: \\linux\Work fails
net use n: /d /y

Strangely enough, after failing all drives, starts copying the local
profile to \\linux\homes (homes is replaced with the user's home
directory).

2). On a 20 GB partition I get disc full (using copy+paste) However,
using df, only 1.5 GB is used (Unix cp is just fine).  Could that be due
to file system type, that JFS (IBM 1.1.0)? I just installed it on all of
my file systems, including root.
Thanks for your help.
Andras



Samba doesn't free network resource with XP clients

2003-02-28 Thread Charles Bueche
Hi,

I posted my problem to [EMAIL PROTECTED] as well, I think it boils down to
the post below. Is there a known fix to this problem ?

Thanks,
Charles

===
On Tue, Sep 17, 2002 at 09:50:28PM +0400, Vladimir I. Umnov wrote:
 Hello, Fredrik.
 
 
 FA Ah.. So that's the reason for some of the problems.. Why can't samba
 FA correctly process nt status code? Do you know?
 Samba process nt status code, but besides nt status code must die send
 many other commands, and there is no documention about this commands.
 But Microsoft KB article says, that only nt status code processed
 incorrectly. I think, this is a politics of Microsoft. They want kill
 free software!!!
 
 
 FA Should it be a dword och a regular string in the registry?
 From KB article:
 Start Registry Editor (Regedt32.exe).
 Locate and then click the following key in the registry:
 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation\
 parameters On the Edit menu, click Add Value, and then add the following
 registry value: Value name: EnableDownLevelLogOff
 Data type: REG_DWORD
 Radix: Hexadecimal
 Value data: 1
 Quit Registry Editor.

Ah. Now I think I get it ..

The new Microsoft redirectors use the feature of Microsoft SMB
implementations that SessionSetup SMB with the VC number set to 0
should terminate all previous sessions from the same client, 
they don't bother to send a Logoff command any more.

We can change Samba to send all connected SMB's a disconnect
message when we get a new VC=0 SessionSetup to fix this I think.

I will investigate further.

Jeremy.
===


Samba-2.2.8pre1 available on samba.org mirrors

2003-02-28 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

We've just posted the second preview release of Samba 2.2.8 
on samba.org.  This is a non-production release provided for 
testing only. The final 2.2.8 will only include bug fixes for 
the 2.2.7a release.

The source code can be downloaded from :

http://download.samba.org/samba/ftp/pre/

The uncompressed tarball and patch file have been signed
using GnuPG.  The Samba public key is available at

http://download.samba.org/samba/ftp/samba-pubkey.asc

Binary packages for RedHat have been released and can be
found at

http://download.samba.org/samba/ftp/Binary_Packages/

Other will be available soon.

The release notes follow.

As always, all bugs are our responsibility.

  --Enjoy
  The Samba Team


What's new in Samba 2.2.8pre2 - 28th February 2003
==

This is a non-production, preview release of the upcoming Samba
2.2.8 distribution.  This preview release is for testing purposes
only and should not be installed in production environments.

The purpose of this preview release to make numerous bugs fixes
for Samba 2.2.7a available to the Samba community.  Please report
testing results of this release to the Samba mailing list
[EMAIL PROTECTED].


Changes since 2.2.8pre1
- ---
1)  smbumount lazy patch from Mandrake
2)  Check for too many processes *before* the fork.
3)  make sure we don't run over the end of 'name' in unix_convert()
4)  set umask to 0 before creating socket directory.
5)  Fix the LARGE_SMB_OFF_T problems and allow smbd to do the right thing
in interactive mode when a log file dir is also specified.
6)  Fix delete on close semantics to match W2K.
7)  Correctly return access denied on share mode deny when we can't open
the file.
8)  Always use safe_strcpy not pstrcpy for malloc()'d strings
9)  Fixes for HP-UX only having limited POSIX lock range
10) Added uid/gid caching code. Reduces load on winbindd.
11) Removed extra copy of server name in the printername field (it was
mangling the the name to be \\server\\\server\printer
12) Fix dumb perror used without errno being set.
13) Do retries correctly if the connection to the DC has failed.
14) Correctly check for inet_addr fail.
15) Ensure we use getgrnam() unless BROKEN_GETGRNAM is defined.
16) Fix for missing if (setting_acls) on default perms.
17) Fix to cache the sidtype
18) fix printer settings on Solaris (big-endian) print servers.
ASCII - UNICODE conversion bug.
19) Small fix check correct error return.
20) Ensure space_avail is unsigned.
21) patch to check for a valid [f]chmod_acl function pointer
before calling it.  Fixes seg fault in audit VFS module
22) When checking is_locked() new WRITE locks conflict with existing
READ locks even if the context is the same.
23) Merge off-by-one crash fixes from HEAD
24) Move off-by-one buggy malloc()/safe_strcpy() combination to strdup()
instead.
25) Merge from HEAD. Use pstrcpy not safe_strcpy.
26) Fix to allow blocking lock notification to be done rapidly (no wait
for smb - smb lock release). Adds new PENDING_LOCK type to lockdb
(does not interfere with existing locks).
27) Doxygen cleanups for code documentation
28) limit the unix domain sockets used by winbindd  by adding a
last_access field to winbindd connections, and will close
the oldest idle connection once the number of open connections goes
over WINBINDD_MAX_SIMULTANEOUS_CLIENTS (defined in local.h as 200
currently)
29) Fix a couple of string handling errors in smbd/dir.c that would
cause smbd to crash


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE+X+BiIR7qMdg1EfYRAjC+AKC/BwKXyt/JcVGUfzsH2wJmhlWGbwCfdiXG
jR8iAXP1vZUcuE7tbaEICpU=
=e1uE
-END PGP SIGNATURE-



Re: Samba doesn't free network resource with XP clients

2003-02-28 Thread Christopher R. Hertel
On Fri, Feb 28, 2003 at 10:23:16PM +0100, Charles Bueche wrote:
 Hi,
 
 I posted my problem to [EMAIL PROTECTED] as well, I think it boils down to
 the post below. Is there a known fix to this problem ?

That is an old message, and I am sure we would not have changed Samba to
send all connected SMB's a disconnect.  Doing so can have very bad
consequences.  There is another Windows KB article which explains, for
example, that this causes clients of a W2K server that are behind a NAT to
have their sessions shut down if a new client connects.  The new client 
sends VC=0 and the W2K server (since it sees all connections as coming 
from a single IP) disconnects all the other clients.  Ouch.

Microsoft has a patch for this, I believe.

Anyway, I did not see your port to [EMAIL PROTECTED] so I have to guess that 
your server is keeping TCP connections open until they time out.  Is that 
correct?  Which problem are you trying to solve?

Chris -)-

 ===
 On Tue, Sep 17, 2002 at 09:50:28PM +0400, Vladimir I. Umnov wrote:
  Hello, Fredrik.
  
  
  FA Ah.. So that's the reason for some of the problems.. Why can't samba
  FA correctly process nt status code? Do you know?
  Samba process nt status code, but besides nt status code must die send
  many other commands, and there is no documention about this commands.
  But Microsoft KB article says, that only nt status code processed
  incorrectly. I think, this is a politics of Microsoft. They want kill
  free software!!!
  
  
  FA Should it be a dword och a regular string in the registry?
  From KB article:
  Start Registry Editor (Regedt32.exe).
  Locate and then click the following key in the registry:
  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation\
  parameters On the Edit menu, click Add Value, and then add the following
  registry value: Value name: EnableDownLevelLogOff
  Data type: REG_DWORD
  Radix: Hexadecimal
  Value data: 1
  Quit Registry Editor.
 
 Ah. Now I think I get it ..
 
 The new Microsoft redirectors use the feature of Microsoft SMB
 implementations that SessionSetup SMB with the VC number set to 0
 should terminate all previous sessions from the same client, 
 they don't bother to send a Logoff command any more.
 
 We can change Samba to send all connected SMB's a disconnect
 message when we get a new VC=0 SessionSetup to fix this I think.
 
 I will investigate further.
 
 Jeremy.
 ===

-- 
Samba Team -- http://www.samba.org/ -)-   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/ -)-   [EMAIL PROTECTED]
OnLineBook -- http://ubiqx.org/cifs/-)-   [EMAIL PROTECTED]


MS Publisher and printing...

2003-02-28 Thread Christopher R. Hertel
I have a LAN Admin reporting a problem when printing from MS-Publisher.  
I assume this has to do with the RPC printing system.  I'd like to
understand the problem better so that I can help out.

Clues?  Anyone else seeing this specific problem?

Chris -)-

---
Product:
Microsoft Office 2000 SP3
Product ID: 50158-700-3658033-02491

Application:
Microsoft Publisher 2000 SP3 - From CD #2 (Latest Patch Ver)
MSPUB.EXE - Friday, June 28, 2002, 3:01:04 PM - 2,719,784 bytes

Error:
document name - Microsoft Publisher: MSPUB.EXE - Application Error
The instruction at 0x77f578d3 referenced memory at 0x0048. The
memory could not be read.

Operating System:
Microsoft Windows 2000 (5.00.2195) SP3

How the error occurs:
When you go to File - Print, and then you choose a
Samba Printer from the list of printers
Then you click on Advanced Print Settings... OR click OK to print
the Application Error message pops up, and Publisher closes out.

This error did _not_ occur when the printers were served off of a NT 4.0
Server.

No other application we use here has a problem with the Samba Print 
Server:
Some examples are:
MS Word, Excel, Access 97
MS Word 2000
MS Excel 2000
Visio 2000
Internet Explorer
Netscape 4.x+
Mozilla 1.0+
Adobe Acrobat

The types of printers that are served via the Samba Server:
HP LaserJet 1200 (Using Latest PCL 6 Drivers)
HP LaserJet 5si PCL (Using Latest PCL 5e Drivers, and Latest PS Drivers)
HP LaserJet 8100DN (Using Latest PCL 6, PCL 5e, and PS Drivers)
Xerox Document Center 332 (Using Latest PS Drivers)

The Version of Samba we are running is 2.2.7a
Server: Redhat Linux 8.0, + samba-2.2.7-2 RPM package (Latest/Greatest
Version)
---

Chris -)-

-- 
Samba Team -- http://www.samba.org/ -)-   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/ -)-   [EMAIL PROTECTED]
OnLineBook -- http://ubiqx.org/cifs/-)-   [EMAIL PROTECTED]


Re: Samba doesn't free network resource with XP clients

2003-02-28 Thread Charles Bueche
Hi,

OK, I understand why this fix wasn't implemented as such, but still, my
problem remain. Here is a copy of my post to [EMAIL PROTECTED] Subject is
Samba doesn't free network resource with XP clients, and the previous
post, on 21.2.03, title 2.2.7a breaks on ATM stack on AIX 4.3.

I would appreciate having your opinion on the best way to solve this
problem.

Samba doesn't free network resource with XP clients :
=

We are having a difficult time with Samba 2.2.7a on AIX. Since XP clients
appeared, we see growing leaked resources on our ATM network adapter
buffers.

Stopping Samba frees all leaked buffers. The short-term fix is to
stop/start samba in a cron job. Hideous quirk at best.

The local network admin traced the SMB exchanges, and found that some
applications don't generate SMB Logoff after Session Disconnect if the
server doesn't support NT Status Codes.

However, NT Status Codes are supposed to exist since Samba 2.2.3. 

The problem seems to be related to the Microsoft Knowledge Base Article
316740 SMB Logoff Command Is Not Sent When Session Is Disconnected.

Would it be a solution to use the deadtime option in Samba ? What impact
would it have on XP clients ? I read in another post that some clients
have trouble to reconnect after deadtime hit them.


2.2.7a breaks on ATM stack on AIX 4.3 :
===

we have a very large customer (90'000 PCs) worldwide that has problems
with a Samba server. Here are the details :

platform : IBM 4-cpu server runing AIX 4.3
Samba: 2.2.7a compiled with gcc 2.95.3
clients  : about 100-200, worldwide
network  : ATM, at least for the server (I don't have more details, sorry)
samba config : pretty straightforward, security=server (might be changed
to domain soon), a few shares, etc.

The problem appeared since clents migrated to Windows XP. About every 2
days, the network receive queue overflow, causing an ATM adapter interface
reset. All clients loose their connections (and their unsaved job BTW).

The symptom is visible with netstat -a :

==
Number of Rcv Buffer on ATM adapter 2207 == Tendency to grow
Rcv Q size last entry   280  == Tendency to grow
Number of connections to PDC116
Number of samba procs (os)  118
Number of samba client sessions 159
==

Thanks for any hint...
Charles Bueche

On Fri, 28 Feb 2003 17:30:49 -0600
Christopher R. Hertel [EMAIL PROTECTED] wrote:
 On Fri, Feb 28, 2003 at 10:23:16PM +0100, Charles Bueche wrote:
  Hi,
  
  I posted my problem to [EMAIL PROTECTED] as well, I think it boils down
  to the post below. Is there a known fix to this problem ?
 
 That is an old message, and I am sure we would not have changed Samba to
 send all connected SMB's a disconnect.  Doing so can have very bad
 consequences.  There is another Windows KB article which explains, for
 example, that this causes clients of a W2K server that are behind a NAT
 to have their sessions shut down if a new client connects.  The new
 client sends VC=0 and the W2K server (since it sees all connections as
 coming from a single IP) disconnects all the other clients.  Ouch.
 
 Microsoft has a patch for this, I believe.
 
 Anyway, I did not see your port to [EMAIL PROTECTED] so I have to guess
 that your server is keeping TCP connections open until they time out. 
 Is that correct?  Which problem are you trying to solve?
 
 Chris -)-
 
  =
  == On Tue, Sep 17, 2002 at 09:50:28PM +0400, Vladimir I. Umnov wrote:
   Hello, Fredrik.
   
   
   FA Ah.. So that's the reason for some of the problems.. Why can't
   FA sambacorrectly process nt status code? Do you know?
   Samba process nt status code, but besides nt status code must die
   send many other commands, and there is no documention about this
   commands. But Microsoft KB article says, that only nt status code
   processed incorrectly. I think, this is a politics of Microsoft.
   They want kill free software!!!
   
   
   FA Should it be a dword och a regular string in the registry?
   From KB article:
   Start Registry Editor (Regedt32.exe).
   Locate and then click the following key in the registry:
   HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstat
   ion\ parameters On the Edit menu, click Add Value, and then add the
   following registry value: Value name: EnableDownLevelLogOff
   Data type: REG_DWORD
   Radix: Hexadecimal
   Value data: 1
   Quit Registry Editor.
  
  Ah. Now I think I get it ..
  
  The new Microsoft redirectors use the feature of Microsoft SMB
  implementations that SessionSetup SMB with the VC number set to 0
  should terminate all previous sessions from the same client, 
  they don't bother to send a Logoff command any more.
  
  We can change Samba to send all 

Re: [Samba] [Fwd: samba 30alpha21 + NT4/2K WS-s]

2003-02-28 Thread john
 4)
 How could i set up client name resolution so that X client canot
 announce itself as DC/browse master etc?
 I every client resolves names via boadcast then when my DC goes down
 and someone brings up his nt/samba server he could do lotof damaga -
 collect people passwords etc...
 just use wins - it reduces broadcasting significantly.
 it would not be entirely trivial to just bring up a fake pdc
 you'd need to know the domain SID
 fake authentication of clients
 and fake up some profiles to be downloaded to the user.

 I don't think the client authenticates the server with samba.
 someone with more knowledge of the internals might be able to comment
 more usefully on this front...

OK, when PDC is also wins server, then when PDC goes down, wins server
goes down and clients that use only wins server can't find PDC and also
noone cant play fake DC? Am I right?
And also , as I read about p-nodes b-nodes , etc, how can configure
nt4/w2k/xp  to act as for example p-node? Is that so that I specify wins
server and boom it works as P-node?

Acctually another stupid question I'd like to ask now (well I just havent
searchd this out with google yet) is that what is Master Browser ?

I mean samba docs somewhere said that samba wins master browser election
exepct against NT4 server... Which brings question about following
scenario:

I have samba  PDC which also acts as wins server. Now if some damn cracker
sets up win NT 4.0 server and announces itself to wins  master browser
election, then what harm could he do? I mean again, could he stole
passwords, etc... ?






[Fwd: samba 30alpha21 + NT4/2K WS-s]

2003-02-28 Thread john

Hi,

I have some strange problems with 3.0a21 PDC (samba and nss use both
ldap) and I can't find any good help with google...

One strange thing is that logon script does'nt work anymore, it worked
at one point and now doesnt (I quite play around here and I dont know in
which point of changing smb.conf it stopped to work).

[netlogon] share is like that:

[netlogon]
   comment = Network Logon Service
   path = /home/samba/netlogon
   guest ok = no
   writable = no
   browseable = yes
   public = yes

and some lines from [global]:
local master = yes
os level = 99
domain master = yes
preferred master = yes

domain logons = yes
logon drive = U:
logon path = \\server\%U\profiles
logon home = \\server\%U\
logon script = START.BAT

/home/samba/netlogn/START.BAT exists, line breaks are in dos -style ...
if I log into NT4 on 2K ws, then i can mount \\pdc1\netlogon share and
run START.BAT there..
So what the heck can it be?

Another thing was that smbgroupedit -v showd several Domain Admins and
Domain Users group (with different SIDs).. So i took experimental step
and deleted some of them, leaving exactly one of every group..
Can this be somehow connected to 1st problem?

Also samba complained that:

get_domain_user_groups: primary gid of user [john] is not a Domain group
! get_domain_user_groups: You should fix it, NT doesn't like that

so a added john's primary group to Domain Users ans Users group (but
seems to change nothing):
[EMAIL PROTECTED]:/var/log/samba# smbgroupedit -v
NT group (SID) - Unix group
System Operators (S-1-5-32-549) - -1
Replicators (S-1-5-32-552) - -1
Guests (S-1-5-32-546) - -1
Power Users (S-1-5-32-547) - -1
Print Operators (S-1-5-32-550) - -1
Administrators (S-1-5-32-544) - -1
Account Operators (S-1-5-32-548) - -1
Domain Admins (S-1-5-21-2072525299-305900136-1143589454-512) - domadm
Domain Guests (S-1-5-21-2072525299-305900136-1143589454-514) - -1
Domain Users (S-1-5-21-2072525299-305900136-1143589454-513) - users
Backup Operators (S-1-5-32-551) - -1
Users (S-1-5-32-545) - users
[EMAIL PROTECTED]:/var/log/samba#



Third problem is locally stored profiles. How I could make such set up
that when user logs out from WS , then WS would copy changed profile
back to server and delete it from WS ?
It's question of security and hard disk space..

4)
How could i set up client name resolution so that X client canot
announce itself as DC/browse master etc?
I every client resolves names via boadcast then when my DC goes down and
someone brings up his nt/samba server he could do lotof damaga - collect
people passwords etc...

now if I had every WS configured to resolve names via WINS and wins
configured with static netbios/ip resolve table, then I wouldn have to
worry about this? But as I understand only way wins server works is like
it adds routing support to broadcast resove mechanism...


Thanks goes to everyone bothering to enlighten me..




Re: CVS update: samba/source/nsswitch

2003-02-28 Thread Simo Sorce
Jeremy, wouldn't it be better to have a runtime modifiable option for
winbind max simultaneous clients?

Having to recompile winbind only to fine tune performances is very
annoying ...

Simo.

On Fri, 2003-02-28 at 01:18, [EMAIL PROTECTED] wrote:
 Date: Fri Feb 28 00:18:08 2003
 Author:   jra
 
 Update of /data/cvs/samba/source/nsswitch
 In directory dp.samba.org:/tmp/cvs-serv3141/nsswitch
 
 Modified Files:
   Tag: SAMBA_2_2
   winbindd.c winbindd.h 
 Log Message:
 *Excellent* patch from Michael Steffens [EMAIL PROTECTED] to limit
 the unix domain sockets used by winbindd (also solves FD_SETSIZE problem
 in winbindd to boot !). Adds a last_access field to winbindd connections,
 and will close the oldest idle connection once the number of open connections
 goes over WINBINDD_MAX_SIMULTANEOUS_CLIENTS (defined in local.h as 200
 currently).
 Jeremy.
 
 
 Revisions:
 winbindd.c1.3.2.35 = 1.3.2.36
   
 http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd.c?r1=1.3.2.35r2=1.3.2.36
 winbindd.h1.3.4.9 = 1.3.4.10
   
 http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd.h?r1=1.3.4.9r2=1.3.4.10
-- 
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


CVS update: samba/source/web

2003-02-28 Thread jelmer

Date:   Fri Feb 28 08:47:22 2003
Author: jelmer

Update of /home/cvs/samba/source/web
In directory dp.samba.org:/tmp/cvs-serv7659/web

Modified Files:
cgi.c 
Log Message:

Fix HTTP error codes (patch by Vance Lankhaar)


Revisions:
cgi.c   1.68 = 1.69
http://www.samba.org/cgi-bin/cvsweb/samba/source/web/cgi.c?r1=1.68r2=1.69


CVS update: samba/source/web

2003-02-28 Thread jelmer

Date:   Fri Feb 28 08:48:26 2003
Author: jelmer

Update of /home/cvs/samba/source/web
In directory dp.samba.org:/tmp/cvs-serv7987/web

Modified Files:
  Tag: SAMBA_3_0
cgi.c 
Log Message:

Fix HTTP error codes (patch by Vance Lankhaar)


Revisions:
cgi.c   1.58.2.8 = 1.58.2.9

http://www.samba.org/cgi-bin/cvsweb/samba/source/web/cgi.c?r1=1.58.2.8r2=1.58.2.9


CVS update: samba

2003-02-28 Thread jerry

Date:   Fri Feb 28 14:42:14 2003
Author: jerry

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

Modified Files:
  Tag: SAMBA_2_2_RELEASE
README WHATSNEW.txt 
Log Message:
syncing up for 2.2.8pre2

Revisions:
README  1.20.6.3.2.1 = 1.20.6.3.2.2

http://www.samba.org/cgi-bin/cvsweb/samba/README?r1=1.20.6.3.2.1r2=1.20.6.3.2.2
WHATSNEW.txt1.34.6.10.2.50 = 1.34.6.10.2.51

http://www.samba.org/cgi-bin/cvsweb/samba/WHATSNEW.txt?r1=1.34.6.10.2.50r2=1.34.6.10.2.51


CVS update: samba/examples/VFS

2003-02-28 Thread jerry

Date:   Fri Feb 28 14:42:15 2003
Author: jerry

Update of /data/cvs/samba/examples/VFS
In directory dp.samba.org:/tmp/cvs-serv19740/examples/VFS

Modified Files:
  Tag: SAMBA_2_2_RELEASE
audit.c 
Log Message:
syncing up for 2.2.8pre2

Revisions:
audit.c 1.3.4.1.2.3 = 1.3.4.1.2.4

http://www.samba.org/cgi-bin/cvsweb/samba/examples/VFS/audit.c?r1=1.3.4.1.2.3r2=1.3.4.1.2.4


CVS update: samba/packaging/Mandrake

2003-02-28 Thread jerry

Date:   Fri Feb 28 14:42:16 2003
Author: jerry

Update of /data/cvs/samba/packaging/Mandrake
In directory dp.samba.org:/tmp/cvs-serv19740/packaging/Mandrake

Modified Files:
  Tag: SAMBA_2_2_RELEASE
samba-print-pdf.sh samba2.spec.tmpl smb.conf 
Added Files:
  Tag: SAMBA_2_2_RELEASE
samba-2.2.7a-smbldaptools-paths.patch 
Log Message:
syncing up for 2.2.8pre2

Revisions:
samba-2.2.7a-smbldaptools-paths.patch   NONE = 1.1.4.1

http://www.samba.org/cgi-bin/cvsweb/samba/packaging/Mandrake/samba-2.2.7a-smbldaptools-paths.patch?rev=1.1.4.1
samba-print-pdf.sh  1.1.4.2 = 1.1.4.3

http://www.samba.org/cgi-bin/cvsweb/samba/packaging/Mandrake/samba-print-pdf.sh?r1=1.1.4.2r2=1.1.4.3
samba2.spec.tmpl1.1.2.2.2.12 = 1.1.2.2.2.13

http://www.samba.org/cgi-bin/cvsweb/samba/packaging/Mandrake/samba2.spec.tmpl?r1=1.1.2.2.2.12r2=1.1.2.2.2.13
smb.conf1.1.2.1.2.5 = 1.1.2.1.2.6

http://www.samba.org/cgi-bin/cvsweb/samba/packaging/Mandrake/smb.conf?r1=1.1.2.1.2.5r2=1.1.2.1.2.6


CVS update: samba/examples/VFS/recycle

2003-02-28 Thread jerry

Date:   Fri Feb 28 14:42:15 2003
Author: jerry

Update of /data/cvs/samba/examples/VFS/recycle
In directory dp.samba.org:/tmp/cvs-serv19740/examples/VFS/recycle

Modified Files:
  Tag: SAMBA_2_2_RELEASE
recycle.c 
Log Message:
syncing up for 2.2.8pre2

Revisions:
recycle.c   1.1.4.4 = 1.1.4.5

http://www.samba.org/cgi-bin/cvsweb/samba/examples/VFS/recycle/recycle.c?r1=1.1.4.4r2=1.1.4.5


CVS update: samba/source

2003-02-28 Thread jerry

Date:   Fri Feb 28 14:42:39 2003
Author: jerry

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

Modified Files:
  Tag: SAMBA_2_2_RELEASE
Doxyfile acconfig.h configure configure.in 
Log Message:
syncing up for 2.2.8pre2

Revisions:
Doxyfile1.5.2.1 = 1.5.2.2
http://www.samba.org/cgi-bin/cvsweb/samba/source/Doxyfile?r1=1.5.2.1r2=1.5.2.2
acconfig.h  1.44.4.12.2.7 = 1.44.4.12.2.8

http://www.samba.org/cgi-bin/cvsweb/samba/source/acconfig.h?r1=1.44.4.12.2.7r2=1.44.4.12.2.8
configure   1.125.4.31.2.19 = 1.125.4.31.2.20

http://www.samba.org/cgi-bin/cvsweb/samba/source/configure?r1=1.125.4.31.2.19r2=1.125.4.31.2.20
configure.in1.130.4.33.2.18 = 1.130.4.33.2.19

http://www.samba.org/cgi-bin/cvsweb/samba/source/configure.in?r1=1.130.4.33.2.18r2=1.130.4.33.2.19


CVS update: samba/source/client

2003-02-28 Thread jerry

Date:   Fri Feb 28 14:42:42 2003
Author: jerry

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

Modified Files:
  Tag: SAMBA_2_2_RELEASE
client.c smbspool.c 
Log Message:
syncing up for 2.2.8pre2

Revisions:
client.c1.148.2.7.2.9 = 1.148.2.7.2.10

http://www.samba.org/cgi-bin/cvsweb/samba/source/client/client.c?r1=1.148.2.7.2.9r2=1.148.2.7.2.10
smbspool.c  1.4.4.2.2.3 = 1.4.4.2.2.4

http://www.samba.org/cgi-bin/cvsweb/samba/source/client/smbspool.c?r1=1.4.4.2.2.3r2=1.4.4.2.2.4


CVS update: samba/source/include

2003-02-28 Thread jerry

Date:   Fri Feb 28 14:42:45 2003
Author: jerry

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

Modified Files:
  Tag: SAMBA_2_2_RELEASE
config.h.in includes.h local.h messages.h proto.h smb.h 
version.h 
Log Message:
syncing up for 2.2.8pre2

Revisions:
config.h.in 1.83.4.16.2.11 = 1.83.4.16.2.12

http://www.samba.org/cgi-bin/cvsweb/samba/source/include/config.h.in?r1=1.83.4.16.2.11r2=1.83.4.16.2.12
includes.h  1.190.2.9.2.9 = 1.190.2.9.2.10

http://www.samba.org/cgi-bin/cvsweb/samba/source/include/includes.h?r1=1.190.2.9.2.9r2=1.190.2.9.2.10
local.h 1.54.6.5 = 1.54.6.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/include/local.h?r1=1.54.6.5r2=1.54.6.6
messages.h  1.3.2.4.2.3 = 1.3.2.4.2.4

http://www.samba.org/cgi-bin/cvsweb/samba/source/include/messages.h?r1=1.3.2.4.2.3r2=1.3.2.4.2.4
proto.h 1.900.2.137.2.17 = 1.900.2.137.2.18

http://www.samba.org/cgi-bin/cvsweb/samba/source/include/proto.h?r1=1.900.2.137.2.17r2=1.900.2.137.2.18
smb.h   1.325.2.21.2.13 = 1.325.2.21.2.14

http://www.samba.org/cgi-bin/cvsweb/samba/source/include/smb.h?r1=1.325.2.21.2.13r2=1.325.2.21.2.14
version.h   1.74.6.6.2.25 = 1.74.6.6.2.26

http://www.samba.org/cgi-bin/cvsweb/samba/source/include/version.h?r1=1.74.6.6.2.25r2=1.74.6.6.2.26


CVS update: samba/source/locking

2003-02-28 Thread jerry

Date:   Fri Feb 28 14:42:46 2003
Author: jerry

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

Modified Files:
  Tag: SAMBA_2_2_RELEASE
brlock.c locking.c posix.c 
Log Message:
syncing up for 2.2.8pre2

Revisions:
brlock.c1.15.4.3.2.4 = 1.15.4.3.2.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/brlock.c?r1=1.15.4.3.2.4r2=1.15.4.3.2.5
locking.c   1.93.2.4.2.6 = 1.93.2.4.2.7

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/locking.c?r1=1.93.2.4.2.6r2=1.93.2.4.2.7
posix.c 1.19.4.4.2.3 = 1.19.4.4.2.4

http://www.samba.org/cgi-bin/cvsweb/samba/source/locking/posix.c?r1=1.19.4.4.2.3r2=1.19.4.4.2.4


CVS update: samba/source/lib

2003-02-28 Thread jerry

Date:   Fri Feb 28 14:42:45 2003
Author: jerry

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

Modified Files:
  Tag: SAMBA_2_2_RELEASE
hash.c util_getent.c util_sid.c util_sock.c 
Log Message:
syncing up for 2.2.8pre2

Revisions:
hash.c  1.3.4.1.2.3 = 1.3.4.1.2.4

http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/hash.c?r1=1.3.4.1.2.3r2=1.3.4.1.2.4
util_getent.c   1.4.2.2 = 1.4.2.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/util_getent.c?r1=1.4.2.2r2=1.4.2.3
util_sid.c  1.24.2.6.2.5 = 1.24.2.6.2.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/util_sid.c?r1=1.24.2.6.2.5r2=1.24.2.6.2.6
util_sock.c 1.16.4.1.2.8 = 1.16.4.1.2.9

http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/util_sock.c?r1=1.16.4.1.2.8r2=1.16.4.1.2.9


CVS update: samba/source/nsswitch

2003-02-28 Thread jerry

Date:   Fri Feb 28 14:42:46 2003
Author: jerry

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

Modified Files:
  Tag: SAMBA_2_2_RELEASE
winbindd.c winbindd.h winbindd_rpc.c 
Log Message:
syncing up for 2.2.8pre2

Revisions:
winbindd.c  1.3.2.1.2.7 = 1.3.2.1.2.8

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd.c?r1=1.3.2.1.2.7r2=1.3.2.1.2.8
winbindd.h  1.3.6.4 = 1.3.6.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd.h?r1=1.3.6.4r2=1.3.6.5
winbindd_rpc.c  1.26.2.4 = 1.26.2.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_rpc.c?r1=1.26.2.4r2=1.26.2.5


CVS update: samba/source/msdfs

2003-02-28 Thread jerry

Date:   Fri Feb 28 14:42:46 2003
Author: jerry

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

Modified Files:
  Tag: SAMBA_2_2_RELEASE
msdfs.c 
Log Message:
syncing up for 2.2.8pre2

Revisions:
msdfs.c 1.10.4.3.2.8 = 1.10.4.3.2.9

http://www.samba.org/cgi-bin/cvsweb/samba/source/msdfs/msdfs.c?r1=1.10.4.3.2.8r2=1.10.4.3.2.9


CVS update: samba/source/smbd

2003-02-28 Thread jerry

Date:   Fri Feb 28 14:42:49 2003
Author: jerry

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

Modified Files:
  Tag: SAMBA_2_2_RELEASE
blocking.c close.c dir.c open.c posix_acls.c process.c reply.c 
server.c trans2.c uid.c 
Log Message:
syncing up for 2.2.8pre2

Revisions:
blocking.c  1.14.4.1.2.6 = 1.14.4.1.2.7

http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/blocking.c?r1=1.14.4.1.2.6r2=1.14.4.1.2.7
close.c 1.22.4.8.2.4 = 1.22.4.8.2.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/close.c?r1=1.22.4.8.2.4r2=1.22.4.8.2.5
dir.c   1.48.4.5.2.6 = 1.48.4.5.2.7

http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/dir.c?r1=1.48.4.5.2.6r2=1.48.4.5.2.7
open.c  1.62.4.16.2.9 = 1.62.4.16.2.10

http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/open.c?r1=1.62.4.16.2.9r2=1.62.4.16.2.10
posix_acls.c1.1.4.33.2.6 = 1.1.4.33.2.7

http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/posix_acls.c?r1=1.1.4.33.2.6r2=1.1.4.33.2.7
process.c   1.44.2.11.2.10 = 1.44.2.11.2.11

http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/process.c?r1=1.44.2.11.2.10r2=1.44.2.11.2.11
reply.c 1.240.2.26.2.17 = 1.240.2.26.2.18

http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/reply.c?r1=1.240.2.26.2.17r2=1.240.2.26.2.18
server.c1.305.2.16.2.7 = 1.305.2.16.2.8

http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/server.c?r1=1.305.2.16.2.7r2=1.305.2.16.2.8
trans2.c1.149.4.16.2.14 = 1.149.4.16.2.15

http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/trans2.c?r1=1.149.4.16.2.14r2=1.149.4.16.2.15
uid.c   1.50.4.9.2.4 = 1.50.4.9.2.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/uid.c?r1=1.50.4.9.2.4r2=1.50.4.9.2.5


CVS update: samba/source/rpc_server

2003-02-28 Thread jerry

Date:   Fri Feb 28 14:42:47 2003
Author: jerry

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

Modified Files:
  Tag: SAMBA_2_2_RELEASE
srv_spoolss_nt.c srv_srvsvc_nt.c 
Log Message:
syncing up for 2.2.8pre2

Revisions:
srv_spoolss_nt.c1.115.2.83.2.9 = 1.115.2.83.2.10

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_server/srv_spoolss_nt.c?r1=1.115.2.83.2.9r2=1.115.2.83.2.10
srv_srvsvc_nt.c 1.1.2.24.2.7 = 1.1.2.24.2.8

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_server/srv_srvsvc_nt.c?r1=1.1.2.24.2.7r2=1.1.2.24.2.8


CVS update: samba/source/utils

2003-02-28 Thread jerry

Date:   Fri Feb 28 14:42:49 2003
Author: jerry

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

Modified Files:
  Tag: SAMBA_2_2_RELEASE
rpctorture.c 
Log Message:
syncing up for 2.2.8pre2

Revisions:
rpctorture.c1.13.6.1 = 1.13.6.2

http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/rpctorture.c?r1=1.13.6.1r2=1.13.6.2


CVS update: samba

2003-02-28 Thread jerry

Date:   Fri Feb 28 15:10:24 2003
Author: jerry

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

Modified Files:
  Tag: SAMBA_2_2_RELEASE
WHATSNEW.txt 
Log Message:
updating whatsnew for release

Revisions:
WHATSNEW.txt1.34.6.10.2.51 = 1.34.6.10.2.52

http://www.samba.org/cgi-bin/cvsweb/samba/WHATSNEW.txt?r1=1.34.6.10.2.51r2=1.34.6.10.2.52


CVS update: samba/source/web

2003-02-28 Thread jerry

Date:   Fri Feb 28 16:33:17 2003
Author: jerry

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

Modified Files:
  Tag: SAMBA_2_2
diagnose.c 
Log Message:
remove some unused variable from enumprinterkey()
use global_myname instead of localhost when checking
   if smbd is running (SWAT)



Revisions:
diagnose.c  1.3.4.2 = 1.3.4.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/web/diagnose.c?r1=1.3.4.2r2=1.3.4.3


CVS update: samba/source/rpc_server

2003-02-28 Thread jerry

Date:   Fri Feb 28 16:36:11 2003
Author: jerry

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

Modified Files:
  Tag: SAMBA_2_2_RELEASE
srv_spoolss_nt.c 
Log Message:
last sync with SAMBA_2_2 for the 2.2.8pre2 release

Revisions:
srv_spoolss_nt.c1.115.2.83.2.10 = 1.115.2.83.2.11

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_server/srv_spoolss_nt.c?r1=1.115.2.83.2.10r2=1.115.2.83.2.11


CVS update: samba/source/web

2003-02-28 Thread jerry

Date:   Fri Feb 28 16:36:11 2003
Author: jerry

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

Modified Files:
  Tag: SAMBA_2_2_RELEASE
diagnose.c 
Log Message:
last sync with SAMBA_2_2 for the 2.2.8pre2 release

Revisions:
diagnose.c  1.3.6.2 = 1.3.6.3

http://www.samba.org/cgi-bin/cvsweb/samba/source/web/diagnose.c?r1=1.3.6.2r2=1.3.6.3


CVS update: samba/source/web

2003-02-28 Thread jerry

Date:   Fri Feb 28 16:58:57 2003
Author: jerry

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

Modified Files:
  Tag: SAMBA_2_2_RELEASE
diagnose.c 
Log Message:
mispatched one file

Revisions:
diagnose.c  1.3.6.3 = 1.3.6.4

http://www.samba.org/cgi-bin/cvsweb/samba/source/web/diagnose.c?r1=1.3.6.3r2=1.3.6.4


CVS update: samba/source/nsswitch

2003-02-28 Thread jra

Date:   Fri Feb 28 18:01:16 2003
Author: jra

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

Modified Files:
  Tag: APPLIANCE_HEAD
winbindd.c winbindd.h 
Log Message:
*Excellent* patch from Michael Steffens [EMAIL PROTECTED] to limit
the unix domain sockets used by winbindd (also solves FD_SETSIZE problem
in winbindd to boot !). Adds a last_access field to winbindd connections,
and will close the oldest idle connection once the number of open connections
goes over WINBINDD_MAX_SIMULTANEOUS_CLIENTS (defined in local.h as 200
currently). No CR#.
Jeremy.


Revisions:
winbindd.c  1.2.2.21 = 1.2.2.22

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd.c?r1=1.2.2.21r2=1.2.2.22
winbindd.h  1.3.2.5 = 1.3.2.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd.h?r1=1.3.2.5r2=1.3.2.6


CVS update: samba/source/web

2003-02-28 Thread jerry

Date:   Fri Feb 28 18:01:33 2003
Author: jerry

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

Modified Files:
  Tag: SAMBA_2_2_RELEASE
diagnose.c 
Log Message:
reverting patch back to localhost in smbd_running()

Revisions:
diagnose.c  1.3.6.4 = 1.3.6.5

http://www.samba.org/cgi-bin/cvsweb/samba/source/web/diagnose.c?r1=1.3.6.4r2=1.3.6.5


CVS update: samba/source/web

2003-02-28 Thread jerry

Date:   Fri Feb 28 18:01:41 2003
Author: jerry

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

Modified Files:
  Tag: SAMBA_2_2
diagnose.c 
Log Message:
reverting patch back to localhost in smbd_running()

Revisions:
diagnose.c  1.3.4.3 = 1.3.4.4

http://www.samba.org/cgi-bin/cvsweb/samba/source/web/diagnose.c?r1=1.3.4.3r2=1.3.4.4


CVS update: samba

2003-02-28 Thread jerry

Date:   Fri Feb 28 18:03:18 2003
Author: jerry

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

Modified Files:
  Tag: SAMBA_2_2_RELEASE
WHATSNEW.txt 
Log Message:
remove mention of swat patch

Revisions:
WHATSNEW.txt1.34.6.10.2.53 = 1.34.6.10.2.54

http://www.samba.org/cgi-bin/cvsweb/samba/WHATSNEW.txt?r1=1.34.6.10.2.53r2=1.34.6.10.2.54


CVS update: sambaweb

2003-02-28 Thread jerry

Date:   Fri Feb 28 22:19:46 2003
Author: jerry

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

Modified Files:
samba.html 
Log Message:
adding announcement of 2.2.8pre2 release

Revisions:
samba.html  1.179 = 1.180
http://www.samba.org/cgi-bin/cvsweb/sambaweb/samba.html?r1=1.179r2=1.180


CVS update: samba/source/printing

2003-02-28 Thread jra

Date:   Sat Mar  1 00:47:47 2003
Author: jra

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

Modified Files:
  Tag: APPLIANCE_HEAD
printing.c 
Log Message:
Ensure added jobs increment total_jobs. Part of CR#1837.
Jeremy.


Revisions:
printing.c  1.66.2.106 = 1.66.2.107

http://www.samba.org/cgi-bin/cvsweb/samba/source/printing/printing.c?r1=1.66.2.106r2=1.66.2.107


CVS update: samba/source/include

2003-02-28 Thread tridge

Date:   Sat Mar  1 01:07:12 2003
Author: tridge

Update of /home/cvs/samba/source/include
In directory dp.samba.org:/tmp/cvs-serv8116

Modified Files:
safe_string.h 
Log Message:
the new DEVELOPER checks for string overflows have (as expected)
broken a lot of stuff. These two macros are meant to make life easier
when fixing these bugs. I'm guessing we will see more macros like
this (eg. fstrcpy_base)


Revisions:
safe_string.h   1.14 = 1.15

http://www.samba.org/cgi-bin/cvsweb/samba/source/include/safe_string.h?r1=1.14r2=1.15


CVS update: samba/source/libsmb

2003-02-28 Thread tridge

Date:   Sat Mar  1 01:07:18 2003
Author: tridge

Update of /home/cvs/samba/source/libsmb
In directory dp.samba.org:/tmp/cvs-serv8184

Modified Files:
clirap.c 
Log Message:
the new DEVELOPER checks for string overflows have (as expected)
broken a lot of stuff. These two macros are meant to make life easier
when fixing these bugs. I'm guessing we will see more macros like
this (eg. fstrcpy_base)


Revisions:
clirap.c1.26 = 1.27

http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/clirap.c?r1=1.26r2=1.27


CVS update: samba/source/rpc_server

2003-02-28 Thread jra

Date:   Sat Mar  1 02:39:12 2003
Author: jra

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

Modified Files:
  Tag: SAMBA_3_0
srv_spoolss_nt.c 
Log Message:
Added limit to number of jobs enumerated. Set to 0 (means no limit).
Yes I will add the docs
Jeremy.


Revisions:
srv_spoolss_nt.c1.277.2.44 = 1.277.2.45

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_server/srv_spoolss_nt.c?r1=1.277.2.44r2=1.277.2.45


CVS update: samba/source/param

2003-02-28 Thread jra

Date:   Sat Mar  1 02:39:14 2003
Author: jra

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

Modified Files:
loadparm.c 
Log Message:
Added limit to number of jobs enumerated. Set to 0 (means no limit).
Yes I will add the docs
Jeremy.


Revisions:
loadparm.c  1.481 = 1.482

http://www.samba.org/cgi-bin/cvsweb/samba/source/param/loadparm.c?r1=1.481r2=1.482


CVS update: samba/source/rpc_server

2003-02-28 Thread jra

Date:   Sat Mar  1 02:39:14 2003
Author: jra

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

Modified Files:
srv_spoolss_nt.c 
Log Message:
Added limit to number of jobs enumerated. Set to 0 (means no limit).
Yes I will add the docs
Jeremy.


Revisions:
srv_spoolss_nt.c1.387 = 1.388

http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_server/srv_spoolss_nt.c?r1=1.387r2=1.388