Re: [Samba] Trouble with banking software on Samba share

2002-05-09 Thread Jeremy Allison

On Thu, May 09, 2002 at 11:15:32AM -0600, Mike Babnick wrote:
 
 Jeremy,
 I've taken a Windows client and my person Linux box off of a Cisco switch 
 and put them on a hub so my Linux box can see all the packets between the 
 Windows client and server.  You'll have your packet captures shortly.

Thanks. Actually, your bug report was very good and it got me thinking
For the open of binary.exe/2 we were mapping the UNIX error code ENOTDIR
to the NT status code NT_STATUS_NOT_A_DIRECTORY which seemed reasonable.

However, I just did some experiments between W2k to W2K (thank goodness
for VMware :-) and found that the error code that NT returns is 
NT_STATUS_OBJECT_PATH_NOT_FOUND.

If you could apply the following patch and recompile smbd, then rerun
your test with nt status codes turned on I hope (fingers crossed) that
this *may* fit it 

--cut here
Index: lib/error.c
===
RCS file: /data/cvs/samba/source/lib/error.c,v
retrieving revision 1.2.2.3
diff -u -r1.2.2.3 error.c
--- lib/error.c 2002/02/05 02:36:45 1.2.2.3
+++ lib/error.c 2002/05/09 17:28:29
 -27,7 +27,7 
{ EPERM, ERRDOS, ERRnoaccess, NT_STATUS_ACCESS_DENIED },
{ EACCES, ERRDOS, ERRnoaccess, NT_STATUS_ACCESS_DENIED },
{ ENOENT, ERRDOS, ERRbadfile, NT_STATUS_NO_SUCH_FILE },
-   { ENOTDIR, ERRDOS, ERRbadpath, NT_STATUS_NOT_A_DIRECTORY },
+   { ENOTDIR, ERRDOS, ERRbadpath,  NT_STATUS_OBJECT_PATH_NOT_FOUND },
{ EIO, ERRHRD, ERRgeneral, NT_STATUS_IO_DEVICE_ERROR },
{ EBADF, ERRSRV, ERRsrverror, NT_STATUS_INVALID_HANDLE },
{ EINVAL, ERRSRV, ERRsrverror, NT_STATUS_INVALID_HANDLE },
-end cut--

Thanks,

Jeremy.

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



Re: [Samba] Windows 2000 and Samba

2002-05-09 Thread Sam Barasch

Can the w2k pro machines see the AIX box in my network places?

are you trying to do this across subnets?

Is there an error message you can share?

At 11:04 AM 5/9/2002 -0600, Paul Harlow wrote:
I have a Samba server running on an AIX 4.4.3 RS6000 that has been serving
up files without problem. Recently, a pair of machines, both Windows 2000
Pro, haven't been able to gain access to any of the Samba resources on the
AIX server though they were both able to previously. Other WinNT and Win2k
machines can get to these shared resources fine, just not these two.
I haven't found anything yet to give a reason why or support a fix for this.
Does anyone have any suggestions or paths to lead me down?

Paul Harlow CCNA, MCP
System and Network Administrator
SKLD Information Services LLC
720 S. Colorado Blvd. Suite 1000N
Denver, CO   80246
(303) 820-0861
(720) 313-6125 cell
[EMAIL PROTECTED]


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


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



[Samba] winbind and 2.2.4 and redhat 7.2 Please Help Anyone.

2002-05-09 Thread Ted Hazlewood

Hi
I need some help and am hoping you may be able to help me

I have tried to install the latest 2.2.4 of samba with winbind and I am not
geting anywere.
This is what I have done

I have installed Red Hat 7.2 cleanly on a system
I have used RPM to remove all versions of samba that is installed
Downloaded samba 2.2.4
extracted it 
then ran sh makerpms.sh
created the smb.conf file with the following entries

# Global parameters
[global]
workgroup = PCS
server string = Linux File Server
security = DOMAIN
encrypt passwords = Yes
update encrypted = Yes
password server = *
wins server = 10.1.3.1
winbind uid = 1-2
winbind gid = 1-2
template homedir = /localhome/%D/%U
template shell = /bin/bash

Added the machine to the domian with no errors using
smbpasswd -j pcs -r pcs001n

I restart samba with winbind

I try to run wbinfo -u and I get this error
Error looking up domain users

When I run the winbindd with -d 10 this is what I get

[2002/05/09 09:30:14, 1] nsswitch/winbindd.c:main(755)
  winbindd version 2.2.4 started.
  Copyright The Samba Team 2000-2001
[2002/05/09 09:30:14, 3] param/loadparm.c:init_globals(1252)
  Initialising global parameters
[2002/05/09 09:30:14, 3] param/params.c:pm_process(577)
  params.c:pm_process() - Processing configuration file
/etc/samba/smb.conf
[2002/05/09 09:30:14, 3] param/loadparm.c:do_section(3006)
  Processing section [global]
  doing parameter workgroup = PCS
  doing parameter server string = Linux File Server
  doing parameter security = DOMAIN
  doing parameter encrypt passwords = Yes
  doing parameter update encrypted = Yes
  doing parameter password server = *
  doing parameter wins server = 10.1.3.1
[2002/05/09 09:30:14, 4] lib/wins_srv.c:wins_srv_load_list(139)
  wins_srv_load_list(): Building WINS server list:
  10.1.3.1,
  1 WINS server listed.
  doing parameter winbind uid = 1-2
  doing parameter winbind gid = 1-2
  doing parameter template homedir = /localhome/%D/%U
  doing parameter template shell = /bin/bash
[2002/05/09 09:30:14, 2] param/loadparm.c:do_section(3024)
  Processing section [printers]
  doing parameter comment = All Printers
  doing parameter path = /var/spool/samba
  doing parameter printable = Yes
  doing parameter browseable = No
[2002/05/09 09:30:14, 2] param/loadparm.c:do_section(3024)
  Processing section [root]
  doing parameter path = /
  doing parameter read only = No
[2002/05/09 09:30:14, 4] param/loadparm.c:lp_load(3454)
  pm_process() returned Yes
[2002/05/09 09:30:14, 7] param/loadparm.c:lp_servicenumber(3563)
  lp_servicenumber: couldn't find homes
[2002/05/09 09:30:14, 3] param/loadparm.c:lp_add_ipc(1995)
  adding IPC service IPC$
[2002/05/09 09:30:14, 3] param/loadparm.c:lp_add_ipc(1995)
  adding IPC service ADMIN$
[2002/05/09 09:30:14, 10] param/loadparm.c:set_server_role(3400)
  set_server_role: ROLE_DOMAIN_MEMBER
[2002/05/09 09:30:14, 2] lib/interface.c:add_interface(81)
  added interface ip=10.1.30.53 bcast=10.1.255.255 nmask=255.255.0.0
[2002/05/09 09:30:14, 8] lib/util.c:fcntl_lock(1302)
  fcntl_lock 4 13 0 1 1
[2002/05/09 09:30:14, 8] lib/util.c:fcntl_lock(1340)
  fcntl_lock: Lock call successful
[2002/05/09 09:30:14, 6] lib/charset.c:codepage_initialise(336)
  codepage_initialise: client code page = 850
[2002/05/09 09:30:14, 5] lib/charset.c:load_client_codepage(194)
  load_client_codepage: loading codepage 850.
  Adding chars 0x85 0xb7 (l-u = True) (u-l = True)
  Adding chars 0xa0 0xb5 (l-u = True) (u-l = True)
  Adding chars 0x83 0xb6 (l-u = True) (u-l = True)
  Adding chars 0xc6 0xc7 (l-u = True) (u-l = True)
  Adding chars 0x84 0x8e (l-u = True) (u-l = True)
  Adding chars 0x86 0x8f (l-u = True) (u-l = True)
  Adding chars 0x91 0x92 (l-u = True) (u-l = True)
  Adding chars 0x87 0x80 (l-u = True) (u-l = True)
  Adding chars 0x8a 0xd4 (l-u = True) (u-l = True)
  Adding chars 0x82 0x90 (l-u = True) (u-l = True)
  Adding chars 0x88 0xd2 (l-u = True) (u-l = True)
  Adding chars 0x89 0xd3 (l-u = True) (u-l = True)
  Adding chars 0x8d 0xde (l-u = True) (u-l = True)
  Adding chars 0xa1 0xd6 (l-u = True) (u-l = True)
  Adding chars 0x8c 0xd7 (l-u = True) (u-l = True)
  Adding chars 0x8b 0xd8 (l-u = True) (u-l = True)
  Adding chars 0xd0 0xd1 (l-u = True) (u-l = True)
  Adding chars 0xa4 0xa5 (l-u = True) (u-l = True)
  Adding chars 0x95 0xe3 (l-u = True) (u-l = True)
  Adding chars 0xa2 0xe0 (l-u = True) (u-l = True)
  Adding chars 0x93 0xe2 (l-u = True) (u-l = True)
  Adding chars 0xe4 0xe5 (l-u = True) (u-l = True)
  Adding chars 0x94 0x99 (l-u = True) (u-l = True)
  Adding chars 0x9b 0x9d (l-u = True) (u-l = True)
  Adding chars 0x97 0xeb (l-u = True) (u-l = True)
  Adding chars 0xa3 0xe9 (l-u = True) (u-l = True)
  Adding chars 0x96 0xea (l-u = True) (u-l = True)
  Adding chars 0x81 0x9a (l-u = True) (u-l = True)
  Adding chars 0xec 0xed (l-u = True) (u-l = True)
  Adding chars 0xe7 0xe8 (l-u = True) (u-l = 

RE: [Samba] Windows 2000 and Samba

2002-05-09 Thread Paul Harlow

Windows cannot find '\\server1'. Check Spelling...
and
The semaphore timeout has expired...
The semaphore error comes up about a tenth of the time that the other one
does.

This server can be resolved without problems using both WINS and DNS. We're
not reaching across a subnet here, all machines affected are on the same
subnet. All machines, Win2k and WinNT4 can see this server in Network
Neighborhood/Places fine as well. It's just that when you click on them or
type their names in the address field they're not accessible with the given
messages returned as errors.
If already tried removing and reinstalling Windows Networking from these
machines to no avail.

Paul

-Original Message-
From: Sam Barasch [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 09, 2002 11:45 AM
To: Paul Harlow; Samba List (E-mail)
Subject: Re: [Samba] Windows 2000 and Samba


Can the w2k pro machines see the AIX box in my network places?

are you trying to do this across subnets?

Is there an error message you can share?

At 11:04 AM 5/9/2002 -0600, Paul Harlow wrote:
I have a Samba server running on an AIX 4.4.3 RS6000 that has been serving
up files without problem. Recently, a pair of machines, both Windows 2000
Pro, haven't been able to gain access to any of the Samba resources on the
AIX server though they were both able to previously. Other WinNT and Win2k
machines can get to these shared resources fine, just not these two.
I haven't found anything yet to give a reason why or support a fix for
this.
Does anyone have any suggestions or paths to lead me down?

Paul Harlow CCNA, MCP
System and Network Administrator
SKLD Information Services LLC
720 S. Colorado Blvd. Suite 1000N
Denver, CO   80246
(303) 820-0861
(720) 313-6125 cell
[EMAIL PROTECTED]


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

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



[Samba] Latest version of Samba

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



I just installed Samba 
version 2.2.4 on a Solaris 8 server. The smbddaemon will not 
start. This is what I see in the log.smbd:
[2002/05/09 13:45:42, 0] 
smbd/server.c:(707) smbd version 2.2.4 started. Copyright 
Andrew Tridgell and the Samba Team 1992-2002[2002/05/09 13:45:42, 0] 
passdb/secrets.c:(43) Failed to open 
/usr/local/samba/private/secrets.tdb[2002/05/09 13:45:42, 0] 
passdb/machine_sid.c:(163) pdb_generate_sam_sid: Failed to store 
generated machine SID.[2002/05/09 13:45:42, 0] smbd/server.c:(793) 
ERROR: Samba cannot create a SAM SID.

The nmbd daemon starts 
without a problem.


Pati 
Moss
Unix Systems Administrator
First Consulting Group, 
Inc.
http://www.fcg.com
Phone: (610) 
989-7105
Fax: (610) 989-3207
[EMAIL PROTECTED]




[Samba] gdm and winbind logins

2002-05-09 Thread David Brodbeck

Has anyone successfully gotten gdm to authenticate using pam_winbind.so?  I
can get text logins to work, but gdm doesn't.  I get the following error in
/var/log/messages:

May 9 15:08:02 brodbeck gdm(pam_unix)[30583]: could not identify user (from
getpwnam(INTERCLEAN+davidb))
May 9 15:08:02 brodbeck gdm[30583]: Couldn't set acct. mgmt for
INTERCLEAN+davidb

/etc/pam.d/gdm is as follows:

authsufficient  /lib/security/pam_winbind.so
authrequired/lib/security/pam_stack.so
service=system-auth
authrequired/lib/security/pam_nologin.so
account sufficient  /lib/security/pam_winbind.so
account required/lib/security/pam_stack.so service=system-auth
passwordrequired/lib/security/pam_stack.so
service=system-auth
session required/lib/security/pam_stack.so service=system-auth
session optional/lib/security/pam_console.so

/etc/pam.d/system-auth is as follows:

authrequired/lib/security/pam_env.so
authsufficient  /lib/security/pam_unix.so use_first_pass
likeauth nullok
authrequired/lib/security/pam_deny.so
account sufficient  /lib/security/pam_unix.so
passwordrequired/lib/security/pam_cracklib.so retry=3 type=
passwordrequired/lib/security/pam_deny.so
session required/lib/security/pam_limits.so
session required/lib/security/pam_unix.so

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



RE: [Samba] Windows 2000 and Samba

2002-05-09 Thread Sam Barasch

It sounds like you're having a windows networking error - do you have both 
faulty w2k machines and the samba server pointing at the WINS server?  Or 
better yet, is your samba server configured as a WINS server?

If it's a windows networking error, try renaming %system 
root%\system32\drivers\etc\lmhosts.sam to %system 
root%\system32\drivers\etc\lmhosts  (i.e. remove the .sam file 
suffix)  read the comments in the lmhosts file and edit the lmhosts file as 
appropriate for your network

Finally, check your DNS setup on the two faulty w2k machines, w2k relies on 
DNS a lot more for netbios name resolution.  From the w2k command prompt, 
do a nslookup  server name and see how long that takes - if that's not 
working you may need to tweak your DNS settings on those two w2k machines.

I'm curious as to what's going on, so keep us posted.

---
Sam Barasch
Computer Systems Support
Department of Biostatistics
University of Wisconsin Madison

At 12:18 PM 5/9/2002 -0600, Paul Harlow wrote:
Windows cannot find '\\server1'. Check Spelling...
and
The semaphore timeout has expired...
The semaphore error comes up about a tenth of the time that the other one
does.

This server can be resolved without problems using both WINS and DNS. We're
not reaching across a subnet here, all machines affected are on the same
subnet. All machines, Win2k and WinNT4 can see this server in Network
Neighborhood/Places fine as well. It's just that when you click on them or
type their names in the address field they're not accessible with the given
messages returned as errors.
If already tried removing and reinstalling Windows Networking from these
machines to no avail.

Paul

-Original Message-
From: Sam Barasch [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 09, 2002 11:45 AM
To: Paul Harlow; Samba List (E-mail)
Subject: Re: [Samba] Windows 2000 and Samba


Can the w2k pro machines see the AIX box in my network places?

are you trying to do this across subnets?

Is there an error message you can share?

At 11:04 AM 5/9/2002 -0600, Paul Harlow wrote:
 I have a Samba server running on an AIX 4.4.3 RS6000 that has been serving
 up files without problem. Recently, a pair of machines, both Windows 2000
 Pro, haven't been able to gain access to any of the Samba resources on the
 AIX server though they were both able to previously. Other WinNT and Win2k
 machines can get to these shared resources fine, just not these two.
 I haven't found anything yet to give a reason why or support a fix for
this.
 Does anyone have any suggestions or paths to lead me down?
 
 Paul Harlow CCNA, MCP
 System and Network Administrator
 SKLD Information Services LLC
 720 S. Colorado Blvd. Suite 1000N
 Denver, CO   80246
 (303) 820-0861
 (720) 313-6125 cell
 [EMAIL PROTECTED]
 
 
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba

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


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



Re: [Samba] Windows 2000 and Samba

2002-05-09 Thread Szilard

Windows networking can produce interesting errors.
One of them is the following:
if a directory on the samba server was mapped on the w2k machine
and the map is broken (red X on the map in My Computer)
then you have to unmap it first to be able to log in.
Until you dont unmap it, it can produce all kind of errors.
Szilard


| At 12:18 PM 5/9/2002 -0600, Paul Harlow wrote:
| Windows cannot find '\\server1'. Check Spelling...
| and
| The semaphore timeout has expired...
| The semaphore error comes up about a tenth of the time that the other one
| does.
| 
| This server can be resolved without problems using both WINS and DNS.
We're
| not reaching across a subnet here, all machines affected are on the same
| subnet. All machines, Win2k and WinNT4 can see this server in Network
| Neighborhood/Places fine as well. It's just that when you click on them
or
| type their names in the address field they're not accessible with the
given
| messages returned as errors.
| If already tried removing and reinstalling Windows Networking from these
| machines to no avail.
| 
| Paul
| 
| -Original Message-
| From: Sam Barasch [mailto:[EMAIL PROTECTED]]
| Sent: Thursday, May 09, 2002 11:45 AM
| To: Paul Harlow; Samba List (E-mail)
| Subject: Re: [Samba] Windows 2000 and Samba
| 
| 
| Can the w2k pro machines see the AIX box in my network places?
| 
| are you trying to do this across subnets?
| 
| Is there an error message you can share?
| 
| At 11:04 AM 5/9/2002 -0600, Paul Harlow wrote:
|  I have a Samba server running on an AIX 4.4.3 RS6000 that has been
serving
|  up files without problem. Recently, a pair of machines, both Windows
2000
|  Pro, haven't been able to gain access to any of the Samba resources on
the
|  AIX server though they were both able to previously. Other WinNT and
Win2k
|  machines can get to these shared resources fine, just not these two.
|  I haven't found anything yet to give a reason why or support a fix for
| this.
|  Does anyone have any suggestions or paths to lead me down?
|  
|  Paul Harlow CCNA, MCP
|  System and Network Administrator
|  SKLD Information Services LLC
|  720 S. Colorado Blvd. Suite 1000N
|  Denver, CO   80246
|  (303) 820-0861
|  (720) 313-6125 cell
|  [EMAIL PROTECTED]
|  
|  
|  --
|  To unsubscribe from this list go to the following URL and read the
|  instructions:  http://lists.samba.org/mailman/listinfo/samba
| 
| --
| To unsubscribe from this list go to the following URL and read the
| instructions:  http://lists.samba.org/mailman/listinfo/samba
|
|
| --
| 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] Trouble with banking software on Samba share

2002-05-09 Thread Mike Babnick

I sent those captures to you from my email at work.  Did you get them?

Mike

At 10:01 AM 5/9/02 -0700, Jeremy Allison wrote:
On Thu, May 09, 2002 at 10:52:15AM -0600, Mike Babnick wrote:

  OH MY GOD!!!  I can't believe it was that easy!
 
  I added the global spec nt status support = no and the software runs
  great.  You have saved my sanity  What a profound pleasure it will be
  to remove the last of the Windows servers at our branch offices.  I can't
  wait to start in on my big Compaq rack of NT boxes at the main office next.
 
  Besides doing Microsoft style networking better than Microsoft, you Samba
  folks are kind enough to offer your expert help.  I can't thank you enough.

No problem. But I could really do with those network traces as we
really need to fix this. Turning off nt status codes will fix this
one bug for you but we need to use them moving forward to match Win2k
in the future.

If you could get me the traces I'd really appreciate it !

Thanks,

 Jeremy.


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



Re: [Samba] Which filesystem supports ACL?

2002-05-09 Thread Stegbauer Thomas

Jean-Rene Cormier schrieb:

Which filesystem supports ACL? Ext2/ext3 with the acl.bestbits.at patch,
XFS and what other? Does 2.4.18 supports XFS or do you need a patch for
it? What about ACL on XFS? Do you need a patch? Is there any filesystem
that supports ACL, that the kernel supports without patches? Any place I
can find a comparison of different filesystems with advantage and
disadvantage of each? The Filesystems HOWTO seems outdated...

Jean-Rene Cormier


hi,

until now only ext2/ext3 (with andreas gruenbacher's patch) and xfs 
(includes parts from andreas patch) support acl (on linux)

you need for both features patches (the acl patch for ext2/3 filesystem) 
or the xfs patch for 2.4.18 which includes acl support.

greetings
thomas



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



[Samba] adding a printer to samba via cupsaddsmb

2002-05-09 Thread Sean Trammell

I'm trying to add a printer to Samba 2.2.4, using the cupsaddsmb tool
provided with CUPS.  cupsaddsmb basically invokes samba's rpcclient
program.. The driver part installs fine using cupsaddsmb, but addprinter
always fails for some reason.  This is what cupsaddsmb returns, does
anybody have any idea as to what is wrong??  If I invoke rpcclient
manually with a debug level of 10, it goes for a while and eventually
dies with WERR_ACCESS_DENIED, although the user I ran it as is a printer
admin in smb.conf.

$ cupsaddsmb -U DOMAIN+strammell -v copyroom

Running command: rpcclient localhost -N -U'DOMAIN+strammell%snip' \
-c 'addprinter copyroom copyroom copyroom '
INFO: Debug class all level = 1   (pid 8928 from pid 8928)
cmd = addprinter copyroom copyroom copyroom 
result was NT_STATUS_UNSUCCESSFUL

parts of smb.conf:
==
printing = cups
printcap name = /etc/printcap
printer admin = strammell DOMAIN+strammell

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



[Samba] Re: Samba wins eWeek and PC Magazine Innovation in Infrastructure (i3) award for best Enterprise Software !

2002-05-09 Thread Luke Kenneth Casson Leighton

On Wed, May 08, 2002 at 01:22:10PM -0700, Jeremy Allison wrote:

   I was in Las Vegas yesterday accepting an award from eWeek and
 PC Magazine on behalf of Samba for the Innovation in Infrastructure Award
 in the Enterprise Software catagory !

 Thanks to *everyone* who made this possible, 

 no problem.

 we'll be posting more
 about it on the samba.org web site soon.
 
 so you'll be putting some of the money that is earned from
 such recognition and increased reputation of samba my way,
 then, yes, to fund TNG development, yes, without which such
 an award would not have been possible at this time, yes?

 great!

 l.

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



Re: [Samba] Re: Samba wins eWeek and PC Magazine Innovation in Infrastructure (i3) award for best Enterprise Software !

2002-05-09 Thread Jeremy Allison

On Thu, May 09, 2002 at 09:04:35PM +, Luke Kenneth Casson Leighton wrote:
  
  so you'll be putting some of the money that is earned from
  such recognition and increased reputation of samba my way,
  then, yes, to fund TNG development, yes, without which such
  an award would not have been possible at this time, yes?

Stop being silly !

It wasn't worth any money. I had to pay my own way to Vegas
and back to even *be* there.

If you want to share in the award you owe me for part of the
airfare :-) :-).

Jeremy.

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



RE: [Samba] Windows 2000 and Samba

2002-05-09 Thread Adam Manock

Do the two problem machines have NetBEUI or IPX installed and set as the 
primary protocol?

Other WinNT and Win2k
machines can get to these shared resources fine, just not these two.

Adam


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



Re: [Samba] Re: Samba wins eWeek and PC Magazine Innovation in Infrastructure (i3) award for best Enterprise Software !

2002-05-09 Thread Luke Kenneth Casson Leighton

On Thu, May 09, 2002 at 02:14:58PM -0700, Jeremy Allison wrote:
 On Thu, May 09, 2002 at 09:04:35PM +, Luke Kenneth Casson Leighton wrote:
   
   so you'll be putting some of the money that is earned from
   such recognition and increased reputation of samba my way,
   then, yes, to fund TNG development, yes, without which such
   an award would not have been possible at this time, yes?
 
 Stop being silly !
 
 mmm...


 It wasn't worth any money. 

 ??

 I had to pay my own way to Vegas
 and back to even *be* there.
 
  i'd love to be able to say that dcerpc.net is going so
  well that its projects are getting awards and that it's
  attracting enough interest such that its developers can
  pay their own way to collect awards.

  i have a talk to give on the 29th.  i would love to be
  able to say that dcerpc.net won an award.

  
 If you want to share in the award you owe me for part of the
 airfare :-) :-).

 sly :)  only if i can be ... could have been ... there...

 l.

-- 
--
this message is private, confidential, and is intented for
the specified recipients only.  if you received in error,
altered, deleted, modified, destroyed or interfered with
the contents of this message, in whole or in part, please
inform the sender (that's me), immediately.

if you, the recipient, reply to this message, and do not
then receive a response, please consider your reply to have
been lost or deliberately destroyed: i *always* acknowledge
personal email received.  please therefore take appropriate
action and use appropriate protocols to ensure effective
communication.

thank you.


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



RE: [Samba] Re: Samba wins eWeek and PC Magazine Innovation in Infrastructure (i3) award for best Enterprise Software !

2002-05-09 Thread Gregory, Paul (PS, GNF, Contractor)
Title: RE: [Samba] Re: Samba wins eWeek and PC Magazine Innovation in Infrastructure (i3) award for best Enterprise Software !






Luke,


What is your problem? Sounds like you have a huge chip missing from your shoulder.
Get over it!


Paul Gregory
Unix and Oracle Database Administrator
[EMAIL PROTECTED]



-Original Message-
From: Luke Kenneth Casson Leighton [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 09, 2002 5:23 PM
To: Jeremy Allison
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [Samba] Re: Samba wins eWeek and PC Magazine Innovation in
Infrastructure (i3) award for best Enterprise Software !



On Thu, May 09, 2002 at 02:14:58PM -0700, Jeremy Allison wrote:
 On Thu, May 09, 2002 at 09:04:35PM +, Luke Kenneth Casson Leighton wrote:
  
  so you'll be putting some of the money that is earned from
  such recognition and increased reputation of samba my way,
  then, yes, to fund TNG development, yes, without which such
  an award would not have been possible at this time, yes?
 
 Stop being silly !

mmm...



 It wasn't worth any money. 


??


 I had to pay my own way to Vegas
 and back to even *be* there.

 i'd love to be able to say that dcerpc.net is going so
 well that its projects are getting awards and that it's
 attracting enough interest such that its developers can
 pay their own way to collect awards.


 i have a talk to give on the 29th. i would love to be
 able to say that dcerpc.net won an award.


 
 If you want to share in the award you owe me for part of the
 airfare :-) :-).


sly :) only if i can be ... could have been ... there...


l.


-- 
--
this message is private, confidential, and is intented for
the specified recipients only. if you received in error,
altered, deleted, modified, destroyed or interfered with
the contents of this message, in whole or in part, please
inform the sender (that's me), immediately.


if you, the recipient, reply to this message, and do not
then receive a response, please consider your reply to have
been lost or deliberately destroyed: i *always* acknowledge
personal email received. please therefore take appropriate
action and use appropriate protocols to ensure effective
communication.


thank you.



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





[Samba] Howto join Win2000 to a Samba acting as a PDC?

2002-05-09 Thread Alexander Skwar

Hi.

As you may have noticed, I'm trying to setup my Samba server so that it
is the PDC.  I'm reading the howtos on
http://www.unav.es/cti/ldap-smb/ldap-smb-2_2-howto.html and
http://de.samba.org/samba/docs/Samba-HOWTO-Collection.html#SAMBA-PDC .
Besides being a PDC, samba should use LDAP as the backend for storing
user stuff.

The LDAP contains the user/group accounts as listed in the idealx howto
from http://samba.idealx.org/dist/samba-ldap-howto.pdf, page 41.

The Windows 2000 Pro machine which should join the domain is called
VIRTUAL-TEICH, so I added a machine account VIRTUAL-TEICH$ to the
LDAP. 

I'm now trying to actually add the machine to the domain.  So I right
clicked on the Workspace (? Arbeitsplatz) icon to open the system
preferences.  Then on Network identification (?
Netzwerkidentifikation) - Properties (? Eigenschaften).  There I
changed the radio button from Workgroup to Domain and entered the name
I've set in /etc/samba/smb.conf workgroup = MDKGROUP (I entered
MDKGROUP).  Then a dialog popped up, and I entered a user name which is
listed in LDAP (I've tried using a username of a member of the Domain
Admins group as well as from a plain normal user).  Both times I get the
following error message in /var/log/messages:

May  9 21:42:04 teich smbd[31340]: [2002/05/09 21:42:04, 0] 
passdb/pdb_ldap.c:ldap_open_connection(79) 
May  9 21:42:04 teich smbd[31340]:   ldap_open_connection: cannot access LDAP when not 
root.. 

Attaching shares with usernames which are only listed in the LDAP works
fine.  But before I tried this, I made sure to remove all attached
shares and reboot the machine.

I also tried using root as the username, but then the Windows 2000
just hangs.  In /var/log/messages I get:

May  9 21:51:37 teich smbd[32235]:   api_samr_set_userinfo: Unable to unmarshall 
SAMR_Q_SET_USERINFO. 

Oh, after quite some time (~1 minute), a dialog in Win2000 popped up:
Willkommen zur Domäne MDKGROUP.  ;)

Well, I dislike this.  Do I really have to use root to join the domain?  

This is with samba 2.2.4 on MandrakeLinux 8.2.

What am I missing?

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

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



[Samba] Quota visualization and Printer Sharing

2002-05-09 Thread Luiz Alfredo Baggiotto

Hello

We have one Samba 2.2.5-pre running as PDC of our domain, in one Solaris 7 box.
There are also a winNT 4 machine used as a Printer Server (we prefer to use another
machine to print services). After one printer instalation, on printer server, I try to
configure permissions in the Security tab, Permissions button. I click in Add 
button
and include Domain users with Print permission. Anything seems Ok, but if I close
the window and open again, instead of the domain name appears
Unix_group.35214085 and the users of the domain can´t access the printer
shared!
Another problem: after the upgrade to version 2.2.4, the quota visualization is broken
and the users, when click in the Properties of a network drive, receive information 
of
0 bytes used and 0 bytes free. Naturally, I´m compiling with the option --with-
quotas... :-)
Anyone have these problems too? Are there one patch?
Thanks in advance and best regards

==
Administraçao da Rede
FACIN / PUCRS
 Ramal  4184
Prédio 30 -  Sala 145


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



[Samba] Logging in to the domain

2002-05-09 Thread Alexander Skwar

Hi again! ;)

Sorry if I'm being a pest, but I'd really like to be able to have my
samba as a PDC.

Okay, I've now joined the domain and rebooted.  Now I'd like to login to
the domain.  On the login screen, I've chosen a name which is in the
LDAP and thus should be a domain user.  I've also selected to login to
MDKGROUP (domain name); ie. I changed it from VIRTUAL-TEICH (this pc).

When I click on Ok to login, Windows right away pops up an error
message:

Das System kann Sie nicht bei dieser Domäne anmelden, da das
Computerkonto des Systems in seiner primären Domäne fehlt, oder das
Kennwort für dieses Computerkonto falsch ist.

Translation: Can't login to domain because the machine account is
missing from the primary domain or because the password for this machine
account is wrong.

Well, I've obviously missed a step.  But what?  I also wonder about the
password is wrong part.  I've never been asked for the machine account
password.  Is this correct?

samba 2.2.4 on MandrakeLinux 8.2.

Thanks again,

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

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



[Samba] still problems with password-expiration

2002-05-09 Thread Stephan M. Ott

Hi folks,

I knew this was recently discussed but I still couldn't get it to work.
I still have the problem that the users on the W2K-Clients get the message
about the password going to expire in 5 days when joining the
Samba-PDC-Domain.
Even if the users change the password, this message keeps coming...
I have no idea what to do to avoid this message...
Funny thing is, the password DOES NOT expire in 5 days.. only the popus in
windows keeps on coming after logon. It always tells about 5 days... every
day the same :)
Did I miss a posting which told the solution ?

Thanks in advynce

Stephan


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



RE: [Samba] How can I tell which users are currently connected?

2002-05-09 Thread Richter, Gary

Compile samba with --with-utmp, and then in your smb.conf, enter utmp =
yes. This should be all that's needed with RedHat.

-Original Message-
From: Kevin Bramblett [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 09, 2002 3:12 PM
To: [EMAIL PROTECTED]
Subject: [Samba] How can I tell which users are currently connected?


I am running RHL 7.2 with Samba 2.2.3a using a W2K DC for authentication via
winbind.  From the linux box, how can I find out which users are currently
connected to my box via Samba?  This would help a lot when I need to reboot
the server or restart the samba service because of changes that need to
immediately go into effect.

Thanks
Kevin Bramblett


-- 
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] Howto join Win2000 to a Samba acting as a PDC?

2002-05-09 Thread Luiz Alfredo Baggiotto

Hello

 Well, I dislike this.  Do I really have to use root to join the domain? 

I think that if you use different passwords to samba user root and *nix user root there
are not problem. The samba root is only to create trusted accounts. Is it right?
Regards

==
Administraçao da Rede
FACIN / PUCRS
 Ramal  4184
Prédio 30 -  Sala 145


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



[Samba] Win98 join a PDC

2002-05-09 Thread Alex Moen



OK... this has 
probably been asked in the past, but until there is a decent archive it's 
impossible to tell :)

Just set up a 2.2.4 
PDC / Solaris 8 / E-250. 

Wierd thing 
#1: Windows 98 client will NOT connect on first attempt: type in username 
and password, hit enter, wait 2 minutes, failure message. Click OK on the 
failure popup, hit enter again on the login dialogue, wait another 2 minutes and 
client logs in almost perfectly (by almost: trouble with home directory %u 
thingie). Any ideas?

Wierd thing 
#2: Win2K server, no AD, no BDC. Just wanna join the domain so that 
I can use terminal server. Asking for a username and password. The 
only reference that I have found in any of the documentation is how you must use 
a "Samba Administrator" account to authenticate the machine, but there is no 
docs that explain WHAT a "Samba Administrator" account is, or how to make 
one.

Any help will be 
GREATLY appreciated!!!

Thanks in 
advance!

  
  

   
  
Alex MoenOperations 
  Technology Specialist701-662-6481800-880-4213



Re: [Samba] Logging in to the domain

2002-05-09 Thread Luiz Alfredo Baggiotto

Hi

 Well, I've obviously missed a step.  But what?  I also wonder about the
 password is wrong part.  I've never been asked for the machine account
 password.  Is this correct?

Let me see if I could understand.
You need to create one account - trust account - to each one of your machines (the
machine name with the suffix $. For example: win101$). This accounts have a
password auto-generated for samba in the smbpasswd file and anyone password in the
*nix system. Then, you need make anything similar to the following steps:

useradd -c station -d /dev/null -s /bin/false machine_name$
smbpasswd -a -m machine_name$

To remove the machine and recreate them:

smbpasswd -x machine_name$
userdel machine_name$

If you delete or try to create one without the other, this error happens.
I hope this help you.
Best regards

==
Administraçao da Rede
FACIN / PUCRS
 Ramal  4184
Prédio 30 -  Sala 145


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



Re: [Samba] Logging in to the domain

2002-05-09 Thread Alexander Skwar

»Luiz Alfredo Baggiotto« sagte am 2002-05-09 um 19:32:45 -0300 :
 Let me see if I could understand.

Thanks.

 You need to create one account - trust account - to each one of your machines (the
 machine name with the suffix $. For example: win101$). This accounts have a

Okay, done.

 password auto-generated for samba in the smbpasswd file and anyone password in the
 *nix system. Then, you need make anything similar to the following steps:

It doesn't exist in smbpasswd and also not in /etc/passwd.  But that's
correct, I think, because it exists in LDAP.  When I set things to a
workgroup setup in Windows 2000, I can attach shares using a username
which also does not exist in smbpasswd and passwd but only in LDAP.

So, the answer is yes, I assume that it is setup correctly.

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

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



[Samba] share help

2002-05-09 Thread Kieran Farrell

Hello,

I have a program that everyone need read write access to work properly. I run 
the program from a share, can I force all files created to have the same 
permissions?

Does it involve create mask = ?

I hope someone can help, it's fairly urgent.


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



[Samba] try Again?: Setting up net of W2K boxes with Samba PDC

2002-05-09 Thread [EMAIL PROTECTED]





OK: Here's my question.
 I am setting up a brand new PDC and network of 
 (ugh) between 20 and 50 win2k clients, and want a samba server.

 I'd like to be able to set this up so all admin is done on the samba server.

Is this where I would use Winbind?

Can someone point me to a good tutorial?

Users will be in different user groups. and must be able to log on with profile from 
any machine.
 Is this a good case for using the ldap db for administration?

 Is there a good samba/ldap document out there?
 thanks in advance.
Mitch 


Join Excite! - http://www.excite.com
The most personalized portal on the Web!

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



Re: [Samba] try Again?: Setting up net of W2K boxes with Samba PDC

2002-05-09 Thread Adam Manock

You might like the (treeware) book:

Samba Essentials for Windows Administrators
http://www.sambaessentials.com/

It's a straightforward, task oriented guide to getting it all up, running 
and manageable.
I bought it for my not so unix savvy IT brethren at work, and was surprised 
to find it's a pretty good reference for *nix / mixed admins like me aswell

Buy it, read it, then see if you still think you need LDAP and Winbind for 
a samba PDC w/ a small network of 20 - 50 clients ;-)

Adam

At 08:58 PM 5/9/02, [EMAIL PROTECTED] wrote:




OK: Here's my question.
  I am setting up a brand new PDC and network of
  (ugh) between 20 and 50 win2k clients, and want a samba server.

  I'd like to be able to set this up so all admin is done on the samba server.

Is this where I would use Winbind?

Can someone point me to a good tutorial?

Users will be in different user groups. and must be able to log on with 
profile from any machine.
  Is this a good case for using the ldap db for administration?

  Is there a good samba/ldap document out there?
  thanks in advance.
Mitch


Join Excite! - http://www.excite.com
The most personalized portal on the Web!

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

2002-05-09 Thread [EMAIL PROTECTED]



I encountered the following problem, can anyone help 
me?

when i use "nmblookup -B 192.168.1.255 redmaple" on my linux 
box named redmaple, something like
"(tdb(null)): could not open file 
/usr/local/samba/var/locks/unexpected.tdb. No such file or directory" is output, 
and the name lookup failes.
my samba is 2.2.3a, IP address of redmaple is 
192.168.1.5
rgds
aloha



RE: [Samba] How well does printing support scale in Samba 2.2.x ?

2002-05-09 Thread Gerald Carter

On Wed, 8 May 2002, Van Sickler, Jim wrote:

 Jerry,
 
   Where can I find a list of the things Win2k
 tries to change?  It would help me figure out
 when I should enable/disable admin status for
 my account (especially printer admin).

It's driver specific.  As a general rule, on win2k clients
I would recommend non-admin connections.  Performance 
will be much faster (espcially for catty PCL drivers)
while you still get the per-user device mode settings
that Win2k supports.

   I already know that if I = a printer admin, I
 can't view the properties of a printer on my
 PC, or the shared printer on the samba box,
 once I've installed a connection to that
 printer on my Win2k PC.
 



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] How can I tell which users are currently connected?

2002-05-09 Thread Joel Hammer

Would smbstatus solve your problem?
Joel

On Thu, May 09, 2002 at 05:12:24PM -0500, Kevin Bramblett wrote:
 I am running RHL 7.2 with Samba 2.2.3a using a W2K DC for authentication via
 winbind.  From the linux box, how can I find out which users are currently
 connected to my box via Samba?  This would help a lot when I need to reboot
 the server or restart the samba service because of changes that need to
 immediately go into effect.
 
 Thanks
 Kevin Bramblett
 
 
 -- 
 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] tdb_open_ex

2002-05-09 Thread Gerald Carter

On Fri, 10 May 2002, aloha@bradea wrote:

 I encountered the following problem, can anyone help me?
 
 when i use nmblookup -B 192.168.1.255 redmaple on my linux box named
 redmaple, something like
 (tdb(null)): could not open file /usr/local/samba/var/locks/unexpected.tdb.
 No such file or directory is output, and the name lookup failes.
 my samba is 2.2.3a, IP address of redmaple is 192.168.1.5

Ignore the message.  nmbd creates it as needed.



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] another patch for samba-2.2.4

2002-05-09 Thread Gerald Carter

FYI

If you want to use notation like 192.168.1.0/24 in 
hosts allow/deny lines, you will need to apply this patch
and recompile.  








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


--- /opt/src/samba-2.2.4/source/lib/access.cThu May  2 20:03:07 2002
+++ lib/access.cThu May  9 12:28:59 2002
 -33,7 +33,7 
 if (strlen(slash + 1)  2) {
 mask = interpret_addr(slash + 1);
 } else {
-   mask = (uint32)((ALLONES  atoi(slash + 1)) ^ ALLONES);
+   mask = (uint32)((ALLONES  atoi(slash + 1)) ^ ALLONES);
 }
 
if (net == INADDR_NONE || mask == INADDR_NONE) {



Re: [Samba] tdb_open_ex

2002-05-09 Thread [EMAIL PROTECTED]

Thanks for your reply, but the problem is that the name lookup through -B
always failes.
rgds
aloha

- Original Message -
From: Gerald Carter [EMAIL PROTECTED]
To: aloha@bradea [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, May 10, 2002 12:49 PM
Subject: Re: [Samba] tdb_open_ex


 On Fri, 10 May 2002, aloha@bradea wrote:

  I encountered the following problem, can anyone help me?
 
  when i use nmblookup -B 192.168.1.255 redmaple on my linux box named
  redmaple, something like
  (tdb(null)): could not open file
/usr/local/samba/var/locks/unexpected.tdb.
  No such file or directory is output, and the name lookup failes.
  my samba is 2.2.3a, IP address of redmaple is 192.168.1.5

 Ignore the message.  nmbd creates it as needed.



 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



[Samba] copy a large volume of data from PC to samba server

2002-05-09 Thread Tian-xiong Lu



Hi there,

Is there someone over there knows a method or 
script
that can copy a large volume of data (in 
folders)from PCs
to a samba server (suppose there is enough space 
there)?

I know using smbclient or smbtar can backup data on 
PCs
to samba server, but it is written in tar files.I 
wonder whether 
this method can handle a large folder, say, in 10GB 
size.

Also, using smbclient with mget and recurse on, one 
can
copy folders from PC to samba server. But in doing 
so,
it is in interactive mode and keeps asking yes/no 
to continue.
Is there a way to get rid of these 
prompts?

Thanks,
Tian.



Re: [Samba] tdb_open_ex

2002-05-09 Thread [EMAIL PROTECTED]

I'm using samba on redhat linux 7.1,
Because I couldn't setup samba to work, I did troubleshooting as
http://de.samba.org/samba/ftp/docs/Samba24Hc13.pdf said, nmblookup -B
192.168.1.255 redmaple is at page 13, level 2 diagnostic.
My problem is that I can use smbclient to connect my Win2K PC, get or put
files without problem, but I couldn't see samba from Win 2K machine. my
win2K pc is a IBM thinkpad, with its IP address 192.168.1.15 and netmask
255.255.255.0.

- Original Message -
From: Gerald Carter [EMAIL PROTECTED]
To: aloha@bradea [EMAIL PROTECTED]
Cc: samba [EMAIL PROTECTED]
Sent: Friday, May 10, 2002 1:27 PM
Subject: Re: [Samba] tdb_open_ex


 On Fri, 10 May 2002, aloha@bradea wrote:

  Thanks for your reply, but the problem is that the name lookup through
  -B always failes. rgds aloha

 What are you trying to lookup?  If it is a Win95 box, try running
 nmblookup as root (win95 boxes have a tendency to only reply to
 port 137).






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



Re: [Samba] tdb_open_ex

2002-05-09 Thread [EMAIL PROTECTED]

Sorry that I made a mistake, the nmblookup is level 3 diagnostic in
http://de.samba.org/samba/ftp/docs/Samba24Hc13.pdf

- Original Message -
From: aloha@bradea [EMAIL PROTECTED]
To: Gerald Carter [EMAIL PROTECTED]
Cc: samba [EMAIL PROTECTED]
Sent: Friday, May 10, 2002 1:59 PM
Subject: Re: [Samba] tdb_open_ex


 I'm using samba on redhat linux 7.1,
 Because I couldn't setup samba to work, I did troubleshooting as
 http://de.samba.org/samba/ftp/docs/Samba24Hc13.pdf said, nmblookup -B
 192.168.1.255 redmaple is at page 13, level 2 .
 My problem is that I can use smbclient to connect my Win2K PC, get or put
 files without problem, but I couldn't see samba from Win 2K machine. my
 win2K pc is a IBM thinkpad, with its IP address 192.168.1.15 and netmask
 255.255.255.0.

 - Original Message -
 From: Gerald Carter [EMAIL PROTECTED]
 To: aloha@bradea [EMAIL PROTECTED]
 Cc: samba [EMAIL PROTECTED]
 Sent: Friday, May 10, 2002 1:27 PM
 Subject: Re: [Samba] tdb_open_ex


  On Fri, 10 May 2002, aloha@bradea wrote:
 
   Thanks for your reply, but the problem is that the name lookup through
   -B always failes. rgds aloha
 
  What are you trying to lookup?  If it is a Win95 box, try running
  nmblookup as root (win95 boxes have a tendency to only reply to
  port 137).
 
 





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



Re: compile samba-2.2.4 on Solaris 7

2002-05-09 Thread Gerald Carter

On Wed, 8 May 2002, Tian-xiong Lu wrote:

 Thanks, Richard for the reply.
 
 Tried with -fPIC instead of -KPIC, it worked. Checked with gcc
 manpage, -fPIC is
 an option but -KPIC not.

Fixed in SAMBA_2_2  HEAD

 1. smbd/password.c: In function 'grab_server_mutex':
 smbd/password.c:1198: warning: passing arg 1 of `message_named_mutex'
 discards
 `const' from pointer target type.

Ignore for now.

 2. lib.system.c: In function`sys_readdir':
 lib.system.c:331: warning: return from incompatible pointer type

Did not see this one.

 3. In file included from nsswitch/winbind_nss_solaris.c:20:
 nsswitch/winbind_nss_config.h:135: warning: `ZERO_STRUCTP' redefined
 include/smb_macros.h:48: warning: this is the location of the previous
 definition

Fixed in SAMBA_2_2  HEAD.

I'm collecting individual patches against 2.2.4 in 
ftp://ftp.samba.org:/pub/jerry/samba-2.2.4-patches/





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





Re: Serious Samba-Bug ?

2002-05-09 Thread Gerald Carter

On Wed, 8 May 2002, Lars Heineken wrote:

 Hi !
 
 I testested it against the latest release 2.2.4 and accessing the mapped
 drive as resource for the windows-CD-ROM still locks the Win98-Machine.
 As you suggested, I have made a level 10 logging:
 
 I knwo I should have put this on the ftp, but I was not shure where to
 store it. Beside, it's not that big.

Try setting kernel oplocks = no on that share.




jerry



 On Fri, 3 May 2002 13:43:57 -0500 (CDT)
 Gerald Carter [EMAIL PROTECTED] wrote:
 
  On Fri, 3 May 2002, Lars Heineken wrote:
  
   Hi Folks !
   
   Today I found another bug in vesrion 2.2.3a : Our unix-server hosts a
   samba-share that contains all files from the win98-CD. Every
   win98-client maps this share as drive Z. He uses this drive when win98s
   asks for the windows-cd. After Upgrading the server from samba 2.0.7 to
   samba 2.2.3a the win98-machine locks when he tries to access this
   windows-cd-rom-drive-share The normal browsing via explorer works
   fine, but the selection of Z:\ as Source of the win98-CD (during the
   dialog new hadrware found eg.) locks the win-machine completely. After
   changing the binaries smbd and nmbd back to version 2.0.7 on the server,
   everything workes fine again.
   
  
  Please try to reproduce this against Samba 2.2.4.  If the 
  problem still occurs, a level 10 debug log of the client
  connection posted via FTP would be helpful.
  
  





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