[Samba] FW: Swat File

2002-12-24 Thread Pedram Dehghani

Dear Sir

i can not find swat file in the  /usr/local/sbin/  ,what can i do ?

please help me.

Thank you
Pedram Dehghani
System Administrator
SG Co.



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



Re: [Samba] (no subject)

2002-12-24 Thread Gareth Davies
- Original Message -
From: Chris Candillo [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 23, 2002 7:05 PM
Subject: [Samba] (no subject)


 Hello. I am running Samba version 2.2.5 on Redhat Linux 8.0, kernel
version
 2.4.18-14.  Encrypted passwords = yes; security = user; wins server
 =169.254.1.2; netbios name = SambaServer.  My client is Windows 2000,
 service pack 3.  I am only able to browse my samba shares only if I use
the
 ip address of my samba server. For example on Winddows 2000 I run: NET USE
 \\169.254.1.1, I can see the shares, I am also able to map drives, all is
 good.  If I run NET USE \\SambaServer, using the netbios name, I get
'Access
 Denied'.

snip

*sigh*

2 minutes later after a quick visit to Google..

My setup was failing with this command:

H:\Documents and Settings\Dan Langillenet view \\xeon
System error 5 has occurred.

Access is denied.


H:\Documents and Settings\Dan Langille

After doing the search mentioned in the previous section, I added this to
the [Globals] section of my smb.conf file.
nt acl support = no
Then I restarted samba:
/usr/local/etc/rc.d/samba.sh stop
/usr/local/etc/rc.d/samba.sh start
After adding that item, I was successful in that test:
H:\Documents and Settings\Dan Langillenet view \\xeon
Shared resources at \\xeon

Samba 2.2.6pre2

Share name  Type  Used as  Comment


---
public  Disk   A place to store stuff
The command completed successfully.


H:\Documents and Settings\Dan Langille
That looks much better



Shaolin




*
This email has been checked by the altohiway e-Sweeper Service
*

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



[Samba] Oplock break request failures

2002-12-24 Thread Ray Simard
I hope someone can enlighten me on this.

Situation: NT network, Samba PDC, about 20 NT 4.0 workstations. log(s).smbd 
are created per machine for easier analysis (as log.smbd.NetBios Name).

Not often, but often enough to be of concern, are errors in 
request_oplock_break that seem to indicate that another smbd process that 
should be listening for break requests on a UDP socket isn't, or isn't 
responding. Some time ago, for some very strange reason, the system was 
configured with share modes off, which caused these errors to occur 
constantly. That was corrected and now they are infrequent, but not 
infrequent enough, I suspect, to ignore.

One possibly significant fact: there are two subnets. The cross-subnet 
browsing recommendations have been followed and we have no trouble browsing 
across the subnets; but all of the failures I'm writing about occur on the 
subnet which is remote from the one on which the Samba PDC resides. None of 
the samba logs associated with any of the several NT workstations on the 
local subnet with the Samba machine show this error. I can't see how that 
would matter, given that the inter-process oplock break requests are simply 
UDP communications and don't use subnet broadcasts - unless I'm mistaken, a 
very real possibility. :-)

Does anyone have a hint on what might cause this, how to troubleshoot it more 
fully, or if it's really nothing to worry about?

Ray Simard

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



[Samba] Persmissions on 'root' folder

2002-12-24 Thread Kristof Hardy
Hi,

I'd like to accomplish te following but can't seem to find how:

Share1
 subdir1
 subdir2


Share 1 that is connected by our Windows clients, should NOT be writable
directly. This means, nobody (except a specified group/user?) should be
able to create a top-level folder or file in this share.

Write and execute rights through the subdir1 and subdir2 should however
be left alone and thus be possible for everyone able to access the
share.

Any ideas on how to accomplish this?


Greetings and thanks a lot in advance,

Kristof.

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



[Samba] smbtar

2002-12-24 Thread Colin Jenkins
Hi all,

using smbtar to back-up users directories on a winnt server and use -X
to exclude files/directories.
How do I specify windows directories with spaces i.e. Application Data
  
TIA
-- 
regards,
 Colin

mailto:[EMAIL PROTECTED]

 
9:00pm up 6 days, 4:45, 2 users, load average: 0.18, 0.11, 0.04
If you understand what you're doing, you're not learning anything. -- A. L.
 ..registered linux user #223862 ..
   _ 


-- 
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 request failures: some additional info

2002-12-24 Thread Ray Simard
I checked a little more carefully and noticed that many, though not all, of the 
occurrences
of failed oplock breaks are followed by the message that you see here, ... Deleting 
it to continue.
Looks a little scary; does it mean it's deleting the oplock or deleting the file?

Here's a chunk from one of the log files, for the machine called mon6.

log.mon6:  request_oplock_break: no response received to oplock break request to pid 
1084 on port 2846 for dev = 309, inode = 10050, file_id =
 11
log.mon6:  request_oplock_break: no response received to oplock break request to pid 
1084 on port 2846 for dev = 309, inode = 40228, file_id =
 17
log.mon6:  request_oplock_break: no response received to oplock break request to pid 
1084 on port 2846 for dev = 309, inode = 40221, file_id =
 21
log.mon6:  request_oplock_break: no response received to oplock break request to pid 
301 on port 2775 for dev = 309, inode = 42243, file_id =
35
log.mon6:  request_oplock_break: no response received to oplock break request to pid 
3477 on port 3592 for dev = 309, inode = 50280, file_id =
 43
log.mon6:  open_mode_check: exclusive oplock left by process 3477 after break ! file 
nms097/profile/Recent/42565.doc.lnk, dev = 309, inode = 5
0280. Deleting it to continue...
log.mon6:  request_oplock_break: no response received to oplock break request to pid 
6002 on port 4707 for dev = 309, inode = 30168, file_id =
 16
log.mon6:  open_mode_check: exclusive oplock left by process 6002 after break ! file 
nms097/profile/Application Data/Microsoft/Office/Recent/C
ORRECT SPELLING REFERENCE LIST Cover.doc.LNK, dev = 309, inode = 30168. Deleting it to 
continue...
log.mon6:  request_oplock_break: no response received to oplock break request to pid 
6002 on port 4707 for dev = 309, inode = 30239, file_id =
 17
log.mon6:  open_mode_check: exclusive oplock left by process 6002 after break ! file 
nms097/profile/Application Data/Microsoft/Office/Recent/4
2577-B.doc.LNK, dev = 309, inode = 30239. Deleting it to continue...
log.mon6:  request_oplock_break: no response received to oplock break request to pid 
10390 on port 2658 for dev = 309, inode = 42243, file_id
= 150

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

2002-12-24 Thread Simo Sorce
On Tue, 2002-12-24 at 11:37, Ray Simard wrote:
 I hope someone can enlighten me on this.
 
 Situation: NT network, Samba PDC, about 20 NT 4.0 workstations. log(s).smbd 
 are created per machine for easier analysis (as log.smbd.NetBios Name).
 
 Not often, but often enough to be of concern, are errors in 
 request_oplock_break that seem to indicate that another smbd process that 
 should be listening for break requests on a UDP socket isn't, or isn't 
 responding. Some time ago, for some very strange reason, the system was 
 configured with share modes off, which caused these errors to occur 
 constantly. That was corrected and now they are infrequent, but not 
 infrequent enough, I suspect, to ignore.
 
 One possibly significant fact: there are two subnets. The cross-subnet 
 browsing recommendations have been followed and we have no trouble browsing 
 across the subnets; but all of the failures I'm writing about occur on the 
 subnet which is remote from the one on which the Samba PDC resides. None of 
 the samba logs associated with any of the several NT workstations on the 
 local subnet with the Samba machine show this error. I can't see how that 
 would matter, given that the inter-process oplock break requests are simply 
 UDP communications and don't use subnet broadcasts - unless I'm mistaken, a 
 very real possibility. :-)
 
 Does anyone have a hint on what might cause this, how to troubleshoot it more 
 fully, or if it's really nothing to worry about?

Oplock breaks are notified to client machines, and then clients must
answer in a given time (oplocks regards client caching).

If clients fail to answer in time, the server must consider them
broken/dead/whatever and break the oplock itself.
This of course means that it could have unconsistent data on disk, but
nothing can be done.

You have slow links, you may want to rise oplock breack times, but then
you may experience slower startup fo rapplications or slow file opening.

You may try with: oplock break wait time
But be sure you understand what this means, read carefullt the man pages
and use at your own risk :-)

Simo.

-- 
Simo Sorce-  [EMAIL PROTECTED]
Samba Team-  http://www.samba.org
Italian Site  -  http://samba.xsec.it
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] PDC

2002-12-24 Thread Ian Wright



Hi
We use Samba as a PDC for our NT/2000 workstations. 
We also use Sophos Anti Virus. My problem is that for Sophos to be able to 
automatically install itself on remote workstations without me actually visiting 
the workstation the Sophos user has to be given the permissions to "log on as a 
service". Does anyone no whether I can mimic these permissions on a samba PDC. 
All the other aspects of Sophos's functionality work ok, but remote 
installation.
Thanks Ian


[Samba] lib_iconv ???

2002-12-24 Thread Laurent Hofmann
I've this when I launch smbstatus and in log files...

Conversion from UCS-2LE to CP850 not supported
Conversion from UTF8 to CP850 not supported
Conversion from ASCII to CP850 not supported
Conversion from CP850 to UCS-2LE not supported
Conversion from CP850 to UTF8 not supported
Conversion from CP850 to ASCII not supported
Conversion from CP850 to UTF8 not supported
Conversion from UTF8 to CP850 not supported

I've also that in logs :
[2002/12/24 11:41:00, 0] lib/charcnv.c:convert_string(147)
  convert_string: Required 46, available 32
[2002/12/24 11:41:00, 0] lib/charcnv.c:convert_string(147)
  convert_string: Required 46, available 32

I don't know if it's linked...
I've lib_iconv installed :
libiconv-1.7_5  A character set conversion library

and I presume Samba use it since it appears sometimes in logs...

How can I fix this ???




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



RE: [Samba] can not connect to the shared printer

2002-12-24 Thread naugaranch
I'm not an expert but I see lots of things missing in your smb.conf file.

You have not defined the samba server netbios name. No samba password path.
Have you set samba passwords?  Define security level.

Also, you may find that you will neeed to stop IPChains and IPTables on the
samba server once you get things running somewhat.  At least until you can
set up firewall rules.

Once you set the netbios name - you should then be able to see the samba
server in network neighborhood.  Also, should be alble to ping from windows
both the samba IP address and net bios name.

These are all things I learned over the last few months as I have been
learning Samba - hope it helps.

Tom Winfield

[global]

   workgroup = HOME
   netbios name = linux-server
   server string = Tom's Linux Server
   hosts allow = 192.168.0.  127.
   guest ok = yes
   log file = /var/log/samba/%m.log
   log level = 1
   max log size = 100
   security = user
   encrypt passwords = yes
   smb passwd file = /etc/samba/smbpasswd
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   local master = yes
   browsable = yes
   domain master = no
   preferred master = no
   wins support = yes
   dns proxy = no


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Xiaodong Zhang
Sent: Monday, December 23, 2002 10:24 AM
To: [EMAIL PROTECTED]
Subject: [Samba] can not connect to the shared printer


Hi there,

I'm learning Samba and I really appreciate somebody out there can help
me out. I'm using RedHat advanced server and a windows 2000. I created a
workgroup on samba and only samba machine and win2k machine are members.
I shared the printer attached to the Linux. From win2k PC, I can see the
workgroup, but I can not find the samba host from the workgroup, nor
does the printer. The smb.conf is attached.

I run smbclient -NL hostname and it shows the printer under the Sharename.
If I run net view //hostname,  it returns that: System error 53 has
occured, the network pass was not found

I setup the samba 2 days ago, and the same problem happened then and
now. BTW, I can mount a windows share from Linux, so I guess samba is
running.

Thanks and merry Christmas.

Xiaodong




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



RE: [Samba] Persmissions on 'root' folder

2002-12-24 Thread Owens, Bob
Kristof try

share1
write list = @group 
  write list = user1 user2

 subs use the permissions that you had.

-Original Message-
From: Kristof Hardy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 24, 2002 4:42 AM
To: [EMAIL PROTECTED]
Subject: [Samba] Persmissions on 'root' folder


Hi,

I'd like to accomplish te following but can't seem to find how:

Share1
 subdir1
 subdir2


Share 1 that is connected by our Windows clients, should NOT be writable
directly. This means, nobody (except a specified group/user?) should be
able to create a top-level folder or file in this share.

Write and execute rights through the subdir1 and subdir2 should however
be left alone and thus be possible for everyone able to access the
share.

Any ideas on how to accomplish this?


Greetings and thanks a lot in advance,

Kristof.

-- 
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] Unable to install SWAT

2002-12-24 Thread ramakrishnan_sridharan
I have installed redhat linuxv7.2 on mainframe (Z900)
I want top configure samba using swat but Iam unable to configure SWAT
Can anyone please help me ?

Thanks and Regards
Ramakrishnan.S
System Software Group
AIX/LINUX team
X:1203


***The information contained in this message is legally privileged and confidential
information intended only for the use of the addressed individual or entity indicated 
in
this message (or responsible for delivery of the message to such person). It must not 
be
read, copied, disclosed, distributed or used by any person other than the addressee.
Unauthorised use, disclosure or copying is strictly prohibited and may be unlawful.
 Opinions, conclusions and other information on this message that do not relate to the
official business of any of the constituent companies of the TATA CONSULTANCY SERVICES
shall be understood as neither given nor endorsed by the Group. If you have received 
this
message in error, you should destroy this message and kindly notify the sender by 
e-mail.
Thank you.***

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



[Samba] Delayed Write failures with Windows XP

2002-12-24 Thread Hall, Ken (ECSS)
 We have Windows XP users who have their desktop folders on a Samba share.  Some of 
them have been getting Delayed Write Failure messages recently on the 
cookies/index.dat file.  At first I
 thought it was a fluke related to a network outage we experienced, but now I'm 
finding out it had been happening previously, and it's still going on.
 
 This is Samba 2.2.5 on SuSE Linux SLES7 on S/390.
 
 Does anyone have any ideas?  Thanks.
 
One respondent suggested giving all users admin authority to the share, but that's not 
acceptable for a number of reasons, and since the problem isn't consistent, I don't 
see why this would help or be
necessary.

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



Re: [Samba] Delayed Write failures with Windows XP

2002-12-24 Thread Ken Schneider
Or you could try the follwing link:

http://acl.bestbits.at/

Extended ACL's helped with this type of problem here.


On Tue, 2002-12-24 at 09:38, Hall, Ken (ECSS) wrote:
  We have Windows XP users who have their desktop folders on a Samba share.  Some of 
them have been getting Delayed Write Failure messages recently on the 
cookies/index.dat file.  At first I
  thought it was a fluke related to a network outage we experienced, but now I'm 
finding out it had been happening previously, and it's still going on.
  
  This is Samba 2.2.5 on SuSE Linux SLES7 on S/390.
  
  Does anyone have any ideas?  Thanks.
  
 One respondent suggested giving all users admin authority to the share, but that's 
not acceptable for a number of reasons, and since the problem isn't consistent, I 
don't see why this would help or be
 necessary.
 
-- 
Ken Schneider
Senior UNIX Administrator
Network Administrator
[EMAIL PROTECTED]

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



[Samba] Slightly OT: LDAP System Administration

2002-12-24 Thread Ken McCord
Was doing a search on Amazon.com, and they're now listing 'LDAP System 
Adminstration' by Gerry Carter coming out in February.  Curious, I 
checked O'Reilly's site, and they don't have any info on it yet.

Gerry, can you drop a few hints on what'll be covered in the book?  I've 
been looking forward to this book since I heard about it a few months 
back, and I've got my order in.

Thanks,

Ken McCord

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


RE: [Samba] Delayed Write failures with Windows XP

2002-12-24 Thread Hall, Ken (ECSS)
Not an option for the time being.  Does anyone have an idea why this is happening?  I 
don't see why permissions would be an issue for this situation and no other, 
especially given that the users
aren't having trouble with any other files.

 -Original Message-
 From: Ken Schneider [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, December 24, 2002 9:51 AM
 To: '[EMAIL PROTECTED]'
 Subject: Re: [Samba] Delayed Write failures with Windows XP
 
 
 Or you could try the follwing link:
 
 http://acl.bestbits.at/
 
 Extended ACL's helped with this type of problem here.
 
 
 On Tue, 2002-12-24 at 09:38, Hall, Ken (ECSS) wrote:
   We have Windows XP users who have their desktop folders 
 on a Samba share.  Some of them have been getting Delayed 
 Write Failure messages recently on the cookies/index.dat 
 file.  At first I
   thought it was a fluke related to a network outage we 
 experienced, but now I'm finding out it had been happening 
 previously, and it's still going on.
   
   This is Samba 2.2.5 on SuSE Linux SLES7 on S/390.
   
   Does anyone have any ideas?  Thanks.
   
  One respondent suggested giving all users admin authority 
 to the share, but that's not acceptable for a number of 
 reasons, and since the problem isn't consistent, I don't see 
 why this would help or be
  necessary.
  
 -- 
 Ken Schneider
 Senior UNIX Administrator
 Network Administrator
 [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] nmbd doesn't start under slackwere 8.1

2002-12-24 Thread [** Carnivore **]
hi there.
im running a slackwere 8.1 (2.4.18) system, and the nmbd deamon dont to start.
please help me out..

thank you all
Ron
-- 
__
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

Meet Singles
http://corp.mail.com/lavalife

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

2002-12-24 Thread jra
On Tue, Dec 24, 2002 at 02:37:14AM -0800, Ray Simard wrote:
 I hope someone can enlighten me on this.
 
 Situation: NT network, Samba PDC, about 20 NT 4.0 workstations. log(s).smbd 
 are created per machine for easier analysis (as log.smbd.NetBios Name).
 
 Not often, but often enough to be of concern, are errors in 
 request_oplock_break that seem to indicate that another smbd process that 
 should be listening for break requests on a UDP socket isn't, or isn't 
 responding. Some time ago, for some very strange reason, the system was 
 configured with share modes off, which caused these errors to occur 
 constantly. That was corrected and now they are infrequent, but not 
 infrequent enough, I suspect, to ignore.

What OS are you running Samba on ?

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



[Samba] LDAP - adding info to database

2002-12-24 Thread Chris Mason
I have installed openldap and the samba.idealx.org ldap configuration
and scripts, and now I have ldap authentication working wonderfully
well.
I'd like to be able to use the same ldap user database for other info
such as phone numbers, email, etc, but I don't know how to add it or
whether it is a good idea. Anyone done this?

Chris Mason
[EMAIL PROTECTED]
Box 340, The Valley, Anguilla, British West Indies
Tel: 264 497 5670 Fax: 264 497 8463 Cell: 264 235 5670
http://www.anguillaguide.com/ The Anguilla Guide
Talk to me in real time:
Yahoo:netconcepts_anguilla
US Fax and Voicemail: (815)301-9759

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



[Samba] nmbd dies regularly, no log files

2002-12-24 Thread Kevin Long
My nmbd dies every single day. For some reason, samba is no longer 
logging to log.smbd and log.nmbd, so I have no clue why this is 
happening. All client connections are logged - i.e. log.machinename

Info - samba 2.2.7a (though this has happened since 2.2.5)
Linux RH7.3, kernel 2.4.18-17.7.xsmp (also happened with earlier kernels)

my smb.conf reads: 

# log file options
log file = /var/log/samba/log.%m
max log size = 500
log level = 1

The machine is a domain member, and looks to a W2K WINS server for lookups.

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



[Samba] PAM problem with Samba and Winbind (on Solaris 2.8)

2002-12-24 Thread Hsu, Cheng (Consultant)
Title: PAM problem with Samba and Winbind (on Solaris 2.8)






I am having a problem getting samba and winbind to work correctly.


I installed Samba 2.2.7a (which includes Winbind, because I compiled the 
source code with ./configure --with-winbind ) on a Solaris 2.8 server.


On solaris 2.8 server, I joined a PDC successfully, and I can see all unix 
and PDC user accounts using:


 /usr/local/samba/bin/wbinfo -u


and, I can see all unix and PDC groups using:


 /usr/local/samba/bin/wbinfo -g


and, I can see my own NT account using getent, as:


./getent passwd chsu


the output is:


chsu:x:80235:8:Cheng Hsu:/home/CORP/chsu:/bin/sh


This means winbind is able to see my NT account. But I cannot
see the encrypted password even when I executed the command as 
root on Solaris 2.8. (Is this normal?)


And, on the solaris 2.8 server, I login as root, I can do su - chsu,
and it does place me into my home dir /home/CORP/chsu.


I tried to verify if I can login to Solaris box using my NT account by
doing a telnet localhost on the Solaris box. The system just
won't let me login (after I entered my login and password). 
I guess this must be related to the PAM configuration.
I put only two lines in /etc/pam.conf, one in the login section,
and the other in the rlogin section. Is this correct ?


-
#ident @(#)pam.conf 1.19 95/11/30 SMI
#
# PAM configuration
#
# Authentication management
#
login auth sufficient /usr/lib/security/pam_winbind.so debug
login auth required /usr/lib/security/pam_unix.so.1
login auth required /usr/lib/security/pam_dial_auth.so.1
#
rlogin auth sufficient /usr/lib/security/pam_winbind.so debug
rlogin auth sufficient /usr/lib/security/pam_rhosts_auth.so.1
rlogin auth required /usr/lib/security/pam_unix.so.1
-


According to Solaris 2.8 man pages on pam.conf, the sufficent means
if I can get authenticated in /usr/lib/security/pam_winbind.so debug,
then I will be able to get in. Is this correct ?


My simple question is --
 Solaris 2.8 knows my NT account through Samba and Winbind,
 why can't I login ?


One thing that worth mentioning, when I compiled the 
pam_winbind.so library using make nsswitch/pam_winbind.so,
I did see some warning messages.



Cheng Hsu
- This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please delete it and all copies from your system, destroy any hard copies and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Nomura Holding America Inc., Nomura Securities International, Inc, and their respective subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state the views of such entity. Unless otherwise stated, any pricing information in this message is indicative only, is subject to change and does not constitute an offer to deal at any price quoted. Any reference to the terms of executed transactions should be treated as preliminary only and subject to our formal written confirmation.




[Samba] A problem about ICMP Destination Unreachable

2002-12-24 Thread bo wang
Hello, 
I have installed samba in a 
Linux RedHat 8.0 PC in my lab
as a file server. The clients
of samba are PCs with MS Windows98.
Now I meet some problems, I can see
samba server name in Network Neighborhood,
but when I click the icon, I get this
error message after a long delay:
Cannot link to Linuxserver(server name).
And I used Ethereal to track the packets
to find the problem, I found that there
were errors like ICMP: Destination Unreachable
when packets came from server to client.
The same problem  occured when I used 
FTP from client to check the TCP. 
Ping is ok(I can ping form server to client and
client to server), so I don't understand this problem,
thank you for your helps and advices.


WANG BO
Institute of Mobile Communication
Southwest Jiaotong University
China
--


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Microsoft asp web pages

2002-12-24 Thread Ken Cobler
Hello,

I realize this might not be the most appropriate group to mention this,
but, I thought I would start here.

I've noticed that web pages (actually ASP pages) served by Microsoft web
servers (i.e, www.microsoft.com), will not generate the same size font
or text spacing for non-Internet Explorer web browsers.

If you go to www.microsoft.com with Netscape, the font size is small and
hard to read.  Yet, if you go to the same web site with Internet
Explorer, the web site renders with larger, easier to read text.

I realize each browser has its own characteristics, however, I think
this is being done on purpose to move people off of Netscape and on to
Internet Explorer (and Microsoft products such as IIS).

I would like to know if any others have seen this issue ?

Is this another attempt at Microsoft to thwart competition by making
their web servers generate different fonts, etc for non-Microsoft
browsers ?  Or am I missing something completely with Netscape ?

Ken Cobler

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



[Samba] large file handling problems in 2.2.7a

2002-12-24 Thread Carey Jung
Hi,

The release notes say 2.2.7a fixes some large file handling problems in
smbclient, but I think not all.  I'm seeing the following problems still:

- large files in mounted filesystems (smbmount) report incorrect file sizes
with Unix 'ls' and hence copy incompletely from an smbfs filesystem to an
ext3 filesystem.

- although an smbclient 'ls' command lists the size of a large file
properly, if I run 'smbclient -Tc' to create a tarball from such a share,
only the first N bytes of a large file in the share get stuffed in the
tarball, where N is (I think) the incorrectly reported size, e.g., reported
in the first example.

The large file I'm dealing with is about a 17GB Exchange database on a W2K
server, but I suspect anything over 2GB will exhibit similar errors.  I'm
running RH7.3.

Can anybody else confirm these errors?

Regards,
Carey

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



[Samba] ERROR when trying to start nmbd

2002-12-24 Thread [** Carnivore **]
[2002/12/24 21:34:17, 0] nmbd/nmbd.c:main(794)
  Netbios nameserver version 2.2.7 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2002/12/24 21:34:17, 0] nmbd/asyncdns.c:start_async_dns(148)
  started asyncdns process 172
[2002/12/24 21:34:17, 0] nmbd/nmbd_subnetdb.c:create_subnets(239)
  create_subnets: No local interfaces !
[2002/12/24 21:34:17, 0] nmbd/nmbd.c:main(872)
  ERROR: Failed when creating subnet lists. Exiting.

can anyone please tell me what is the problem??

thanks A LOT!!
Ron

-- 
__
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

Meet Singles
http://corp.mail.com/lavalife

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



[Samba] using %g or %G in an include

2002-12-24 Thread jevon
Does this problem in the new 2.2.7a? For some reason I not able to do the
include with %g nor %G, but it works find for %m.

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



Re: [Samba] Microsoft asp web pages

2002-12-24 Thread Bruno Afonso
On 24 Dec 2002 at 11:48, Ken Cobler wrote:

 I would like to know if any others have seen this issue ?

Of course.

 Is this another attempt at Microsoft to thwart competition by making
 their web servers generate different fonts, etc for non-Microsoft
 browsers ?  Or am I missing something completely with Netscape ?

Use Phoenix and install the quick prefs toolbar. Now change to MSIE 6.0 emulation on 
the fly when you want to browse through MS website.

Bruno Miguel Afonso, Biological Eng. student.
brunomiguel at dequim dot ist dot utl dot pt
D.E.Q. @ I.S.T. - Portugal


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



[Samba] Trouble installing samba

2002-12-24 Thread Michael

Well Hello one and all,
I am just getting my feet wet here with Linux (Using Mandr...
x86 300 Mhz machine) and I have been having a bit of troub...
 samba.

 
 I have downloaded RPM's, source files, binaries, and what not, read
 tutorials after tutorials, FAQ's up the wazo and have still not be
able
 to get this damned program to work.
 
 To simplify things I will go step by step through what I am doing and
see
 if anyone can help me:
 
 First things first I goto the following ftp site for the files:
 
 http://us1.samba.org/samba/ftp/
 
 I then click on the the doc directory and click on the .pdf file
samba
 howto collection.pdf
 
 I attempt to follow the directions on building the binaries and goto
the
 source directory and run the program ,/configure and after that I
 continue to follow the directions and type make..  This is what I get:
 
 [root@localhost source]# ./configure
 loading cache ./config.cache
 checking for gcc... gcc
 checking whether the C compiler (gcc -O  ) works... yes
 checking whether the C compiler (gcc -O  ) is a cross-compiler... no
 checking whether we are using GNU C... yes
 checking whether gcc accepts -g... yes
 checking for a BSD compatible install... /usr/bin/install -c
 checking for gawk... gawk
 checking if the linker (ld) is GNU ld... yes
 checking for passwd... /usr/bin/passwd
 checking whether gcc and cc understand -c and -o together... yes
 checking that the C compiler understands volatile... yes
 checking host system type... i686-pc-linux-gnu
 checking target system type... i686-pc-linux-gnu
 checking build system type... i686-pc-linux-gnu
 checking config.cache system type... same
 checking for LFS support... yes
 checking for inline... inline
 checking how to run the C preprocessor... gcc -E
 checking for ANSI C header files... yes
 checking for dirent.h that defines DIR... yes
 checking for opendir in -ldir... no
 checking whether time.h and sys/time.h may both be included... yes
 checking for sys/wait.h that is POSIX.1 compatible... yes
 checking for arpa/inet.h... yes
 checking for sys/fcntl.h... yes
 checking for sys/select.h... yes
 checking for fcntl.h... yes
 checking for sys/time.h... yes
 checking for sys/unistd.h... yes
 checking for unistd.h... yes
 checking for utime.h... yes
 checking for grp.h... yes
 checking for sys/id.h... no
 checking for limits.h... yes
 checking for memory.h... yes
 checking for net/if.h... yes
 checking for compat.h... no
 checking for rpc/rpc.h... yes
 checking for rpcsvc/nis.h... yes
 checking for rpcsvc/yp_prot.h... yes
 checking for rpcsvc/ypclnt.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for strings.h... yes
 checking for syslog.h... yes
 checking for sys/file.h... yes
 checking for sys/param.h... yes
 checking for ctype.h... yes
 checking for sys/wait.h... (cached) yes
 checking for sys/resource.h... yes
 checking for sys/ioctl.h... yes
 checking for sys/ipc.h... yes
 checking for sys/mode.h... no
 checking for sys/mman.h... yes
 checking for sys/filio.h... no
 checking for sys/priv.h... no
 checking for sys/shm.h... yes
 checking for sys/socket.h... yes
 checking for syslog.h... (cached) yes
 checking for sys/syslog.h... yes
 checking for sys/mount.h... yes
 checking for sys/vfs.h... yes
 checking for sys/fs/s5param.h... no
 checking for sys/filsys.h... no
 checking for termios.h... yes
 checking for termio.h... yes
 checking for sys/termio.h... no
 checking for sys/statfs.h... yes
 checking for sys/dustat.h... no
 checking for sys/statvfs.h... yes
 checking for stdarg.h... yes
 checking for sys/sockio.h... no
 checking for security/pam_modules.h... no
 checking for security/_pam_macros.h... no
 checking for dlfcn.h... yes
 checking for synch.h... no
 checking for pthread.h... yes
 checking for nsswitch.h... no
 checking for shadow.h... yes
 checking for netinet/ip.h... yes
 checking for netinet/tcp.h... yes
 checking for netinet/in_systm.h... yes
 checking for netinet/in_ip.h... no
 checking for nss.h... yes
 checking for nss_common.h... no
 checking for ns_api.h... no
 checking for sys/security.h... no
 checking for security/pam_appl.h... no
 checking for security/pam_modules.h... (cached) no
 checking for stropts.h... yes
 checking for poll.h... yes
 checking for sys/capability.h... no
 checking for syscall.h... yes
 checking for sys/syscall.h... yes
 checking for sys/acl.h... no
 checking for sys/cdefs.h... yes
 checking for glob.h... yes
 checking for utmp.h... yes
 checking for utmpx.h... yes
 checking for lastlog.h... yes
 checking for sys/fs/vx_quota.h... no
 checking for linux/xqm.h... yes
 checking size of int... 4
 checking size of long... 4
 checking size of short... 2
 checking for working const... yes
 checking for inline... (cached) inline
 checking whether byte ordering is bigendian... no
 checking whether char is unsigned... no
 checking return type of signal handlers... void
 checking for uid_t in sys/types.h... yes
 checking for mode_t... yes
 checking for off_t... 

[Samba] swat

2002-12-24 Thread root
dear sir

i install it the samba and swat configuration in my pc,but my web
browser cannot browse the http://localhost:901 

i configure file this below :

in etc/xinetd.conf :

#
# Simple configuration file for xinetd
#
# Some defaults, and include /etc/xinetd.d/

defaults
{
instances   = 60
log_type= SYSLOG authpriv
log_on_success  = HOST PID
log_on_failure  = HOST
cps = 25 30
}

includedir /etc/xinetd.d
swat stream tcp nowait root /usr/local/samba/bin/swat swat

in etc/xinetd.d/swat is :

service swat
{
port= 901
socket_type = stream
wait= no
user= root
server = /usr/sbin/tcpd
server_args  = /usr/local/samba/bin/swat
log_on_failure  += USERID
disable = no
}

in etc/samba/smb.conf is :

[global]

workgroup = WORKGROUP
server string = Samba Server
hosts allow = 192.168.123. 127. 
printcap name = /etc/printcap
load printers = yes
printing = lprng
guest account = pcguest
log file = /var/log/samba/%m.log
max log size = 0
security = share
;   password server = NT-Server-Name
;  password level = 8
;  username level = 8
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
pam password change = yes
username map = /etc/samba/smbusers
include = /etc/samba/smb.conf.%m
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
host allow = 127. 10.1.1 194.7.51.
host deny = *

[shared]
comment = Shared read/write directory for all LAN users and guest
path = /home/shared
public = yes
only guest = yes
writable = yes
printable = no

[homes]
comment = Home directories
browseable = no
writable = yes
valid users = %S
create mode = 0664
directory mode = 0775
map to guest = bad user

please help me .

regards 
pedram dehghani
System Administrator
SG Co.

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



Re: [Samba] ERROR when trying to start nmbd

2002-12-24 Thread Dan Egli
[** Carnivore **] wrote:


[2002/12/24 21:34:17, 0] nmbd/nmbd.c:main(794)
 Netbios nameserver version 2.2.7 started.
 Copyright Andrew Tridgell and the Samba Team 1994-2002
[2002/12/24 21:34:17, 0] nmbd/asyncdns.c:start_async_dns(148)
 started asyncdns process 172
[2002/12/24 21:34:17, 0] nmbd/nmbd_subnetdb.c:create_subnets(239)
 create_subnets: No local interfaces !
[2002/12/24 21:34:17, 0] nmbd/nmbd.c:main(872)
 ERROR: Failed when creating subnet lists. Exiting.

can anyone please tell me what is the problem??

thanks A LOT!!
Ron

 

The error is in the create_subnets portion. No local interfaces would 
prohibit creation of a browse list or any other kind of network list. 
One problem I can think of off my head is that your hosts_allow do not 
include the address range that your NIC(s) belong to. Or that hosts_deny 
contains the range. It would help us greatly if you posted your network 
config (ips and suibnet masks) and your samba config file.

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


[Samba] Re: Unable to install SWAT

2002-12-24 Thread Christian Frain
Do you have any other information you can give us about your system and
network so that we can help in the diagnosis? Plus is there any reason why
you don't want to configure your server by editing the smb.conf file???

Let me know some additional information.

_
CHRISTIAN FRAIN
dimension data
sydney, nsw, australia

[EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 I have installed redhat linuxv7.2 on mainframe (Z900)
 I want top configure samba using swat but Iam unable to configure SWAT
 Can anyone please help me ?

 Thanks and Regards
 Ramakrishnan.S
 System Software Group
 AIX/LINUX team
 X:1203


 ***The information contained in this message is legally privileged and
confidential
 information intended only for the use of the addressed individual or
entity indicated in
 this message (or responsible for delivery of the message to such person).
It must not be
 read, copied, disclosed, distributed or used by any person other than the
addressee.
 Unauthorised use, disclosure or copying is strictly prohibited and may be
unlawful.
  Opinions, conclusions and other information on this message that do not
relate to the
 official business of any of the constituent companies of the TATA
CONSULTANCY SERVICES
 shall be understood as neither given nor endorsed by the Group. If you
have received this
 message in error, you should destroy this message and kindly notify the
sender by e-mail.
 Thank you.***

 --
 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: Swat File

2002-12-24 Thread Stefan (metze) Metzmacher
At 09:27 24.12.2002 +0330, root wrote:

Dear Sir

i can not find swat file in the  /usr/local/sbin/  ,what can i do ?


search for it:
find / -name swat


please help me.


but please use [EMAIL PROTECTED] next time

[EMAIL PROTECTED] is for developers :-)



metze
-
Stefan metze Metzmacher [EMAIL PROTECTED]