Re: [Samba] NT Domain BDC

2003-02-15 Thread Kurt Weiss


Nezar Elgaili Elshiekh schrieb:

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


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


soon as possible
Nezar Elgaili



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



Re: [Samba] Turning Off Roaming Profiles?

2003-02-15 Thread Kurt Weiss


Jarl McConnel schrieb:

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


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

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

gk

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


[Samba] NT Domain BDC

2003-02-15 Thread Nezar Elgaili Elshiekh
Dear Sir
Iam pleased to contcat you and ihope that you will solve my problem.
Ihave NT domain more than 30 sites in each site ihave BDC can i use samba as
BDC instat of NT BDC for authentication and control share please reply me as
soon as possible
Nezar Elgaili
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Samba not printing

2003-02-15 Thread Michael Alaimo
I have installed samba on a openbsd 3.2 machine.  I am able to mount a file
system from the windows machine, but I am unable to print.
When I try and print from the server with smbspool I get this message.


ERROR: NT_STATUS_ACCESS_DENIED opening remote file test

this is the command used

smbspool smb://user:passwd@WORKGROUP/claudia/lp 1 mike test 1 
/home/mike/index.html

here is the contents of my smb.conf
[global]
   domain master = yes
;   printing = bsd
   allow hosts = 10.1.1.18, 10.1.1.1
   dns proxy = no
   encrypt passwords = yes
   logon path = \\%L\Profiles\%U
   valid users = root, mike
   socket options = TCP_NODELAY
   wins support = true
   max log size = 50
   security = share
   printer admin = root, administrator, mike
   workgroup = WORKGROUP
   log level = 5
   netbios name = claudia
   log file = /var/log/smbd.%m
   os level = 20
   default = lp
   printcap name= /etc/printcap
   load printers = yes


[lp]
   printer = lp
   valid users = mike, @mike
;   writeable = yes
;   postscript = no
;   comment = Samsung ML-1210
;   print command = /usr/bin/lpr
   printable = yes
   path = /var/spool/lpd/lp
   browseable = yes
;   lpq command = /usr/bin/lpq
;   lprm = /usr/bin/lprm
;   printer drive location = \\&h\printer$

[alaimo]
   path = /home/mike/.share
   valid users = mike,@mike
   writeable = yes

If you need anything else let me know.
P.S. I can print from the openbsd machine with the lpr command perfectly.

Mike

_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


Re: [Samba] Mangling problem

2003-02-15 Thread Andrew Bartlett
On Wed, 2003-02-12 at 03:09, Ivan Gustin wrote:
> > > > I have a strange problem with Samba on RedHat 7.2. In one directory
> > > > there is many files with similar long file name (10+ digit file name
> > > > for many pictures). When I dir this directory, I can see many files
> > > > with different long file name, but with exactly the same short file
> > > > name. There is about 3-5 files with the same 8.3 DOS file name.
> > > >
> > > > I really don't understand how can it happen and what is cause of that
> > > > problem. I have Samba 2.2.3, so I put Samba 2.2.7, but the problem is
> > > > still the same. I can't say that is mangling bug within Samba, but I
> > > > never see such situation.
> >
> > Set mangling method = hash2 in smb.conf
> 
> I tried that. No help, the problem still persist.

Have you run testparm?  Are you still running 2.2.7?  

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net



signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Mangling problem

2003-02-15 Thread Andrew Bartlett
On Mon, 2003-02-10 at 19:38, John H Terpstra wrote:
> On Mon, 10 Feb 2003, Ivan Gustin wrote:
> 
> > Hi,
> >
> > I have a strange problem with Samba on RedHat 7.2. In one directory there is
> > many files with similar long file name (10+ digit file name for many
> > pictures). When I dir this directory, I can see many files with different
> > long file name, but with exactly the same short file name. There is about
> > 3-5 files with the same 8.3 DOS file name.
> >
> > I really don't understand how can it happen and what is cause of that
> > problem. I have Samba 2.2.3, so I put Samba 2.2.7, but the problem is still
> > the same. I can't say that is mangling bug within Samba, but I never see
> > such
> > situation.
> 
> Have you seen this problem on MS Windows NT4/2000/XP or is it unique to
> samba?

This is a known issue with Samba, relating to the quality of the hash
function used to mangle file names.   You can set 'mangle method =
hash2' in your smb.conf to 'fix' it.  (chances of a hash collision are
greatly reduced).  This setting is now the default in Samba 3.0, but
make sure you read the smb.conf manpage section on this, as it *will*
change all your mangled (short) names.

Andrew Bartlett
-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net



signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Turning Off Roaming Profiles? (resend)

2003-02-15 Thread Jarl McConnel
Sigh, here is me, trying to make a decent first impression of myself by
providing as much information as I could, and then Outlook Expresses 'Send
message later' option does something I didn't expect it to. So, here is the
full message.

Basically, as the subject says, I've found heaps of information on turning
them on, but I don't particularly want them as my profile is quite large.
I'm not quite sure why its even trying to use roaming profiles, I don't have
a logon path = set in my smb.conf.

My only guess is that if it doesn't find the logon path, it just puts the
profile in your logon home directory in a subdirectory called profile.  If
anyone can give me some info in to how to turn this functionality off it'd
be greatly appreciated.

Below is what I believe to be relevant bits of my smb.conf file.

[global]
netbios name = CASPAR
encrypt passwords = true
local master = yes
preferred master = yes
logon script = logon.bat
domain logons = yes
domain master = yes
logon drive = H:
logon home = \\caspar\%u
os level = 99

[homes]
path = /home/%u/shared
create mode = 0600
directory mode = 0700
read only = No
browseable = No

[netlogon]
path = /home/samba/netlogon
read only = No
read list = nobody


Domain logons work (almost) perfectly for my needs except for this problem.
The other problems aren't so much ones which would stop me from using samba
as a PDC, just little annoyances like group mappings.

I am using samba version 2.2.3a-12 for Debian (Debian 3.0).

If anyone could help it'd be greatly appreciated.


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



[Samba] Turning Off Roaming Profiles?

2003-02-15 Thread Jarl McConnel
Basically, as the subject says, I've found heaps of information on turning them on, 
but I don't particularly want them as my profile is quite large.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Default settings for print drivers

2003-02-15 Thread Ian Eure
Hi. I've finally got Samba to serve up print drivers for the printers I serve. 
However, I'm not able to set the default driver options.

This is what I'm doing (from a Win2k Pro box)

Start->Run
\\(samba server)
open Printers folder
right click printer, Properties
Device Settings tab
Configure e.g. default paper size
Click OK
Reopen Properties->Device Settings, and the old paper size is still selected.

Some settings seem to work, but I haven't been able to get the paper size 
settings to work. This is a problem because we have some printers which only 
have legal paper, and they require manual intervention if they get a job for 
some other size paper.

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



Re: [Samba] re: File won't copy to client

2003-02-15 Thread John H Terpstra

On Sat, 15 Feb 2003, Corey McGuire wrote:

> This is strange, but I use samba for a software archive at work, and we
> are having trouble with Office 97.  I traced it back to riched20.dll.
> The file is one the server, but it never copies.  I can't even see the
> file.  If i rename it, it shows up.

We feal with your pain.

> What is up with that?

We would not need a crystal ball if you had sent a copy of your smb.conf
file and told us a little more of what you might have done to at least try
to solve your own problem. Our crystal ball is worn out a bit.

Could it be possible that your smb.conf file has in it a line like:

veto files = /*.eml/*.nws/riched20.dll/*.{*}/

Might account for this behaviour. Oops!

- John T.
-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Re: samba-docs Digest, Vol 2, Issue 5

2003-02-15 Thread John H Terpstra

> i was reading through the samba mailing list with the subject "logon
> scripts". the components for the logon script to be executed are "netlogon"
> share and a .bat file saved in the "netlogon" share path.

Well, you need the [netlogon] share _and_ the netlogon service. The
netlogon service is what provides the ability to log onto the network.

If you want the logon script to be capable of being executed by Windows 9X
clients then it has to be a .bat file, MS Windows NT/2K/XP clients can
execute a .cmd file also.

> the next essential component is the samba box has to be a PDC. is this
> statement true? if this is true, is there any workaround? as i just want
> to keep it to be a workgroup as i have a small network with an
> environment of 4 computers.  thank you very much.

Please explain what you believe a PDC is. It will help us to answer your
question. What do you understand by the difference between a workgroup and
a domain?

The fact is that a domain controller is one that provides the netlogon
service. So figure from there!

- John T.
-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Samba Print Server Problems

2003-02-15 Thread Joel Hammer
Can you print directly from the BSD box using the lp queue?

I ask because you have an oddly named file for your if parameter. That is
supposed to be your print filter.

I suspect, if these jobs are coming from a windows client, they are already
filtered. I would get rid of the if parameter, run checkpc -f, restart lpd,
and try it again.

Joel


On Sat, Feb 15, 2003 at 07:45:15PM -, James Read wrote:
> My Samba box consists of FreeBSD 4.7-RELEASE. It has samba version 2.2.7a compiled 
>on it.
> 
> The problem i have is printing via windows machines to the samba print share.
> 
> the clients can 'print' ie send the data to the samba share where i have got samba 
>setup to use bsd type printing. 
> 
> lp| Samsung Laser ML-4500:\
> :lp=/dev/lpt0:sd=/var/spool/output/lpd:\
> :if=/var/log/lpd-errs:sh:mx#0:
> 
> 
> When the clients print to the printer via samba, the data does get to lpd but 
>checking the logs it spurts out
> 
> --
> 
> Feb 15 19:30:51 print lpd[221]: lp: unable to open dfA011print.domain.com('f' line)
> Feb 15 19:30:51 print lpd[221]: lp: job could not be printed (cfA011print.domain.com)
> ---
> 
> 
> Does anyone want know what is going on and how to make it print out instead of 
>saying this error message.
> 
> Many thanks
> 
> 
> James Read.
> 
> -- 
> 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] Samba Print Server Problems

2003-02-15 Thread James Read
My Samba box consists of FreeBSD 4.7-RELEASE. It has samba version 2.2.7a compiled on 
it.

The problem i have is printing via windows machines to the samba print share.

the clients can 'print' ie send the data to the samba share where i have got samba 
setup to use bsd type printing. 

smb.conf lines are

[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   guest ok = no
   writeable = no
   printable = yes
   printing = bsd


[lp]
 printable = yes
 browseable = yes
 print command = lpr -s -P %p %s; rm %s
 path = /tmp


I have configured lpd with the lines in /etc/printcap as

lp| Samsung Laser ML-4500:\
:lp=/dev/lpt0:sd=/var/spool/output/lpd:\
:if=/var/log/lpd-errs:sh:mx#0:


When the clients print to the printer via samba, the data does get to lpd but checking 
the logs it spurts out

--

Feb 15 19:30:51 print lpd[221]: lp: unable to open dfA011print.domain.com('f' line)
Feb 15 19:30:51 print lpd[221]: lp: job could not be printed (cfA011print.domain.com)
---


Does anyone want know what is going on and how to make it print out instead of saying 
this error message.

Many thanks


James Read.

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



[Samba] re: File won't copy to client

2003-02-15 Thread Corey McGuire
Last time, then I call it quits... sorry

If you get this twice, sorry.  I never got my first message.

This is strange, but I use samba for a software archive at work, and we are having 
trouble with Office 97.  I traced it back to riched20.dll.  The file is one the 
server, but it never copies.  I can't even see the file.  If i rename it, it shows up.

What is up with that?


/\/\/\/\/\/\ Nothing is foolproof to a talented fool. /\/\/\/\/\/\

[EMAIL PROTECTED]
http://www.coreyfro.com/
http://stats.distributed.net/rc5-64/psearch.php3?st=coreyfro
ICQ : 3168059

-BEGIN GEEK CODE BLOCK-
GCS !d--(+) s: a- C$ UL++> P+ L++> E- W+++$ N++ o? K? w$>+$ O 
!M--- V- PS+++ PE++(--) Y+ PGP- t--- 5(+) !X- R(+) !tv b-(+) Dl++() D++ G++(-) 
e>+++ h++(---) r++>+$ y++**>$ H n---() p? !au w+ v- 3+>++ j- G B--- 
u+++*** f* Quake>+$
--END GEEK CODE BLOCK--

Home of Geek Code - http://www.geekcode.com/
The Geek Code Decoder Page - http://www.ebb.org/ungeek//

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



[Samba] re: File won't copy to client

2003-02-15 Thread Corey McGuire
If you get this twice, sorry.  I never got my first message.

This is strange, but I use samba for a software archive at work, and we are having 
trouble with Office 97.  I traced it back to riched20.dll.  The file is one the 
server, but it never copies.  I can't even see the file.  If i rename it, it shows up.

What is up with that?


/\/\/\/\/\/\ Nothing is foolproof to a talented fool. /\/\/\/\/\/\

[EMAIL PROTECTED]
http://www.coreyfro.com/
http://stats.distributed.net/rc5-64/psearch.php3?st=coreyfro
ICQ : 3168059

-BEGIN GEEK CODE BLOCK-
GCS !d--(+) s: a- C$ UL++> P+ L++> E- W+++$ N++ o? K? w$>+$ O 
!M--- V- PS+++ PE++(--) Y+ PGP- t--- 5(+) !X- R(+) !tv b-(+) Dl++() D++ G++(-) 
e>+++ h++(---) r++>+$ y++**>$ H n---() p? !au w+ v- 3+>++ j- G B--- 
u+++*** f* Quake>+$
--END GEEK CODE BLOCK--

Home of Geek Code - http://www.geekcode.com/
The Geek Code Decoder Page - http://www.ebb.org/ungeek//

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



[Samba] File won't copy to client

2003-02-15 Thread Corey McGuire
This is strange, but I use samba for a software archive at work, and we are having 
trouble with Office 97.  I traced it back to riched20.dll.  The file is one the 
server, but it never copies.  I can't even see the file.  If i rename it, it shows up.

What is up with that?


/\/\/\/\/\/\ Nothing is foolproof to a talented fool. /\/\/\/\/\/\

[EMAIL PROTECTED]
http://www.coreyfro.com/
http://stats.distributed.net/rc5-64/psearch.php3?st=coreyfro
ICQ : 3168059

-BEGIN GEEK CODE BLOCK-
GCS !d--(+) s: a- C$ UL++> P+ L++> E- W+++$ N++ o? K? w$>+$ O 
!M--- V- PS+++ PE++(--) Y+ PGP- t--- 5(+) !X- R(+) !tv b-(+) Dl++() D++ G++(-) 
e>+++ h++(---) r++>+$ y++**>$ H n---() p? !au w+ v- 3+>++ j- G B--- 
u+++*** f* Quake>+$
--END GEEK CODE BLOCK--

Home of Geek Code - http://www.geekcode.com/
The Geek Code Decoder Page - http://www.ebb.org/ungeek//

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



[Samba] Win XP and 2.2.7a

2003-02-15 Thread William Jojo


I have a strange load behavior during certain times with Win XP and 2.2.7a
on AIX 5.1MR03

After about 350-400 machines get connected I get 50% kernel and around 40%
idle and logon times go rightin the toilet.

This happens regardless of XP-SP1 installed or not.

Also this same load was experiened last semester and we were under 2.2.6
with no problems.

Still evaluating logs to find cause, but does anyone have a thought?

Thanks!

Bill


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



[Samba] Win98 and >2.2.5

2003-02-15 Thread William Jojo


I have a wierd problem with my windows 98 machines and any samba version >
2.2.5.

They kick many windows illegal operation error when reading DLL's from a
share. When i go back  to 2.2.5 it all stablizes.

I'm still researching some mods to my smb.conf, but just wanted to ask if
enyone else saw this behavior...

Thanks!

Bill

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



RE: [Samba] Foxpro Test

2003-02-15 Thread Gerald Drouillard
Have a look at:
http://www.drouillard.ca/Tips&Tricks/Samba/Oplocks.htm

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

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf
> Of lrnobs
> Sent: Thursday, February 13, 2003 3:57 PM
> To: [EMAIL PROTECTED]
> Subject: [Samba] Foxpro Test
> 
> 
> I want to put a Samba server online under RedHat 7.3 to replace 
> an old Novell server.
> 
> Oplocks is turned off.
> 
> I ran a test last night with Visual FoxPro code like this:
> 
> **
> do while not flock()   && request a file lock
> && try again
> endo
> 
> get the date and time
> insert a record into a shared table
> unlock
> 
> start over again
> ***
> 
> I ran this on seven windows pcs simultaneously.
> 
> 1. The record insertions would allow one pc to insert multiple 
> records, for example 10 in a row before another computer had a 
> chance to do an insertion.  The same test on the Novell server 
> would allow one or two records before it gave another computer a 
> chance for an insertion.
> 
> 2. After several thousand insertions I had only one pc consuming 
> the time viewable with the top command.  I killed that process 
> but the other pcs still were not doing insertions.  I killed the 
> process on a second pc and then the rest were free to insert records.
> 
> How can I make the Samba server distribute time more evenly.  I 
> suspect that allowing one pc so much record insertion time to the 
> exclusion of others created my lock up.
> 
> Thanks,
> 
> Larry Nobs
> 
> 
> 
> -- 
> 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] samba Digest, Vol 2, Issue 54

2003-02-15 Thread lasaro
O email [EMAIL PROTECTED] foi alterado para [EMAIL PROTECTED], entretanto a 
sua mensagem foi redirecionada para o novo email.
Atenciosamente,
American BankNote Ltda

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