[Samba] How to switch from NT to Samba transparently?

2002-06-05 Thread Takacs Istvan

Hi,

I want to switch from our Windows NT server 
( which works as our PDC ) to Linux - Samba.

Could you advice a step-by-step guide about
this process, or is that possible, at all?

Can I use Samba as a BDC, convert the user
DB and than promote it to PDC?

Thanks in advance!

Regards;

Istvan

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



[Samba] Welcome to the Linux Magazine newsletter

2002-06-05 Thread Lyris ListManager


*PLEASE SAVE THIS WELCOME MESSAGE! *


Welcome to linux-mag-news!

This list is for the monthly Linux Magazine newsletter.

SUBSCRIBING: 

Send a blank message to:
[EMAIL PROTECTED]
 
UNSUBSCRIBING:

Send a message to your personal unsubscribe address included in each
message or send a message to:
[EMAIL PROTECTED]

WEB INTERFACE:

http://sand.lyris.net/cgi-bin/lyris.pl?site=sand&enter=linux-mag-news

You can change your subscription email address,  unsubscribe, or change
your settings at any time.

LIST OWNER:

If you have any questions or problems with your subscription please
contact the list owner at:

[EMAIL PROTECTED]

**
**
* LINUX MAGAZINE SUBSCRIPTIONS:  *
**
* To subscribe to Linux Magazine itself, use this link:  *
**
* https://www.linux-mag.com/centrobe_us.html *
**
**

Thanks for joining the newsletter!

- The editors of Linux Magazine


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



Re: [Samba] using "@group_name" in smb.conf

2002-06-05 Thread Anthony J. Breeds-Taurima

On Thu, 6 Jun 2002, Darryl Harvey wrote:

> Hi all,
> 
> I need to give a group of users access to a file share that I am sharing
> via samba.
> 
> In smb.conf I am using something similar to;
> 
> [accts]
>comment = Accounts Dept Share
>path = /usr/local/share/accounts
>valid users = @accounts
>public = no
>writable = yes
>printable = no
>create mask = 0765
> 
> 
> The valid users line says who can access this share:  "@accounts".
> I know the @accounts  = the "accounts" group.  
> 
> How/where do I add the actual valid usernames to this group? Within
> smb.conf, or as a file (Where does the file sit and what is it called
> (accounts ?)
> 
> I can't find the answer in the docs, I did try :-(

Assuming "accounts" is a local group just
vigr 
and append the users you need comma seperated.

ie:

account:x:1004:daryl,root


Yours Tony

Jan 22-26 2003  Linux.Conf.AU   http://conf.linux.org.au/
 The Australian Linux Technical Conference!


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



[Samba] using "@group_name" in smb.conf

2002-06-05 Thread Darryl Harvey

Hi all,

I need to give a group of users access to a file share that I am sharing
via samba.

In smb.conf I am using something similar to;

[accts]
   comment = Accounts Dept Share
   path = /usr/local/share/accounts
   valid users = @accounts
   public = no
   writable = yes
   printable = no
   create mask = 0765


The valid users line says who can access this share:  "@accounts".
I know the @accounts  = the "accounts" group.  

How/where do I add the actual valid usernames to this group? Within
smb.conf, or as a file (Where does the file sit and what is it called
(accounts ?)

I can't find the answer in the docs, I did try :-(

Help!

TIA
Darryl



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



Re: [Samba] swat seems broken in HEAD

2002-06-05 Thread Billy O'Connor

The swat/testparm bug is in lp_save_defaults(), a little used
(swat/testparm only) function.  An attempted strdup() of a NULL
string is segfaulting.  I gave Brad a patch to try, I'll test it some
more, there're 2 other string conditions I want to test, then I'll
send the patch in.

--
Billy O'Connor

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



Re: [Samba] swat seems broken in HEAD

2002-06-05 Thread Billy O'Connor

I have the same condition, would you mind trying out this patch and
tell me if it works for you, both on testparm and swat?  Please don't
check it into cvs yet though, I want to check some more string
conditions before I submit it.

--- samba/source/param/loadparm.c   Thu May 30 20:47:19 2002
+++ samba_test/source/param/loadparm.c  Wed Jun  5 15:58:50 2002
@@ -3422,8 +3422,13 @@
break;
case P_STRING:
case P_USTRING:
-   parm_table[i].def.svalue =
-   strdup(*(char **)parm_table[i].ptr);
+if( parm_table[i].ptr ) {
+   parm_table[i].def.svalue =
+   strdup(*(char **)parm_table[i].ptr);
+}
+else {
+parm_table[i].def.svalue = NULL;
+}
break;
case P_GSTRING:
case P_UGSTRING:

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



Re: [Samba] swat seems broken in HEAD

2002-06-05 Thread abartlet

On Wed, Jun 05, 2002 at 10:44:04PM -0400, Bradley W. Langhorst wrote:
> On Wed, 2002-06-05 at 18:53, Billy O'Connor wrote:
> > Bradley, is the new testparm program from the same build getting a
> > segment violation?
> 
> it segfaults - maybe i'm missing a 
> dependency or something?

No, its just a bug - and I think it is being looked at.

(just slowly - people are pretty busy)

Andrew Bartlett

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



Re: [Samba] swat seems broken in HEAD

2002-06-05 Thread Bradley W. Langhorst

On Wed, 2002-06-05 at 18:53, Billy O'Connor wrote:
> Bradley, is the new testparm program from the same build getting a
> segment violation?

it segfaults - maybe i'm missing a 
dependency or something?

brad



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



[Samba] smbmount and 2GB limit.

2002-06-05 Thread Niranjan Ghate

Hi,

I am mounting a windows 2000 share on a linux box (2.4.18) using smbmount 
(2.2.2). I can create files >2Gb on both the systems, but I can't copy a 
file >2Gb from the linux box over the smbmount. The file size limit is 
exceeded and the "cp" command core-dumps.

Has anyone solved this problem?
I had installed the samba binary rpms; is there a patch-n-compile solution 
available ?

Thanks,

Niranjan P. Ghate


_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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



[Samba] Nested DFS shares

2002-06-05 Thread Richard Harlan



Hey I am having a little problem with MSDFS links. If I create afolder 
and put the links at the root of that folder there is noproblem. But is I 
nest the folder a few levels deep and then sharethat folder out with the 
msdfs root = yes option the links will bringback blank pages. SO a structure 
like \DFS\Link works but if I do\DFS\Lenexa\Link the links stop working. Any 
ideas. Thanks


Re: [Samba] swat seems broken in HEAD

2002-06-05 Thread Billy O'Connor

Bradley, is the new testparm program from the same build getting a
segment violation?

--
Billy O'Connor

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



[Samba] printing situation in HEAD

2002-06-05 Thread Bradley W. Langhorst

I'm trying to get driver uploading to work from 
win2k or winXP to 3.0a17 (head from today)

I had this working before but now i'm getting these wierd
out of memory errors on the clients when i try to get properties of the
shared printers.

When i open the printers and faxes folder on the server i get this in
the logs but no error message on the client

[2002/06/05 19:13:44, 3] smbd/service.c:find_service(142)
  checking for home directory ::{2227a280-3aea-1069-a2de-08002b30309d}
gave (NULL)
[2002/06/05 19:13:44, 3] smbd/service.c:find_service(157)
  checking whether ::{2227a280-3aea-1069-a2de-08002b30309d} is a valid
printer name...
[2002/06/05 19:13:44, 3] smbd/service.c:find_service(169)
  ::{2227a280-3aea-1069-a2de-08002b30309d} is not a valid printer name
[2002/06/05 19:13:44, 3] smbd/service.c:find_service(211)
  find_service() failed to find service
::{2227a280-3aea-1069-a2de-08002b30309d}
[2002/06/05 19:13:44, 0] smbd/service.c:make_connection(357)
  unh-os2a2pyg2y1 (132.177.45.13) couldn't find service
::{2227a280-3aea-1069-a2de-08002b30309d}
[2002/06/05 19:13:44, 3] smbd/error.c:error_packet(91)
  error string = Invalid argument

that 2227 number is a clsid that has something to do with printing in
the windows registry 

then when i try to get the properties of the printer i get
a spurious out of memory error on the client and this in the logs
[2002/06/05 19:17:27, 3] rpc_server/srv_pipe.c:api_rpcTNP(1165)
  api_rpcTNP: rpc command: SPOOLSS_OPENPRINTEREX
  checking name: \\Bitc\lab_nec1400
[2002/06/05 19:17:27, 3]
rpc_server/srv_spoolss_nt.c:set_printer_hnd_printertype(378)
  Setting printer type=\\Bitc\lab_nec1400
[2002/06/05 19:17:27, 3]
rpc_server/srv_pipe_hnd.c:free_pipe_context(520)
  free_pipe_context: destroying talloc pool of size 102
[2002/06/05 19:17:27, 3] smbd/process.c:process_smb(847)
  Transaction 1029 of length 144
[2002/06/05 19:17:27, 3] smbd/process.c:switch_message(658)
  switch message SMBtrans (pid 32449)
[2002/06/05 19:17:27, 3] smbd/ipc.c:reply_trans(471)
  trans <\PIPE\> data=56 params=0 setup=2
[2002/06/05 19:17:27, 3] smbd/ipc.c:named_pipe(326)
  named pipe command on <> name
[2002/06/05 19:17:27, 3] smbd/ipc.c:api_fd_reply(288)
  Got API command 0x26 on pipe "spoolss" (pnum 7464)free_pipe_context:
destroying talloc pool of size 0
[2002/06/05 19:17:27, 3] rpc_server/srv_pipe.c:api_pipe_request(1133)
  Doing \PIPE\spoolss
[2002/06/05 19:17:27, 3] rpc_server/srv_pipe.c:api_rpcTNP(1165)
  api_rpcTNP: rpc command: SPOOLSS_GETPRINTER
[2002/06/05 19:17:27, 3] printing/printing.c:print_cache_expired(862)
  print cache expired for queue lab_nec1400 (last_qscan_time = -1, time
now = 1023319047, qcachetime = 10)
[2002/06/05 19:17:27, 3]
rpc_server/srv_pipe_hnd.c:free_pipe_context(520)
  free_pipe_context: destroying talloc pool of size 8220
[2002/06/05 19:17:27, 3] smbd/process.c:process_smb(847)
  Transaction 1030 of length 132
[2002/06/05 19:17:27, 3] smbd/process.c:switch_message(658)
  switch message SMBtrans (pid 32449)
[2002/06/05 19:17:27, 3] smbd/ipc.c:reply_trans(471)
  trans <\PIPE\> data=44 params=0 setup=2
[2002/06/05 19:17:27, 3] smbd/ipc.c:named_pipe(326)
  named pipe command on <> name
[2002/06/05 19:17:27, 3] smbd/ipc.c:api_fd_reply(288)
  Got API command 0x26 on pipe "spoolss" (pnum 7464)free_pipe_context:
destroying talloc pool of size 0
[2002/06/05 19:17:27, 3] rpc_server/srv_pipe.c:api_pipe_request(1133)
  Doing \PIPE\spoolss
[2002/06/05 19:17:27, 3] rpc_server/srv_pipe.c:api_rpcTNP(1165)
  api_rpcTNP: rpc command: SPOOLSS_CLOSEPRINTER
[2002/06/05 19:17:27, 3] rpc_server/srv_lsa_hnd.c:close_policy_hnd(205)
  Closed policy
which looks normal...am i missing something obvious?
are the clients caching something? where?

ugh this whole printing bit is a mess...

thanks!

brad


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



Re: [Samba] Samba compiled version to rpm package

2002-06-05 Thread Harry Rüter

Hi,

LAUTIER Sabrina wrote:
> 
> Hi !
> 
> I'm runing a linux redhat 7.2 box with samba 2.2.4.
> I've downloaded the samba source in order to install it with the
> needed compilation options (--with-smbwrapper --with-automount
> --with-smbmount --with-pam  ...).
> Samba is now up and running but I would like to build an rpm with this
> compiled version.
> 
> Any idea of how to transform this samba compiled version to a rpm
> package ?
> 
> Thanks.
> 
> Sabrina

try checkinstall,
it builds rpm-files as you like it :o)

Don't know where i found it,
just search with google and you'll find it.
It's a nice tool and i can recommend it.

greets Harry

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



[Samba] swat seems broken in HEAD

2002-06-05 Thread Bradley W. Langhorst

it just says

/usr/sbin/swat.new
Aborted

when i run it from the command line.
nothing i can see in the logs...

The swat binary from a 2 week old head now
(with the rest of the installation from today's head)
seems to work okay.

what's going on with swat - did i screw up the build? 
Are others also having problems? (nothing in the marc)


brad


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



[Samba] Mounting shares using fstab at bootup

2002-06-05 Thread Tom Ansley

Hi all,

I have changed my workstation fstab file to include 3 shares on the server 
that I want to mount during boot up.  But, I had to include my username and 
password inside the fstab file.  Does anybody have any other ways of doing 
this considering that the fstab file is readable by anybody?

I'm not quite sure if setting the fstab to root readable only is a good idea.  
Does anybody have any ideas on that as well?

Thanks

Tom Ansley

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



Re: [Samba] Samba compiled version to rpm package

2002-06-05 Thread Neil Muller

In the location where you unpacked samba change to samba-2.2.4/packaging/RedHat
  directory and there is a makerpms.sh script. Just execute bash makerpms.sh and
the work is done for you. If you run Mandrake there is a similar directory and
script for it as well. There are also spec files for SuSE which I think will let
you build rpms but I've never tried this :)

Neil



Quoting LAUTIER Sabrina <[EMAIL PROTECTED]>:

> Hi !
> 
> I'm runing a linux redhat 7.2 box with samba 2.2.4.
> I've downloaded the samba source in order to install it with the
> needed compilation options (--with-smbwrapper --with-automount
> --with-smbmount --with-pam  ...). 
> Samba is now up and running but I would like to build an rpm with this
> compiled version.
> 
> Any idea of how to transform this samba compiled version to a rpm
> package ?
> 
> Thanks.
> 
> Sabrina
> 
> -
> Powered by Alinto (http://www.alinto.net)
> for lavache.com (http://www.lavacheautomatique.com)
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 



---
Neil Muller
Neologix Pty Ltd
http://www.neologix.net
PO Box 3183, Weston Creek, ACT, 2611, Australia
email: [EMAIL PROTECTED]
voice: +61 2 62875900fax:   +61 2 62875911   
mob:   +61 408 977 976

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



[Samba] Welcome to the Linux Magazine newsletter

2002-06-05 Thread Lyris ListManager


*PLEASE SAVE THIS WELCOME MESSAGE! *


Welcome to linux-mag-news!

This list is for the monthly Linux Magazine newsletter.

SUBSCRIBING: 

Send a blank message to:
[EMAIL PROTECTED]
 
UNSUBSCRIBING:

Send a message to your personal unsubscribe address included in each
message or send a message to:
[EMAIL PROTECTED]

WEB INTERFACE:

http://sand.lyris.net/cgi-bin/lyris.pl?site=sand&enter=linux-mag-news

You can change your subscription email address,  unsubscribe, or change
your settings at any time.

LIST OWNER:

If you have any questions or problems with your subscription please
contact the list owner at:

[EMAIL PROTECTED]

**
**
* LINUX MAGAZINE SUBSCRIPTIONS:  *
**
* To subscribe to Linux Magazine itself, use this link:  *
**
* https://www.linux-mag.com/centrobe_us.html *
**
**

Thanks for joining the newsletter!

- The editors of Linux Magazine


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



[Samba] Welcome to the Linux Magazine newsletter

2002-06-05 Thread Lyris ListManager


*PLEASE SAVE THIS WELCOME MESSAGE! *


Welcome to linux-mag-news!

This list is for the monthly Linux Magazine newsletter.

SUBSCRIBING: 

Send a blank message to:
[EMAIL PROTECTED]
 
UNSUBSCRIBING:

Send a message to your personal unsubscribe address included in each
message or send a message to:
[EMAIL PROTECTED]

WEB INTERFACE:

http://sand.lyris.net/cgi-bin/lyris.pl?site=sand&enter=linux-mag-news

You can change your subscription email address,  unsubscribe, or change
your settings at any time.

LIST OWNER:

If you have any questions or problems with your subscription please
contact the list owner at:

[EMAIL PROTECTED]

**
**
* LINUX MAGAZINE SUBSCRIPTIONS:  *
**
* To subscribe to Linux Magazine itself, use this link:  *
**
* https://www.linux-mag.com/centrobe_us.html *
**
**

Thanks for joining the newsletter!

- The editors of Linux Magazine


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



RE: SOLVED! [Samba] PDC and BDC with LDAP and Samba 2.2.4

2002-06-05 Thread Gerald Carter

On Wed, 5 Jun 2002, Yannick Tousignant wrote:

> 
> No it didn't work simply by copying the secrets.tdb file
> because this file contain also the name of the current
> server (that shouldn't be the same on the bdc).
> 
> And yes, both servers are running on the same subnet
> and the bdc takes over immediatly if i unplug the network
> cable of the pdc...

OK.  We need a way to set the rid for a BDC
by querying the PDC.  Will work on this.  Probably a post 2.2.5
issue though.









jerry


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



[Samba] Setting the timeout of smbmount

2002-06-05 Thread David

Hi!
How do i set how long smbmount should attempt to connect a share before 
timing out?
I have a couple of shares set for automatic mounting (in fstab). Problem 
is: if i move my computer to another network, were these shares aren't 
available, my init scripts are delayed for several minuits while 
smbmount (ordered by the "mount -a" command in the init scripts) 
attempts to connect the shares and fails.

Another related question is if it is possible to get smbmount to mount 
several shares concurrently. If several of the shares in fstab aren't 
available and you do a "mount -a" it stall for for a multipile of the 
timeout time for one share (where the multipile is the number of 
unavailable shares), since it tries each share in order. If mount -a 
would try to mount all of them at the same time it would only stall for 
1x  the timeout time.

Regards,
David


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



My Err. Was Re: [Samba] Please Confirm Your Membership to the LinuxMagazine newsletter

2002-06-05 Thread Rashkae

I'm sorry. I wasn't paying attention. I thought that was the confirmation
e-mail you were replying to.

On Wed, 5 Jun 2002, Rashkae wrote:

Way to go Billy



On Wed, 5 Jun 2002, Billy O'Connor wrote:






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



Re: [Samba] Please Confirm Your Membership to the Linux Magazinenewsletter

2002-06-05 Thread Rashkae

Way to go Billy



On Wed, 5 Jun 2002, Billy O'Connor wrote:




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



[Samba] Welcome to the Linux Magazine newsletter

2002-06-05 Thread Lyris ListManager


*PLEASE SAVE THIS WELCOME MESSAGE! *


Welcome to linux-mag-news!

This list is for the monthly Linux Magazine newsletter.

SUBSCRIBING: 

Send a blank message to:
[EMAIL PROTECTED]
 
UNSUBSCRIBING:

Send a message to your personal unsubscribe address included in each
message or send a message to:
[EMAIL PROTECTED]

WEB INTERFACE:

http://sand.lyris.net/cgi-bin/lyris.pl?site=sand&enter=linux-mag-news

You can change your subscription email address,  unsubscribe, or change
your settings at any time.

LIST OWNER:

If you have any questions or problems with your subscription please
contact the list owner at:

[EMAIL PROTECTED]

**
**
* LINUX MAGAZINE SUBSCRIPTIONS:  *
**
* To subscribe to Linux Magazine itself, use this link:  *
**
* https://www.linux-mag.com/centrobe_us.html *
**
**

Thanks for joining the newsletter!

- The editors of Linux Magazine


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



[Samba] Connect to a NT-server from freebsd throught a ppp link

2002-06-05 Thread Fabio Miranda

hi, i want to connect to a nt-server sharing whole
drive c:, with groupname 'group', password 'pass' and
username 'user'. What should i add to a. connect to
the remote nt machine trhough a ppp link (tun0) b.
mount the shared C: drive to /usr/mnt ? bye.

__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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



RE: SOLVED! [Samba] PDC and BDC with LDAP and Samba 2.2.4

2002-06-05 Thread Yannick Tousignant


No it didn't work simply by copying the secrets.tdb file
because this file contain also the name of the current
server (that shouldn't be the same on the bdc).

And yes, both servers are running on the same subnet
and the bdc takes over immediatly if i unplug the network
cable of the pdc...


Yannick



> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Gerald Carter
> Sent: Wednesday, June 05, 2002 4:05 PM
> To: Yannick Tousignant
> Cc: [EMAIL PROTECTED]
> Subject: RE: SOLVED! [Samba] PDC and BDC with LDAP and Samba 2.2.4
> 
> 
> On Wed, 5 Jun 2002, Yannick Tousignant wrote:
> 
> > 
> > It's me again, with the solution to my problems.
> > 
> > To get a working BDC, you have to kill samba, delete your
> > secrets.tdb, create a MACHINE.SID and then restart samba. You
> > will have to do this on the PDC and the BDC to have the same
> > SID the the secrets.tdb file. Then machine account are valid
> > even if you move your PDC, or you add a 2nd BDC, as long as you
> > create the MACHINE.SID file before the first startup of samba.
> > Don't forget, the MACHINE.SID file have to be the same on all
> > domain controlers or machine account will be invalid.
> > 
> > And ho, backup your MACHINE.SID file, samba deletes it when
> > it convert the file to secrets.tdb!
> 
> So this did not work by simply copying secrets.tdb from 
> the PDC to the BDC?
> 
> 
> 
> 
> 
> 
> 
> cheers, jerry
>  -
>  Hewlett-Packard http://www.hp.com
>  SAMBA Team   http://www.samba.org
>  --http://www.plainjoe.org
>  "Sam's Teach Yourself Samba in 24 Hours" 2ed.  ISBN 0-672-32269-2
>  --"I never saved anything for the swim back." Ethan Hawk in Gattaca--
> 
> 
> -- 
> 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: SOLVED! [Samba] PDC and BDC with LDAP and Samba 2.2.4

2002-06-05 Thread Gerald Carter

On Wed, 5 Jun 2002, Yannick Tousignant wrote:

> 
> It's me again, with the solution to my problems.
> 
> To get a working BDC, you have to kill samba, delete your
> secrets.tdb, create a MACHINE.SID and then restart samba. You
> will have to do this on the PDC and the BDC to have the same
> SID the the secrets.tdb file. Then machine account are valid
> even if you move your PDC, or you add a 2nd BDC, as long as you
> create the MACHINE.SID file before the first startup of samba.
> Don't forget, the MACHINE.SID file have to be the same on all
> domain controlers or machine account will be invalid.
> 
> And ho, backup your MACHINE.SID file, samba deletes it when
> it convert the file to secrets.tdb!

So this did not work by simply copying secrets.tdb from 
the PDC to the BDC?







cheers, jerry
 -
 Hewlett-Packard http://www.hp.com
 SAMBA Team   http://www.samba.org
 --http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.  ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--


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



[Samba] Get the SID in secrets.tdb

2002-06-05 Thread Yannick Tousignant


Is there any way i could get the SID in my secrets.tdb file?

That could save me of rejoining all stations to the domain!

Thanks!


Yannick Tousignant
===
Gestion Informatique OKA ltée.
Téléphone : (514) 282-9334 (#238)


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



RE: SOLVED! [Samba] PDC and BDC with LDAP and Samba 2.2.4

2002-06-05 Thread Yannick Tousignant


It's me again, with the solution to my problems.

To get a working BDC, you have to kill samba, delete your
secrets.tdb, create a MACHINE.SID and then restart samba. You
will have to do this on the PDC and the BDC to have the same
SID the the secrets.tdb file. Then machine account are valid
even if you move your PDC, or you add a 2nd BDC, as long as you
create the MACHINE.SID file before the first startup of samba.
Don't forget, the MACHINE.SID file have to be the same on all
domain controlers or machine account will be invalid.

And ho, backup your MACHINE.SID file, samba deletes it when
it convert the file to secrets.tdb!

Thanks to you all!!!



Yannick Tousignant
===
Gestion Informatique OKA ltée.
Téléphone : (514) 282-9334 (#238)





> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Yannick Tousignant
> Sent: Wednesday, June 05, 2002 12:10 PM
> To: Gerald Carter
> Cc: [EMAIL PROTECTED]
> Subject: RE: [Samba] PDC and BDC with LDAP and Samba 2.2.4
>
>
>
> Ok, i'm stuck at this point. Either if i want to move
> the current PDC to another server or if i want to make
> a BDC, i have to rejoin all the stations to the domain.
>
> The machine account are stored in the LDAP database that
> I replicate to the BDC. The problem is that samba store
> some kind of part of the machine account somewhere (maybe
> in secrets.tdb) that i can't replicate on both servers. So
> if the users log into another PDC, the machine accounts
> are not valid for the server, so it deny all logon!
>
> If anyone can help me find a way to have valid machine
> account on 2 different DC...
>
>
> Thanks!
>
>
> Yannick
>
>
>
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> > Behalf Of Gerald Carter
> > Sent: Wednesday, June 05, 2002 9:04 AM
> > To: Yannick Tousignant
> > Cc: [EMAIL PROTECTED]
> > Subject: RE: [Samba] PDC and BDC with LDAP and Samba 2.2.4
> >
> >
> > On Tue, 4 Jun 2002, Yannick Tousignant wrote:
> >
> > >
> > >
> > > Hi, I tried to move the current PDC to another machine
> > > that have the same LDAP database. It didn't work... There
> > > is something about the machine account! How does samba
> > > handle this? i could not logon to the moved PDC, so i
> > > rejoined the domain (added my machine in TEMP workgroup,
> > > reboot, rejoin de domain, reboot), and then it worked!
> > >
> > > Is there any way i can bypass this?
> >
> > Can the uid's for passwd entries sync'd on bother servers?
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > cheers, jerry
> >  -
> >  Hewlett-Packard http://www.hp.com
> >  SAMBA Team   http://www.samba.org
> >  --http://www.plainjoe.org
> >  "Sam's Teach Yourself Samba in 24 Hours" 2ed.  ISBN 0-672-32269-2
> >  --"I never saved anything for the swim back." Ethan Hawk in Gattaca--
> >
> >
> > --
> > 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
>


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



Re: [Samba] Welcome to the Linux Magazine newsletter

2002-06-05 Thread Billy O'Connor


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



[Samba] Welcome to the Linux Magazine newsletter

2002-06-05 Thread Lyris ListManager


*PLEASE SAVE THIS WELCOME MESSAGE! *


Welcome to linux-mag-news!

This list is for the monthly Linux Magazine newsletter.

SUBSCRIBING: 

Send a blank message to:
[EMAIL PROTECTED]
 
UNSUBSCRIBING:

Send a message to your personal unsubscribe address included in each
message or send a message to:
[EMAIL PROTECTED]

WEB INTERFACE:

http://sand.lyris.net/cgi-bin/lyris.pl?site=sand&enter=linux-mag-news

You can change your subscription email address,  unsubscribe, or change
your settings at any time.

LIST OWNER:

If you have any questions or problems with your subscription please
contact the list owner at:

[EMAIL PROTECTED]

**
**
* LINUX MAGAZINE SUBSCRIPTIONS:  *
**
* To subscribe to Linux Magazine itself, use this link:  *
**
* https://www.linux-mag.com/centrobe_us.html *
**
**

Thanks for joining the newsletter!

- The editors of Linux Magazine


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



Re: [Samba] Please Confirm Your Membership to the Linux Magazine newsletter

2002-06-05 Thread Billy O'Connor


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



[Samba] Welcome to the Linux Magazine newsletter

2002-06-05 Thread Lyris ListManager


*PLEASE SAVE THIS WELCOME MESSAGE! *


Welcome to linux-mag-news!

This list is for the monthly Linux Magazine newsletter.

SUBSCRIBING: 

Send a blank message to:
[EMAIL PROTECTED]
 
UNSUBSCRIBING:

Send a message to your personal unsubscribe address included in each
message or send a message to:
[EMAIL PROTECTED]

WEB INTERFACE:

http://sand.lyris.net/cgi-bin/lyris.pl?site=sand&enter=linux-mag-news

You can change your subscription email address,  unsubscribe, or change
your settings at any time.

LIST OWNER:

If you have any questions or problems with your subscription please
contact the list owner at:

[EMAIL PROTECTED]

**
**
* LINUX MAGAZINE SUBSCRIPTIONS:  *
**
* To subscribe to Linux Magazine itself, use this link:  *
**
* https://www.linux-mag.com/centrobe_us.html *
**
**

Thanks for joining the newsletter!

- The editors of Linux Magazine


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



[Samba] Welcome to the Linux Magazine newsletter

2002-06-05 Thread Lyris ListManager


*PLEASE SAVE THIS WELCOME MESSAGE! *


Welcome to linux-mag-news!

This list is for the monthly Linux Magazine newsletter.

SUBSCRIBING: 

Send a blank message to:
[EMAIL PROTECTED]
 
UNSUBSCRIBING:

Send a message to your personal unsubscribe address included in each
message or send a message to:
[EMAIL PROTECTED]

WEB INTERFACE:

http://sand.lyris.net/cgi-bin/lyris.pl?site=sand&enter=linux-mag-news

You can change your subscription email address,  unsubscribe, or change
your settings at any time.

LIST OWNER:

If you have any questions or problems with your subscription please
contact the list owner at:

[EMAIL PROTECTED]

**
**
* LINUX MAGAZINE SUBSCRIPTIONS:  *
**
* To subscribe to Linux Magazine itself, use this link:  *
**
* https://www.linux-mag.com/centrobe_us.html *
**
**

Thanks for joining the newsletter!

- The editors of Linux Magazine


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



[Samba] Welcome to the Linux Magazine newsletter

2002-06-05 Thread Lyris ListManager


*PLEASE SAVE THIS WELCOME MESSAGE! *


Welcome to linux-mag-news!

This list is for the monthly Linux Magazine newsletter.

SUBSCRIBING: 

Send a blank message to:
[EMAIL PROTECTED]
 
UNSUBSCRIBING:

Send a message to your personal unsubscribe address included in each
message or send a message to:
[EMAIL PROTECTED]

WEB INTERFACE:

http://sand.lyris.net/cgi-bin/lyris.pl?site=sand&enter=linux-mag-news

You can change your subscription email address,  unsubscribe, or change
your settings at any time.

LIST OWNER:

If you have any questions or problems with your subscription please
contact the list owner at:

[EMAIL PROTECTED]

**
**
* LINUX MAGAZINE SUBSCRIPTIONS:  *
**
* To subscribe to Linux Magazine itself, use this link:  *
**
* https://www.linux-mag.com/centrobe_us.html *
**
**

Thanks for joining the newsletter!

- The editors of Linux Magazine


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



[Samba] Welcome to the Linux Magazine newsletter

2002-06-05 Thread Lyris ListManager


*PLEASE SAVE THIS WELCOME MESSAGE! *


Welcome to linux-mag-news!

This list is for the monthly Linux Magazine newsletter.

SUBSCRIBING: 

Send a blank message to:
[EMAIL PROTECTED]
 
UNSUBSCRIBING:

Send a message to your personal unsubscribe address included in each
message or send a message to:
[EMAIL PROTECTED]

WEB INTERFACE:

http://sand.lyris.net/cgi-bin/lyris.pl?site=sand&enter=linux-mag-news

You can change your subscription email address,  unsubscribe, or change
your settings at any time.

LIST OWNER:

If you have any questions or problems with your subscription please
contact the list owner at:

[EMAIL PROTECTED]

**
**
* LINUX MAGAZINE SUBSCRIPTIONS:  *
**
* To subscribe to Linux Magazine itself, use this link:  *
**
* https://www.linux-mag.com/centrobe_us.html *
**
**

Thanks for joining the newsletter!

- The editors of Linux Magazine


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



[Samba] AIX / NT Networking

2002-06-05 Thread tony lay

I'm running AIX 4.3.3MR9 on an H50 with NT4.0SP6a clients.
Samba is 2.2.4 compiled on the system with GCC.

I've been having an issue for a few weeks and it really looked like some 
type of name resolution issue.  When NT clients browse samba shares from my 
AIX server they take 30-60 seconds to come up.  Sometimes they won't come up 
at all.  All of my DNS, WINS, and hosts files check out and the network was 
up so I asked for some help snooping packts with our netadmin.  He was nice 
enough to visit and I tried to take the best notes I could so here goes...

I'm on the PDC trying to pull up a share from the SMBSERVER inside of the 
network neighborhood.  This runs for about a minute before kicking me out.

"no such file desktop.ini
srvsvc
account was null and the domain was null dest SMBSERVER -> source PDC
Negotiated
connected
this disconnected .02 seconds later

pulled desktop.ini

ACK took too long to respond
insufficient buffer space on one side or the other?
(There are 2 of theses alerts)

WINS lookup
Tried to connect null again
tried to to connect PDC/IPC$
tried to pull netlogon -> SUCCESS
RPC 5.0 BIND
Lots of peramaters are passed
netrlogon call -> request challange
three way handshake
request
response
call
response
connects and disconnects.
NetBIOS traffic is detected, but cannon be encoded.
At the same time a "window frozen" error comes up.
NetBIOS session request -> confirmed
negotiation begins
Protocal Dialog index
account administrator PDC
SMBSERVER/SHARENAME
WINS traffic
TCP traffic
NETBIOS 76 bytes of user data
confirms session
Negotiates anon
three way handshake and then closes down



I looked up all of the information I could on the windows frozen error as 
that was definately happening.  Didn't find too much on it besides a 
reccomendation that smbd & nmbd *NOT* be controlled by inetd.conf.  I 
removed them from the file and left swat and am still having trouble.

As far as the ACK error...the only information I could find was a protocol 
sheet on the main site.

Any help would be greatly appreciated,

Regards,

-Tony

Basically the samba server is a file server only.  No PDC BDC or WINS coming 
from it.  SECURITY=DOMAIN.  WINS is running on my PDC and a BDC.  Resolution 
in samba is WINS host (/etc/hosts has the whole network on the server).  
Passwords are encrypted, as they should be for NT...and are passed off to 
the PDC or BDC's.

I'm not too sure as to what's going on with the networking end of this and I 
could use some help.  Is there anything that is obviously wrong with that 
traffic?  Conf file included below:

[global]
client code page = 437
code page directory = /usr/local/lib/codepages
workgroup = OURDOMAIN
netbios name = SMBSERVER
server string = Samba %v
interfaces = 208.1.175.144/255.255.255.128
security = DOMAIN
encrypt passwords = Yes
update encrypted = Yes
password server = PDC BDC BDC2
smb passwd file = /var/samba/private/smbpasswd
passwd program = /bin/yppasswd
username map = /usr/local/lib/users.map
unix password sync = Yes
log file = /var/samba/log/log.%m
max log size = 50
name resolve order = wins host bcast
deadtime = 15
max disk size = 7199
socket options = TCP_NODELAY TCP_NODELAY SO_SNDBUF=32768 SO_RCVBUF=32768
load printers = No
logon path =
logon home =
local master = No
domain master = False
wins server = 208.1.175.146
lock dir = /var/samba/locks
pid directory = /var/samba/pid
socket address =
homedir map =
admin users = Administrator, ntadmin
create mask = 0755
force create mode = 0755

[homes]
comment = Home Directories
read only = No
browseable = No

[DATA]
comment = OUR DATA DIRECTORY
path = /home/data
read only = No
inherit permissions = Yes

[DOCS]
comment = SOME DOCS
path = /usr/catia/doc


_
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



[Samba] Please Confirm Your Membership to the Linux Magazine newsletter

2002-06-05 Thread Linux Mag News Confirmation (from Lyris ListManager)

PLEASE REPLY TO CONFIRM YOUR SUBSCRIPTION  

You are receiving this message because your email address has been entered
for a subscription to the linux-mag-news mailing list -- the monthly
newsletter of Linux Magazine.  This confirmation step ensures that only
those people interested in this list will continue
to receive these messages.

By REPLYING to this email, you confirm that you received this email
message and want to belong to this list. If you do not want to join, do
nothing, and you will be automatically removed.

To confirm that you do want to join, simply reply to this message (the
subject and body of your message may be blank). Make sure that your
message is addressed to:

[EMAIL PROTECTED] 

To unsubscribe immediately, send an email message to:

[EMAIL PROTECTED]

Thank You!


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

2002-06-05 Thread Hong Tian

Hi,

I download samba-2.2.4-sparc-solaris-2.8.pkg to install Samba 2.2.4 on Ultra
10/Solaris 8.
After installing, I could start nmbd, but I could not start smbd. Anyone
knows how to resolve it?

ERROR: Samba cannot create a SAM SID.

# /etc/init.d/samba.server start
# ps -ef | grep smb
root 1021 1 0 12:51:20 ?0.00 /usr/local/samba/bin/nmbd -D
-s/usr/local/samba/lib/smb.conf

-> can't see smbd from the above command.
TIA


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



[Samba] Samba questions - updated

2002-06-05 Thread Jaime Cifuentes


  I have downloaded and compiled Samba 2.2.4.  The Samba server is used
to access DFS space, so it was configured with DCE authentication.  It
seems to work on for the most part.  However we have seen the following
behavior:

   When opening a directory with a large number of files, it spawns
   additional smbd processes for the mapped share, which utilize a good
   percentage of the CPU.  My windows workstation hangs for a while, and I
   get multiple Windows Msgs that read: "An error occurred while
   reconnecting Z to  - Microsoft Windows Network: the local device
   name is already in use - This connection has not been restored".
   The smbd processes remain at the top of the execution queue (I use
   "monitor" to view system execution queue).
   I used Windows Explorer to map the share and to display directory
   contents.  This crashed when I closed the Window Msg.

  Are there any configuration parameters I could use to prevent this?
Any help would be greatly appreciated.

  I forgot to mention I am using AIX 4.3.3 at Maintenance Level 9, with
DCE 2.2 at ptfset 9 for may samba server


 Jaime A Cifuentes
 IBM GS - SSD AIX/UNIX Sys Supp





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



Re: [Samba] Dangers of oplock break wait time

2002-06-05 Thread Jeremy Allison

On Tue, Jun 04, 2002 at 10:06:45PM +0200, Peter Schuller wrote:
> > What version of Samba. What clients ? What are the symptoms ?
> 
> Various versions, including the latest stable release as of this moment.
> Win2k on the clients. Symptoms are long delays when opening Word/Excel
> documents; along with (sometimes) error messages about file permissions
> after the delay is over.

I presume that is 2.2.4 ? Or are you testing the SAMBA_2_2 CVS ?
If not, I'd recommend doing that as we're preparing for a 2.2.5
release soon and extra feedback would be good.

> As far as I can tell I'm experiencing a known issue (I've seen people
> talk about this in various mailinglist archives). I'm just wondering
> what dangerous side effects changing the oplock break wait time
> parameter might have - it's supposedly a possible fix. But the man page
> makes it sound pretty dangerous to fiddle with that particular option,
> so I am hesitant to try it.

No, not really a known issue with the Samba code as such. Many
people experience this problem when they're having networking
problems. Samba reports these problems in the log files, WinNT
and above just silently ignore them (the network goes a bit
slower when it happens) so people report it more to us.

I've often been tempted to just supress the error messages
so people don't report it :-) :-). That's the Microsoft solution
here :-).

Jeremy.

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



[Samba] Samba questions

2002-06-05 Thread Jaime Cifuentes

  I have downloaded and compiled Samba 2.2.4.  The Samba server is used
to access DFS space, so it was configured with DCE authentication.  It
seems to work on for the most part.  However we have seen the following
behavior:

   When opening a directory with a large number of files, it spawns
   additional smbd processes for the mapped share, which utilize a good
   percentage of the CPU.  My windows workstation hangs for a while, and I
   get multiple Windows Msgs that read: "An error occurred while
   reconnecting Z to  - Microsoft Windows Network: the local device
   name is already in use - This connection has not been restored".
   The smbd processes remain at the top of the execution queue (I use
   "monitor" to view system execution queue).
   I used Windows Explorer to map the share and to display directory
   contents.  This crashed when I closed the Window Msg.

  Are there any configuration parameters I could use to prevent this?
Any help would be greatly appreciated.


 Jaime A Cifuentes
 IBM GS - SSD AIX/UNIX Sys Supp



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



Re: [Fwd: [Samba] Re: [K12OSN]Re: [Lrlug-discuss]emergency....file/directory recovery]

2002-06-05 Thread Barry Smoke

Is the only way to get this right now from CVS?

On Tue, 2002-06-04 at 14:25, Chris Tooley wrote:
> The "Recycle Bin" option in the smb.conf allows you to create a
> "Salvage" area like Netware has.  This is a really wonderful feature
> that I've been using for several releases and happy to see in the latest
> release of Samba.  It works pretty well, and can grow extremely fast.
> 
> It's better than Netware's Salvage though as it does revisioning.  And
> since it's a standard directory instead of a "special place" it's
> actually easier for me to browse the files to recover the right ones.
> 
> Chris Tooley
> 
> 
> On Tue, 2002-06-04 at 09:49, Barry Smoke wrote:
> > I sent to samba list, with the wrong e-mail account, so it never made
> > it...
> > 
> > Any help with this is appreciated.
> > 
> > Barry Smoke
> > District Network Administrator
> > Bryant Public Schools
> > 
> > -Forwarded Message-
> > 
> > 
> > > From: Steve Langasek <[EMAIL PROTECTED]>
> > > To: [EMAIL PROTECTED]
> > > Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
> > > Subject: [Samba] Re: [K12OSN] Re: [Lrlug-discuss]emergencyfile/directory  
>recovery
> > > Date: 03 Jun 2002 17:03:27 -0500
> > > 
> > > On Mon, Jun 03, 2002 at 04:55:44PM -0500, Barry Smoke wrote:
> > > > We have had another instance of this.
> > > > since I am forwarding to other lists, "this" involves a lost file, due
> > > > to accidental deletion.
> > > 
> > > > in this case, we had a backup, but from the backup time, till deletion
> > > > time, a lot of data had been lost.
> > > 
> > > > So, we have not enough disk space to do hourly backups, 
> > > > novell allowed recovery of a lost file like this, 
> > > > so:
> > > 
> > > > is there a filesystem that we need to switch to, that is still linux
> > > > compatible that has file recovery like this?.journaled...?
> > > 
> > > > Is there an application level program, that keeps stuff that has been
> > > > deleted?besides backup, and backup often!?
> > > 
> > > > This is mostly a samba issue, for windows users
> > > > maybe there should be a samba plug-in, or a purge type structure built
> > > > in to samba-core.
> > > 
> > > > This appears to be a real problem for us.
> > > 
> > > > I think this will plague other districts/organizations/businesses in the
> > > > decision to move to linux, where using samba is possible, but at what
> > > > cost to file integrity...(maybe integrity is not the right word...)
> > > 
> > > As I'm sure the people on the Samba list (whom you've cc:ed) will be happy
> > > to tell you, there is a "vfs trashcan" implementation available for Samba
> > > 2.2 and above.  I believe it's part of the main Samba source in the Samba
> > > 3.0 CVS and will soon be built by default there; I'm not exactly sure what 
> > > you have to do to get this for Samba 2.2.x, and will defer to Samba list
> > > denizens.
> > > 
> > > Steve Langasek
> > > postmodern programmer
> > > 
> > > 
> > > > On Mon, 2002-04-01 at 17:27, Bryan Voss wrote:
> > > > > On Mon, 2002-04-01 at 17:01, Barry Smoke wrote:
> > > > > > We were doing a re-install of our imagecast software on our samba
> > > > > > server, and the install deleted the images folder with 3 years worth of
> > > > > > images in it.  Can we get these back?
> > > > > 
> > > > > The only info I have is for ext2 filesystems. Not sure how applicable it
> > > > > is for other filesystems, so YMMV.
> > > > > 
> > > > > 1) Take the system offline ***IMMEDIATELY***. Preferably by just
> > > > > shutting it off without even doing a shutdown. The longer it runs, the
> > > > > more likely your lost data has been overwritten. Even doing a proper
> > > > > shutdown can overwrite some of the data.
> > > > > 
> > > > > 2) Remove the drive/drives and hook them up to another system.
> > > > > 
> > > > > 3) Mount the filesystem(s) read-only.
> > > > > 
> > > > > 4) Download and compile The Coroner's Toolkit, which contains a couple
> > > > > of utilities you will need: unrm and lazarus. You can get TCT at:
> > > > > http://www.fish.com/tct/ . You may also want to get TCTUTILs from
> > > > > http://www.cerias.purdue.edu/homes/carrier/forensics/ to get a nicer
> > > > > interface for TCT.
> > > > > 
> > > > > 5) Read http://www.fish.com/tct/help-recovering-file for a walkthrough.
> > > > > 
> > > > > I did this a few years ago and it works, but it will probably take you
> > > > > many many hours to do a recovery and then it will probably be only
> > > > > partial. Some files will probably already be partially overwritten, so
> > > > > you can expect some corrupted images and other problems. As Nathan said,
> > > > > backups are the only good recovery path, but it's obviously a little
> > > > > late for that now.
> > > > > 
> > > > > Also note the things you find that that can be partially recovered. An
> > > > > eye opener from a security standpoint. You'll probably find files dating
> > > > > back to the time that filesystem was put into use.
> > > > > 
> > > > 

RE: [Samba] Act! database on a Samba server

2002-06-05 Thread Yannick Tousignant


No, i'm sorry... can't help you with this one!

Good luck!

Yannick


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of C. Linus Hicks
> Sent: Wednesday, June 05, 2002 1:37 PM
> To: Yannick Tousignant
> Cc: [EMAIL PROTECTED]
> Subject: RE: [Samba] Act! database on a Samba server
> 
> 
> On Wed, 2002-06-05 at 13:13, Yannick Tousignant wrote:
> > 
> > We are running act! databases on a samba share since the beginning
> > of the year and we had no problem since then.
> > 
> > As long as the database files are owned by the user who open them.
> 
> Your message suggests by virture of your ownership constraint that your
> Act! databases are single-user. I have multiple users in a single
> database all at the same time. Do you have experience with multiple
> users in one database?
> 
> Linus
> 
> 
> 
> -- 
> 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] Act! database on a Samba server

2002-06-05 Thread C. Linus Hicks

On Wed, 2002-06-05 at 13:13, Yannick Tousignant wrote:
> 
> We are running act! databases on a samba share since the beginning
> of the year and we had no problem since then.
> 
> As long as the database files are owned by the user who open them.

Your message suggests by virture of your ownership constraint that your
Act! databases are single-user. I have multiple users in a single
database all at the same time. Do you have experience with multiple
users in one database?

Linus



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



[Samba] was Samba PDC and BDC

2002-06-05 Thread Simo Sorce


Of course you need to have the same SID as it is the sid of the domain.
I think that just copying over MACHINE.SID and making the second server
regenerate the secrets.tdb from it (or simply compying also the secrtes
tdb) will make the two machines show the same SID and thus being
controllers of the same domain.

Simo.

-- 
Simo Sorce
--
Una scelta di liberta': Software Libero.
A choice of freedom: Free Software.
http://www.softwarelibero.it

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



Re: [Samba] Act! database on a Samba server

2002-06-05 Thread Kohei Yoshida

You may want to check the list archive as I've seen discussions with
regard to specifically the Act database (I don't use it personally so I
don't know much).  If my memory serves me right, it was either a patch
was issued, or fixed in the latest CVS or somewhere along that line.

Kohei

On Wed, 2002-06-05 at 13:06, C. Linus Hicks wrote:
> Does anyone have experience with getting an Act! database working
> without corruption on a Samba server? I had five users in an Act!
> database where I was getting pretty regular corruption, even after
> adding "oplocks = no" to the share. We have since moved the database
> onto a Win 2000 machine, but we would rather have it back on the Samba
> server if we can solve the corruption problem. Any help would be
> appreciated.
> 
> Linus
> 
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 
-- 


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



[Samba] Samba Problem

2002-06-05 Thread Steve Dyer

When I try to connect to a QNX machine running SAMBA it fails. The smb.log
file shows the following:
No interface found for address 10.104.1.21
Added interface ip=10.104.1.21 bcast=10.255.255.255 nmask=255.0.0.0
0:  loaded services
0:  becoming a daemon
bind succeeded on port 139
waiting for a connection
samba_shm_open : using shmem file /SMBD_MEM_FILE to be of size 102400
ERROR samba_shm_open : samba_lock_fd open failed with code 2
samba_shm_open : using shmem file /SMBD_MEM_FILE to be of size 102400
ERROR samba_shm_open : samba_lock_fd open failed with code 2
samba_shm_open : using shmem file /SMBD_MEM_FILE to be of size 102400
ERROR samba_shm_open : samba_lock_fd open failed with code 2
samba_shm_open : using shmem file /SMBD_MEM_FILE to be of size 102400
ERROR samba_shm_open : samba_lock_fd open failed with code 2

Can you tell me what this means?

Steve Dyer
Orbital TMS
7160 Riverwood Drive
Columbia, Maryland 21046
[EMAIL PROTECTED]
Tel: (443) 259-7348


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



RE: [Samba] Act! database on a Samba server

2002-06-05 Thread Yannick Tousignant


We are running act! databases on a samba share since the beginning
of the year and we had no problem since then.

As long as the database files are owned by the user who open them.


Yannick


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of C. Linus Hicks
> Sent: Wednesday, June 05, 2002 1:07 PM
> To: [EMAIL PROTECTED]
> Subject: [Samba] Act! database on a Samba server
> 
> 
> Does anyone have experience with getting an Act! database working
> without corruption on a Samba server? I had five users in an Act!
> database where I was getting pretty regular corruption, even after
> adding "oplocks = no" to the share. We have since moved the database
> onto a Win 2000 machine, but we would rather have it back on the Samba
> server if we can solve the corruption problem. Any help would be
> appreciated.
> 
> Linus
> 
> 
> 
> -- 
> 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] 2.2.3a can not print from win98 client

2002-06-05 Thread Mark Brosius

I am running Mandrake 8.2 and Samba 2.2.3a.  I have file sharing set up
but I can't get the printer sharing to work.  I can print from the linux
host but not from the Windows 98 SE client.  I browse for the printer in
Network Neighborhood and install it but I am not able to print a test
page.  I get this message in a pop-up box:
There was an error writing to \\server\printer for the printer (driver):
Your file waiting to be printed was deleted

(\\server is the name of my server and \printer is the name of the printer
share.  Driver is the driver version I am using)

Thanks in advance for any help you can give me.


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



[Samba] Act! database on a Samba server

2002-06-05 Thread C. Linus Hicks

Does anyone have experience with getting an Act! database working
without corruption on a Samba server? I had five users in an Act!
database where I was getting pretty regular corruption, even after
adding "oplocks = no" to the share. We have since moved the database
onto a Win 2000 machine, but we would rather have it back on the Samba
server if we can solve the corruption problem. Any help would be
appreciated.

Linus



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



Re: [Samba] oplock break failures

2002-06-05 Thread Dirk Allaert

AFAIK 2.0 did not support oplocks, oplocks are a new feature in 2.2. You 
can turn off oplocks in smb.conf if you want. Oplocks are meant to 
increase the performance.

drenning, bruce wrote:
> After upgrading from 2.0.10a to 2.2.4, I'm seeing many new messages being
> logged. What does this mean?
> 
> Jun  5 09:42:50 files2 smbd[27585]: [2002/06/05 09:42:50, 0]
> smbd/oplock.c:oplock_break(788) 
> Jun  5 09:42:50 files2 smbd[27585]:   oplock_break: no break received from
> client within 30 seconds. 
> Jun  5 09:42:50 files2 smbd[27585]:   oplock_break failed for file
> Pledgemaker/Pledgemaker-DRF/Appeal Loaders/02-R02L01-Lifeline Invite #1.txt
> (dev = 904, inode = 10554, file_id = 113). 
> Jun  5 09:42:50 files2 smbd[27585]: [2002/06/05 09:42:50, 0]
> smbd/oplock.c:oplock_break(833) 
> Jun  5 09:42:50 files2 smbd[27585]:   oplock_break: client failure in oplock
> break in file Pledgemaker/Pledgemaker-DRF/Appeal Loaders/02-R02L01-Lifeline
> Invite #1.txt 
> Jun  5 09:42:50 files2 smbd[27585]: [2002/06/05 09:42:50, 0]
> smbd/reply.c:reply_lockingX(4480) 
> Jun  5 09:42:50 files2 smbd[27585]:   reply_lockingX: Error : oplock break
> from client for fnum = 10128 and no oplock granted on this file
> (Pledgemaker/Pledgemaker-DRF/Appeal Loaders/02-R02L01-Lifeline Invite
> #1.txt).
> 
> 



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



RE: [Samba] Domain groups

2002-06-05 Thread Yannick Tousignant


Unfornunatly, you can't set permission on a domain group
using Samba in Windows 2k/NT. You can always create a local
group and add domain users in it.

Yannick


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of C. Linus Hicks
> Sent: Wednesday, June 05, 2002 12:48 PM
> To: [EMAIL PROTECTED]
> Subject: [Samba] Domain groups
> 
> 
> I have Samba acting as a PDC with Win 98, Win ME, and Win 2000 clients.
> I have shares on one of my Win 2000 clients that I would like to be able
> to manage permissions with using domain groups. For instance, I have
> logical groups for sales, recruiting, and staff. I have these groups
> defined on my Samba server and they work for Samba shares. Is there a
> way I can make these groups show up on my Win 2000 client when it
> queries the domain for users and groups when I'm setting permissions?
> 
> Linus
> 
> 
> 
> -- 
> 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] oplock break failures

2002-06-05 Thread drenning, bruce

After upgrading from 2.0.10a to 2.2.4, I'm seeing many new messages being
logged. What does this mean?

Jun  5 09:42:50 files2 smbd[27585]: [2002/06/05 09:42:50, 0]
smbd/oplock.c:oplock_break(788) 
Jun  5 09:42:50 files2 smbd[27585]:   oplock_break: no break received from
client within 30 seconds. 
Jun  5 09:42:50 files2 smbd[27585]:   oplock_break failed for file
Pledgemaker/Pledgemaker-DRF/Appeal Loaders/02-R02L01-Lifeline Invite #1.txt
(dev = 904, inode = 10554, file_id = 113). 
Jun  5 09:42:50 files2 smbd[27585]: [2002/06/05 09:42:50, 0]
smbd/oplock.c:oplock_break(833) 
Jun  5 09:42:50 files2 smbd[27585]:   oplock_break: client failure in oplock
break in file Pledgemaker/Pledgemaker-DRF/Appeal Loaders/02-R02L01-Lifeline
Invite #1.txt 
Jun  5 09:42:50 files2 smbd[27585]: [2002/06/05 09:42:50, 0]
smbd/reply.c:reply_lockingX(4480) 
Jun  5 09:42:50 files2 smbd[27585]:   reply_lockingX: Error : oplock break
from client for fnum = 10128 and no oplock granted on this file
(Pledgemaker/Pledgemaker-DRF/Appeal Loaders/02-R02L01-Lifeline Invite
#1.txt).


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



[Samba] Domain groups

2002-06-05 Thread C. Linus Hicks

I have Samba acting as a PDC with Win 98, Win ME, and Win 2000 clients.
I have shares on one of my Win 2000 clients that I would like to be able
to manage permissions with using domain groups. For instance, I have
logical groups for sales, recruiting, and staff. I have these groups
defined on my Samba server and they work for Samba shares. Is there a
way I can make these groups show up on my Win 2000 client when it
queries the domain for users and groups when I'm setting permissions?

Linus



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



[Samba] samba AIX / NT network issue

2002-06-05 Thread tony lay

I'm running samba on an AIX 4.3.3 server which has NT4.0 SP6a clients 
connecting.  Since I've had so much trouble with it I compiled 2.2.4 with 
GCC on the server and it didn't do any good.  Grasping for straws I had our 
netadmin come over and help me interpet what kinds of errors we were 
receiving.

The symptom of the problem first off is that when the clients are browsing 
the shares they initially take 30-60 seconds to come up (if even at all).  
Everything works fine once connected (but is still way too slow).

I was hoping that some common issues could be detected from at least some of 
these errors so that I can try to get this sorted out.  Any information on 
any part of this would be helpful, really.

Here are some of the notes from our pow-wow...this is traffic between my 
client and the server while trying to open up a share off of the samba 
server.

no such file desktop.ini
srvsvc starts

account was null and the domain was null dest AIX -> source ing-nt-dc
Negotiated
connected
disconnected .02 seconds later

pulled desktop.ini

ACK took too long to respond
possibly insufficient buffer space on one side or the other
2 alerts

WINS lookup performed
tried to connect null again
tried to to connect ing-nt-dc/IPC$
tried to pull netlogon -> SUCCESS

RPC 5.0 BIND
Lots of peramaters transferred

netlogon called -> requests challange
three way handshake request and response

connects and disconnects.

Some NetBIOS traffic is detected but cannon be encoded
at the same time/soon after we get a window frozen error

Then oddly enough a NetBIOS session request and confirmation

negotiation begins
connection is made to share as proper user

WINS traffic
TCP stuff

NETBIOS 76 bytes of user data
confirms session
Negotiates anon

three way handshake is asked for again and then closes down
-

# Global parameters
[global]
client code page = 437
code page directory = /usr/local/lib/codepages
workgroup = OURDOMAINNAME
netbios name = THESERVERNAME
server string = Samba %v
interfaces = 208.1.175.144/255.255.255.128
security = DOMAIN
encrypt passwords = Yes
update encrypted = Yes
password server = OURPDC OURBDC ANOTHERBDC
smb passwd file = /var/samba/private/smbpasswd
passwd program = /bin/yppasswd
username map = /usr/local/lib/users.map
unix password sync = Yes
log file = /var/samba/log/log.%m
max log size = 50
name resolve order = wins host bcast
deadtime = 15
max disk size = 7199
socket options = TCP_NODELAY TCP_NODELAY SO_SNDBUF=32768 SO_RCVBUF=32768
load printers = No
logon path =
logon home =
local master = No
domain master = False
wins server = XXX.XXX.XXX.XXX (a valid WINS server)
lock dir = /var/samba/locks
pid directory = /var/samba/pid
socket address =
homedir map =
admin users = Administrator, ntadmin
create mask = 0755
force create mode = 0755

[homes]
comment = Home Directories
read only = No
browseable = No

[DATA]
comment = CPIPT DATA DIRECTORY
path = /home/data
read only = No
inherit permissions = Yes

[DOCS]
comment = CPIPT DOCS
path = /usr/catia/doc



I did see that there was a reccomendation to run smbd somewhere other than 
inetd.  I'd like to script it something like Linux but the rc files are set 
up differently.  If there is anybody that has set this up on AIX I would be 
interested to see how.

Thanks for your help in advance.

-Tony

_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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



[Samba] Samaba Help Of Course ... If I May

2002-06-05 Thread Chris Howe



I have a workgroup at work where we have allot of 
documents we don not wish for anybody to see. The on e machine we have is 
running Redhat 7.3 [Linux seleya.seleyaoem.com 2.4.18-3 #1 Thu Apr 18 07:37:53 
EDT 2002 i686 unknown] with the version of samba that ships with it. 2.2.3a if I 
am not mistaken. I have this machine also acting as a file server for other 
machines on the LAN and I need these machines to have full access to the share. 
So far I have setup the samba server using aliases. The main smb.conf file calls 
a different smb.conf file for each alias i.e smb.conf.seleya that I have setup. 
The Share I need to be private/secure I have under the hostname seleya with a 
share with share level security and with only 3 valid users [the users with the 
permission to view the files] to the share. The second alias is called service 
and it too is share level security but has guest ok as well with a create mode 
of 0777 which does what I need for full read write access to files. What seems 
to be happing however is that the two shares I have setup are showing up in both 
aliases. The Seleya alias has a share named SELEYA and the Service alias has a 
share named DUMP. When you browse to Seleya or Service both shares show up in 
both aliases. I am trying to find out how to prevent this from happening. My 
desired results are to have one share under each alias i.e Seleya show only the 
SELEYA share and the Service to show only the DUMP share. If you can help me I 
would greatly appreciate it. I will include my 3 smb.conf files to see if they 
help clear up the matter. Thank you in advance I appreciate your 
time
 
smb.conf   - Main File
 
[global]
 
   workgroup = WORKGROUP   
server string = Seleya Samba   hosts allow = 192.168.0. 
127.   load printers = no   printcap name = 
/etc/printcap   printing = bsd   guest account = 
nobody   log file = /var/log/samba.%m   max log size 
= 50   security = share   encrypt passwords = 
yes   socket options = TCP_NODELAY    os level = 
65   local master = yes    domain master = 
yes   preferred master = yes   dns proxy = 
no   netbios aliases = Seleya Service    include = 
/etc/samba/smb.conf.Seleya   include = 
/etc/samba/smb.conf.Service   null passwords = yes
 
#Share Definitions
 
#[Seleya];   comment = Seleya 
Storage;   path = /Seleya/Docs;   read only = 
no;   public = yes;   guest ok = 
yes;   writeable = yes   ;   create mode = 
0664;   valid users = chrish, jeffp, bitchbox, ;   
veto files = /Seleya/lost+found/ #[Dump];   commnet = 
Customers Temp Dump;   path = /Seleya/Dump;   guest 
ok = yes;   writeable = yes;   read only = 
no
 
smb.conf.Seleya - First Alias File
 
[global]
 
   workgroup = WORKGROUP   server string = Linux 
Samba Server   hosts allow = 192.168.0. 127.   load 
printers = no   printcap name = /etc/printcap   
printing = bsd   guest account = nobody   log file = 
/var/log/samba.%m   max log size = 50   security = 
share   encrypt passwords = yes   socket options = 
TCP_NODELAY    os level = 65   local master = yes 
   domain master = yes   preferred master = 
yes   dns proxy = no    null passwords = yes
 
#Share Definitions
 
[Seleya]   comment = Seleya Storage   path = 
/Seleya/Docs   read only = no   public = 
yes   guest ok = yes   writeable = yes   
   create mode = 0777   valid users = chrish, jeffp, 
bitchbox 
 
#[Dump]#   commnet = Customers Temp Dump#   
path = /storage/CTD#   guest ok = yes#   writeable = 
yes#   read only = no
 
smb.conf.Service - Second Alias File
 
[global]
 
   workgroup = WORKGROUP   server string = Storage 
Server    hosts allow = 192.168.0. 127.   load 
printers = no   printcap name = /etc/printcap   
printing = bsd   guest account = nobody   log file = 
/var/log/samba.%m   max log size = 50   security = 
share   encrypt passwords = yes   socket options = 
TCP_NODELAY    os level = 65   local master = yes 
   domain master = yes   preferred master = 
yes   dns proxy = no   null passwords = yes
 
#SHARE DEFINITIONS
 
#[Seleya]#   comment = Seleya Storage#   path = 
/Seleya/Docs#   read only = no#   public = 
yes#   guest ok = yes#   writeable = yes   
#   create mode = 0664#   valid users = chrish, 
jeffp, bitchbox 
 
[Dump]   comment = Dump   path = 
/Seleya/Dump   guest ok = yes   writeable = 
yes   read only = no   create mode = 0777
 
 


RE: [Samba] PDC and BDC with LDAP and Samba 2.2.4

2002-06-05 Thread Yannick Tousignant


Ok, i'm stuck at this point. Either if i want to move
the current PDC to another server or if i want to make
a BDC, i have to rejoin all the stations to the domain.

The machine account are stored in the LDAP database that 
I replicate to the BDC. The problem is that samba store
some kind of part of the machine account somewhere (maybe
in secrets.tdb) that i can't replicate on both servers. So
if the users log into another PDC, the machine accounts
are not valid for the server, so it deny all logon!

If anyone can help me find a way to have valid machine
account on 2 different DC...


Thanks!


Yannick



> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Gerald Carter
> Sent: Wednesday, June 05, 2002 9:04 AM
> To: Yannick Tousignant
> Cc: [EMAIL PROTECTED]
> Subject: RE: [Samba] PDC and BDC with LDAP and Samba 2.2.4
> 
> 
> On Tue, 4 Jun 2002, Yannick Tousignant wrote:
> 
> > 
> > 
> > Hi, I tried to move the current PDC to another machine
> > that have the same LDAP database. It didn't work... There
> > is something about the machine account! How does samba
> > handle this? i could not logon to the moved PDC, so i
> > rejoined the domain (added my machine in TEMP workgroup,
> > reboot, rejoin de domain, reboot), and then it worked!
> > 
> > Is there any way i can bypass this?
> 
> Can the uid's for passwd entries sync'd on bother servers?
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> cheers, jerry
>  -
>  Hewlett-Packard http://www.hp.com
>  SAMBA Team   http://www.samba.org
>  --http://www.plainjoe.org
>  "Sam's Teach Yourself Samba in 24 Hours" 2ed.  ISBN 0-672-32269-2
>  --"I never saved anything for the swim back." Ethan Hawk in Gattaca--
> 
> 
> -- 
> 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] Open a W2000 Session in a domain

2002-06-05 Thread Sam Barasch

Joyce,

It sounds like there is a disconnection between the listing in the unix 
passwd file for the w2000 computer and the listing in the smbpasswd file 
for the w2000 computer.

Try deleting the listing for the computer in the smbpasswd file and 
re-adding it with the command

#  smbpasswd -am $

Good luck,
Sam

At 03:28 PM 6/5/2002 +0200, Joyce LAMBERT wrote:
>Hello
>
>I am working on a Red Hat 7.1 with a samba 2.2.4 server.
>
>All is good i can configure my W2000 computer for the domain, but when he 
>restart enable to join the domain always the same message
>
>"le compte systeme de l'ordinateur dans son domain principal est manquant"
>Yes I'm french
>
>So in english it's somthing like this "your computer is unkown by the 
>primary domain" but i have done an account for the pc with is name and 
>with a $ like i have show on the doc.
>
>Please I need some help


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



Re: [Samba] Slightly OT: Conference this year?

2002-06-05 Thread Sam Barasch


>
>
>The SambaXP conference was wonderful - very well attended (better than
>the Microsoft/NetApp sponsored CIFS conferences). I keep meaning to
>write up a conference report and post it on Samba.org (but no time
>yet).
>
>We're hoping the SerNet will sponsor and run the next one (as
>they did such a good job this year).
>
>It'll be in Germany though.
>
>Jeremy.

I'd love to go.  I'll ask my department for funding. If that falls through, 
I'll ask my wife for funding.  :-)

-Sam


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



[Samba] заработок

2002-06-05 Thread gs

úÄÒÁ×ÓÔ×ÕÊÔÅ!

ñ ÈÏÞÕ ÐÏÄÅÌÉÔØÓÑ Ó ÷ÁÍÉ ÉÎÆÏÒÍÁÃÉÅÊ, ËÁË ÍÏÖÎÏ ÌÅÇÁÌØÎÏ, ÂÙÓÔÒÏ É
ÓÒÁ×ÎÉÔÅÌØÎÏ ÐÒÏÓÔÏ ÚÁÒÁÂÏÔÁÔØ ÎÅÓËÏÌØËÏ ÔÙÓÑÞ ÄÏÌÌÁÒÏ×.
ñ × Ó×ÏÅ ×ÒÅÍÑ ÔÁË É ÐÏÓÔÕÐÉÌ... É ÈÏÔÑ ÓÁÍ ÒÁÂÏÔÁÀ, ÎÏ ÌÉÛÎÉÊ ÄÏÈÏÄ ÍÎÅ
ÓÏ×ÓÅÍ ÎÅ ÍÅÛÁÅÔ.
îÅ ×ÅÒÉÔÅ? :-), ÎÏ ÜÔÏ òåáìøîïóôø.
åÓÔÅÓÔ×ÅÎÎÏ, ÞÔÏ ÷ÁÍ ÐÏÎÁÄÏÂÉÔÓÑ ÎÅËÏÔÏÒÏÅ ÔÅÒÐÅÎÉÅ, ÎÁÓÔÏÊÞÉ×ÏÓÔØ ×
ÄÏÓÔÉÖÅÎÉÉ ÜÔÏÊ ÃÅÌÉ É, ËÏÎÅÞÎÏ ÖÅ, ÖÅÌÁÎÉÅ. åÝÅ ÏÂÑÚÁÔÅÌØÎÏ ÎÕÖÅÎ ÄÏÓÔÕÐ Ë
éÎÔÅÒÎÅÔÕ É ÜÌÅËÔÒÏÎÎÏÊ ÐÏÞÔÅ.
åÓÌÉ ÷ÁÓ ÜÔÏ ÚÁÉÎÔÅÒÅÓÏ×ÁÌÏ, ÏÔÐÒÁ×ØÔÅ, ÐÏÖÁÌÕÊÓÔÁ, ÍÎÅ ÐÉÓØÍÏ ÎÁ ÷óå
ÕËÁÚÁÎÎÙÅ ÎÉÖÅ ÁÄÒÅÓÁ É Ñ ÷ÁÍ ×ÙÛÌÀ ÆÁÊÌ Ó ÉÎÓÔÒÕËÃÉÑÍ.

åóìé ÷áó üôï îå éîôåòåóõåô - ðòïóøâá îå ïô÷åþáôø îá üôï ðéóøíï!

÷îéíáîéå!!!  ðÏÖÁÌÕÊÓÔÁ, ÎÅ ÎÁÐÒÁ×ÌÑÊÔÅ ÷ÁÛÉ ÚÁÑ×ËÉ Ó ÐÏÍÏÝØÀ ËÎÏÐËÉ
"ÏÔ×ÅÔÉÔØ ÏÔÐÒÁ×ÉÔÅÌÀ", "ÏÔ×ÅÔÉÔØ ÎÁ ×ÙÂÒÁÎÎÏÅ ÐÉÓØÍÏ", ÉÌÉ "reply" ÎÁ ÑÝÉË,
Ó ËÏÔÏÒÏÇÏ ÷Ù ÐÏÌÕÞÉÌÉ ÄÁÎÎÏÅ ÐÉÓØÍÏ (× ÔÁËÏÍ ÓÌÕÞÁÅ ÏÎÏ ÎÅ ÂÕÄÅÔ
ÐÒÏÞÉÔÁÎÏ!), ÐÏÜÔÏÍÕ ÁÄÒÅÓÕÊÔÅ ÉÈ ôïìøëï ÓÀÄÁ -

[EMAIL PROTECTED],
[EMAIL PROTECTED]

óÐÁÓÉÂÏ, ÞÔÏ ÐÒÏÞÉÔÁÌÉ. é ×ÓÅ ÖÅ ÐÏÄÕÍÁÊÔÅ...

÷ÓÅÇÏ ÄÏÂÒÏÇÏ, ÕÄÁÞÉ!
ó Õ×ÁÖÅÎÉÅÍ, óÅÒÇÅÊ.


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



[Samba] Open a W2000 Session in a domain

2002-06-05 Thread Joyce LAMBERT



Hello
 
I am working on a Red Hat 7.1 with a samba 2.2.4 
server.
 
All is good i can configure my W2000 computer for 
the domain, but when he restart enable to join the domain always the same 
message
 
"le compte systeme de l'ordinateur dans son domain 
principal est manquant"
Yes I'm french
 
So in english it's somthing like this "your 
computer is unkown by the primary domain" but i have done an account for the pc 
with is name and with a $ like i have show on the doc.
 
Please I need some help


Re: [Samba] smbmount

2002-06-05 Thread Urban Widmark

On Wed, 5 Jun 2002 [EMAIL PROTECTED] wrote:

> Jun  5 10:30:00 tux1 kernel: smb_retry: signal failed, error=-3
> Jun  5 10:30:00 tux1 last message repeated 2 times
> 
> the mountpoint is disapearing and the mount directory to. if i try a umount
> and mount again the problem is fixed. is there any bugfix avialable?

Kernel version?
Samba version?

Your problem is that smbmount has terminated. The smbmount in older samba
versions had a few known bugs which are fixed. If you are running 2.2.2 or
later I don't think it is a known bug.

/Urban


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



[Samba] domain or not domain

2002-06-05 Thread Phil Chambers

I can't thing of how to look for this problem in the archive!

I have a Redhat7.2 server running the 2.2.4 rbl version of SAMBA.  This system is 
joined into our CLUSTERS domain and has just a read-only share on it.  The PDC is a 
2.2.3a SAMBA on an IRIX system.

If I take a WinXP system which is just a member of the CLUSTERS workgroup and not 
joined into the domain, login to that with a suitable username and password, I can 
then browse to the server and see the contents of the read-only share.

If I take a WinXP system, which is joined into the CLUSTERS domain, I can login with 
the same username as above.  I can browse to the server and see the folder for the 
read-only share but, if I try to open the share, I get a username/password prompt!

Giving the same username and password for the login user just gives the prompt 
again.  However, if I give a different username and corresponding password, I can 
open the share!

The log-file on the server says:
.. smb/reply.c:reply_sesssetup_and_X(1036)
 No such user  [CLUSTERS] - using guest account

In the log on the PCD I can't see any indication that it rejected the username, 
though it is difficult to see the wood for the trees there!

Phil.
---
Phil Chambers ([EMAIL PROTECTED])
University of Exeter


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



Re: [Samba] Samba compiled version to rpm package

2002-06-05 Thread Gerald Carter

On Wed, 5 Jun 2002, LAUTIER Sabrina wrote:

> Hi !
> 
> I'm runing a linux redhat 7.2 box with samba 2.2.4.
> I've downloaded the samba source in order to install it with the
> needed compilation options (--with-smbwrapper --with-automount
> --with-smbmount --with-pam  ...). 
> Samba is now up and running but I would like to build an rpm with this
> compiled version.
> 
> Any idea of how to transform this samba compiled version to a rpm
> package ?


See packages/RedHat/makerpms.sh






jerry
 -
 Hewlett-Packard http://www.hp.com
 SAMBA Team   http://www.samba.org
 --http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.  ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--


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



RE: [Samba] Joining a W2k domain - Could not look up dc's for domain

2002-06-05 Thread Cates, Brett

You may want to add the lines:
wins support = No
wins server = xxx.xxx.xxx.xxx

Brett

-Original Message-
From: Oliver Thinnes [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 05, 2002 9:15 AM
To: '[EMAIL PROTECTED]'
Subject: [Samba] Joining a W2k domain - Could not look up dc's for
domain


Hello.

I'm trying to join a W2K domain. The DC runs in mixed mode.

1.
In Active Directory I added the machine "DELL1-W2K" with option "NT 4.0 /
3.51 machine can use that account".
For NT 4 machines the domain is WIN2KTESTSERVER. For W2K machines or higher
the domain is "INTERN.DE".

2.
On LINUX I joined the domain "INTERN.DE" with
# smbpasswd -D 10 -j intern.de  -r win2ktestserver.intern.de -U
administrator
Joined domain WIN2KSERVER


When starting smbd, nmbd, winbindd with log level 10 I get a error message
in 
-- log.winbindd -- 
[2002/06/05 15:56:18, 3] nsswitch/winbindd_cm.c:cm_get_dc_name(147)
  Could not look up dc's for domain WIN2KTESTSERVER
-- log.winbindd -- 

[global]
workgroup = win2ktestserver
netbios name = DELL1-w2k
security = DOMAIN
encrypt passwords = Yes
password server = *
log file =  /var/log/samba/ad.%m.log
# default ist 5000
max log size = 5
log level = 10

# debug pid = YES
# debug uid = YES

# winbindd
winbind uid = 1-2
winbind gid = 1-2
winbind separator = +
winbind cache time = 60
# 2002.06.05 othinnes, keine Anzeige des Domaen-Namens "PULSAAR' bei
'ls', 'smbstatus', 'getfacl' usw.
winbind use default domain = YES
template homedir = /fileserver/home/%D/%U
template shell = /bin/bash
# winbindd


Did I misconfigure something?

Thank you in advance?

-- 
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] System V printing problem

2002-06-05 Thread Peter Polkinghorne


A brief observation - from behaviour & code inspection - Samba 2.2.4 with
Solaris 2.6:

This defaults correctly to System V printing and uses lpstat -v to get a list
of printers. However it does this just once and then the only way I can see
to reread the list is to restart the daemon. This is a bit of a pain to do.

-- 
Peter Polkinghorne, IT Manager  Kingsford Stacey Blackwell
[EMAIL PROTECTED]  14 Old Square, Lincoln's Inn
(44) 020 7447 1200  London WC2A 3UB

A list of names of the partners is open to inspection at the above address.



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



Re: [Samba] Trust Domains ...

2002-06-05 Thread C.Lee Taylor

Thanks all for responding, it seems my digest samba mail had a virus, so I 
did not get to read all the reply (I am sure there were many ;-) )


Andrew Bartlett wrote:
> Sylvestre Taburet wrote:
> 
>>Le Mardi 4 Juin 2002 15:23, C.Lee Taylor a écrit :
>>
>>>Greetings ...
>>>
>>>  Please could someone confirm that Samba 2.2.x and Samba 3.0 ( Head ) does
>>>not support Trusts between domains.
>>>
>>
>>2.2.X doesn't, 3.0 will, though I don't know if CVS version does it yet.
>>
>>It should be possible with TNG, but I never tried:
>>http://mordor.clayton.edu/samba-tng/tng-pdc-trust.html
Will look at this if all else does not work ...

> I understand it goes like this:
Kewl ...

> Samba 2.2 supports being trusted by NT.  Its a bit odd, and mainly works
> due to the fact that domain logons and interdomain logons are almost
> exactly the same.  Not 'supported', and only works for NT domains with
> just a PDC.
Okay, I hope nobody minds me asking a few question ...

I have DOMA, which is an NT4 domain with Exchange 5.5, DOMB is my little 
Linux server with Samba 2.2.x ( hoping to use 2.2.5 ).  If I understand 
this, DOMA needs to trust DOMB so that the users in DOMB can access their 
mail in the DOMA Exchange server?  Am I right? And would this work?

> Samba HEAD has support for both being trusted by NT and trusting NT.  We
> don't support doing anything with Win2k ATM.  Trusting NT is still a
> work in progress, but we have shown the basic concepts.
I don't really wish to play with Samba Head, but I love to learn ...

> Samba TNG claims support for being trusted, but I've not tested it
> myself.  You will need current CVS - TNG was able to pick up some of
> HEAD's work in this area to get around some nasty bugs.  Samba-TNG
> trusting NT domains is a bit dodgy, becouse you need to setup the
> 'username map' manually.
I don't really wish to play with TNG, but I love to learn ...

Thanks guys.
Mailed
Lee


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



[Samba] Joining a W2k domain - Could not look up dc's for domain

2002-06-05 Thread Oliver Thinnes

Hello.

I'm trying to join a W2K domain. The DC runs in mixed mode.

1.
In Active Directory I added the machine "DELL1-W2K" with option "NT 4.0 / 3.51 machine 
can use that account".
For NT 4 machines the domain is WIN2KTESTSERVER. For W2K machines or higher the domain 
is "INTERN.DE".

2.
On LINUX I joined the domain "INTERN.DE" with
# smbpasswd -D 10 -j intern.de  -r win2ktestserver.intern.de -U administrator
Joined domain WIN2KSERVER


When starting smbd, nmbd, winbindd with log level 10 I get a error message in 
-- log.winbindd -- 
[2002/06/05 15:56:18, 3] nsswitch/winbindd_cm.c:cm_get_dc_name(147)
  Could not look up dc's for domain WIN2KTESTSERVER
-- log.winbindd -- 

[global]
workgroup = win2ktestserver
netbios name = DELL1-w2k
security = DOMAIN
encrypt passwords = Yes
password server = *
log file =  /var/log/samba/ad.%m.log
# default ist 5000
max log size = 5
log level = 10

# debug pid = YES
# debug uid = YES

# winbindd
winbind uid = 1-2
winbind gid = 1-2
winbind separator = +
winbind cache time = 60
# 2002.06.05 othinnes, keine Anzeige des Domaen-Namens "PULSAAR' bei 'ls', 
'smbstatus', 'getfacl' usw.
winbind use default domain = YES
template homedir = /fileserver/home/%D/%U
template shell = /bin/bash
# winbindd


Did I misconfigure something?

Thank you in advance?

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



Re: [Samba] Samba compiled version to rpm package

2002-06-05 Thread Dirk Allaert

I guess you could install the source rpm and modify the spec file 
(--with-smbwrapper --with-automount --with-smbmount --with-pam 
...)located at /usr/src/redhat/SPECS/samba.spec and run
rpm -ba /usr/src/redhat/SPECS/xxx.spec
this should build an rpm in /usr/src/redhat/RPMS/i386

LAUTIER Sabrina wrote:
> Hi !
> 
> I'm runing a linux redhat 7.2 box with samba 2.2.4.
> I've downloaded the samba source in order to install it with the
> needed compilation options (--with-smbwrapper --with-automount
> --with-smbmount --with-pam  ...). 
> Samba is now up and running but I would like to build an rpm with this
> compiled version.
> 
> Any idea of how to transform this samba compiled version to a rpm
> package ?
> 
> Thanks.
> 
> Sabrina
> 
> -
> Powered by Alinto (http://www.alinto.net)
> for lavache.com (http://www.lavacheautomatique.com)
> 



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



[Samba] funny error message

2002-06-05 Thread Jim Callahan
Title: funny error message





unable to connect to SMB server on machine 127.0.0.1. Error was : SUCCESS - 0.


I don't have smb running, I'm just testing some codepage compiles...  this message is generated by smbpasswd 


i.e. samba not running; run smbpasswd;  through prompts; I wonder if all my Errors are going to be this SUCCESSful today :)




[Samba] Virus waarschuwing / warning

2002-06-05 Thread Bronswerk Heat Transfer BV

Dear Mr/Mrs,

You have send our company an e-mail with the subject:
"samba digest, Vol 1 #1266 - 21 msgs"
wich contains a virus according to our virusscanner.

It is also possible that a virus misuses your e-mail
address, in that case sorry for the accusation. In that case
please see this mail as a warning, the virus knows your mail
adres and it is very likely that you recieve a virus soon.


You have send it to:   [EMAIL PROTECTED]



You have send the following attachments and virusses to us:

  Attachment: Geen bijlage, zit meteen in de mail

Please install a good virusscanner on your computer
and keep it up-to-date.

This is an automaticly computer generated e-mail.
Reply to this mail is useless.




Geachte heer/mevrouw,

U heeft aan ons bedrijf een e-mail gestuurd met als onderwerp:
"samba digest, Vol 1 #1266 - 21 msgs"
waarin volgens onze virusscanner een virus verborgen zit.

Het is ook mogelijk dat een virus uw e-mail adres misbruikt,
in dat geval sorry voor de onterechte beschuldiging.
Laat deze mail dan een waarschuwing voor u zijn omdat het
virus dus uw e-mail adres kent en de kans groot is dat u ook
een virus toegestuurd krijgt.


De geadresseerde was:   [EMAIL PROTECTED]



De volgende bijlage(s) en virus(sen) heeft u gestuurd:

  Bijlage: Geen bijlage, zit meteen in de mail

Installeer a.u.b. een goede virusscanner op uw PC
en houd deze up-to-date.

Dit is een automatische door de computer gegenereerde
e-mail. Een antwoord hierop heeft geen zin.

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



RE: [Samba] PDC and BDC with LDAP and Samba 2.2.4

2002-06-05 Thread Yannick Tousignant


Hi,

Thanks for replying me Gerald.

> > 
> > 
> > Hi, I tried to move the current PDC to another machine
> > that have the same LDAP database. It didn't work... There
> > is something about the machine account! How does samba
> > handle this? i could not logon to the moved PDC, so i
> > rejoined the domain (added my machine in TEMP workgroup,
> > reboot, rejoin de domain, reboot), and then it worked!
> > 
> > Is there any way i can bypass this?
> 
> Can the uid's for passwd entries sync'd on bother servers?

That's not the problem, because they are sync'd on both servers
using slurpd. How does samba handle the validity of a machine
password? If i can solve this, then i can have a BDC...

I'm thinking maybe put add a MACHINE.SID file to both servers,
with the same SID. Maybe that can solve my problem.

I'll keep you informed.


Yannick



> cheers, jerry
>  -
>  Hewlett-Packard http://www.hp.com
>  SAMBA Team   http://www.samba.org
>  --http://www.plainjoe.org
>  "Sam's Teach Yourself Samba in 24 Hours" 2ed.  ISBN 0-672-32269-2
>  --"I never saved anything for the swim back." Ethan Hawk in Gattaca--
> 
> 
> -- 
> 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] Share using %U -> File already opened

2002-06-05 Thread Per Kjetil Grotnes

> > "H-disk" share is " /home/%U/disk"
> > User1  H: -> /home/user1/disk (h-disk)
> > User2  H: --> /home/user2/disk  (h-disk)
> > When User1 opens a file "H:Øfoo.doc" and then User2 opens a file on this share
> > with the _same_ name ("H:Øfoo.doc") we get from Word (office programs?):
> > "Foo.doc already opened by another user".
> > When user1 closes his/her "foo.doc" on the home-share user2 is able to open the
> > file.
> > This is on Windows 2000 Terminal Services SP2 with Citrix Metaframe 1.8 (dont
> > diss this because it is Terminal Services please!) using office 2000.

> Don't use %U on Win2k Terminal Services.  Use ÆhomesÅ and make sure you
> reference it with the *users* name, not 'homes'.
> Andrew Bartlett

Excellent.  This works.  The processes in Win2k now have unique share names for each 
user thus preventing Win2k from thinking its the same file.

Thank you Andrew.  :-)

Regards
Per Kjetil Grotnes

---
IT-Seksjonen, Plan- og bygningsetaten, Oslo Kommune
Tlf: 22 66 26 61, Fax: 22 66 26 65

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



RE: [Samba] PDC and BDC with LDAP and Samba 2.2.4

2002-06-05 Thread Gerald Carter

On Tue, 4 Jun 2002, Yannick Tousignant wrote:

> 
> 
> Hi, I tried to move the current PDC to another machine
> that have the same LDAP database. It didn't work... There
> is something about the machine account! How does samba
> handle this? i could not logon to the moved PDC, so i
> rejoined the domain (added my machine in TEMP workgroup,
> reboot, rejoin de domain, reboot), and then it worked!
> 
> Is there any way i can bypass this?

Can the uid's for passwd entries sync'd on bother servers?















cheers, jerry
 -
 Hewlett-Packard http://www.hp.com
 SAMBA Team   http://www.samba.org
 --http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.  ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--


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



RE: [Samba] PDC and BDC with LDAP and Samba 2.2.4

2002-06-05 Thread Gerald Carter

On Tue, 4 Jun 2002, Klaus Zahradnik wrote:

> Nope, I just checked in a Book. It can't act as a Backup Domain
> Controler. :o(

We are talking about two different things here. 
Samba cannot act as a BDC for a Windows PDC, but 
my tests showed that we can act as a BDC for another 
Samba box.






cheers, jerry
 -
 Hewlett-Packard http://www.hp.com
 SAMBA Team   http://www.samba.org
 --http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.  ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--


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



RE: [Samba] PDC and BDC with LDAP and Samba 2.2.4

2002-06-05 Thread Gerald Carter

On Tue, 4 Jun 2002, Yannick Tousignant wrote:

> In this link :
> 
> http://www.samba.org/samba/ftp/docs/htmldocs/Samba-BDC-HOWTO.html
> 
> It seems possible to act like BDC as long as the PDC is a samba machine.
> I did everyting there, and both servers have the same secrets.tdb file.

My testing using an smbpasswd (several months ago worked ok.
I never ran the setup in production though.  I'll run some tests
later this week and see what's going on.

For the record, you setup should work as far as I can tell.






cheers, jerry
 -
 Hewlett-Packard http://www.hp.com
 SAMBA Team   http://www.samba.org
 --http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.  ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--


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



[Samba] samba 2.4 and win2k clients doesn't work

2002-06-05 Thread Arne Kaiser

Hello,
i'm new to the the list so excuse me if I ask for an old problem, but i found no 
solution in the archive.
I try to set up a rh 7.3 server with samba 2.4 as PDC for win2000 sp2 clients.
I configured the samba to create the machine accounts on the fly. When I try to join 
the domain the entries in smbpass and passwd are created fine. After a minute I get 
the message that I joined the domain. After reboot I can not join the domain because 
there should not be a valid machine account I attached my smb.conf file, so maybe 
someone can help me if there is something wrong.

Thanks in advance

Arne

# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Date: 2001/06/05 13:50:58

# Global parameters
[global]
coding system = 
client code page = 850
code page directory = /etc/codepages
workgroup = GPI
netbios name = GEOLOGIE2
netbios aliases = gpiserver
netbios scope = 
server string = Samba 2.2.4
interfaces = 
bind interfaces only = No
security = USER
encrypt passwords = Yes
update encrypted = No
allow trusted domains = Yes
hosts equiv = 
min passwd length = 5
map to guest = Never
null passwords = No
obey pam restrictions = No
password server = 
smb passwd file = /etc/samba/smbpasswd
root directory = 
pam password change = No
passwd program = /bin/passwd
passwd chat = *new*password* %n\n *new*password* %n\n *changed*
passwd chat debug = No
username map = 
password level = 0
username level = 0
unix password sync = Yes
restrict anonymous = No
lanman auth = Yes
use rhosts = No
admin log = No
log level = 0
syslog = 1
syslog only = No
log file = 
max log size = 5000
timestamp logs = Yes
debug hires timestamp = No
debug pid = No
debug uid = No
protocol = NT1
large readwrite = No
max protocol = NT1
min protocol = CORE
read bmpx = No
read raw = Yes
write raw = Yes
nt smb support = Yes
nt pipe support = Yes
nt status support = Yes
announce version = 4.5
announce as = NT
max mux = 50
max xmit = 65535
name resolve order = wins bcast host lmhosts
max packet = 65535
max ttl = 259200
max wins ttl = 518400
min wins ttl = 21600
time server = No
unix extensions = No
change notify timeout = 60
deadtime = 0
getwd cache = Yes
keepalive = 300
lpq cache time = 10
max smbd processes = 0
max disk size = 0
max open files = 1
read size = 16384
socket options = TCP_NODELAY
stat cache size = 50
use mmap = Yes
total print jobs = 0
load printers = Yes
printcap name = /etc/printcap
disable spoolss = No
enumports command = 
addprinter command = 
deleteprinter command = 
show add printer wizard = Yes
os2 driver map = 
strip dot = No
character set = 
mangled stack = 50
stat cache = Yes
domain admin group = root
domain guest group = 
machine password timeout = 604800
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
delete user script = 
logon script = 
logon path = \\%N\%U\profile
logon drive = 
logon home = \\%N\%U
domain logons = Yes
os level = 65
lm announce = Auto
lm interval = 60
preferred master = True
local master = Yes
domain master = True
browse list = Yes
enhanced browsing = No
dns proxy = No
wins proxy = No
wins server = 
wins support = Yes
wins hook = 
kernel oplocks = Yes
lock spin count = 3
lock spin time = 10
oplock break wait time = 0
add share command = 
change share command = 
delete share command = 
config file = 
preload = 
lock dir = /var/cache/samba
pid directory = /var/run/samba
utmp directory = 
wtmp directory = 
utmp = No
default service = 
message command = 
dfree command = 
valid chars = 
remote announce = 
remote browse sync = 
socket address = 0.0.0.0
homedir map = 
time offset = 0
NIS homedir = No
source environment = 
panic action = 
hide local users = No
winbind uid = 
winbind gid = 
template homedir = /home/%D/%U
template shell = /bin/false
winbind separator = \
winbind cache time = 15
winbind enum users 

[Samba] Samba compiled version to rpm package

2002-06-05 Thread LAUTIER Sabrina

Hi !

I'm runing a linux redhat 7.2 box with samba 2.2.4.
I've downloaded the samba source in order to install it with the
needed compilation options (--with-smbwrapper --with-automount
--with-smbmount --with-pam  ...). 
Samba is now up and running but I would like to build an rpm with this
compiled version.

Any idea of how to transform this samba compiled version to a rpm
package ?

Thanks.

Sabrina

-
Powered by Alinto (http://www.alinto.net)
for lavache.com (http://www.lavacheautomatique.com)

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



[Samba] Bericht an Empfänger

2002-06-05 Thread dom-mm2%METTENMEIER

Ereignisinformation:-

Urheber:  [EMAIL PROTECTED]
Empfänger: [EMAIL PROTECTED]
Betreff:  samba digest, Vol 1 #1266 - 21 msgs

WARNUNG:  Die empfangene Datei mime001.txt ist mit dem Virus
Exploit-MIME.gen infiziert. Der Dateianhang konnte nicht erfolgreich
gesäubert werden.


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



[Samba] ALERT - GroupShield ticket number OB1_1023280909_ISIS_1 was generated

2002-06-05 Thread GroupShield for Exchange (ISIS)

Action Taken:
The message was quarantined and replaced with a text informing the recipient
of the action taken.

To:
[EMAIL PROTECTED] <[EMAIL PROTECTED]>

From:
[EMAIL PROTECTED] <[EMAIL PROTECTED]>

Sent:
1545315456,29494414

Subject:
samba digest, Vol 1 #1266 - 21 msgs

Attachment Details:-

Attachment Name: N/A
File: Infected.msg
Infected? Yes
Repaired? No
Blocked? No
Deleted? No
Virus Name: Exploit-MIME.gen





<>

[Samba] Report to Recipient(s)

2002-06-05 Thread NOTES007/Facility/World_Bank%WORLDBANK

Incident Information:-

Originator:[EMAIL PROTECTED]
Recipients:[EMAIL PROTECTED]
Subject:  samba digest, Vol 1 #1266 - 21 msgs

WARNING:  The file mime001.txt you received was infected with the
Exploit-MIME.gen virus.  The file attachment could not successfully be cleaned
and has therefore been removed.  The Sender has been notified that the
attachment(s) could not be delivered.


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



[Samba] Report to Recipient(s)

2002-06-05 Thread WBLN1020/Facility/World_Bank%WORLDBANK

Incident Information:-

Originator:[EMAIL PROTECTED]
Recipients:[EMAIL PROTECTED]
Subject:  samba digest, Vol 1 #1266 - 21 msgs

WARNING:  The file mime001.txt you received was infected with the
Exploit-MIME.gen virus.  The file attachment could not successfully be cleaned
and has therefore been removed.  The Sender has been notified that the
attachment(s) could not be delivered.


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



[Samba] Error in smbd and nmbd log files

2002-06-05 Thread Moss, Patricia
Title: Message



I am seeing the 
following error message in my log.smbd and the log files for the individual 
users accessing shares.  Has anyone seen this message before?  Can 
someone explain what this message means and how to fix it?  Thank 
you.
 
[2002/06/04 
09:43:05, 0] lib/util_sock.c:(497)  write_socket_data: write failure. 
Error = Broken pipe
I am seeing the 
following message in my log.nmbd file.
 
[2002/06/05 
08:35:00, 0] nmbd/nmbd_browsesync.c:(358)  
find_domain_master_name_query_fail:  Unable to find the Domain Master 
Browser name WORKGROUP<1b> for the workgroup WORKGROUP.  Unable 
to sync browse lists in this workgroup.
Any assistance, as 
always, is greatly appreciated.  Thanks.
Pati 
Moss
Unix Systems Administrator
First Consulting Group, 
Inc.
http://www.fcg.com
Phone: (610) 
989-7105
Fax: (610) 989-3207
[EMAIL PROTECTED]
 
 


RE: [Samba] Trust Domains ...

2002-06-05 Thread Gerald Carter

On Tue, 4 Jun 2002, WEBSTER, Greg wrote:

> 
> This may be an impossible question, and I don't mean to be a mean
> taskmaster, but what kind of timeframe are we looking at for a 3.x release?
> Our office is a mongrelmix of Linux, W2k, and NT and while we are definitely
> not going to go to an XP environment, we would like to increase linux usage
> on the backend. Some of the connectivity to W2k that you talk about here
> would go a long way to that.

No exact ETA.  Right now we are looking in the Fall of this year.






cheers, jerry
 -
 Hewlett-Packard http://www.hp.com
 SAMBA Team   http://www.samba.org
 --http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.  ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--


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



[Samba] Weird problem in NMBD

2002-06-05 Thread Joost Lubach

Hi,

I've a got kind of weird problem using nmbd. At least, I think is is weird
because this problem isn't dealt with in any documentation. I got my nmbd up
and running, when I issue the command

'nmblookup -U 10.0.0.1 __SAMBA__'

(my IP is 10.0.0.1/255.0.0.0) I get a correct response:

'querying __SAMBA__ on 10.0.0.1
10.0.0.1 __SAMBA__<00>'

But when I use a broadcast query, it doesn't work:

'nmblookup [-B 10.255.255.255] -d 10 __SAMBA':

'Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
doing parameter workgroup = Korvezee
doing parameter netbios name = KVZ138
handle_netbios_name: set global_myname to: KVZ138
doing parameter server string = kvz138
doing parameter hosts allow = 10.0.0. 127.
doing parameter interfaces = 10.0.0.1/255.0.0.0
doing parameter bind interfaces only = yes
doing parameter log file = /var/log/samba/%m.log
doing parameter max log size = 0
doing parameter security = user
doing parameter encrypt passwords = no
doing parameter smb passwd file = /etc/samba/private/smbpasswd
doing parameter unix password sync = No
doing parameter passwd program = /usr/bin/passwd %u
doing parameter passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
doing parameter pam password change = yes
doing parameter obey pam restrictions = yes
doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
doing parameter dns proxy = no
pm_process() returned Yes
lp_servicenumber: couldn't find homes
added interface ip=10.0.0.1 bcast=10.255.255.255 nmask=255.0.0.0
bind succeeded on port 0
socket option SO_KEEPALIVE = 0
socket option SO_REUSEADDR = 1
socket option SO_BROADCAST = 1
Could not test socket option TCP_NODELAY.
socket option IPTOS_LOWDELAY = 0
socket option IPTOS_THROUGHPUT = 0
socket option SO_SNDBUF = 65535
socket option SO_RCVBUF = 65535
socket option SO_SNDLOWAT = 1
socket option SO_RCVLOWAT = 1
socket option SO_SNDTIMEO = 0
socket option SO_RCVTIMEO = 0
Socket opened.
querying __SAMBA__ on 10.255.255.255
Sending a packet of len 50 to (10.255.255.255) on port 137
Sending a packet of len 50 to (10.255.255.255) on port 137
Sending a packet of len 50 to (10.255.255.255) on port 137
name_query failed to find name __SAMBA__'

As you can see, my interface is properly set  up with netmask 255.0.0.0, I
enabled bind to interfaces only, but when I disable that, I get the same
response.

As a result of this all, I cannot connect to the SMB server using Windows,
because I can't tell windows which IP address to use, it only uses broadcast
queries...

I included the log of nmbd here, (-d 2):

'[root@kvz138 root]# cat /var/log/samba/log.nmbd
[2002/06/05 14:01:57, 0] nmbd/nmbd.c:main(783)
  Netbios nameserver version 2.2.3a started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2002/06/05 14:01:57, 2] nmbd/nmbd.c:main(821)
  Becoming a daemon.
[2002/06/05 14:01:57, 2] lib/interface.c:add_interface(81)
  added interface ip=10.0.0.1 bcast=10.255.255.255 nmask=255.0.0.0
[2002/06/05 14:01:57, 2] nmbd/nmbd_subnetdb.c:make_subnet(193)
  making subnet name:10.0.0.1 Broadcast address:10.255.255.255 Subnet
mask:255.0.0.0
[2002/06/05 14:01:57, 2] nmbd/nmbd_subnetdb.c:make_subnet(193)
  making subnet name:UNICAST_SUBNET Broadcast address:0.0.0.0 Subnet
mask:0.0.0.0
[2002/06/05 14:01:57, 2] nmbd/nmbd_subnetdb.c:make_subnet(193)
  making subnet name:REMOTE_BROADCAST_SUBNET Broadcast address:0.0.0.0
Subnet mask:0.0.0.0'

He's got the bcast right! What could be wrong??

Regards

Joost Lubach





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



Re: [Samba] How are people managing startup/shutdown of winbindd?

2002-06-05 Thread Gerald Carter

On Wed, 5 Jun 2002, Buchan Milne wrote:

> This assumes that people must use samba if they want to use winbind?
> There are applications of winbind (for example, I am putting in a
> linux/winbind mail server to replace Mercury mail running on the win2k
> dc, but have no need for sharing files) where smbd is not needed.

I know, but in the 2.2.4 RedHat packagaing, I wasn't even starting
it at all.

> For an alternative implementation, see packaging/Mandrake/winbind.init
> (in 2.2.2, 2.2.3a or 2.2.4, seems it's disappeared from cvs).

This sounds like a good idea.  Still one package but two init scripts.
I'll make the change today.  Not sure what happened to winbind.init.
Will check the CVS logs

> This starts up and shuts down nmbd with winbindd if smbd is not running.
> 
> (Jerry, it seems this file is in the Attic in current samba_2_2 cvs, any
> good reason? I haven't gotten around to testing packaging of samba cvs
> for Mandrake yet ...):

I'm not touching the Mandrake pacchagng files in out cvs.
I don't feel that I could confidently maintain all
linux packagaing.  And since I've got people like you :-)

> 
> - --
> |Registered Linux User #182071-|
> Buchan MilneMechanical Engineer, Network Manager
> Cellphone * Work+27 82 472 2231 * +27 21 8828820x202
> Stellenbosch Automotive Engineering http://www.cae.co.za
> GPG Key   http://ranger.dnsalias.com/bgmilne.asc
> 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQE8/epBrJK6UGDSBKcRAg3XAJ46td17J39zxtBS05R6AFnV3ddDogCgiToh
> ZVrAgzWM1HsXgAjVXBNC9XU=
> =OlL8
> -END PGP SIGNATURE-
> 
> 
> 

-- 
 -
 Hewlett-Packard http://www.hp.com
 SAMBA Team   http://www.samba.org
 --http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.  ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--


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



Re: [Samba] Request on Samba directories

2002-06-05 Thread Thierry TERRIER

Hi
Use a name share ending with a '$' sign. This is a hide share in windows
(like ipc$ or print$)
Best regard.
Thierry

- Original Message -
From: "Schalk Lubbe" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 05, 2002 11:57 AM
Subject: [Samba] Request on Samba directories


> Hi
>
> I have made a 2 shared directories on my Samba Server, then I have made
> the one read only and the other one access to a spesific user, but now I
> want to hide the one directory so that only that user can see it. How do
> I do that .
>
> Thanks Schalk
>
>
> --
> 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] smbpasswd not found...

2002-06-05 Thread Nicolas Kowalski


Hello.

We are running samba-2.2.2 on a SunOS 5.7 sparc server, as a PDC.

A few minutes ago, users could not log in workstations/servers with
errors like 'Domain not available' during 5-10 minutes...I checked the
log files, and found something really strange :

log.chaillol:  startsmbfilepwent_internal: unable to open file 
/opt/samba-2.2.2/private/smbpasswd. Error was No such file or directory
log.chaillol:[2002/06/05 13:51:01, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1368)
log.chaillol:[2002/06/05 13:51:01, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(171)
log.chaillol:  startsmbfilepwent_internal: unable to open file 
/opt/samba-2.2.2/private/smbpasswd. Error was No such file or directory
log.chaillol:[2002/06/05 13:51:01, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1368)


So Samba was unable to find this smbpasswd file...But it is still
there. It did not change since 3 days. 

Now, everything is running fine, but I wonder what happenned.

Any idea ?

Thanks in advance.

Nicolas.


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



[Samba] Printing to Sambaprinter

2002-06-05 Thread jonny . axelsson



Hello

I have set up a Faxserver on my network, i use Samba and Hylafax.
When a user prints his/her document to the samba printer the printer
runs a script called SambaFax that extracts the faxnumber from the fax
and then sends it to HylaFax.

But i can't get the samba to get the real owner of the document instead
it gets owner lp.

Anyone knows how to handle this to get the real owner.


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



Re: [Samba] general cups & access permissions woes

2002-06-05 Thread Peter Benie

Robin Marlow writes ("[Samba] general cups & access permissions woes"):
> 
> When i try to print a test page from a windows box, I keep getting:
> print_job_start: insufficient permissions to open spool file
> /var/spool/cups/smbprn.18.orbvm1.

I'm experiencing the same problem: jobs are spooled as either 'nobody'
or the authenticated user, and the print command is invoked as either
'nobody' or the authenticated user. When they don't match, printing
fails because the print command can't read the job.

I can't reproduce the problem on demand, but it typically happens
about 5 times a day.

Clients: Windows NT 4 Workstation with Service Pack 6a

Server:  samba-2.2.4-2.i386.rpm (from the samba download site)
 on RedHat Linux 6.2

Peter

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



Re: [Samba] How are people managing startup/shutdown of winbindd?

2002-06-05 Thread Buchan Milne

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

| Message: 22
| Date: Mon, 3 Jun 2002 16:37:58 -0500 (CDT)
| From: Gerald Carter <[EMAIL PROTECTED]>
| To: Manuel Gomez <[EMAIL PROTECTED]>
| Cc: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
| Subject: Re: [Samba] How are people managing startup/shutdown of winbindd?
|
| On Mon, 3 Jun 2002, Manuel Gomez wrote:

|> I realize many people will never use winbindd, and thus it will
likely not
|> get included in /etc/init.d/samba (on my Debian system; your file may
vary)
|> by default, so another solution seems in order.
|>
|> It's not as important to be able to start and stop winbindd now that it's
|> getting more robust, but I'd still like something.
|>
|> How are y'all out there in Samba land handling this?
|
|
| See packaging/RedHat/smb.init in the latest SAMBA_2_2 cvs tree.

This assumes that people must use samba if they want to use winbind?
There are applications of winbind (for example, I am putting in a
linux/winbind mail server to replace Mercury mail running on the win2k
dc, but have no need for sharing files) where smbd is not needed.

For an alternative implementation, see packaging/Mandrake/winbind.init
(in 2.2.2, 2.2.3a or 2.2.4, seems it's disappeared from cvs).

This starts up and shuts down nmbd with winbindd if smbd is not running.

(Jerry, it seems this file is in the Attic in current samba_2_2 cvs, any
good reason? I haven't gotten around to testing packaging of samba cvs
for Mandrake yet ...):
http://cvs.samba.org/cgi-bin/cvsweb/samba/packaging/Mandrake/Attic/winbind.init?rev=1.1.4.1&content-type=text/x-cvsweb-markup&only_with_tag=release-2-2-4

- --
|Registered Linux User #182071-|
Buchan MilneMechanical Engineer, Network Manager
Cellphone * Work+27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE8/epBrJK6UGDSBKcRAg3XAJ46td17J39zxtBS05R6AFnV3ddDogCgiToh
ZVrAgzWM1HsXgAjVXBNC9XU=
=OlL8
-END PGP SIGNATURE-


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



[Samba] winbind: NT_STATUS_INVALID_PARAMETER

2002-06-05 Thread LAUTIER Sabrina

Hi,

I'm running a linux RedHat 7.2 box with samba 2.2.4.
I want to use winbind for authentification.
The samba server is a member server in a W2K domain. 
I followed the steps in the winbind help which comes with the samba
distribution (http://localhost:901/swat/help/winbind.html). 
Joining the domain was successfull:
$ smbpasswd -j DOMAIN -r PDC -U toto
| INFO: Debug class all level = 100   (pid 3643 from pid 3643)
| Password:
| Joined domain DOMAIN.

and wbinfo -t returnes secret is good:
$ wbinfo -t
| Secret is good

wbinfo -u and wbinfo -g shows the domain users and groups.
getent passwd and getent group show both local and win2k unix users
and
groups.

When I try to log into the linux samba box  with a valid win2k account
I get the following error in log file /var/log/messages:
| Jun  5 11:36:34 lima pam_winbind[15139]: request failed, PAM error
was 4, NT error was
| NT_STATUS_INVALID_PARAMETER
| Jun  5 11:36:34 lima pam_winbind[15139]: internal module error
(retval = 4, user =
| `toto'
| Jun  5 11:36:34 lima login(pam_unix)[15139]: check pass; user
unknown
| Jun  5 11:36:34 lima login(pam_unix)[15139]: authentication failure;
logname=LOGIN
| uid=0 euid=0 tty=tty1 ruser= rhost=
| Jun  5 11:36:40 lima login(pam_unix)[15139]: check pass; user
unknown
| Jun  5 11:36:42 lima login[15139]: FAILED LOGIN 1 FROM (null) FOR
toto,
| Authentication failure

$ wbinfo -a stoto%passworrd
| plaintext password authentication failed
| error code was NT_STATUS_INVALID_PARAMETER (0xc00d)
| Could not authenticate user toto%password with plaintext password
| challenge/response password authentication succeeded
| error code was NT_STATUS_OK (0x0)

$ tail -f log.winbind
| [2002/06/05 12:12:56, 2]
nsswitch/winbindd_pam.c:winbindd_pam_auth(118)
|   Plain-text authenticaion for user toto returned
NT_STATUS_INVALID_PARAMETER | (PAM: 4)

My smb.conf file contains the following lines:
-
[global]
workgroup = DOMAIN
netbios name = LIMA
server string = Linux with Samba (%v) on %L
wins server = x.x.x.x
security = domain
password server = PDC
message command = csh -c 'xedit %s; rm %s' &
# password
encrypt passwords = Yes
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *new*password* %n\n *new*password* %n\n
*success*
passwd chat debug = Yes
# users
invalid users = root bin daemon adm sync shutdown \
halt mail news uucp operator gother
#
# winbind
#
# separate domain and username with '+', like DOMAIN+username
winbind separator = +
# use uids from 1 to 2 for domain users
winbind uid = 1-2
# use gids from 1 to 2 for domain groups
winbind gid = 1-2
# allow enumeration of winbind users and groups
winbind enum users = yes
winbind enum groups = yes
# give winbind users a real shell (only needed if they have
telnet access)
template homedir = /home/win2k/%D/%U
template shell = /bin/bash
#
# log config
#
log level = 2
log file = /var/log/samba.log
-

As you can see, the 'encrypt passwords' option is set to yes.

Here is the /etc/pam.d/login file content:
-
#%PAM-1.0
auth   required /lib/security/pam_securetty.so
auth   sufficient   /lib/security/pam_winbind.so
auth   sufficient   /lib/security/pam_unix.so use_first_pass
auth   required /lib/security/pam_stack.so service=system-auth
auth   required /lib/security/pam_nologin.so
accountsufficient   /lib/security/pam_winbind.so
accountrequired /lib/security/pam_stack.so service=system-auth
password   required /lib/security/pam_stack.so service=system-auth
sessionrequired /lib/security/pam_stack.so service=system-auth
sessionoptional /lib/security/pam_console.so
-

I've compiled samba with the following options:
--with-smbwrapper --with-automount  --with-smbmount
--with-pam --with-pam_smbpass --with-ssl --with-quotas
--with-acl-support --with-ldapsam --with-syslog

Any idea about how to solve this issue ?

Any help would be greatly appreciated.

Thanks.

Sabrina
IT engineer
France

-
Powered by Alinto (http://www.alinto.net)
for lavache.com (http://www.lavacheautomatique.com)

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



[Samba] Request on Samba directories

2002-06-05 Thread Schalk Lubbe

Hi

I have made a 2 shared directories on my Samba Server, then I have made 
the one read only and the other one access to a spesific user, but now I 
want to hide the one directory so that only that user can see it. How do 
I do that .

Thanks Schalk


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



[Samba] R

2002-06-05 Thread Schalk Lubbe

confirm 955564



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



[Samba] Samba and Win98

2002-06-05 Thread pshook

I am trying to get samba to work with win98se. I have my smb.conf
configured correctly (or so I've been told by two people who have it
working for them) I am having the apparently common problem of linux not
accepting my password due to win98 using encrypted passwords and Linux
not using them. I have encypted passwords = yes in my smb.conf. I have
altered my registry to use plain text passwords and it still doesn't
work. Any suggestions??

I am running Redhat 7.3
My Samba version is:  2.2.3a-6

Please help.

Thanks,

Parrish


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



Fwd: Re: [Samba] Setting up share permission

2002-06-05 Thread Thomas Bork

Hi Fahmi,

Fahmi Mohamed <[EMAIL PROTECTED]> schrieb am 05.06.02:

> I would like to create a share that has read access
> for groupA, read/write access for groupB.  No access
> to anyone else.

how about

valid users = @groupA, @groupB
writeable = no
write list = @groupB

der tom
[fli4l-team]
http://www.fli4l.de
http://www.eisfair.org
__
All inclusive! 100 MB Speicher, SMS 50% günstiger, 32 MB Attachment-Größe, 
Preisvorteile und mehr unter http://club.web.de/?mc=021104


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



[Samba] smbmount

2002-06-05 Thread Wenglewski

I'm using smbmount to mount an NTFS file system to a mountpoint on a linux
server.
the problem is, that i will get the following messages in /var/log/messages:

Jun  5 10:30:00 tux1 kernel: smb_retry: signal failed, error=-3
Jun  5 10:30:00 tux1 last message repeated 2 times

the mountpoint is disapearing and the mount directory to. if i try a umount
and mount again the problem is fixed. is there any bugfix avialable?


Uwe Wenglewski


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



[Samba] homedir %G with windbind

2002-06-05 Thread Le Borgne

I am using samba 2.2.4-1 on a redhat 7.3.
security = domain
password server is a w2k server
winbind is 'almost ok' with :
winbind use default domain = true
No problem with login toto
No problem with "getent passwd"

"groups toto" gives group1 group2 ---> OK (it corresponds to the groups on the win2k 
server)

I want toto's homedir to be /users/group1/toto

I tried template homedir = /users/%G/%U

getent passwd gives : toto:x:10024:1:toto:/users/%G/toto:/bin/tcsh

Any idea ? Thank you

- Mme Dominique Le Borgne
- Dept Informatique - IUT 
- Avenue Gaston Berger - 13625 Aix-en-Provence cedex 1
- tel : (33) 04 42 93 90 42   fax : (33) 04 42 93 90 74

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



[Samba] need help

2002-06-05 Thread ricky



Dear team,
 
I have configured our linux samba server as member 
of NT domain
For your info our Linux OS is using redhat 
6.2
 
All thing is OK but sometime I got the problem if 
we check from network neighbourhood, I didn't find our samba server
but if I check with find computer , I can find this 
samba server
 
If I check from /var/log/messages I got 
message:
smb_trans2_request: result=-32, setting invalid 

smb_retry: new pid=19518, 
generation=22
 
this message appear every day once until three 
times
 
My question : where is the problem coming from , if 
we cannot browse this samba server from network neighbourhood?
 
Is there any problem or correlation with the log that I mention 
above?
 
thanks 
 
 
Best Regards
 
 
 
Ricky


[Samba] 2K/ME/XP Connectivity more info

2002-06-05 Thread Shane Bearham

Further to this I was able finally test with Win98se with the same results
though watching the clock this time shows that there was no timeout errors
not at least within a 10minute period!!!

Since the site has decided against using XP I decide to roll-back to
2.2.0a which is the default for Slackware 8.0

Now all PC's can access the server again was problems

As a side note this isn't the first time I've installed from sources
the last was a update from 2.2.0a to 2.2.3a to resolv the
printer driver install bug that existed with Win2k(I think)

To date I've had no major problems since kernel 1.2.8!!!




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



  1   2   >