[Samba] RE: Samba and file permission question

2002-04-11 Thread Fredrik Ekengren

Do you have a force create mode set to 0666 in your smb.conf?
I had problems with Samba changing permissions on existing files when my
Windows-based backup program tried to reset the archive attribute.

// Fredrik

 Hello all,
 
 We've been having problems with our virus scan (McAffe VirusScan) 
 changing the permissions on files it scans over a samba mount.  (It 
 sets most of them to 666, basically it just unsets the x bit.)  
 
 This is turning in to a real pain since a lot of our people 
 have their 
 unix homes as mounted drives.  Has anyone seen or heard of 
 this before? I searched for quite a while for a reason or 
 solution but I wasn't 
 exactly sure what I was looking for so it was a bit difficult.
 
 Thanks,
 Seth
 
 ---
 Seth Harbeck
 Space Systems / Loral
 650-852-6649


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



[Samba] NT_STATUS_ACCESS_VIOLATION

2002-04-11 Thread Florian Wagner

Hello,
I 'm running samba-2.2.2 on HP-UX 10.20. If I try to link a printer 
driver to a printer share with
rpcclient localhost -U root -c setdriver ldscol_1  \HP  Business 
Inkjet 2250 PCL 5C\  ,
I get the following message:
SetPriter call failed!
result was NT_STATUS_ACCESS_VIOLATION
What's the problem here? Is there a solution.

Thanks,
 Florian Wagner

-- 
Dipl.Ing. Florian Wagner
Email: [EMAIL PROTECTED]
Tel: +49 9131 85-24724
Fax: +49 9131 85-26834




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



[Samba] Large file copy problem

2002-04-11 Thread Wayne Sheehan



Hi all:

Further to my submission regarding lost network 
connection on large file copies between Samba 2.2.1a on a RH7.2 server. It 
most defintely occurs only during large file transfers 100-200MB size. I 
was able to copy the "Program files" and "Windows" folders to a shared samba 
drive and then copy them back. Mind you prior to upgrading to RH7.2 from 
RH7.1 and of course thereby upgrading my Samba version all was working well 
:) I hope that this helps someone more conversant with Samba to steer me 
in the right direction.

Regards Wayne Sheehan


RE: [Samba] nmbd port problem

2002-04-11 Thread Martyn Ranyard


Like I say, it is possible now, but it's not a limitation of samba that 
Windows Clients use port 139 - it's a limitation of Windows.

At 10:00 AM 4/10/02 -0700, Jon Houg wrote:
Hi Martyn,

Thank you for the suggestions.  I agree, I think it should be fairly easy to
make a change to our code to use another port besides 137.  On the other
hand, would this issue qualify as a request for enhancement for a future
release of Samba?  If so, how would I submit this?

Thanks again,

Jon

--
Martyn Ranyard

I am not a member of the samba team,
and anything that I say may not be as
accurate as a response from one of the
team.  I reply to save those more
qualified time, which can more usefully
be spent developing SAMBA further.


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



R: [Samba] release date; SAMBA 3.0 or SAMBA-TNG?

2002-04-11 Thread PINTO ELIA

My environment is as following:

I have a NT multimaster domain environment, where the AS/U PDCs (about an
hundred machines with proprietary unix) are trusted domain and the trusting
domain are Windows NT 4.0 ( ... migrating to Windows/2000 in the short run
..). 

I need at least the following features in order to use SAMBA:

1) PDC support 
2) Trust support
3) global group support
4) Password policy support (expiration, password length and so on)
   
On September I have to migrate all  machines with  AS/U (PDC/BDC) to Linux
machines using SAMBA.

Based on Gerald Carter indication and my requirements, what's the best
between SAMBA 3.0 or SAMBA-TNG, in terms of stability and feature support?

Thanks in advance

Regards 

-Messaggio originale-
Da: Gerald Carter [mailto:[EMAIL PROTECTED]]
Inviato: mercoledì 10 aprile 2002 16.46
A: peter grotz
Cc: [EMAIL PROTECTED]
Oggetto: Re: [Samba] release date


On Mon, 8 Apr 2002, peter grotz wrote:

 hi,
 
 I think this is for the samba group members
 
 Do you know any release dates of the new official (not cvs) versions of
 2.2 and 3.0 samba?

ETA for Samba 2.2.4 ~1 week give of take some
ETA for Samba 3.0 ???  Maybe late summer?






jerry


-- 
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: Re: [Samba] PDC: Suddenly profiles are no longer retrievable

2002-04-11 Thread mikko

Maybe this is the same problem I had or might still even have.
I seemed to have fixed it.

I updated to CVS 2.2.4-pre release,
and I disabled in both excel and word the feature to save
files every 10 minutes for recreation.
I added:
nt acl support = no
under the [Profiles] section.
Today I also disabled link file tracking with Poledit,
I want to do that anyway.

so far so good.

/Mikko

At 11:13 2002-04-11, you wrote:
On Thu, 4 Apr 2002, Stephan M. Ott wrote:

  Hi,
 
  I'm running Samba 2.2.2 as a PDC for a small network of Windows2000-PCs.
  Some days ago users reported that they couldn't logon to the domain
  successfully. When trying by myself, I found that the logon itself 
 works, but
  that clients cannot receive their profiles from the server. Windows 
 tells no
  permission. So I checked the access-rights of the profiles - all are 
 correct.
  When checking the logfiles I found the same errormessage for each
  logon-attempt:
 
  [2002/03/29 09:37:14, 0] rpc_server/srv_netlog.c:api_net_sam_logon(208)
   api_net_sam_logon: Failed to marshall NET_R_SAM_LOGON.
  [2002/03/29 09:37:14. 0] rpc_server/srv_pipe.c: api_rpcTNP(1204)
   api_rpcTNP: api_netlog_rpc: NET_SAMLOGON failed.

Ignore this error.  It has nothing to do with your profile problem.

hi all,

what is then the error? i have the equal problem. which i am also unable 
to solve.

greetings
thomas

-
This mail sent through encrypted https://webmail.tronicplanet.de

--
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] Configure problem under HPUX 11....

2002-04-11 Thread Florent Gilain



Hi 
all,

Sorry for my poor 
English...

I get an error 
message at the end of the configure command of smaba 2.2.3a under my HP UX 11 
French system :

WARNING: No 
automated network interface determinationERROR: no seteuid method 
availableconfigure: error: summary failure. Aborting 
config

Could someone tell 
me why it happens...

thanks a lot (or is 
there a website where i could find a simple documentation of how to install 
samba ? I 'm very a UNIX beginner...)

Florent GILAIN
Administrateur systèmes
Direct Medica
33, rue traversière - 92100 Boulogne 
Billancourt
Tel : 01.46.20.94.27 
- Fax : 01.46.20.94.05 - Gsm : 
06.12.24.28.45



Re: [Samba] winbind

2002-04-11 Thread dj

On Thu, 11 Apr 2002, Routledge, Carl wrote:

 Does anybody know if it is possible to set-up winbind on an AIX server??

If I understand it correctly winbind currently is only available on Linux
and Solaris. Winbind needs a nss interface to do it's stuff.

I don't know the AIX platform enough if that exsists there, if it is a
port should be possible. But contact the winbind developers for that.

Greets,
Tim

-- 
==
Tim Verhoeven
   Music Services - Michel Stoffels
GSM : 0496 / 693 453  + Deejayteam
Email : [EMAIL PROTECTED] + Sound  Light rentals
URL : www.sin.khk.be/~dj/ + P.A. services
=Public PGP-Key at : http://www.sin.khk.be/~dj/publickey.txt==
  Member of Student Information Networking (www.sin.khk.be)


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



[Samba] Is It possible for Windows 98 2000 Clients to change theirpassword on the Samba server?

2002-04-11 Thread Baldwin Sung

Is It possible for Windows 98  2000 Clients to change their password on the
Samba server?

--
Baldwin Sung
Conclusive, Inc.
Phone:  (646) 314-5319
Email:  [EMAIL PROTECTED]
http://www.conclusiveinc.com




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



[Samba] Samba 2.2.2 and Windows 2000

2002-04-11 Thread Jacques Lefebvre








Hello,



I have a problem that I
do not arrive has to resolve : 



I think thyat my samba.conf
file is good, it turns well with the users of Windows 95, but when I use
windows 2000 I have a problem.



First connection happens
well , and I find on samba server the profile of my computer with directories :
desk, etc.  but If I disconnect and I connect again on my Windows 2000,
I have an error message : Windows can not copy the file
\\serveur\data1\profile\toto\favoris\desktop.ini in the place c:\Documents and
Settings\toto.DOMAINE1\favoris\desktop.ini Contact Your administrator network 



DETAIL - Access refuses



Then it reloads my default
profile. I verified the rights of my files and I put everything 777



Anybody has an idea?



Thank you beforehand



===

Jacques Lefebvre



Intramar Acconage

25 Traverse Mardirossian

13015 Marseille

Tél : 04-91-09-60-36

Mob : 06-09-88-99-38

E-Mail : [EMAIL PROTECTED]

===










[Samba] FS corruption ...

2002-04-11 Thread C.Lee Taylor

Greetings ...

Hoping that somebody could help me ...

We just found file corruption on our Redat Linux 7.2, only on 
our Samba share drive ...

Is it possilbe for Samba to corrupt the FS?

Details of our installation ...

Celeron 900MHz
256MB Ram
4GB SCSI for Linux ( ext3 )
30GB IDE for Samba shares ( ext3 )
RedHat 7.2 with all updates from their ftp site ( Kernel 
2.4.9-31 )
Custom rpm for Samba 2.2.3.a with LDAP-Sam ...
Running 30 users for Mail, Samba, IP Masq ...

Thanks
Mailed
Lee


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



[Samba] Samba code

2002-04-11 Thread D. Jemms

HI,anyone out there tell me if there is any information available about 
samba code.Hey,please help me with this,need your help badly.
any online documents,presentations about code of samba..???Please Reply

Help IS Required Urgently

-NF


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


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



[Samba] Fw: File Copy error between two samba servers

2002-04-11 Thread David Nickel




- Original Message - 
From: David Nickel 
To: [EMAIL PROTECTED] 
Sent: Wednesday, April 10, 2002 10:03 AM
Subject: File Copy error between two samba servers

I have to Sun servers (backup and primary) that are 
running Samba. If I have two network neighborhood windows open for each server 
on my desktop, and try to drag and drop a file from one to the other, I get the 
following error message.

{{Cannot copy 'filename;: Access is denied: 
The Source file may be in user}}

Here is my shared definition in smb.conf. Any help 
would be much appreciated.


[MYPIPE]path = 
/opt/pipeline/docroot/site/mypipebrowseable = yes guest ok = 
no comment = /opt/pipeline/docroot/site/mypipewriteable = 
yes valid users = @prn


[Samba] RE: samba digest, Vol 1 #1092 - 18 msgs

2002-04-11 Thread Orwig, Paul

This is an old problem with samba and HPUX.

You need to create a default user and group. The nobody account doesn't
work.
I used:
smbguestuid 32766 gid 32766
smbgroupgid 32766

Then add the following to your smb.conf global area:

guest account = smbguest

That should clearup your problem.

winbind is new and available on samba 2.2.3a but requires manual
intervention to compile on HPUX.

Paul Orwig
Pacific Life


-Original Message-
From: Hemant Kumar Choudhary [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Thu, 11 Apr 2002 16:15:57 +0530
Subject: [Samba] Problem with Samba 2.2.2

This is a multi-part message in MIME format.

--=_NextPart_000__01C1E174.29ED5480
Content-Type: text/plain;
charset=iso-8859-1
Content-Transfer-Encoding: 7bit

Hello

I have installed Samba 2.2.2 on my HP-UX 10.20 machine. I am able to
map
the shares from my Windows NT machine. But just after I map a share, the log
file gets one entry as follows.

**
[2000/06/13 11:40:42, 0] lib/util_sec.c:(94)
  Failed to set gid privileges to (-1,-24) now set to (0,0) uid=(0,0)
[2000/06/13 11:40:42, 0] lib/util.c:(1055)
  PANIC: failed to set gid
**

It is not able to set gid. I am able to create and edit files
through
windows NT explorer or through command prompt. But whenever I try to open a
file through a C program, the program gets the error as Permission Denied.
the file gets created but its size is 0. May I get some solution regarding
this.

I thought that winbind daemon will help me. So, I wanted to run
winbind
daemon. In the man page of winbindd, I found that it is a part of Samba
suite. It is also told that it gets installed when Samba is installed. But I
can not find winbindd anywhere in the directory structure. Previously when I
installed Samba 2.0.7, I have executed a file named configure, which
compiled many C files and created the required directory structure. But this
time when I downloaded Samba 2.2.2's zip.gz file and extracted it, it gave
me the whole directory structure with all the files precompiled. I simply
copied it at the desired location on my server and then configured the
smb.conf file. I could not find winbind daemon anywhere. Can winbindd help
me solve my problem of not getting permission to open file ?

Please write back.

Thanks and best regards,

Hemant Kumar Choudhary
Software Engineer
Patni Computer Systems Limited
Phone: 6930205/06/09
Extn: 2105

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



[Samba] Problem with Samba 2.2.2

2002-04-11 Thread Hemant Kumar Choudhary

Hello

I have installed Samba 2.2.2 on my HP-UX 10.20 machine. I am able to map
the shares from my Windows NT machine. But just after I map a share, the log
file gets one entry as follows.

**
[2000/06/13 11:40:42, 0] lib/util_sec.c:(94)
  Failed to set gid privileges to (-1,-24) now set to (0,0) uid=(0,0)
[2000/06/13 11:40:42, 0] lib/util.c:(1055)
  PANIC: failed to set gid
**

It is not able to set gid. I am able to create and edit files through
windows NT explorer or through command prompt. But whenever I try to open a
file through a C program, the program gets the error as Permission Denied.
the file gets created but its size is 0. May I get some solution regarding
this.

I thought that winbind daemon will help me. So, I wanted to run winbind
daemon. In the man page of winbindd, I found that it is a part of Samba
suite. It is also told that it gets installed when Samba is installed. But I
can not find winbindd anywhere in the directory structure. Previously when I
installed Samba 2.0.7, I have executed a file named configure, which
compiled many C files and created the required directory structure. But this
time when I downloaded Samba 2.2.2's zip.gz file and extracted it, it gave
me the whole directory structure with all the files precompiled. I simply
copied it at the desired location on my server and then configured the
smb.conf file. I could not find winbind daemon anywhere. Can winbindd help
me solve my problem of not getting permission to open file ?

Please write back.

Thanks and best regards,

Hemant Kumar Choudhary
Software Engineer
Patni Computer Systems Limited
Phone: 6930205/06/09
Extn: 2105



BEGIN:VCARD
VERSION:2.1
N:Choudhary;Hemant;Kumar
FN:Hemant Kumar Choudhary
NICKNAME:hkc
ORG:Patni Computer Systems Limited;Calma
TITLE:Software Engineer
TEL;WORK;VOICE:8291454 Extn 5858
TEL;HOME;VOICE:91 22 7459876
TEL;CELL;VOICE:9820222686
TEL;HOME;FAX:91 22 7459876
ADR;WORK:;;Unit 20, SDF 7, SEEPZ, Andheri (East);Mumbai;Maharashtra;400096;India
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Unit 20, SDF 7, SEEPZ, Andheri (East)=0D=0AMumbai, Maharashtra 400096=0D=0AI=
ndia
ADR;HOME:;;Flat no 02, Ragamalika Residential Complex, Plot No 15  16, Sector 5, New Panvel;Navi Mumbai;Maharashtra;410206;India
LABEL;HOME;ENCODING=QUOTED-PRINTABLE:Flat no 02, Ragamalika Residential Complex, Plot No 15  16, Sector 5, New P=
anvel=0D=0ANavi Mumbai, Maharashtra 410206=0D=0AIndia
X-WAB-GENDER:2
BDAY:20011227
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20010726T044833Z
END:VCARD



Re: [Samba] RE: Samba and file permission question

2002-04-11 Thread Seth Harbeck

No, but I do have a create mask = 0644.  I thought that was just for 
new files though?  I'll check on the archive bit though, thanks for the 
tip on that..
Seth

Fredrik Ekengren wrote:
 
 Do you have a force create mode set to 0666 in your smb.conf?
 I had problems with Samba changing permissions on existing files when my
 Windows-based backup program tried to reset the archive attribute.
 
 // Fredrik
 
  Hello all,
 
  We've been having problems with our virus scan (McAffe VirusScan)
  changing the permissions on files it scans over a samba mount.  (It
  sets most of them to 666, basically it just unsets the x bit.)
 
  This is turning in to a real pain since a lot of our people
  have their
  unix homes as mounted drives.  Has anyone seen or heard of
  this before? I searched for quite a while for a reason or
  solution but I wasn't
  exactly sure what I was looking for so it was a bit difficult.
 
  Thanks,
  Seth
 
  ---
  Seth Harbeck
  Space Systems / Loral
  650-852-6649
 
 --
 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] Can't login with XP

2002-04-11 Thread Guillermo Gomez








All



Im newbie with Samba PDC and I cant make work
a XP Pro client and my Samba PDC.

Can somebody give me a hand on this ?



Regards

Guillermo










RE: [Samba] FS corruption ...

2002-04-11 Thread Charles Marcus

??

First you say you had file corruption, then you say you had FileSYSTEM
corruption.  Which was/is it?

There are some bugs in 2.2.3a and earlier that can cause some data corruption
in certain cases (shared databases), which is caused by file locking and
oplock problems.  There are a number of fixes for these problems in CVS, so
maybe you can try the latest CVS verion?

Charles

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On
 Behalf Of C.Lee Taylor
 Sent: Thursday, April 11, 2002 8:40 AM
 To: [EMAIL PROTECTED]
 Subject: [Samba] FS corruption ...

 Greetings ...

   Hoping that somebody could help me ...

   We just found file corruption on our Redat Linux 7.2, only on
 our Samba share drive ...

   Is it possilbe for Samba to corrupt the FS?

   Details of our installation ...

   Celeron 900MHz
   256MB Ram
   4GB SCSI for Linux ( ext3 )
   30GB IDE for Samba shares ( ext3 )
   RedHat 7.2 with all updates from their ftp site ( Kernel
 2.4.9-31 )
   Custom rpm for Samba 2.2.3.a with LDAP-Sam ...
   Running 30 users for Mail, Samba, IP Masq ...

 Thanks
 Mailed
 Lee


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

2002-04-11 Thread Sanjiv Bawa



There 
is a registry setting that you are missing. Look in the docs. Or check the 
samba.org wesite for it.

  -Original Message-From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Guillermo 
  GomezSent: Thursday, April 11, 2002 9:35 AMTo: 
  [EMAIL PROTECTED]Subject: [Samba] Can't login with 
  XP
  
  All
  
  I’m newbie with Samba PDC and I 
  can’t make work a XP Pro client and my Samba PDC.
  Can somebody give me a hand on 
  this ?
  
  Regards
  Guillermo
  


Re: [Samba] Windows Shares Problem

2002-04-11 Thread dj

On Thu, 11 Apr 2002, Andrew Hanson wrote:

 I have Suse linux installed using Samba on a windows network acting as
 the data and printer server with shared folders.
 For some reason i cannot access the shared folders or even the printer
 on the samba server.
 The shares are set up for all users read / write permissions but every
 time i try to access them through network
 neighborhood it keeps asking me for a password. I can't figure out why
 it wants a password or what the password should be.
 Is there anybody out there who could  help.

Could you post your smb.conf file here so we can see the setup you are
using ?

Also, you are talking about permissions. Which ones do you mean? The UNIX
permissions ( like -rw-r--r--) or the permissions set in smb.conf ?

Regards,
Tim

-- 
==
Tim Verhoeven
   Music Services - Michel Stoffels
GSM : 0496 / 693 453  + Deejayteam
Email : [EMAIL PROTECTED] + Sound  Light rentals
URL : www.sin.khk.be/~dj/ + P.A. services
=Public PGP-Key at : http://www.sin.khk.be/~dj/publickey.txt==
  Member of Student Information Networking (www.sin.khk.be)


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



[Samba] Restrict access to printers

2002-04-11 Thread Paul McAtasney

I'm running samba 2.2.3a and want to add a printer so that it can only be
used by certain users (or groups of users). This is the entry in the
smb.conf file

[floor2]
comment = Printer 2nd Floor
path = /var/spool/samba
printable = Yes
use client driver = Yes
valid users = grp1
write list = grp1
force group = grp1
public = no

However, this doesn't appear to work. Can anyone enlighten me as to what's
wrong?

Thanks.




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



Re: [Samba] Samba PDC: Windows 9x clients cannot share

2002-04-11 Thread Juhan Kundla

Ühel ilusal päeval [10.04.2002] kirjutas Bruce Ferrell [EMAIL PROTECTED]:
 I've seen this happen when the smbpasswd file and /etc/passwd weren't in
 sync.  For whatever reason, samba doesn't like it and errors out when
 the clients try to get lists.

Hello again!

I checked and the smpasswd and passwd file are in sync -- well, at least
both of those files contain the same users. I mean, every username in
/etc/passwd has the corresponding username in /etc/samba/smbpasswd and
vice versa. IMHO, those files cannot be more in sync than this. Still i
get the same errormessage telling me that the list of users cannot be
retrieved from Samba PDC when trying to create shares on Windows '9x
clients.

I've noticed, that there is an other thread in this Samba mailing list
about the similar problem. So what is this? A bug? A feature? This is
very annoying to my users (and to me too, because i get hate looks all
the day). Is there somebody, who has gotten the damn thing working?
Perhaps this is Debian specific. I am using Debian Woody at the moment.

Still seeking help,
Juhan

-- 
In the early morning hour, when the pub was closing, my grandpa
emptied his tankard, stood up and said his famous words:
  She's always late. Her ancestors arrived on the JuneFlower.

http://juku.kicks-ass.net/

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



[Samba] (no subject)

2002-04-11 Thread Andrew Hanson
Title: Message



how can i get smbd and nmbd to start  automatically when 
linuxboots up??

RegardsAndrew 
HansonArchiTechs iT 
Ltd25 Queens Square 
Business ParkHuddersfield RoadHonleyHolmfirthHD9 6QZt: 01484 
451888f: 01484 452888e: [EMAIL PROTECTED]


This transmission contains information which may be confidential and which 
may also be privileged. It is intended for the named addressee only. Unless you 
are the named addressee, or authorised to receive it for the addressee, you may 
not copy or use it, or disclose it to anyone else. If you have received this 
transmission in error, please contact: [EMAIL PROTECTED] Thank you for your 
co-operation.


RE: [Samba] Configure problem under HPUX 11....

2002-04-11 Thread MCCALL,DON (HP-USA,ex1)



Hello 
Florent,
you 
cannot compile/build samba with the builtin c compiler on HPUX - it is not ANSI 
compliant, but there
mainly 
to allow for kernel rebuilds, etc.
You 
will need to either purchase HP's Ansi C compiler, or go to the www.gnu.org site and pull a version 
of
gcc 
for HPUX to build samba with.

In 
addition, you can get an already build swdepot of Samba 2.2.3a from http://software.hp.com (it's called CIFS/9000 
SERVER)
if you 
don't want to go thru the trouble of building it yourself.

Hope 
this helps,
Don



  -Original Message-From: Florent Gilain 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, April 11, 2002 
  7:30 AMTo: [EMAIL PROTECTED]Subject: [Samba] 
  Configure problem under HPUX 11
  Hi 
  all,
  
  Sorry for my poor 
  English...
  
  I get an error 
  message at the end of the configure command of smaba 2.2.3a under my HP UX 11 
  French system :
  
  WARNING: 
  No automated network interface determinationERROR: no seteuid method 
  availableconfigure: error: summary failure. Aborting 
  config
  
  Could someone tell 
  me why it happens...
  
  thanks a lot (or 
  is there a website where i could find a simple documentation of how to install 
  samba ? I 'm very a UNIX beginner...)
  
  Florent GILAIN
  Administrateur systèmes
  Direct Medica
  33, rue traversière - 92100 Boulogne 
  Billancourt
  Tel : 01.46.20.94.27 - Fax : 01.46.20.94.05 - Gsm : 
  06.12.24.28.45
  


[Samba] Can't have two PDC's in the same domain

2002-04-11 Thread Dale Mirenda

I am preparing to migrate the Primary Domain Controller function from my NT
4.0 box to Samba. Is there a way to turn off the PDC function on the NT
box without re-installing the OS?

Dale Mirenda


-- 
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 have two PDC's in the same domain

2002-04-11 Thread Martyn Ranyard


The only way I know of is to use a commercial closed source product called 
UPromote :

http://www.algintech.com/UTools/UPromote.asp

HTH

At 08:53 AM 4/11/02 -0700, Dale Mirenda wrote:
I am preparing to migrate the Primary Domain Controller function from my NT
4.0 box to Samba. Is there a way to turn off the PDC function on the NT
box without re-installing the OS?

Dale Mirenda


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

--
Martyn Ranyard

I am not a member of the samba team,
and anything that I say may not be as
accurate as a response from one of the
team.  I reply to save those more
qualified time, which can more usefully
be spent developing SAMBA further.


-- 
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.3a will not compile on Compaq Tru64 UNIX v5.1A

2002-04-11 Thread Greg Freemyer


I think it has been fixed in CVS, or you can do the small patch described at 

http://www.ornl.gov/its/archives/mailing-lists/tru64-unix-managers/2002/02/msg00385.html

yourself. 

   Has anyone gotten this to work. 
   make gives: 
   Using FLAGS = -O -Iinclude -I./include -I./ubiqx -I./smbwrapper
   -DLOGFILEBASE=/usr/local/samba/var
   -DCONFIGFILE=/usr/local/samba/lib/smb.conf
   -DLMHOSTSFILE=/usr/local/samba/lib/lmhosts 
   -DSWATDIR=/usr/local/samba/swat -DSBINDIR=/usr/local/samba/bin
   -DLOCKDIR=/usr/local/samba/var/locks
   -DCODEPAGEDIR=/usr/local/samba/lib/codepages
   -DDRIVERFILE=/usr/local/samba/lib/printers.def
   -DBINDIR=/usr/local/samba/bin -DHAVE_INCLUDES_H
   -DPASSWD_PROGRAM=/bin/passwd
   -DSMB_PASSWD_FILE=/usr/local/samba/private/smbpasswd
   -DTDB_PASSWD_FILE=/usr/local/samba/private/smbpasswd.tdb
   Using FLAGS32 = -O -Iinclude -I./include -I./ubiqx -I./smbwrapper
   -DLOGFILEBASE=/usr/local/samba/var
   -DCONFIGFILE=/usr/local/samba/lib/smb.conf
   -DLMHOSTSFILE=/usr/local/samba/lib/lmhosts 
   -DSWATDIR=/usr/local/samba/swat -DSBINDIR=/usr/local/samba/bin
   -DLOCKDIR=/usr/local/samba/var/locks
   -DCODEPAGEDIR=/usr/local/samba/lib/codepages
   -DDRIVERFILE=/usr/local/samba/lib/printers.def
   -DBINDIR=/usr/local/samba/bin -DHAVE_INCLUDES_H
   -DPASSWD_PROGRAM=/bin/passwd
   -DSMB_PASSWD_FILE=/usr/local/samba/private/smbpasswd
   -DTDB_PASSWD_FILE=/usr/local/samba/private/smbpasswd.tdb
   Using LIBS = -lsecurity 
   Compiling libsmb/clierror.c 
   cc: Error: libsmb/clierror.c, line 185: In the initializer for
   nt_errno_map[0].status.v, NTSTATUS is a struct type, which is not
   scalar. (needscalartyp)
   {NT_STATUS_ACCESS_VIOLATION, EACCES}, 
   -^ 
   cc: Error: libsmb/clierror.c, line 186: In the initializer for
   nt_errno_map[1].status.v, NTSTATUS is a struct type, which is not
   scalar. (needscalartyp)
   {NT_STATUS_NO_SUCH_FILE, ENOENT}, 
   -^ 
   cc: Error: libsmb/clierror.c, line 187: In the initializer for
   nt_errno_map[2].status.v, NTSTATUS is a struct type, which is not
   scalar. (needscalartyp)
   {NT_STATUS_NO_SUCH_DEVICE, ENODEV}, 
   -^ 
   cc: Error: libsmb/clierror.c, line 188: In the initializer for
   nt_errno_map[3].status.v, NTSTATUS is a struct type, which is not
   scalar. (needscalartyp)
   {NT_STATUS_INVALID_HANDLE, EBADF}, 
   -^ 
   cc: Error: libsmb/clierror.c, line 189: In the initializer for
   nt_errno_map[4].status.v, NTSTATUS is a struct type, which is not
   scalar. (needscalartyp)
   {NT_STATUS_NO_MEMORY, ENOMEM}, 
   -^ 
   cc: Error: libsmb/clierror.c, line 190: In the initializer for
   nt_errno_map[5].status.v, NTSTATUS is a struct type, which is not
   scalar. (needscalartyp)
   {NT_STATUS_ACCESS_DENIED, EACCES}, 
   -^ 
   cc: Error: libsmb/clierror.c, line 191: In the initializer for
   nt_errno_map[6].status.v, NTSTATUS is a struct type, which is not
   scalar. (needscalartyp)
   {NT_STATUS_OBJECT_NAME_NOT_FOUND, ENOENT}, 
   -^ 
   cc: Error: libsmb/clierror.c, line 192: In the initializer for
   nt_errno_map[7].status.v, NTSTATUS is a struct type, which is not
   scalar. (needscalartyp)
   {NT_STATUS_SHARING_VIOLATION, EBUSY}, 
   -^ 
   cc: Error: libsmb/clierror.c, line 193: In the initializer for
   nt_errno_map[8].status.v, NTSTATUS is a struct type, which is not
   scalar. (needscalartyp)
   {NT_STATUS_OBJECT_PATH_INVALID, ENOTDIR}, 
   -^ 
   cc: Error: libsmb/clierror.c, line 194: In the initializer for
   nt_errno_map[9].status.v, NTSTATUS is a struct type, which is not
   scalar. (needscalartyp)
   {NT_STATUS_OBJECT_NAME_COLLISION, EEXIST}, 
   -^ 
   cc: Error: libsmb/clierror.c, line 195: In the initializer for
   nt_errno_map[10].status.v, NTSTATUS is a struct type, which is not
   scalar. (needscalartyp)
   {NT_STATUS_PATH_NOT_COVERED, ENOENT}, 
   -^ 
   cc: Error: libsmb/clierror.c, line 196: In the initializer for
   nt_errno_map[11].status.v, NTSTATUS is a struct type, which is not
   scalar. (needscalartyp)
   {NT_STATUS(0), 0} 
   -^ 
   *** Exit 1 
   Stop. 


   Paul Gregory 
   Unix and Oracle Database Administrator 
   ASIS at GE Nuclear Energy 
   910-675-5490 
   [EMAIL PROTECTED]




Greg Freemyer
Internet Engineer
Deployment and Integration Specialist
The Norcross Group
www.NorcrossGroup.com


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



[Samba] samba and JNI

2002-04-11 Thread Floyd Shackelford



i am using a 
linux/sambabox as a print server. whenever a user submits a print job, i 
want to notify the user that samba is receiving the print job. i have a java 
service running on each client machine that pops up a gui to that effect when 
notified. i am trying to integrate java JNI into samba to tell the java server 
on the client to display the gui. however, just adding the JNI initialization 
code to "smbd/server.c main" causes samba to get the following error whenever a 
print job is submitted. also, the print job fails to spool. (debug level 
3)

[2002/04/11 11:34:11, 0] 
smbd/oplock_linux.c:linux_init_kernel_oplocks(284) Failed to setup 
RT_SIGNAL_LEASE handler[2002/04/11 11:34:11, 3] 
smbd/oplock.c:init_oplocks(1214) open_oplock ipc: pid = 15010, 
global_oplock_port = 32775[2002/04/11 11:34:11, 0] 
smbd/notify_kernel.c:kernel_notify_init(190) Failed to setup 
RT_SIGNAL_NOTIFY handler
has anyone been successful 
in getting samba and JNI to work? alternatively, can anyone suggest why JNI 
might be causing samba to fail in this manner and how i can make it 
work?

Regards,Floyd 
Shackelford4 Peaks Technology Group, Inc.VOICE: 334.735.9428FAX: 916.404.7125EMAIL: 
[EMAIL PROTECTED]
acta non verba



[Samba] Error compiling on Solaris 2.7 Forte C

2002-04-11 Thread Steve Kennedy

The linker flags get set wrong ...

DYNEXP=-dc -dp

Steve

-- 
home [EMAIL PROTECTED]Flat 2, 43 Howitt Road, Belsize Pk, London NW3 4LU
work [EMAIL PROTECTED] tel +44-(0)207 483 1169FAX +44-(0)207 483 2455
www  http://www.gbnet.net/  Personal DFAX +44 (0)870 1600 842   (fax to email)
bits [EMAIL PROTECTED]   mob +44(0)7775755503 Epage steve-pager at gbnet.net

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



[Samba] Samba 2.2.3a acting as a PDC for Windows 2000 SP2 Pro

2002-04-11 Thread Lee

Hello,

I have been able to get samba working fine with all my other computers (95, 
98, NT) but I am unable to get Windows 2000 to accept my Samba server as a 
PDC.

Whenever I try running the the Network ID wizard or set it up manually I get 
the following error:

The credentials supplied conflict with an existing set of credentials

Any help on this would be appricated.  I case it matters, I got the PDC 
working at a basic level by following though the section in the O'Reilly 
Samba book, perhaps the settings to use in that book are out of date for the 
version I am using.

Cheers

Lee

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



[Samba] Samba as a domain member HOWTO

2002-04-11 Thread dj

Hello All,

I've written down my experiences in setting up a Samba server as a member
of a Windows domain. The goal is to have this document added to
documentation that is distributed with Samba and is available on the Samba
website.

I'm providing it here in html format. But it is writting in Abiword. What
is the correct type needed to be usable within the Samba distribution ?

This is a first edition and probably will contain errors. So I'm
submitting it here to be checked by all of you.

So please send your comments to me so I can improve this text.

Thanks,
Tim

-- 
==
Tim Verhoeven
   Music Services - Michel Stoffels
GSM : 0496 / 693 453  + Deejayteam
Email : [EMAIL PROTECTED] + Sound  Light rentals
URL : www.sin.khk.be/~dj/ + P.A. services
=Public PGP-Key at : http://www.sin.khk.be/~dj/publickey.txt==
  Member of Student Information Networking (www.sin.khk.be)


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



[Samba] Uppercase / Lowercase letters in File Names

2002-04-11 Thread Jochen Roedenbeck

We have a Samba server and some Windows 95/98 clients. On the clients
there is a program which accesses files from a Samba share, and it
creates lists of file names where uppercase/lowercase letters may
differ from how the file name is stored on the server. This does
not matter for the Samba share, but we want to transfer this list to
the server where it is processed by a unix program, and this pro-
gram should access the files, too.

Is there any tool to look for the right spelling of the file name,
something that looks for files the same way Samba does?

Jochen Rödenbeck

-- 
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.3a will not compile on Compaq Tru64 UNIX v5.1A

2002-04-11 Thread Gregory, Paul (PS, GNF, Contractor)
Title: RE: [Samba] 2.2.3a will not compile on Compaq Tru64 UNIX v5.1A






According to the web page, the fix is:
--
Thanks for the helpful responses. The solution (from Conrad Huang) is to
run configure and then change:


#define HAVE_IMMEDIATE_STRUCTURES 1
to
/* #undef HAVE_IMMEDIATE_STRUCTURES */


in source/include/config.h
--


I've tested the fix. It seems to work.


Thanks


Paul Gregory
Unix and Oracle Database Administrator
ASIS at GE Nuclear Energy
910-675-5490
[EMAIL PROTECTED]






Re: [Samba] Samba as a domain member HOWTO - With LINK

2002-04-11 Thread dj

Hello All,

I've written down my experiences in setting up a Samba server as a member
of a Windows domain. The goal is to have this document added to
documentation that is distributed with Samba and is available on the Samba
website.

I'm providing it here in html format. But it is writting in Abiword. What
is the correct type needed to be usable within the Samba distribution ?

This is a first edition and probably will contain errors. So I'm
submitting it here to be checked by all of you.

You can find the howto at :

http://www.sin.khk.be/~dj/

(sorry about forgetting the link in my previous mail)

So please send your comments to me so I can improve this text.

Thanks,
Tim

-- 
==
Tim Verhoeven
   Music Services - Michel Stoffels
GSM : 0496 / 693 453  + Deejayteam
Email : [EMAIL PROTECTED] + Sound  Light rentals
URL : www.sin.khk.be/~dj/ + P.A. services
=Public PGP-Key at : http://www.sin.khk.be/~dj/publickey.txt==
  Member of Student Information Networking (www.sin.khk.be)


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



RE: [Samba] Backup software

2002-04-11 Thread Charles Marcus

I think XFSdump does on XFS filesystems...but I could be wrong.

Charles

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]]On
 Behalf Of Greg Freemyer
 Sent: Thursday, April 11, 2002 2:20 PM
 To: ACEAlex; [EMAIL PROTECTED]
 Subject: re: [Samba] Backup software
 
 
 
 To the best of my knowledge their is not an OpenSource backup 
 method that will backup the ACLs on the client.
 
 If your clients are using FAT, then you have no problems.
 
 If they are running NTFS on the clients, then you have ACLs 
 to worry about, and you will have to decide if you need the 
 ACLs backed up up or not.
 
 i.e. ACLs are the NTFS security info.  
 
 Note: Samba ACLs can be backed up if you ensure you are 
 running the right backup software like star or xfsdump.
 
Hello
 
Im planing on doing an open source software that handels 
 backups. The
purpose is to backup clients in an nt domain. I know 
 that there are
comercial software out there but i want to do it the 
 right way open
source
:). Oki here is my plan
 
1. On every client i have a user that has read access to 
 the whole system
drive. That user and password is stored on the backup 
 server aswell.
2. The user will use a web interface and from that 
 request a backup of the
system.
3. The backup server will store the request and later 
 that night it will
use
samba to mount the client drive and make the backup. Im 
 planing on using
gzip or bzip on every file in the system so that you 
 easily could recover
files. The files will be stored on cheap ide harddrives. 
 You will also be
able to filter out files that you dont need to backup 
 word.exe, swapfile
etc
 
 
Now i wounder if there are any other people out there 
 that already has
done
it. Is it a great ide or not?
 
/Alexander
 
 
 
 
-- 
To unsubscribe from this list go to the following URL 
 and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
 
 
 
 
 
 Greg Freemyer
 Internet Engineer
 Deployment and Integration Specialist
 The Norcross Group
 www.NorcrossGroup.com
 
 
 -- 
 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] Nt Group Support

2002-04-11 Thread Kevin Druet

Could someone please tell me if Samba supports NT domain group mapping in
anyway ?

Regards,
Kevin Druet
Senior Systems Administrator
Winnipeg School Division #1
1577 Wall St. East
Winnipeg MB R3E 2S5
ph: (204) 789-0445


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



Re: [Samba] Nt Group Support

2002-04-11 Thread dj

On Thu, 11 Apr 2002, Kevin Druet wrote:

 Could someone please tell me if Samba supports NT domain group mapping in
 anyway ?

What do you mean by group mapping?  Could you explain it a bit more?

If you mean the mapping of Windows domain groups to UNIX groups. Like
getting all the groups that exist in a domain and put them into the
/etc/group file. Then the answer is yes. A new daemon called winbind does
this. It is included in recent Samba versions (I think starting from
version 2.2.2)

See the Samba HOWTO collection on the samba website (in documentation), it
contains a section about winbind

Regards,
Tim

-- 
==
Tim Verhoeven
   Music Services - Michel Stoffels
GSM : 0496 / 693 453  + Deejayteam
Email : [EMAIL PROTECTED] + Sound  Light rentals
URL : www.sin.khk.be/~dj/ + P.A. services
=Public PGP-Key at : http://www.sin.khk.be/~dj/publickey.txt==
  Member of Student Information Networking (www.sin.khk.be)


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



re[2]: [Samba] Backup software

2002-04-11 Thread Greg Freemyer

Charles,

I'm not a Samba expert, but I have been researching how best to back up Samba shares, 
especially as it relates to ACLs.

To use ACLs with Samba, I believe it is best to have a Filesystem that supports ACLs.

I only know of 2 that do:  ext2/ext3 with the ACL patch and XFS.

From what I understand, it is preferred to backup ext2/ext3 with the ACL patch with 
star.

And it is preferred to backup XFS with xfsdump.

If you don't use a filesystem that understands ACLs, then Samba maintains all the ACL 
info in a common file.

You as the administrator are responsible for creating a backup mechanism that captures 
the Samba ACL info.

That is easy if you are happy with doing a full share backup/restore, but if you want 
to be able to do individual file saves/restores, then you have to have some way of 
saving/restoring the ACL data on a file by file basis.

=== Backing up a Samba client

This was the original need, but from what I understand smbmount does not handle ACLs, 
so there is no way to get the remote ACL info. and back it up.

Greg


   I think XFSdump does on XFS filesystems...but I could be wrong.

   Charles

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On
Behalf Of Greg Freemyer
Sent: Thursday, April 11, 2002 2:20 PM
To: ACEAlex; [EMAIL PROTECTED]
Subject: re: [Samba] Backup software



To the best of my knowledge their is not an OpenSource backup 
method that will backup the ACLs on the client.

If your clients are using FAT, then you have no problems.

If they are running NTFS on the clients, then you have ACLs 
to worry about, and you will have to decide if you need the 
ACLs backed up up or not.

i.e. ACLs are the NTFS security info.  

Note: Samba ACLs can be backed up if you ensure you are 
running the right backup software like star or xfsdump.

   Hello

   Im planing on doing an open source software that handels 
backups. The
   purpose is to backup clients in an nt domain. I know 
that there are
   comercial software out there but i want to do it the 
right way open
   source
   :). Oki here is my plan

   1. On every client i have a user that has read access to 
the whole system
   drive. That user and password is stored on the backup 
server aswell.
   2. The user will use a web interface and from that 
request a backup of the
   system.
   3. The backup server will store the request and later 
that night it will
   use
   samba to mount the client drive and make the backup. Im 
planing on using
   gzip or bzip on every file in the system so that you 
easily could recover
   files. The files will be stored on cheap ide harddrives. 
You will also be
   able to filter out files that you dont need to backup 
word.exe, swapfile
   etc


   Now i wounder if there are any other people out there 
that already has
   done
   it. Is it a great ide or not?

   /Alexander




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





Greg Freemyer
Internet Engineer
Deployment and Integration Specialist
The Norcross Group
www.NorcrossGroup.com


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





Greg Freemyer
Internet Engineer
Deployment and Integration Specialist
The Norcross Group
www.NorcrossGroup.com


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



Re: [Samba] smbmount fails

2002-04-11 Thread Urban Widmark

On Tue, 9 Apr 2002, onofrio panzarino wrote:

 Connecting to 192.168.0.2 at port 139
 timeout connecting to 192.168.0.2:139
 327: Connection to peppe failed

Can you ping 192.168.0.2? Is it listening on port 139? Any firewalls
between you?

This doesn't look like a smbmount problem, it looks like a network 
problem.

/Urban


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



Re: [Samba] cannot mount - please help

2002-04-11 Thread Urban Widmark

On Wed, 10 Apr 2002, Dmitry Kirsanov wrote:

 I installed Samba under Mandrake 8.2 to access a win98 box. The windows 
 machine has 2 partitions, C: and D:. Now I can mount the //winbox/c 
 partition from within linux and access it without a problem. With 
 //winbox/d, I can access it using smbclient, transfer files back and 
 forth etc. But when I try to mount it, it mounts without errors, however 
 any attempt to access the mounted tree results in trouble (mc segfaults, 

Any kernel messages? (dmesg)

/Urban


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



[Samba] Freebsd 4.5 Compiling issues with Samba 3.0 HEAD

2002-04-11 Thread Daniel J. Charboneau








I am trying to compile Samba 3.0 on FreeBSD 4.5 with KRB5
and OpenLdap support.



However I have been unable to figure out how to compile with
KRB5 support.



I have done a default install via the ports system of KRB5
on my freebsd box. It installs to /usr/local

I have used the configure option with-krb5=/usr/local,
without that line, with /usr and had no luck. I am using the Samba 3.0 prealpha
guide to Kerberos authentication trying to figure this out. Every
time I have run the configure script and checked the /include/config.h file it
does not containing

#define Have_KRB5 1

#defing Have_Ldap 1



I would very much appreciate any assistance you all may be
able to offer.



Thanks



Daniel Charboneau

(Samba Newbie)








RE: re[2]: [Samba] Backup software

2002-04-11 Thread Charles Marcus

Ahhh. My bad.

Yes, now that I think about it this is a much bigger bear than I first
thought...

Will look forward to any solutions that are forthcoming...

Charles

 -Original Message-
 From: Greg Freemyer [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 11, 2002 4:19 PM
 To: Charles Marcus; [EMAIL PROTECTED]
 Subject: re[2]: [Samba] Backup software

 Charles,

 I'm not a Samba expert, but I have been researching how best
 to back up Samba shares, especially as it relates to ACLs.

 To use ACLs with Samba, I believe it is best to have a
 Filesystem that supports ACLs.

 I only know of 2 that do:  ext2/ext3 with the ACL patch and XFS.

 From what I understand, it is preferred to backup ext2/ext3
 with the ACL patch with star.

 And it is preferred to backup XFS with xfsdump.

 If you don't use a filesystem that understands ACLs, then
 Samba maintains all the ACL info in a common file.

 You as the administrator are responsible for creating a
 backup mechanism that captures the Samba ACL info.

 That is easy if you are happy with doing a full share
 backup/restore, but if you want to be able to do individual
 file saves/restores, then you have to have some way of
 saving/restoring the ACL data on a file by file basis.

 === Backing up a Samba client

 This was the original need, but from what I understand
 smbmount does not handle ACLs, so there is no way to get the
 remote ACL info. and back it up.

 Greg


I think XFSdump does on XFS filesystems...but I could be wrong.

Charles

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On
 Behalf Of Greg Freemyer
 Sent: Thursday, April 11, 2002 2:20 PM
 To: ACEAlex; [EMAIL PROTECTED]
 Subject: re: [Samba] Backup software



 To the best of my knowledge their is not an OpenSource backup
 method that will backup the ACLs on the client.

 If your clients are using FAT, then you have no problems.

 If they are running NTFS on the clients, then you have ACLs
 to worry about, and you will have to decide if you need the
 ACLs backed up up or not.

 i.e. ACLs are the NTFS security info.

 Note: Samba ACLs can be backed up if you ensure you are
 running the right backup software like star or xfsdump.

Hello

Im planing on doing an open source software that handels
 backups. The
purpose is to backup clients in an nt domain. I know
 that there are
comercial software out there but i want to do it the
 right way open
source
:). Oki here is my plan

1. On every client i have a user that has read access to
 the whole system
drive. That user and password is stored on the backup
 server aswell.
2. The user will use a web interface and from that
 request a backup of the
system.
3. The backup server will store the request and later
 that night it will
use
samba to mount the client drive and make the backup. Im
 planing on using
gzip or bzip on every file in the system so that you
 easily could recover
files. The files will be stored on cheap ide harddrives.
 You will also be
able to filter out files that you dont need to backup
 word.exe, swapfile
etc


Now i wounder if there are any other people out there
 that already has
done
it. Is it a great ide or not?

/Alexander




--
To unsubscribe from this list go to the following URL
 and read the
instructions:
http://lists.samba.org/mailman/listinfo/samba
   
   
   
   
   
Greg Freemyer
Internet Engineer
Deployment and Integration Specialist
The Norcross Group
www.NorcrossGroup.com
   
   
--
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





Greg Freemyer
Internet Engineer
Deployment and Integration Specialist
The Norcross Group
www.NorcrossGroup.com


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



[Samba] (no subject)

2002-04-11 Thread Neil Faulks

I am not reading my mail at the moment due to problems with my
hands.

For enquiries related to the computer science department contact
[EMAIL PROTECTED]

--
Neil Faulks [EMAIL PROTECTED]
Tel +44 20 7848 2007
Fax +44 870 120 9785

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



[Samba] cross subnet browse sync problem

2002-04-11 Thread James W. Beauchamp



Hello all.
I have the following setup: 
192.168.1.x local lan.
192.168.2.x remote lan - connected by a vpn 
tunnel.

I have a samba server on both ends of the 
network. The one on the 192.168.1.x has WINS enabled and samba on the 2.x 
network is pointed at the primary via 'wins server=192.168.1.1'.
My problem is that I can look in the wins.dat file 
and see that machines on the remote net are in the file, along with the 
workgroup/domain name as well, but the machines don't show up when using Network 
Neighborhood to browse the remote workgroup. Does anyone know what I am 
doing wrong? I have the remote samba with the remote broswe sync = 
192.168.1.1. Should I be doing something else?

TIA

James



[Samba] cross subnet browse sync problem

2002-04-11 Thread James W. Beauchamp

Hello all.
I have the following setup:
192.168.1.x local lan.
192.168.2.x remote lan - connected by a vpn tunnel.

I have a samba server on both ends of the network.  The one on the
192.168.1.x has WINS enabled and samba on the 2.x network is pointed at the
primary via 'wins server=192.168.1.1'.
My problem is that I can look in the wins.dat file and see that machines on
the remote net are in the file, along with the workgroup/domain name as
well, but the machines don't show up when using Network Neighborhood to
browse the remote workgroup.  Does anyone know what I am doing wrong?  I
have the remote samba with the remote broswe sync = 192.168.1.1.  Should I
be doing something else?

TIA

James


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



RE: [Samba] Fwd: Strange Problem with Access

2002-04-11 Thread Ruben Fagundo


Sanjiv,

I just tried it again, with the changes you suggested, and the problem has 
not changed.  Any other suggestions ?

Can I send any more log files? Is there anything else I can show you to 
help identify the problem ??

Thanks for your interest in this.  I do appreciate the help.

Ruben

At 01:23 PM 4/10/02 -0500, Sanjiv Bawa wrote:
Can you try turning off all oplocks altogether.

kernel oplocks
level2 oplocks
oplocks
should all be no.

Then see if you have the problem. They recently discovered another bug in
oplock code which is due to be fixed in the next version.

Pls. do provide an update. I am very interested in this issue.

Thanks.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Ruben Fagundo
Sent: Wednesday, April 10, 2002 12:06 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Fwd: Strange Problem with Access


I replaced the NIC card on one of the machines having the problem I just
mentioned below, and the problem still persists.  I don't know if the size
of the database has anything to do with this, but the DB is over 10Meg.

If anyone has any other suggestions, I'm all ears.  Also, I have attached
the results of smbstatus.

Regards,
Ruben


Script started on Tue Apr 9 18:03:42 2002
[rubenf@dorchester ~]$ smbstatus
Samba version 2.2.3a
Service uid gid pid machine
--
public johnensor users 3408 johnensor (192.168.1.104) Sat Apr 6 11:23:45
2002
rubenf rubenf adm 10173 volunteer (192.168.1.103) Tue Apr 9 17:47:34 2002
public rubenf adm 10173 volunteer (192.168.1.103) Tue Apr 9 17:47:34 2002
applicatio marilyn users 10056 damascus (192.168.1.106) Tue Apr 9 12:36:12
2002
applicatio johnensor users 3408 johnensor (192.168.1.104) Sat Apr 6
11:23:45 2002
marilyn marilyn users 10056 damascus (192.168.1.106) Tue Apr 9 12:36:11 2002
johnensor johnensor users 3408 johnensor (192.168.1.104) Sat Apr 6 11:23:45
2002
applicatio rubenf adm 10173 volunteer (192.168.1.103) Tue Apr 9 17:47:34
2002
public karen adm 9953 karen (192.168.1.101) Tue Apr 9 09:39:18 2002
public marilyn users 10056 damascus (192.168.1.106) Tue Apr 9 12:36:11 2002
Locked files:
Pid DenyMode R/W Oplock Name
--
3408 DENY_NONE RDWR NONE /home/apps/public/Donor database and letters/AWC
Supporters.mdb Tue Apr 9 17:29:25 2002
9953 DENY_NONE RDWR NONE /home/apps/public/Donor database and letters/AWC
Supporters.mdb Tue Apr 9 09:39:20 2002
10173 DENY_WRITE RDONLY EXCLUSIVE+BATCH
/home/apps/shared-apps/ssh_putty.exe Tue Apr 9 18:02:33 2002
10173 DENY_NONE RDONLY EXCLUSIVE+BATCH
/home/apps/shared-apps/win-rar250.exe Tue Apr 9 17:58:56 2002
10056 DENY_WRITE RDWR EXCLUSIVE+BATCH /home/users/marilyn/eudora/EUDORA.INI
Tue Apr 9 16:25:55 2002
10056 DENY_NONE RDONLY EXCLUSIVE+BATCH /home/users/marilyn/eudora/In.toc
Tue Apr 9 16:45:59 2002
10056 DENY_WRITE RDONLY EXCLUSIVE+BATCH
/home/users/marilyn/eudora/Plugins/unwrap32.dll Tue Apr 9 16:25:56 2002
10173 DENY_NONE RDONLY EXCLUSIVE+BATCH
/home/apps/shared-apps/winzip32v63.exe Tue Apr 9 17:58:56 2002
10173 DENY_NONE RDONLY EXCLUSIVE+BATCH /home/apps/public/Shortcut to
marilyn.lnk Tue Apr 9 18:00:15 2002
10056 DENY_NONE RDONLY EXCLUSIVE+BATCH /home/users/marilyn/eudora/In.mbx
Tue Apr 9 16:28:47 2002
10173 DENY_NONE RDONLY EXCLUSIVE+BATCH /home/apps/shared-apps/usr-wiza.exe
Tue Apr 9 17:58:56 2002
10056 DENY_NONE WRONLY EXCLUSIVE+BATCH
/home/users/marilyn/eudora/eudora.log Tue Apr 9 17:45:59 2002
10173 DENY_NONE RDONLY EXCLUSIVE+BATCH /home/apps/public/Office forms.lnk
Tue Apr 9 18:00:15 2002
10173 DENY_NONE RDONLY EXCLUSIVE+BATCH /home/apps/shared-apps/x-win41.exe
Tue Apr 9 17:58:56 2002
3408 DENY_NONE RDWR NONE /home/apps/public/Donor database and letters/AWC
Supporters.ldb Tue Apr 9 17:29:25 2002
9953 DENY_NONE RDWR NONE /home/apps/public/Donor database and letters/AWC
Supporters.ldb Tue Apr 9 09:39:21 2002
10056 DENY_WRITE RDONLY EXCLUSIVE+BATCH
/home/users/marilyn/eudora/Plugins/PureVoice32.dll Tue Apr 9 16:25:56 2002
10056 DENY_WRITE RDONLY EXCLUSIVE+BATCH
/home/users/marilyn/eudora/Plugins/Sort32.dll Tue Apr 9 16:25:56 2002
3408 DENY_WRITE RDONLY NONE /home/users/johnensor/eudora/EuShlExt.dll Sat
Apr 6 13:01:56 2002
10173 DENY_NONE RDONLY EXCLUSIVE+BATCH /home/apps/public/Shortcut to
Statistics.lnk Tue Apr 9 18:00:15 2002
10056 DENY_WRITE RDONLY EXCLUSIVE+BATCH
/home/users/marilyn/eudora/Plugins/UprLwr32.dll Tue Apr 9 16:25:56 2002
10173 DENY_NONE RDONLY EXCLUSIVE+BATCH /home/apps/shared-apps/winamp264.exe
Tue Apr 9 17:58:56 2002
10056 DENY_NONE RDWR EXCLUSIVE+BATCH /home/users/marilyn/eudora/OWNER.LOK
Tue Apr 9 16:25:58 2002
[rubenf@dorchester ~]$ exit
exit
Script done on Tue Apr 9 18:03:48 2002

 Date: Mon, 08 Apr 2002 17:51:21 -0400
 To: [EMAIL PROTECTED]
 From: Ruben Fagundo [EMAIL PROTECTED]
 Subject: Strange Problem with Access
 
 
 I posed the following problem a few weeks ago, and finally, I've had time
 to update the RPM for the latest samba Version 2.2.3a
 
 I 

[Samba] Samba 2.2.3a acting as a PDC for Windows 2000 SP2 Pro Clients

2002-04-11 Thread Lee


Hello,

I have been able to get samba working fine with all my other computers (95, 
98, NT) but I am unable to get Windows 2000 to accept my Samba server as a 
PDC.

Whenever I try running the the Network ID wizard or set it up manually I get 
the following error:

The credentials supplied conflict with an existing set of credentials

Any help on this would be appricated.  I case it matters, I got the PDC 
working at a basic level by following though the section in the O'Reilly 
Samba book, perhaps the settings to use in that book are out of date for the 
version I am using.

Cheers

Lee

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



[Samba] ADV: Affordable Hosting in USA

2002-04-11 Thread PC Refine




 


  
  

  


  

  

   


 
 
 
Host your 
WebsiteAs low as 
$9.70/mo!
  

  
  


Our 
Web Hosting Packages are perfect foreveryone. Whether you are just starting 
out or have a e-commerce website, you 
are sure to find a package that fits your 
needs.

  
  

  
  
50 MB 
Disk Space 
3 GB 
File transfer 
Email Accounts 
Unlimited 
No 
Setup Fee 
FrontPage 
CGI 
...and 
more 


  

  
  
  
  


  

  
PC-Refine.com 
is an 
innovative leader in affordable, reliable Web hosting solutions. Our 
carrier grade data center and world-class network offer a superior 
hosting environment If you have been looking for a 
high-quality service and felt you didn't have to pay a high price 
for it, you were right.
Tired 
of Your 
Old Web HostSwitching Made Easy!
 
Are you tired of unrealiable service, banners/pop-up 
ads, or maybe you're just paying ridiculous rate for so little. Well 
we're here to provide the hosting experience you deserve. You can 
sing 
up today with your exiting 
domain by following five simple 
steps.
  
   
  


  


  
  

  To unsubscribe to this broadcast email, 
  please click 
  here.








Re: [Samba] smbmount fails

2002-04-11 Thread onofrio panzarino

On Thu, Apr 11, 2002 at 10:23:36PM +0200, Urban Widmark wrote:
 On Tue, 9 Apr 2002, onofrio panzarino wrote:
 Can you ping 192.168.0.2? Is it listening on port 139? Any firewalls
 between you?
 This doesn't look like a smbmount problem, it looks like a network 
 problem.

i have solved. there was a firewall not well set.

tnx
:)
-- 
Onofrio Panzarino, Ancona, Italy
ICQ UIN: 147911980

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



Re: [Samba] cross subnet browse sync problem

2002-04-11 Thread Joel Hammer

Have to told your windows machines to use the wins server?
Joel
On Thu, Apr 11, 2002 at 04:46:22PM -0500, James W. Beauchamp wrote:
 Hello all.
 I have the following setup:
 192.168.1.x local lan.
 192.168.2.x remote lan - connected by a vpn tunnel.
 
 I have a samba server on both ends of the network.  The one on the
 192.168.1.x has WINS enabled and samba on the 2.x network is pointed at the
 primary via 'wins server=192.168.1.1'.
 My problem is that I can look in the wins.dat file and see that machines on
 the remote net are in the file, along with the workgroup/domain name as
 well, but the machines don't show up when using Network Neighborhood to
 browse the remote workgroup.  Does anyone know what I am doing wrong?  I
 have the remote samba with the remote broswe sync = 192.168.1.1.  Should I
 be doing something else?
 
 TIA
 
 James
 
 
 -- 
 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] Automatic creation of home directories when using winbind

2002-04-11 Thread Warwick Smith

Thanks for your post - do you know if thus will only work if you use
winbind?

I have my unix boxes using an LDAP passwd/group backend using the
pam_ldap/nss_ldap combo and have samba set to use the same database.  This
works great and allows me to have all user info in one place without the
need for winbind.

The reason I haven't wanted winbind is the usernames (user+domain) you use
under unix and the comment in the doc about dynamically created RIDs and if
the mapping list gets corrupted then your screwed.

Back to my question - do you know if the /etc/pam.d/samba file is used only
by the winbind daemon, or does does samba itself use this (and thus can
create the dirs).

I am running redhat 7.2 and have the pam_mkhomedir entry in the session line
in the /etc/pam.d/system-auth file.  I currently have no /etc/pam.d/samba
file.

Regards,

Warwick Smith
Electronic Services Officer / Webmaster
Email: [EMAIL PROTECTED]
Web:   http://www.imvs.sa.gov.au
Tel:   +61 8 82223832
Fax:   +61 8 82223147

* If it's never finished, you can't prove it doesn't work. *


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
 Behalf Of [EMAIL PROTECTED]
 Sent: Friday, 12 April 2002 4:57 AM
 To: [EMAIL PROTECTED]
 Subject: [Samba] Automatic creation of home directories when using
 winbind


 Hello,

 I've seen a couple of mails here asking how to automatically create home
 directories for users that are being added to the system by winbind.

 The answer is using the pam_mkhomedir module as said in response to some
 of those quesitons. But the help out a little more I've made a overview on
 the exact proceedings of setting this up:

 You edit the pam configuration file for Samba. On a recent RedHat
 system the directory /etc/pam.d contains pam configuration for all
 services that require authentication. So you edit the samba file in that
 directory, add this line to the file /etc/pam.d/samba :

sessionrequired pam_mkhomedir.so skel=/etc/sambaskel umask=0022

 Because the order is important in these pam configuration files you need
 to put this line before all other lines that start with session, but
 after the lines that start with auth or account.

 The skel parameter indicates which directory is used as skeleton. This
 just means that everything that is inside the skel-directory is also
 copied to the home directory being created. The umask parameter sets the
 default permissions given to new files created in the home directory. See
 man umask for more details.

 Next you need to tell Samba to use this pam configuration file. This first
 of all means that Samba needs to be compiled with the --use-pam switch.
 This can been taken care of by the makerpms.sh script you can use to make
 a Samba rpm file.

 You also need the set the Samba parameter obey pam restrictions to yes
 in your smb.conf file. Also read the explenation about this parameter in
 the smb.conf man page to check if you also need to take care of other
 things when setting this parameter to yes.

 That should be it. If you added a [homes] share and login with a user that
 doesn't have a home dir on the Samba server it should be created.

 Enjoy it,
 Tim

 --
 ==
 
 Tim Verhoeven
Music Services - Michel Stoffels
 GSM : 0496 / 693 453  + Deejayteam
 Email : [EMAIL PROTECTED] + Sound  Light rentals
 URL : www.sin.khk.be/~dj/ + P.A. services
 =Public PGP-Key at :
http://www.sin.khk.be/~dj/publickey.txt==
  Member of Student Information Networking (www.sin.khk.be)


--
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] , ~~()

2002-04-11 Thread altras
±ÍÇÏÀÇ ¸ÞÀÏÁÖ¼Ò´Â ÀÎÅͳݼ­ÇÎÁß ¾Ë°Ô µÇ¾ú½À´Ï´Ù.  ¹«·ÊÇß´Ù¸é ¿ë¼­¸¦ ±¸ÇÕ´Ï´Ù.Á¤º¸Åë½Å¸ÁÀÌ¿ëÃËÁø ¹× Á¤º¸º¸È£µî¿¡ °üÇÑ ¹ý·ü Á¦ 50Á¶¿¡ ÀÇ°ÅÇÑ [±¤°í]¸ÞÀÏÀÔ´Ï´Ù.º» ¸ÞÀÏÀ» ´Ù½Ã´Â ¹Þ°í ½ÍÁö ¾ÊÀ¸½Ã¸é ¼ö½Å°ÅºÎ¸¦ Ŭ¸¯ÇÏ¿© Áֽʽÿä.¹ß½ÅÇÑ ¸ÞÀÏÁÖ¼Ò´Â ¹ß½ÅÀü¿ë ¸ÞÀÏÀ̱⠶§¹®¿¡ ȸ½ÅÇÏ½Ã¸é ¼ö½Å°ÅºÎ°¡ µÇÁö¾Ê½À´Ï´Ù.

[Samba] samba 2.2.3a oddities on Solaris with LDAP

2002-04-11 Thread Jackson Shea

I successfully compiled samba 2.2.3a with the following config options on
Solaris 8:

./configure  --prefix=/pkg/net --libdir=/pkg/net/lib/samba --with-privatedir
=/vol/sec/samba --sysconfdir=/pkg/net/etc --with-ldapsam

I'm using the iPlanet 5.1 Directory Server, and I'm getting some odd
behavior with LDAP.

smbpasswd, run as root sets the password just fine.  I see the LDAP traffic
and an ldapsearch reveals that the hash is indeed different.  However, when
smbpasswd is run as a regular user, there's no LDAP traffic and it core
dumps:

[jshea@vali:/vol/src/net/.real/samba-2.2.3aLDAP/source] $
/pkg/net/bin/smbpasswd jshea
Old SMB password:
Password changed for user jshea
Bus Error (core dumped)

A truss suggests that it isn't even recognizing the use of ldap and is for
some reason using the local file: /vol/sec/samba/smbpasswd.

3588:   read(4, \0\0\0 1, 4)  = 4
3588:   read(4, FF S M B u\0\0\0\08801\0.., 49)   = 49
3588:   open64(/dev/urandom, O_RDONLY)Err#2 ENOENT
3588:   open64(/etc/shadow, O_RDONLY) Err#13 EACCES
3588:   open64(/vol/sec/samba/smbpasswd, O_RDONLY)Err#13 EACCES
3588:   door_info(3, 0xFFBEC910)= 0
3588:   door_call(3, 0xFFBEC8F8)= 0
3588:   send(4, \0\002 vFF S M B %\0\0\0.., 634, 0)   = 634
3588:   poll(0xFFBEC9B0, 2, 2)  = 1
3588:   read(4, 0x001445D0, 4)  = 0
3588:   close(4)= 0
Password changed for user jshea
3588:   write(1,  P a s s w o r d   c h a.., 32)  = 32
3588:   Incurred fault #5, FLTACCESS  %pc = 0xFF0423FC
3588: siginfo: SIGBUS BUS_ADRALN addr=0xFFBEF7FF
3588:   Received signal #10, SIGBUS [default]
3588: siginfo: SIGBUS BUS_ADRALN addr=0xFFBEF7FF
3588:   *** process killed ***


Furthermore, whenever I try to do an smbclient connection to the home
directory, it exits and samba.log's last entry is an ldap_open:

[jshea@vali:/vol/src/net/.real/samba-2.2.3aLDAP/source] $
/pkg/net/bin/smbclient //vali/jshea  * -U jshea
added interface ip=127.0.0.1 bcast=127.0.0.255 nmask=255.255.255.0
added interface ip=131.252.134.42 bcast=131.252.134.255 nmask=255.255.255.0
session setup failed: SUCCESS - 0


samba.log:
[2002/04/11 17:10:28, 2] passdb/pdb_ldap.c:ldap_open_connection(142)
  ldap_open_connection: connection opened

However, there's no ldap traffic.  Any ideas?  Has anyone gotten samba
2.2.3a to work on solaris 8 with ldap authentication?  With the iPlanet
directory server?  If someone has successfully done it with openLdap, then
I'll try it.


Thanks in advance.

Jackson Shea
[EMAIL PROTECTED]
Portland State University



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



Re: [Samba] cross subnet browse sync problem

2002-04-11 Thread James W. Beauchamp

Roger that.  It is set via DHCP which points the windoze clients to the WINS
server

James

- Original Message -
From: Joel Hammer [EMAIL PROTECTED]
To: James W. Beauchamp [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Thursday, April 11, 2002 7:20 PM
Subject: Re: [Samba] cross subnet browse sync problem


 Have to told your windows machines to use the wins server?
 Joel
 On Thu, Apr 11, 2002 at 04:46:22PM -0500, James W. Beauchamp wrote:
  Hello all.
  I have the following setup:
  192.168.1.x local lan.
  192.168.2.x remote lan - connected by a vpn tunnel.
 
  I have a samba server on both ends of the network.  The one on the
  192.168.1.x has WINS enabled and samba on the 2.x network is pointed at
the
  primary via 'wins server=192.168.1.1'.
  My problem is that I can look in the wins.dat file and see that machines
on
  the remote net are in the file, along with the workgroup/domain name as
  well, but the machines don't show up when using Network Neighborhood to
  browse the remote workgroup.  Does anyone know what I am doing wrong?  I
  have the remote samba with the remote broswe sync = 192.168.1.1.  Should
I
  be doing something else?
 
  TIA
 
  James
 
 
  --
  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] BUG and FIX: hide unreadable and admin user don't taste great together.

2002-04-11 Thread Bill Moran

We've noticed some really strange behaviour when a user
enters a directory with both hide unreadable and
admin users turned on.  (i.e. the person is on the
list of admin users and the share has hide unreadable
turned on)
The results were pretty weird, files/directories that the
user should have seen (even with admin users off) were
not there.
Removing the user from the list of admin users promptly
solved the problem.
On a whim, I guessed that the hide unreadable code was
getting confused on what files to hide when the user was
a member of admin users, so I edited dir.c and added
the following code snippet to the beginning of
user_can_read_file()
The theory is that the admin user should never have
files hidden from him/her.

/* If user is a member of the Admin group
  * we never hide files from him   */
if (conn-admin_user) return 1;

I've only done limited testing so far, but it sure seems
like this solved the problem.  Personally, I'm confident
enough that I'll be putting it in on a production server
tomorrow.  Hope this turns out to be helpful.

-- 
Bill Moran
Potential Technology
http://www.potentialtech.com


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



RE: [Samba] Samba 2.2.3a acting as a PDC for Windows 2000 SP2 Pro

2002-04-11 Thread Curtis Strite

Lee,

I had this same problem and it was due to Windows Automatically
searching for network folders and printers.

There's a check box.  Open up a window, go to tools, then folder
options,  Now click on the View tab and you should see right at the top
a check box for Automatically search for network folders and printers.
Uncheck that.  You may also need to go into your network neighborhood
and delete any icons (shortcuts) that have been placed there by Windows
due to having that box checked. 

If this is not the resolution in your case, then I hope all goes well in
finding your solution.

Later,
Curt



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Lee
Sent: Thursday, April 11, 2002 1:44 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Samba 2.2.3a acting as a PDC for Windows 2000 SP2 Pro

Hello,

I have been able to get samba working fine with all my other computers
(95, 
98, NT) but I am unable to get Windows 2000 to accept my Samba server as
a 
PDC.

Whenever I try running the the Network ID wizard or set it up manually I
get 
the following error:

The credentials supplied conflict with an existing set of credentials

Any help on this would be appricated.  I case it matters, I got the PDC 
working at a basic level by following though the section in the O'Reilly

Samba book, perhaps the settings to use in that book are out of date for
the 
version I am using.

Cheers

Lee

-- 
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] Can't access samba box after upgrade

2002-04-11 Thread Jerry Cain

I upgraded from RH7.1 to RH7.2 and everything went smoothly. However, after
the upgrade, I can no longer access the samba box from my win98 box. It was
working fine before the upgrade. Now the win98 box returns a message that
says:

 \\sycamore is not accessible. The computer or share name could not be
found.


I looked at my smb.conf and it's the same as it was before the upgrade. I
can ping the samba box but can't browse from Windows Explorer. Btw, the host
name, SYCAMORE, shows up in the Windows' Network Neighborhood browser, but
when I double-click it, that's when I get the error message.

During the upgrade, I specified a migration from ext2 to ext3. Would that
have made a difference?

Also (not related to samba, but...), after the upgrade, I can no longer ping
past my router (linksys single port), even though my gateway configuration
remains as it was before the upgrade.  I can ping the gateway with no
problem; I just can't ping past it, and as a result, I can't get on the
Internet. As with my samba problem listed above, it was working before the
upgrade. Also, the win98 box has no problem getting past the router.  It is
able to ping and get on the Internet with ease. It's just this upgraded 7.2
linux box that's acting weird.

TIA,

Jerry


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



[Samba] Username length

2002-04-11 Thread Dale Mirenda

Is the maximum username length of 8 characters an absolute, or is there a
way around it? I'm migrating an NT-based file server to Samba, and I'd like
to keep my existing username list if at all possible, but many of the login
names exceed 8 characters.

Thank you,

Dale Mirenda



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



[Samba] samba client error (smbfs?).

2002-04-11 Thread Brian Spears

weirdest problem, from a RH7.2 (base or + everything) samba client running 
eclipse utilizing SMB mount.

Apr 11 13:43:54 testsmbbug kernel: smb_get_length: recv error = 512
Apr 11 13:43:54 testsmbbug kernel: smb_request: result -512, setting invalid
Apr 11 13:43:54 testsmbbug kernel: smb_retry: caught signal
Apr 11 13:43:54 testsmbbug kernel: smb_retry: caught signal
Apr 11 13:43:55 testsmbbug kernel: smb_retry: successful, new pid=18163, 
generation=8
Apr 11 13:43:57 testsmbbug kernel: smb_get_length: recv error = 512
Apr 11 13:43:57 testsmbbug kernel: smb_request: result -512, setting invalid
Apr 11 13:43:57 testsmbbug kernel: smb_retry: caught signal
Apr 11 13:43:57 testsmbbug kernel: smb_retry: caught signal
Apr 11 16:28:23 testsmbbug kernel: smb_get_length: recv error = 512
Apr 11 16:28:23 testsmbbug kernel: smb_request: result -512, setting invalid
Apr 11 16:28:23 testsmbbug kernel: smb_retry: caught signal
Apr 11 16:28:23 testsmbbug kernel: smb_retry: caught signal
Apr 11 16:28:24 testsmbbug kernel: smb_retry: successful, new pid=18163, 
generation=10
Apr 11 16:28:32 testsmbbug kernel: smb_get_length: recv error = 512
Apr 11 16:28:32 testsmbbug kernel: smb_request: result -512, setting invalid
Apr 11 16:28:32 testsmbbug kernel: smb_retry: caught signal

We had only seen it with with eclipse on linux,  then we found that kghostview 
will do it when doing a zoom (in or out), every time, when viewing a pdf over 
an smb mount..

Initially identified on rh7.2+ updates on P4 1.6GHz Asus P4B.   But since 
identified on P3 800MHz. all against samba 2.2.2 and 2.2.3a and Window's 
server shares.  I have win98 eclipse clients hitting it fine.

applied every update available, including latest glib update and kernels from 
RH.  same thing.

updated the kernels to  2.4.18 with/without pre5/6 ac3 etc. at least smb_retry 
reconnects now.

applied 00-02 patches from Urban Widmark's smbfs site and patched smbmount, 
recompiled and reinstalled.  no change.

Thought it might be related to 3com nic (all effected systems had varieties of 
3c905c(x)'s).  installed an IBM pci TR adapter, same thing.  damn, though i 
was on to something.

Did a network trace (tcpdump)  on the client and there is NO traffic to the 
smb server before or during the kghostview zoom hang (hangs for 10 seconds 
then generates the above errors) until after the errors are posted to the 
/var/log/messages, then what looks like normal connect/re-connect traffic 
(again it's after the fact).

debug on smbmount shows nothing after the mount occurs.  You can access the 
mounted FS fine from the command line, vi, etc.  Something in the way these 
apps access the FS is making smbfs think it has lost the connection (but 
retry works - after a few seconds - under 2.4.18).  I've been able to 
generate the same errors doing rpm updates over an smb mount occasionaly on 
these systems as well (found a post or two regarding simliar problems with 
remote gdb databases - applying smbfs patches didn't help)

this looks like a timing thing, but I can't find it. smbfs or somewhere 
upstream.   It appears to only happen on some faster processors.  I have a 
500mhz PIII 7.2 +updates that doesn't and have tried it from one of the samba 
servers to the other (SMP PIII 800's) and it didn't have a problem.  The 
network is clean and idling, all error counters in ifconfig and 
/proc/net/snmp are 0 on all systems tested.

any Ideas?
-- 

Brian Spears
Dir I/t
Konica Business Technologies


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



[Samba] Setting Printer properties using 2.2.3a NT printer properties

2002-04-11 Thread Dan Horth

Hi - I've managed to successfully set up our printer as per the Printing HOW-TO, I'm 
able to print to the printer and upload drivers using the Win NT print properties 
window.

The problem I'm having is that I can't set any properties for the printer (ie. change 
the base model from HP 4050 to HP 4050 TN, set default paper trays / paper trey 
assignments).

Basically whatever settings I make are lost as soon as I close the printer properties 
window - all settings revert to default when I reopen window.

What I'm trying to do is have a couple of shares set up for the printer - once set to 
print to tray 1, one set to print to tray 2, etc.

I'm logged in with admin (root) privileges - and as I said I can upload drivers, etc. 
fine... and this is picked up by users installing the printer on their machines - just 
that they all come in as default setup.

I've found references to similar problems on the list archives, but no solutions 
offered. can anyone give me any insights / pointers to tests / documentation that will 
help me track down the problem.

thanks in advance, dan.
-- 

-- 
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 access samba box after upgrade

2002-04-11 Thread Dave



Jerry Cain wrote:
[EMAIL PROTECTED]">
  I upgraded from RH7.1 to RH7.2 and everything went smoothly. However, afterthe upgrade, I can no longer access the samba box from my win98 box. It wasworking fine before the upgrade. Now the win98 box returns a message thatsays: "\\sycamore is not accessible. The computer or share name could not befound."
  
Hi all:
  
 I was having problems similar to Jerry's 
  
RH 7.2 with EXT3
Win2000 was saying the saying the Box is not accessible
Although I could ping the box, I could not telnet to it.

  
 This was with a windoze machine with two NIC's and I thus purchased a Linksys 
4 port  Cable/DSL router and could now surf the net from my RH box and telnet
to it.  Apache works from it.  The samba situation got worse however as I
can not even see the  machine in network neighborhood now although I can
see the work group.  
  
 The router maybe adding complications as I need to have my Linux box  using 
DHCP, although it is continually at the same local IP address.  
  
 I have tried sample smb.conf and one from work.  Webmin sees all the shares
from the smb.conf I copied from work and seems to hint that everything is
OK.  
  
I may triy re-installing 
  
Fighting with smb.conf for a while longer

Static IP adr, removing DHCP

RH 7.2 but with Ext2,
Suse 7.3
  
  
 Sigh
  
  
  
  


Re: [Samba] frustrating problems with preexec = ... option

2002-04-11 Thread Kris Jordan

I've also had many troubles with preexec and root preexec not working for 
some reason in Samba 2.2. I've tried higher log levels, but did not see 
anything as far as I could tell. root preexec used to work for me, now it 
doesn't...I wonder what's up?

- Kris Jordan -

At 01:35 PM 3/22/2002, Mikael Olenfalk wrote:
Hi!

in my smb.conf file, added the line

[statistics]
 ...
+   preexec = /bin/bash /home/scripts/stats /home/statistics
 ...

to be executed before I enter the [statistics] share, due to some error
or misconfiguration though, the command is *NOT* executed. The script
itself works
perfectly because when I type:

# /home/scripts/stats /home/statistics

the script is executed correctly (it creates to files in the folder
/home/statistics) even the line

# /bin/bash /home/scripts/stats /home/statistics

executes correctly. The scripts has owner nobody.nogroup, so there
should be no problems with permissions, I've run an chmod o+x (and
desperate chmod 777 ...) over the script, but both with no effect.

Smbd has become sighup'ped repeatedly (kill -HUP $(pidof smbd)) and the
log says that smbd has received and HUP signal.


/mikael


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



[Samba] Nec 95F $267 - Gateway Web Site - Nice

2002-04-11 Thread David Rankin

Guys  Gals:

Ordered a NEC 95F flat screen 19 monitor from gateway yesterday, it
was delivered today. It's awesome. No, I don't work for anyone involved.
I'm just a geek lawyer. But, Sh!% (that's for Craig W... you know who
you are), when I can grab a 19 Flat screen monitor for $267 from a
reasonably reputable dealer with $00.00 shipping, I think it worth
letting my fellow listmates know about.

Check out the reviews on Cnet, for a budget 19 flat screen, this thing
rocks! Sure makes my K6-2 233 w/Number 9 Imagine 128 take on a whole new
look. 1280x1024 comfortably is worth it!


-- 

David C. Rankin, J.D., P.E.
RANKIN * BERTIN, PLLC
1329 N. University, Suite D4
Nacogdoches, Texas 75961
(936) 715-9333
(936) 715-9339 fax

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



[Samba] RPC major/minor codes ??

2002-04-11 Thread D. Jemms

HI,
I am using Samba for my startup company.Want to know few important things 
about the code.
How is RPC mechanism in samba is handled.any guidelines will be really
helpful to me.What does it do in RPC ?what it does with getting major ,minor 
numbers ?

-NF



_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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



lsa_enum_trust_dom functionality

2002-04-11 Thread Rafal Szczesniak

Here's the patch that adds server side of lsa_enum_trust_dom call to
samba. Memory leak causing segfault to smbd in some cases is already
fixed. Major changes include:

 1. tdb_search_keys() is the new utility function searching the keys that
match given pattern. (tdbutil.c and tdbutil.h)
 2. tdb_search_list_free() is a clean-up function for results returned by
tdb_search_keys (tdbutil.c and tdbutil.h)
 3. secrets_get_trusted_domains() is function that returns given range of
trusted domain entries. The result is required list of trusted domains
(unicode name and sid)
 4. stored trusted domain entry (struct trusted_dom_pass) now contains
unicode name together with trust password, last change time and domain
sid.
 5. init_r_enum_trust_dom() function is modified (as well as
_lsa_enum_trust_dom() ) to return variable-length response


There's yet one more thing to change, but it's important only when samba
returns large number of entries, so this part of code may be commited now.


cheers,
++
|Rafal 'Mimir' Szczesniak [EMAIL PROTECTED]   |
|*BSD, GNU/Linux and Samba  /
|__/


Index: auth/auth_domain.c
===
RCS file: /cvsroot/samba/source/auth/auth_domain.c,v
retrieving revision 1.33
diff -u -r1.33 auth_domain.c
--- auth/auth_domain.c  27 Mar 2002 00:02:48 -  1.33
+++ auth/auth_domain.c  11 Apr 2002 10:30:59 -
@@ -527,7 +527,7 @@
}
 
/*
-* Get the machine account password for the trusted domain
+* Get the trusted account password for the trusted domain
 * No need to become_root() as secrets_init() is done at startup.
 */
 
Index: include/includes.h
===
RCS file: /cvsroot/samba/source/include/includes.h,v
retrieving revision 1.261
diff -u -r1.261 includes.h
--- include/includes.h  27 Mar 2002 23:17:50 -  1.261
+++ include/includes.h  11 Apr 2002 10:30:59 -
@@ -696,6 +696,7 @@
 #include dlinklist.h
 #include ../tdb/tdb.h
 #include ../tdb/spinlock.h
+#include ../tdb/tdbutil.h
 #include talloc.h
 #include ads.h
 #include interfaces.h
Index: include/rpc_lsa.h
===
RCS file: /cvsroot/samba/source/include/rpc_lsa.h,v
retrieving revision 1.39
diff -u -r1.39 rpc_lsa.h
--- include/rpc_lsa.h   30 Jan 2002 06:08:15 -  1.39
+++ include/rpc_lsa.h   11 Apr 2002 10:30:59 -
@@ -278,8 +278,8 @@
 typedef struct lsa_enum_trust_dom_info
 {
POLICY_HND pol; /* policy handle */
-uint32 enum_context; /* enumeration context handle */
-uint32 preferred_len; /* preferred maximum length */
+   uint32 enum_context; /* enumeration context handle */
+   uint32 preferred_len; /* preferred maximum length */
 
 } LSA_Q_ENUM_TRUST_DOM;
 
Index: include/secrets.h
===
RCS file: /cvsroot/samba/source/include/secrets.h,v
retrieving revision 1.9
diff -u -r1.9 secrets.h
--- include/secrets.h   10 Apr 2002 00:34:59 -  1.9
+++ include/secrets.h   11 Apr 2002 10:30:59 -
@@ -48,12 +48,27 @@
time_t mod_time;
 };
 
-/* structure for storing trusted domain password */
+/*
+ * storage structure for trusted domain
+ */
 struct trusted_dom_pass {
-   int pass_len;
-   fstring pass;
+   size_t uni_name_len;
+   smb_ucs2_t uni_name[32]; /* unicode domain name */
+   size_t pass_len;
+   fstring pass;   /* trust relationship's password */
time_t mod_time;
-   DOM_SID domain_sid; /* remote domain's sid */
+   DOM_SID domain_sid; /* remote domain's sid */
 };
+
+/*
+ * trusted domain entry/entries returned by secrets_get_trusted_domains
+ * (used in _lsa_enum_trust_dom call)
+ */
+typedef struct trustdom {
+   UNISTR2 name;
+   DOM_SID sid;
+   struct trustdom *next;
+} TRUSTDOM;
+
 
 #endif /* _SECRETS_H */
Index: lib/util_unistr.c
===
RCS file: /cvsroot/samba/source/lib/util_unistr.c,v
retrieving revision 1.92
diff -u -r1.92 util_unistr.c
--- lib/util_unistr.c   26 Mar 2002 03:15:29 -  1.92
+++ lib/util_unistr.c   11 Apr 2002 10:30:59 -
@@ -775,3 +775,42 @@
 
return num_wchars;
 }
+
+/**
+ * Samba ucs2 type to UNISTR2 conversion
+ *
+ * @param dst UNISTR2 destination. If equals null, then it's allocated.
+ * @param src smb_ucs2_t source.
+ * @param max_len maximum number of unicode characters to copy. If equals
+ *null, then null-termination of src is taken
+ *
+ * @return copied UNISTR2 destination
+ **/
+UNISTR2* ucs2_to_unistr2(UNISTR2* dst, 

Problem with current 2.2.4-pre

2002-04-11 Thread Beschorner Daniel

Hi!

Every time a user logs out from the Samba-PDC and the user profile is
written to the profile share on the Samba-PDC this error occures on some
(5-10) files of the profile in the log.

[2002/04/11 09:39:06, 0] smbd/open.c:open_file(179)
  Error doing fstat on open file schnieders/Recent/Glsynt40.lnk (No such
file or directory)

Seems as the path would be only relative to the profile share, instead of
complete.

BTW, I got sometimes

[2002/04/11 11:07:08, 0] smbd/service.c:set_current_service(59)
  chdir (/home/schnieders) failed

but the directory should be so far OK, what could it be?

Regards
Daniel Beschorner




RE: winbindd problem

2002-04-11 Thread Orwig, Paul

Yes, it fails at the startup. 
I've been trying various ideas, stopping and restarting winbindd, and
occasionally it works, only to break on the next try.
The last time it worked, I had started it without a debug setting. 8-b

Paul Orwig
Pacific Life
949-219-7082

-Original Message-
From: MCCALL,DON (HP-USA,ex1) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 6:50 AM
To: 'Orwig, Paul'; 'Richard Sharpe'
Cc: '[EMAIL PROTECTED]'
Subject: RE: winbindd problem


Hi Paul,
Just want to make sure I understand: 
when this fails, it fails right from startup?  And WHAT do you do to get it
to finally work again?
Don

-Original Message-
From: Orwig, Paul [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 6:36 PM
To: 'Richard Sharpe'; Orwig, Paul
Cc: '[EMAIL PROTECTED]'
Subject: RE: winbindd problem


1) We have joined the domain. Samba is running fine without winbind.
2) We have only this one copy of winbindd
3) We are using PAM_SMB without a problem.
4) ROOT# wbinfo -t
Secret is good

More ideas?

Paul

-Original Message-
From: Richard Sharpe [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 4:28 PM
To: Orwig, Paul
Cc: '[EMAIL PROTECTED]'
Subject: Re: winbindd problem


On Tue, 9 Apr 2002, Orwig, Paul wrote:

 Question:
 How does winbindd determine whether to do annonymous or authenticated
 queries?
 How does winbindd determine what user to authenticate with?
 Can winbindd be forced to use a specific user/password to query the PDC?

It uses the trust account info from the secrets database. You have to join 
the domain.
 
 Problem:
 winbindd seems to work intermittantly.
 wbinfo -u returns Error looking up domain users

I have seen a number of reasons for this:

1. You have not joined the domain
2. There are old copies of winbindd or smbd/nmbd from a different domain
3. There is no connectivity to the DC

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




RE: winbindd problem

2002-04-11 Thread Orwig, Paul

I originally had the password server = *
It is now net to dc1name,dc2name,dc3name,dc4name

I did a test monday where I set it to each DC, one-at-a-time and none of
them worked.
I can try one domain controller at-a-time for multiple tries and see what
happens.

How long after starting winbindd should I wait before trying the wbinfo -u
command?
I have been running a tail -f log.winbindd and waiting for it to pause.

Just so I understand...
The fact that wbinfo -t replies with secret is good says that it is able
to talk to the domain controller and should be able to request users/group
listing. Right?

Paul Orwig
Pacific Life


-Original Message-
From: MCCALL,DON (HP-USA,ex1) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 11, 2002 8:32 AM
To: 'Orwig, Paul'; MCCALL,DON (HP-USA,ex1)
Cc: '[EMAIL PROTECTED]'
Subject: RE: winbindd problem


Well, that's just wierd.
I haven't run into anything like this before.
in your smb.conf file, have you set 
password server = *
or can you set
password server = pdcname
and then try it multiple times (with the same pdcname)
and finally get it to work?
Don

-Original Message-
From: Orwig, Paul [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 11, 2002 9:40 AM
To: 'MCCALL,DON (HP-USA,ex1)'; Orwig, Paul
Cc: '[EMAIL PROTECTED]'
Subject: RE: winbindd problem


Yes, it fails at the startup. 
I've been trying various ideas, stopping and restarting winbindd, and
occasionally it works, only to break on the next try.
The last time it worked, I had started it without a debug setting. 8-b

Paul Orwig
Pacific Life
949-219-7082

-Original Message-
From: MCCALL,DON (HP-USA,ex1) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 6:50 AM
To: 'Orwig, Paul'; 'Richard Sharpe'
Cc: '[EMAIL PROTECTED]'
Subject: RE: winbindd problem


Hi Paul,
Just want to make sure I understand: 
when this fails, it fails right from startup?  And WHAT do you do to get it
to finally work again?
Don

-Original Message-
From: Orwig, Paul [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 6:36 PM
To: 'Richard Sharpe'; Orwig, Paul
Cc: '[EMAIL PROTECTED]'
Subject: RE: winbindd problem


1) We have joined the domain. Samba is running fine without winbind.
2) We have only this one copy of winbindd
3) We are using PAM_SMB without a problem.
4) ROOT# wbinfo -t
Secret is good

More ideas?

Paul

-Original Message-
From: Richard Sharpe [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 4:28 PM
To: Orwig, Paul
Cc: '[EMAIL PROTECTED]'
Subject: Re: winbindd problem


On Tue, 9 Apr 2002, Orwig, Paul wrote:

 Question:
 How does winbindd determine whether to do annonymous or authenticated
 queries?
 How does winbindd determine what user to authenticate with?
 Can winbindd be forced to use a specific user/password to query the PDC?

It uses the trust account info from the secrets database. You have to join 
the domain.
 
 Problem:
 winbindd seems to work intermittantly.
 wbinfo -u returns Error looking up domain users

I have seen a number of reasons for this:

1. You have not joined the domain
2. There are old copies of winbindd or smbd/nmbd from a different domain
3. There is no connectivity to the DC

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




Re: RPC major/minor codes ??

2002-04-11 Thread Richard Sharpe

On Thu, 11 Apr 2002, D. Jemms wrote:

 HI,
 I am using Samba for my startup company.Want to know few important things 
 about the code.

If you mean what I think you mean, the implications are staggering.

 How is RPC mechanism in samba is handled.any guidelines will be really
 helpful to me.What does it do in RPC ?what it does with getting major ,minor 
 numbers ?

If Samba is so important to your business plan, you need to spend lots of 
time with the code or find someone who has!

The base protocol does not need RPC, but to do most things with domain 
controllers requires it!

Major and minor numbers are not important unless you are building a device 
driver.

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





RE: Win2k joining

2002-04-11 Thread Jason Coene


Hi Greg,

To join a domain from a 2K machine, you need to specify the username and password of a 
system account that has both:
 - an entry in smbpasswd with matching password
 - write access to the smbpasswd file

For most systems, the only account that fits this criteria is root. Also make sure you 
have a $MACHINE system account and entry in smbpasswd, per the documentation.

The last I knew, the domain admins=* code was broken when it comes to controlling who 
can actually join the domain.

Regards,

Jason 

 -Original Message-
 From: Greg Benjamin - HSDX [EMAIL PROTECTED]
 Sent: April 11, 2002, 11:11 AM
 Subject: Win2k joining

Hello all,

I'm sure this has probably been talked about in here before but I just
joined the group so bare with me.

I've read some things on getting my Win2k Pro computer joined to a Samba PDC
but I'm still having problems.  I've got my Win9x and NT4 to work just fine.
It keeps saying that the username or password is invalid.  I've tried root,
which I knew wouldn't work, my own login which I've added to the domain
admin group, the workstation account name (in this case ws003$ and ws003)
that I added for that workstation and a few other names but all have failed.
Maybe I'm missing something here.  First of all, which account name should
be used when joining the Samba PDC?  With NT4 you don't have to specify a
name but with Win2k your force to enter something.  I would assume a domain
admin account should be used hereunless my account is failing at that as
well.  Nothing I've read so far indicates this information.  Second off, are
there any smb.conf options that should/should not be set for this to work
properly??  If you hadn't guessed yet I _am_ slightly new to the Samba thing
but not a virgin.  I'm heavy into M$ but rapidly converting to Linux.  Any
help would be greatly appreciated.

Thanks