Re: [Samba] samba 2.2.4, domain auth, and smbpasswd file.

2002-05-07 Thread dj

On Mon, 6 May 2002, Bruce Campbell wrote:

 Look, I know this must be beaten to death, but I'm too dumb to derive (or
 find) a definitive answer on my own.

 Compiled and running 2.2.4 on Solaris. I want to do DOMAIN authentication
 off a w2k PDC. No matter what I do I still seem to need a smbpasswd file
 that samba can see. Is this true ? Why? What good is DOMAIN authentication
 if I still need this hash file sitting around?

 If it's not true, and I can nuke the smbpasswd file somehow, _please_ tell
 me what I'm missing w/this conf...  ;/

At first site your smb.conf looks alright. But you haven't mentioned if
you first have joined to domain (smbpasswd -j ...), if not it probably
won't work.

Also for each domain user you will have to make a local unix user or you
can use winbind which will also do that.

I've written a howto of a simular setup, see http://www.sin.khk.be/~dj/

Good luck,
Tim

-- 
===
Tim Verhoeven
Linux  Open Source Specialist
GSM : 0496 / 693 453  + e-business solutions
Email : [EMAIL PROTECTED]   + consulting
URL : www.sin.khk.be/~dj/ + Server consolidation
===



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



[Samba] XP, shares and connections to port 80

2002-05-07 Thread Tony Shepherd

Folks

I have a Windows XP (home edition) system here and whenever I make a
connection to a file share, like \\samba-server\username, the XP system
tries to make a connection to port 80 on that system (often tries 3-5
times).

I turned on the apache webserver on the Samba server, and got the error
log:

windows-xp.ip.address - - [03/May/2002:16:10:30 +1000] PROPFIND
/username HTTP/1.1 404 288

Does anyone know what it is trying to do?

I am authenticating the user with NIS.


thanks in advance

tony

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



[Samba] Problems - 2.2.4

2002-05-07 Thread Noel Kelly

Hi,

Just got my 2.2.3a system upgraded to 2.2.4 on 2.2.20 kernel with ACL
patches.  Users are getting bombed when accessing their shares and in the
logs I am getting this:

[2002/05/07 08:48:22, 0] locking/locking.c:share_modes_identical(560)
  PANIC: share_modes_identical: share_mode missmatch (e1 = 34, e2 = 64).
Logic error.
[2002/05/07 08:48:22, 0] lib/util.c:smb_panic(1092)
  PANIC: PANIC: share_modes_identical logic error.

I have tried searching for this and can only find Jeremy's original source
code.  Anyone have any ideas what is going on here ?

Thanks
Noel Kelly




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



[Samba] Help for my thesis- VB with samba

2002-05-07 Thread Sara D'Amico

Hi all,

I'm doing a thesis' project in a school and I'v decided to use samba as a PDC in a MS 
network (NT,98,2K). I'd like to create user accounts by implementing a routine that 
does a SELECT in a MS Access database and then sends the information to PDC.
My problem is to understand if in Samba it is possible to use a VB procedure, to get 
the username/password from the table and then to do an 'adduser' command in a script.

Thanks for your attention
Have a good day!
Sara


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



RE: [Samba] 2.2.4/spools/HP DJ 1120 driver problem

2002-05-07 Thread Åke Holmlund

Hi all.

Just want to mention that we have similar problems as the original poster
with Postscript drivers for HP LaserJet 4 Si, 4000N and 4050N. With drivers
for a QMS Magicolor all seems fine.

-
Åke HolmlundTel:  +46 - 90 786 57 16
Umeå University Fax:  +46 - 90 786 65 50
Dept of informatics Email: [EMAIL PROTECTED]
SE-901 87 Umeå
Sweden


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



AW: [Samba] can't get 2.2.4 release to work

2002-05-07 Thread Moeller Daniel (QI/EES3) *

Hi Jerry,

it was my fault, I had to manually copy libnss_winbind.so.2 to /lib, make
install didn't do that.
It works now as expected.
Thanks for your help.

Kind regards,
Daniel Möller

-Ursprüngliche Nachricht-
Von: Gerald Carter [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 6. Mai 2002 21:08
An: Moeller Daniel (QI/EES3) *
Cc: '[EMAIL PROTECTED]'
Betreff: Re: [Samba] can't get 2.2.4 release to work


On Fri, 3 May 2002, Moeller Daniel (QI/EES3) * wrote:

 After starting smbd, nmbd and winbindd all looks fine, winbind grabs
 information about trusted domains. wbinfo works as expected.
 But as soon as I try to establish a connection it hangs. Symptoms:

Can you reproduce this error with a clean 2.2.4 install (no 
extra patches).


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



[Samba] conflicts with file from package samba-2.0.7-4

2002-05-07 Thread Joyce LAMBERT



Hello

I'am trying to install new version of samba 2.2.3 
and 2.2.4 on a RedHat 6.2. But during the installation i have for lost file file 
. from install of samba-2.2.4-1 conflicts with file from 
samba-2.0.7-4.

So i try with the rpm and = the 
same.

Why


? ?

?
 


[Samba] accessing GDI printers via Samba?

2002-05-07 Thread Heiko Nardmann

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Is it possible to access GDI printers (i.e. to print to) attached to Windows 
PCs (even inside VMware emulation) via Samba from a Unix machine?

- -- 
Heiko Nardmann (Dipl.-Ing.), [EMAIL PROTECTED], Software Development
secunet Security Networks AG - Sicherheit in Netzwerken (www.secunet.de),
Weidenauer Str. 223-225, D-57076 Siegen
Tel. : +49 271 48950-13, Fax  : +49 271 48950-50
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjzXngAACgkQpm53PRScYyiRswCdHsVF1KF7/+oj+jYRk6ylEsey
mxUAoKar4aaEAb64a0VYLUEQumsqELC0
=+k+M
-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] What to do for ACL support?

2002-05-07 Thread Alexander Skwar

Hi!

I'm trying to setup samba 2.2.4 on MandrakeLinux 8.2.  The server should
act as a file storage for about 25 Windows 2000 clients.

Setting up a basic server which just serves the files is easy.
However, I'd also like to support NT ACLs on the Samba server.  Well,
what do I have to do, to get it to work?

I'm using the Mandrake RPM for 2.2.4, which has ACL support compiled in
on a Mandrake 2.4.18 kernel (kernel-2.4.18.14mdk-1-1mdk to be exact)
which also has ACL support.  I use XFS as the filesystem.  acl-2.0.0 and
attr-2.0.1 are installed.

Thanks for help and/or pointers to documentation,

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  |Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
   Uptime: 1 day 18 hours 11 minutes

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



Re: [Samba] 2.2.4 : smbstatus reporting weird dates in locked files

2002-05-07 Thread Pierre Belanger

Gerald Carter wrote:
 
 On Mon, 6 May 2002, Pierre Belanger wrote:
 
  Hi,
 
  smbstatus is reporting the following:
 
  Locked files:
  PidDenyMode   R/WOplock   Name
  --
  0  DENY_NONE  RDONLY BATCH   Wed Dec 31 20:00:00
  1969
  0  DENY_NONE  RDONLY BATCH   Wed Dec 31 20:00:00
  1969
 
  Wed Dec 31 20:00:00 1969, is the locking.tdb file corrupted? Should I
  just delete them?
 
 Yeahit looks weird.  What samba version did you upgrade from?
 
2.2.4-very-pre ~ 2-3-days-before 2.2.5-pre , does that make sense to
you? ;-)

Pierre B.

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



Re: [Samba] passwd encryption

2002-05-07 Thread Andrew Bartlett

John J. Boyer wrote:
 
 Mohamed,
 When you are connecting to Windows machines you should have
 Encrypt Passwords = yes
 in your smb.conf file

Samba will always encrypt passwords if the server supports it.  The
'encrypt passwords' option only applies to smbd - changing if it will
offer encrypted password support.

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

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



[Samba] (BRMA) Mensagem não autorizada

2002-05-07 Thread BRmultiaccess


Mensagem não autorizada

Virus Encontrado no email de saida 

/var/spool/brma_tratar/dfg47Cj2k00662/cierto.exe infected: I-Worm.Klez.h


Para:  [EMAIL PROTECTED]
Assunto:  Anterior

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



[Samba] Session setup failed: SUCCESS - 0

2002-05-07 Thread Abdij Bhat

Hi,
 I am trying to mount a Windows share using smbmount. On the Linux machine
which is also the Samba server, this works fine. 
 I also have an embedded system whose target is MIPS running on Linux. I
cross compile samba for MIPS target ( only smbmount ) and try running it on
my embedded system. Previously this use to work. Now there have been some
changes in the target environment and i have to use the new one. As far as
Samba is concerned there should be no change, since i am taking care of the
smb.conf file. I had never in the past used the /etc/passwd file so i guess
that should not be a problem since my windows share is accessible by
everybody.
 When i try to to a smbmount //windows-machine-name/share-name /mnt/smbmnt i
get the following errors
685: session request to windows-machine failed ( Called name not present )
Password: ( i press an enter here )
685: session setup failed: SUCCESS - 0
SMB connection failed

 Can some body tell me what the problem is and what is the solution for the
same.

Thanks a lot in advance.

Thanks and Regards,
Abdij

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



[Samba] user add error

2002-05-07 Thread Greg Gillespie

Hi,
running SWAT I get the failed to load passwd page error when trying to 
add  a user for sharing. I have seen other people having this problem on 
Macosxhints.com and no one there had an answer that worked.

I am running mac os x 10.1.3

thanks to anyone who can save me from having to use Dave.


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



Re: [Samba] What to do for ACL support?

2002-05-07 Thread amoote

Alexander,

If what you say is true, all you should need to do now will be to recompile Samba from 
source.

When you ./configure use the --with-acl-support switch.  You'll have to double check 
that by running... 

./configure --help | less

...and checking the --with options.  Remember that after you recompile you will have 
to take notice that the rpm install for Mandrake puts the fils under /etc/samba, but 
the source build will place them under /usr/local/samba (unless otherwise specified).

Also, using the source build default dir structure, /etc/rc.d/init.d/smb will not work 
properly until you edit it accordingly.

Best of luck!

Regards,

Alan B. Moote
Systems Administrator
MARK IV Industries
tel: 905.624.7908
fax: 905.625.6197




[EMAIL PROTECTED] wrote: -

To: Samba Mailingliste [EMAIL PROTECTED]
From: Alexander Skwar [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
Date: 05/07/2002 05:48AM
Subject: [Samba] What to do for ACL support?

Hi!

I'm trying to setup samba 2.2.4 on MandrakeLinux 8.2. The server should
act as a file storage for about 25 Windows 2000 clients.

Setting up a basic server which just serves the files is easy.
However, I'd also like to support NT ACLs on the Samba server. Well,
what do I have to do, to get it to work?

I'm using the Mandrake RPM for 2.2.4, which has ACL support compiled in
on a Mandrake 2.4.18 kernel (kernel-2.4.18.14mdk-1-1mdk to be exact)
which also has ACL support. I use XFS as the filesystem. acl-2.0.0 and
attr-2.0.1 are installed.

Thanks for help and/or pointers to documentation,

Alexander Skwar
-- 
How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
Homepage: http://www.iso-top.de | Jabber: [EMAIL PROTECTED]
iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 1 day 18 hours 11 minutes

-- 
To unsubscribe from this list go to the following URL and read the
instructions: 
http://lists.samba.org/mailman/listinfo/samba¢éì¹»®Þ~º¶¬–+-‚‹h¶Ÿ¢YhÂ)àQڝÚÞiÛaz)춻œ¶*'²m§ÿåŠËl±©›jŠàþf¢–f§þX¬¶)ߣû™¶


Re: [Samba] XP, shares and connections to port 80

2002-05-07 Thread Ben Griffith

Tony,

I see the same thing with my WinXP Pro machines. They also make several 
attempts to connect to port 80. I am still trying to figure out why. I 
think that this is part of the reason that there is a significant delay ( 
20-30 sec ) when connecting to a share for the first time. XP attempts to 
connect 3x, each with at least a 3sec delay after receiving the 
instantaneous dest unreachable from my samba srver.

Possibly explorer trying to show the folders with html content? ( Even 
though I have this option turned off in XP. )

Do you experience a delay on the first time that you open a particular 
share, but not afterwards?

--Ben--

--On 05/07/02 06:20:48 PM +1000 [EMAIL PROTECTED] wrote:

| I have a Windows XP (home edition) system here and whenever I make a
| connection to a file share, like \\samba-server\username, the XP system
| tries to make a connection to port 80 on that system (often tries 3-5
| times).



---
Ben Griffith
[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 w/ multiple network cards/machines

2002-05-07 Thread Bradley W. Langhorst

 
 
I have no idea why this doesn't work. 
 
i think maybe your clients are not using the wins server 
make sure you point those fields at the samba box. You need it 

because all your clients are not on the same subnet 

the clients all are set to use the wins server in their TCP/IP
properties for the ethernet card

that is all I need to do to set them up isn't it?


hmm
well that changes things a bit.
do you have anything in the log when you do a net use command?
If not I'd start looking at your routing setup.  You said you can ping
right?

i've not done this before so I won't be much help...

brad



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



Re: [Samba] download samba-2.2.0.tar.gz

2002-05-07 Thread Jerry M. Howell II

ftp://ftp.samba.org/pub/samba/ I ftp'ed right in, besides that the
http://www.samba.org site has plenty others Hello,
 I need to download the  samba-2.2.0.tar.gz. I tried the following ftp
 site ftp://ftp.samba.org/pub/samba/samba-2.2.0.tar.gz
 But this FTP server does not accept anonymous as a user ID. Can you
 please give me the link from where I can download the same without user
 id and password.

 Thanks and Regards
 Deepak

 --
 Deepak Arora
 I.B.M Global services
 Golden Tower
 Bangalore
 Tel Direct Line: 91-80-5044653
 Tel Board:  91-80-526 2355 / 526 7117 ext 3653


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


-- 
Jerry M. Howell
E-Mail/Linux Administrator



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



[Samba] Re: Workstation PC2000$: no account indomain

2002-05-07 Thread Joyce LAMBERT





  I try to connect a 2k station in a samba domain. 
  After having given my root password i can see on the server that i am rejected 
  with the error: get_md4pw: Workstation pc2000$ no account in 
  domain.
  
  In the Win2k PC the error is :
   
  Le compte utilisé est un compte d'ordinateur. 
  Utilisé votre compte d'utilisateur global ou local pour acceder à ce 
  serveur
  
  I havre add user pc2000$ in the serveur and on 
  the smbpasswd.
  
  What to do 
?


Re: Heuristics for finding a Win2K domain controller ...

2002-05-07 Thread Mats olsson

Well There is sort of a PDC in AD..

It's called a single operations master and is the onbly server that can do 
certain changes. There are five such operations.

See MS KnowladgeBase article Q197132

/Mats, Currently studying for AD MCP


From: Norbert Püschel [EMAIL PROTECTED]
To: Richard Sharpe [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: Heuristics for finding a Win2K domain controller ...
Date: Mon, 06 May 2002 08:03:23 +0200



Richard Sharpe schrieb:
 
  On Fri, 3 May 2002, Norbert Püschel wrote:
 
   Hi,
  
   WINS is only used for backward compatibility in Win2K. The DCs are 
found
   via their
 
  My original problem was that I did not have WINS properly configured ...
 
   DNS entries; they have entries of type SRV in _msdcs.your.domain, 
where
   your.domain is
   your DNS domain _and_ your W2K-domain.
  
   Your DNS must support dynamic DNS for this to work. W2Ks DNS-server 
does
   this, as does BIND 8/9.
 
  Seems like I can use dig to retrieve the entries gc._msdcs.domain and
  get back the list of addresses that the PDC? uses?

Uh, I haven't reverse-engineered all those messy SRV-entries yet. The
gc-entry is
probably made by the global catalog server. BTW: There is no PDC in an
AD-domain...
there is only a PDC-emulator.

Bye,
   Norbert



_
Hämta MSN Explorer kostnadsfritt på http://explorer.msn.se/intl.asp





Re: 6s Delay when accessing share

2002-05-07 Thread Richard Sharpe

On Tue, 7 May 2002, Christoph Kaegi wrote:

 On 2002.05.07 04:46, Richard Sharpe wrote:
  
  What version of Samba? Have you made any mods to Samba?
 
 2.2.4. No mods.

OK ...
 
 Configured with 
 
   # ./configure --prefix=/usr/local --with-quotas --with-msdfs --with-included-popt 
--with-acl-support

OK ...

  
  The trace seems to show that your client is trying to access 
  \private\desktop.ini, which fails in wierd ways (STATUS_INVALID_HANDLE), 
  even though the file was opened successfully.
 
 Well, this is actually another problem I introduced (I believe) by having 
 'nt acl support = no' on the homes share.
 
 I corrected this and uploaded a new logfile/trace/smb.conf
 to www.zhwin.ch/~kgc

I will pull this down tomorrow and look at it.

  
  The client then tries to do a bunch of RPCs, all of which fail trying to 
  bind to the RPC operation with the same status.
 
 This is the actual problem, causing the delay of 6 to 10 seconds.
 
 I tried the same with a Windows 2000 client. I think there were the
 same problems, but the client didn't try that long, so the delay
 wasn't as annoying.

Hmmm, do you have a trace of that as well? Comparisons are good :-)

  
  What does the log.$client or log.smbd show with respect to these? It tries 
  to bind to the pipe \srvsvc and fails with the same response all the way 
  to the end of the trace. ...
  
 
 log.smbd doesn't contain anything recent or interesting and

OK, Thought as much, because most useful data goes in

 log.$client: where is this file?

log.$(client-name), ie log.fred, where fred is the client name (tied to 
log file = /var/log/samba/log.%m) ...

Regards
-
Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], 
[EMAIL PROTECTED]





Re: compile samba-2.2.4 on Solaris 7

2002-05-07 Thread Richard Sharpe

On Tue, 7 May 2002, Tian-xiong Lu wrote:

 Hi there,
 
 Just tried compling samba-2.2.4 on a Solaris 7 box with two configure options:
 --with-libsmbclient  --with-acl-support
 
 When compiling I got a warning message like this:
 In function sys_readdir
 lib/system.c 331 Warning: return from incompatible pointer type.
 
 Also, a lot of messages like this:
 gcc: unrecognized option '-KPIC'

I think Jerry is fixing this. It is something like -fPIC under gcc, so you 
could try changing the Makefile to reflect that and get back to us.

Regards
-
Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], 
[EMAIL PROTECTED]





Problems - 2.2.4

2002-05-07 Thread Noel Kelly

Hi,

Just got my 2.2.3a system upgraded to 2.2.4 on 2.2.20 kernel with ACL
patches.  Users are getting bombed when accessing their shares and in the
logs I am getting this:

[2002/05/07 08:48:22, 0] locking/locking.c:share_modes_identical(560)
  PANIC: share_modes_identical: share_mode missmatch (e1 = 34, e2 = 64).
Logic error.
[2002/05/07 08:48:22, 0] lib/util.c:smb_panic(1092)
  PANIC: PANIC: share_modes_identical logic error.

I have tried searching for this and can only find Jeremy's original source
code.  Anyone have any ideas what is going on here ?

Thanks
Noel Kelly







RE: [Samba] Problems - 2.2.4

2002-05-07 Thread Noel Kelly

Found the source in locking.c - no idea why it is finding returning this as
true.  The log entries I am getting don't seem to be the same - eg:

PANIC: share_modes_identical: share_mode missmatch (e1 = 18, e2 = 32832).
Logic error.
PANIC: PANIC: share_modes_identical logic error.
PANIC: share_modes_identical: share_mode missmatch (e1 = 34, e2 = 64). Logic
error.
PANIC: PANIC: share_modes_identical logic error.

But they are consistently these values.  I have backed out to 2.2.3a to get
the users on line for the moment.

Noel

/***
 Check if two share mode entries are identical, ignoring oplock
 and port info and desired_access.
/

BOOL share_modes_identical( share_mode_entry *e1, share_mode_entry *e2)
{
#if 1 /* JRA PARANOIA TEST - REMOVE LATER */
if (e1-pid == e2-pid 
e1-share_file_id == e2-share_file_id 
e1-dev == e2-dev 
e1-inode == e2-inode 
(e1-share_mode  ~DELETE_ON_CLOSE_FLAG) != (e2-share_mode
 ~DELETE_ON_CLOSE_FLAG)) {
DEBUG(0,(PANIC: share_modes_identical: share_mode
missmatch (e1 = %u, e2 = %u). Logic error.\n,
(unsigned int)(e1-share_mode 
~DELETE_ON_CLOSE_FLAG),
(unsigned int)(e2-share_mode 
~DELETE_ON_CLOSE_FLAG) ));
smb_panic(PANIC: share_modes_identical logic error.\n);
}
#endif

-Original Message-
From: Noel Kelly 
Sent: 07 May 2002 08:55
To: '[EMAIL PROTECTED]'
Cc: [EMAIL PROTECTED]
Subject: [Samba] Problems - 2.2.4


Hi,

Just got my 2.2.3a system upgraded to 2.2.4 on 2.2.20 kernel with ACL
patches.  Users are getting bombed when accessing their shares and in the
logs I am getting this:

[2002/05/07 08:48:22, 0] locking/locking.c:share_modes_identical(560)
  PANIC: share_modes_identical: share_mode missmatch (e1 = 34, e2 = 64).
Logic error.
[2002/05/07 08:48:22, 0] lib/util.c:smb_panic(1092)
  PANIC: PANIC: share_modes_identical logic error.

I have tried searching for this and can only find Jeremy's original source
code.  Anyone have any ideas what is going on here ?

Thanks
Noel Kelly




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




Session setup failed: SUCCESS - 0

2002-05-07 Thread Abdij Bhat

Hi,
 I am trying to mount a Windows share using smbmount. On the Linux machine
which is also the Samba server, this works fine. 
 I also have an embedded system whose target is MIPS running on Linux. I
cross compile samba for MIPS target ( only smbmount ) and try running it on
my embedded system. Previously this use to work. Now there have been some
changes in the target environment and i have to use the new one. As far as
Samba is concerned there should be no change, since i am taking care of the
smb.conf file. I had never in the past used the /etc/passwd file so i guess
that should not be a problem since my windows share is accessible by
everybody.
 When i try to to a smbmount //windows-machine-name/share-name /mnt/smbmnt i
get the following errors
685: session request to windows-machine failed ( Called name not present )
Password: ( i press an enter here )
685: session setup failed: SUCCESS - 0
SMB connection failed

 Can some body tell me what the problem is and what is the solution for the
same.

Thanks a lot in advance.

Thanks and Regards,
Abdij




pdb_nisplus

2002-05-07 Thread Thomas . Mieslinger

Hello again,

just found another intersting Problem. I try to use Samba 2.2.4 as a PDC. 
So hacked the following statements form the man page in the smb.conf:
--snip--
logon script = logon.cmd

logon path = \\BARNEY\profiles\%U
logon drive = H:
logon home = \\BARNEY\%U

encrypt passwords = yes
domain logons = yes
domain master = yes
--snap--

--snip--
[netlogon]
comment = Login Scripte
path = /export/samba/netlogon
browseable = no

[profiles]
comment = Servergespeicherte Profile
path = /export/samba/profiles
writeable = yes
browseable = no
create mask = 0600
directory Mask = 0700

[homes]
comment = Home Verzeichnis
valid users = %S
writeable = yes
browseable = no
--snap--

when I logged in as user 27607579 the following directory appeared in the 
profile path:

root@barney ls -al /export/samba/profiles 
total 6
drwx--+  2 27607579 winusers 512 May  7 14:12 %u
drwxrwx---   3 administrator winusers 512 May  7 14:12 .
drwxr-xr-x  11 administrator other512 May  6 09:07 ..
root@barney 

I tried the same with a lowercase 'u' in the config file and the problem 
is the same.

Any ideas? log level= 10 needed for analysis?

regards Thomas



-- 
German Parcel
Thomas Mieslinger
German-Parcel-Str. 1-7 fon: +49 6677 17 463
36286 Neuensteinfax: +49 6677 17 111
Germany   eMail: [EMAIL PROTECTED]


smb.conf.gz
Description: Binary data


Re: pdb_nisplus

2002-05-07 Thread Toomas Soome


basically this is because there is no %variable expansion done after
fetching data from name service.

when the pdb_nisplus was written, to start discussion if such expansion
should be done in pdb_ module or outside of it and as some other modules
did not implement it, I left it out as well.

I think, there was some discussion about this issue in samba-technical and
if I remember correctly, the conclusion was that if we do want to provide
compatibility with MS in future, then we should not support useing
%variables in name service  but this means also that such variables
should be expanded before storing them into nis+/ldap/... hm...

toomas

On Tue, 7 May 2002 [EMAIL PROTECTED] wrote:

 Hello again,

 just found another intersting Problem. I try to use Samba 2.2.4 as a PDC.
 So hacked the following statements form the man page in the smb.conf:
 --snip--
 logon script = logon.cmd

 logon path = \\BARNEY\profiles\%U
 logon drive = H:
 logon home = \\BARNEY\%U

 encrypt passwords = yes
 domain logons = yes
 domain master = yes
 --snap--

 --snip--
 [netlogon]
 comment = Login Scripte
 path = /export/samba/netlogon
 browseable = no

 [profiles]
 comment = Servergespeicherte Profile
 path = /export/samba/profiles
 writeable = yes
 browseable = no
 create mask = 0600
 directory Mask = 0700

 [homes]
 comment = Home Verzeichnis
 valid users = %S
 writeable = yes
 browseable = no
 --snap--

 when I logged in as user 27607579 the following directory appeared in the
 profile path:

 root@barney ls -al /export/samba/profiles
 total 6
 drwx--+  2 27607579 winusers 512 May  7 14:12 %u
 drwxrwx---   3 administrator winusers 512 May  7 14:12 .
 drwxr-xr-x  11 administrator other512 May  6 09:07 ..
 root@barney

 I tried the same with a lowercase 'u' in the config file and the problem
 is the same.

 Any ideas? log level= 10 needed for analysis?

 regards Thomas



 --
 German Parcel
 Thomas Mieslinger
 German-Parcel-Str. 1-7 fon: +49 6677 17 463
 36286 Neuensteinfax: +49 6677 17 111
 Germany   eMail: [EMAIL PROTECTED]

toomas
-- 
Eat the rich, the poor are tough and stringy.





Cannot Copy Files to ALPHA

2002-05-07 Thread Naveed Ahmed

I have installed SAMBA 2.0.6 on Alpha running VMS 7.2-1. I can browse share,
see files, copy files to Alpha from Win98, but cannot copy files from Alpha
to Win98, it gives Access Denied. Why?

Naveed