Re: [Samba] Problems connecting to Samba through windows

2002-11-15 Thread qlin
I get the same problem and have struggled on this for 3 days!
My Linux box has RH8.0 on it and is networked with a Windows 98 PC

What I have done:
(1) Follow the instructions on The Official Red Hat Linux Customization
Guide and config smb.conf
(2) Run the test in DIAGNOSIS.txt, failed in step 5.
(3) Step 7 is OK, which means local smb client can connect to smbd
service and access the shared. (smbclient)
(4) Because Windows client is unable to connect, I guess that the
problem might be the inproper configuration on client PC. I search
hosts file on client PC, find one called hosts.sam (I guess it
is a samlpe file).  copy hosts.sam to hosts and add a line of
ip(of linux box) linux-hostname (so I can ping linux box from client
PC using linux-hostname.
(5) On linux box, add client PC's ip win98-hostname (so I can ping 	
client from linux box using win98-hostname.
(6) When client PC restart, click netowrk nerghbor, I can see both
linux-hostname and  win98-hostname but when click linux-hostname
I get \\linux-hostname is not accessable. the computer name might
not be correct error.
(7) I could not find where on client PC win98-hostname is stored
(definatly not in hosts file). ping win98-hostname does work fine.
(8) The smb.conf looks like:

[global]
   workgroup = MYWORKGROUP
   server string = Samba Server
   hosts allow = my local network address/255.255.255.0 127.
   log file = /var/log/samba/%m.log
   max log size = 0
   security = user
   encrypt passwords = no
   smb passwd file = /etc/samba/smbpasswd
   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
   obey pam restrictions = yes
   dns proxy = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

[MyShare]
   comment = Share test on home
   path = /home/myname
   valid users = myname
   public = yes
   writable = yes
   printable = no
   create mask = 0765

Can you please advice me on what should I try next?


Please provide more detail.
What is the error message you are getting?
Which machine are you running the command on? Which machine are you 
trying
to find with nmblookup?
Forget swat. If you mention it once more I'll hang up.
What do you see with:
ps ax | grep mbd | grep -v grep
at the linux server?
Joel

On Mon, Nov 04, 2002 at 01:29:05PM +1000, Justin Edwards wrote:
 Test 5 of the diagnostics.txt failed. SWAT is telling me that nmbd is
 running though.

 - Original Message -
 From: Joel Hammer [EMAIL PROTECTED]
 To: Justin [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Monday, November 04, 2002 12:28 PM
 Subject: Re: [Samba] Problems connecting to Samba through windows


  Have you walked through DIAGNOSIS.txt in the docs/text section with the
  samba sources.
  Is samba running on the linux box?
  Joel
  On Mon, Nov 04, 2002 at 12:16:53PM +1000, Justin wrote:
   I just started using Linux a couple of weeks ago and have been 
trying to
 setup samba.
   I have a couple of text books I have been following which have 
helped me
 be able to run the
   smbclient from Linux to view both the shares on my Linux and xp 
machine.
  
   The problem is that I can not access the Linux files from my xp 
machine.
 I can ping the machine
   without a problem and can also view the machine through network
 neighbourhood. However when I
   double click the Linux machine in network neighbourhood I receive the
 error:
  
   \\linux is not accessible. you might not have permissions to use this
 network resource.
   No service is operating at the destination network endpoint on the
 remote system.
  
   I have gone through all the documentation I can find but nothing 
seems
 to help. Could someone please advise me on what I am doing wrong or not
 doing at all. I am still learning so the more explanatory the better.
  
   I look forward to your response
   Justin


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


[Samba] ReiserFS and acl support?

2002-11-15 Thread Mikko Rautiainen
Hi,

Does any one know is there acl support in ReiserFS 3 and if not, will 
there be in ReiserFS 4 ?


Mikko

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


[Samba] Oplock problems with Office 97 and Windows 95 in Samba 2.0.7

2002-11-15 Thread Hannu Virtanen
Hello,

We have used Samba in SGI IRIX 6.5(now 6.5.11m) machines from the SGI
version 2.0.7. We have Windows 95, NT4 and 2000 clients. We had no problems
with the version 2.0.7 at all. I am looking for the new possibilities(PDC,
BDC and LDAP...) with Samba 2.2.5 and newer. I installed samba.org version
of Samba 2.2.5 and from that we have had problems with Office 97 documents
in Windows 95 machines. Office freezes and cannot save or create new
documents or open existing documents. I searched for this kind of problems
from the mailing lists and the web and found out that i am not the only one
having problems with oplocks.
Why did i not have problems with 2.0.7, is Windows 95 support forgotten from
the 2.2.x versions of Samba?
The common advice is to put oplocks = no, but this i cannot do, because it
means not to use Office 97 from Windows 95 machines(they cannot use any
Office documents from the share or create new ones at all), why is that?
Is there difference in putting oplocks =no at global or share sections on
smb.conf, which kind?
Is there a way of telling the client to not ask for oplocks, so that i could
disable oplocks from Windows 95 machines?
We are now using Samba 2.2.6 with the same problems as 2.2.5 even though
there have been discussions of correcting locking problems from 2.2.5, but
if this thing was fine allready in version 2.0.7, why does Samba have this
kind of fundamental problems?
Version 2.2.5 and 2.2.6 have oplock errors also with other programs(F-Secure
Anti-Virus, AutoCAD LT 97...), but they does not seem to affect to programs
like Office 97.
There has been also loss of documents with Office 97 at these situations,
when the program cannot save the file(anywhere anymore).
I have not heard any problems with Windows NT4 or 2000 clients allthough in
the web many have told there ar same kind of problems also with these
clients.


Hannu Virtanen

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



RE: [Samba] Help on ACLs and samba

2002-11-15 Thread Noel Kelly
To use ACLs you will need an ACL-enabled kernel/filesystem and build Samba
on top of this.  Some distros like Mandrake now come with ACLs built in.
Otherwise you will need to patch your kernel.

However, if your current shares are done with whole groups then you probably
don't need ACLs and can simply use the security in Samba using parameters
like 'valid users=', 'write list=', 'read list=', 'force group=' etc.  Much
simpler from both an administration and setup point of view.

There is no way to transfer your NT ACLs to Samba automatically (same as if
you transferred stuff between any two volumes - you will always lose the
ACLs).

I don't think there is a way of grabbing the whole SAM database
automatically from an existing NT domain in Samba 2.2.6 (there is something
like this in 3.0 i believe?).   You will need to create each user in your
Samba PDC manually but if you have a large number then you could use
winbindd to get a text listing of the users on the current domain and then
use a script to create each of them on the Samba PDC.

HTH,
Noel



-Original Message-
From: Adrian Chow Seng Yien [mailto:chowadrian;icr.a-star.edu.sg]
Sent: 15 November 2002 02:16
To: [EMAIL PROTECTED]
Subject: [Samba] Help on ACLs and samba


Hi,

Firstly I want to declare I am a newbie to Samba.  I am installing samba
over Redhat 8.0

I need to know whether Samba can replace my NT4 PDC in the following aspects
and how to do it:-
1.  ACLs.  Must i create the every user name in Samba as in the NT4 PDC?
How do I create groups like Protocol Stack with space in between the
groupname?  (Making sure that the ACls are mapped properly when transfering
files over to Linux Samba)
2.  If I were to transfer files from the NT4 PDC to Linux Samba, can I
retains the ACLs being set on NT4?  How must I do to ensure the ACls are
retained?  (Similar to question 1)
3.  Is there any method to transfer the SAM over without creating every user
and group all over again?

FYi, my PDC is doing file sharing only with permissions set for different
groups in different levels of the directories.   I am going to remove the
NT4 server and use Samba ultimately.

If cannot answer in 1 email, please refer me to the right documentation to
do so.

Thanks.

newbie adrian

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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.410 / Virus Database: 231 - Release Date: 31/10/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.410 / Virus Database: 231 - Release Date: 31/10/2002
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] samba ldap and starttls

2002-11-15 Thread Bill Dossett
Hi,

I'm trying to get samba working with an v3 ldap server.
I want to use ssl starttls, however, the samba complains
that my openldap client libraries don't support starttls.
This isn't true, at least I don't believe so as I am using
ldapsearc ZZ and ldap.conf has ssl starttls and it's working
fine and I assume this uses the ldap client libraries and
I get no complaints.

I am using samba 2.2.5 compiled --with-ssl and openldap server
2.0.25 and openldap clients 2.0.25 and when I use ldapsearch
and I run the server in debug mode, it is doing TLS conversation
correctly and running encrypted.

Does this version of samba support starttls protocol?

If I don't enable ssl in my samba conf, then it authenticates
fine... I'm 99% of the way there, but can't get this last
bit to work.  Any ideas?

Thanks

Bill

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



[Samba] Where is the WINS info saved.

2002-11-15 Thread Bo Jacobsen



IsSamba using afile where it savesWINS info 
onmachines.
At times it could be useful to see what machine info Samba has 
gathered.


Than in Advance Bo Jacobsen



RE: [Samba] Help on ACLs and samba

2002-11-15 Thread Adrian Chow Seng Yien
Hi Noel,

Thanks for the reply.  

So I can create the same user id.  How about the groups?  Eg groupname with 2 or more 
words?   How can I create them in Samba?

Is there a possibility that I can map like abc group in Samba with abc group in NT4 
PDC?

Are you saying that if you copy files from the NT4 PDC to Samba Linux, the ACLs will 
be lost?  No way to preserve them?

adrian

 Noel Kelly [EMAIL PROTECTED] 11/15/02 04:49PM 
To use ACLs you will need an ACL-enabled kernel/filesystem and build Samba
on top of this.  Some distros like Mandrake now come with ACLs built in.
Otherwise you will need to patch your kernel.

However, if your current shares are done with whole groups then you probably
don't need ACLs and can simply use the security in Samba using parameters
like 'valid users=', 'write list=', 'read list=', 'force group=' etc.  Much
simpler from both an administration and setup point of view.

There is no way to transfer your NT ACLs to Samba automatically (same as if
you transferred stuff between any two volumes - you will always lose the
ACLs).

I don't think there is a way of grabbing the whole SAM database
automatically from an existing NT domain in Samba 2.2.6 (there is something
like this in 3.0 i believe?).   You will need to create each user in your
Samba PDC manually but if you have a large number then you could use
winbindd to get a text listing of the users on the current domain and then
use a script to create each of them on the Samba PDC.

HTH,
Noel



-Original Message-
From: Adrian Chow Seng Yien [mailto:chowadrian;icr.a-star.edu.sg] 
Sent: 15 November 2002 02:16
To: [EMAIL PROTECTED] 
Subject: [Samba] Help on ACLs and samba


Hi,

Firstly I want to declare I am a newbie to Samba.  I am installing samba
over Redhat 8.0

I need to know whether Samba can replace my NT4 PDC in the following aspects
and how to do it:-
1.  ACLs.  Must i create the every user name in Samba as in the NT4 PDC?
How do I create groups like Protocol Stack with space in between the
groupname?  (Making sure that the ACls are mapped properly when transfering
files over to Linux Samba)
2.  If I were to transfer files from the NT4 PDC to Linux Samba, can I
retains the ACLs being set on NT4?  How must I do to ensure the ACls are
retained?  (Similar to question 1)
3.  Is there any method to transfer the SAM over without creating every user
and group all over again?

FYi, my PDC is doing file sharing only with permissions set for different
groups in different levels of the directories.   I am going to remove the
NT4 server and use Samba ultimately.

If cannot answer in 1 email, please refer me to the right documentation to
do so.

Thanks.

newbie adrian

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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.410 / Virus Database: 231 - Release Date: 31/10/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.410 / Virus Database: 231 - Release Date: 31/10/2002
 
-- 
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 + samba 2.2.6 PDC

2002-11-15 Thread Andrea De Crescenzo
Hello,
I have installed a samba 2.2.6 PDC and everything works fine, ut now I
would like to synch the unix account and the NT ones.
I am trying to use winbind but with no success.
My question is if is possible to use winbind to get user name and
groups from a samba PDC? I have tried several time but everytime there
is an error regarding connection to PIPE.
Could you please tell me if this is feaseable?
Thank you,
Andrea

  

-- 
Best regards,
 Andrea  mailto:decre;tiscali.it


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



Re: [Samba] Where is the WINS info saved.

2002-11-15 Thread Alexander Kuznetsov
BJ Is Samba using a file where it saves WINS info on machines.

/var/cache/samba/wins.dat - WINS records
/var/cache/samba/browse.dat - BROWSE records

Good Luck

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



[Samba] ÄúÓвúÆ·ÐèÐû´«Âð?ÎÒÃÇ¿ÉÒÔΪÄúÌṩÂúÒâµÄ·þÎñ!

2002-11-15 Thread ÄãºÃ





¸óÏÂ:Èç¹ûÄúÐèҪͨ¹ýemail×ö¹ã¸æ,ÎÒ¿ÉÒÔΪÄãÌṩÍøÂçÓʼþ¼«ËÙȺ·¢Èí¼þºÍemailµØÖ·¿â,
¼Û¸ñ:(ÍøÂçÓʼþ¼«ËÙȺ·¢Èí¼þ+500ÍòÓÊÖ·)=650Ôª,Óʼþ¼«ËÙȺ·¢Èí¼þ¿ÉÏÈÃâ·ÑÏÂÔØÊÔÓÃ,Èí¼þÃâ·ÑÏÂÔصØÖ·:www.www999.com
ÊÔÓÃÂúÒâºó,µ±Ìì½»»õ,»¶Ó­¶©¹º,µçÓÊ:[EMAIL PROTECTED],µç»°:0755-26383669ÁªÏµÈË:ÑîÉú

Áí:½¨ÍøÕ¾880Ԫȫ°üÆð(Ò»¸ö¹ú¼ÊÓòÃû,100MÍøÕ¾¿Õ¼ä,4Ò³ÍøÒ³),ÏêÇéÇëµç:0755-26383669,ÍøÖ·:www.www999.comÁªÏµÈË:ÑîÉú


Èç¹û¸óϲ»ÐèÕâЩ·þÎñ,ÄÇÎÒÒ»¶¨ÊÇ´òÈÅÄúÁË,ÇëÔ­Á²¢É¾³ýÖ®,лл£¡

¡¾×¢Òâ¡¿ÉÏÃæµÄÓʼþÄÚÈÝ ÓëÒÔÏÂÎÄ×ÖÎ޹ء£±¾Èí¼þ½öÏÞÓںϷ¨ÓÃ;!¸ÃÓʼþÓÉ¡°ÃÀ¶ûÍøÂçÓªÏúÌØ¿ìרÁС±Èí¼þ·¢ËÍ£º¹¦ÄÜÇ¿´óµÄÈ«ÐÂÍøÂçÓªÏúÈí¼þ£¬Ãñ×åÈí¼þµÄ½¾°Á£¬ÎÅÃûÖÐÍ⣡Ãâ·ÑÏÂÔØÊÔÓãºhttp://www.99aa.com/




Re: [Samba] Help on ACLs and samba

2002-11-15 Thread Noel Kelly
 So I can create the same user id.  How about the groups?  Eg groupname
with 2 or more words?   How can I create them in Samba?

You can have groups with more than one word but you will need to enclose
them in  .  I would recommend you use a '_' though or something similar
rather than a space.


 Is there a possibility that I can map like abc group in Samba with abc
group in NT4 PDC?

Are you wanting to keep the existing PDC and use Samba as a member server?
If so then all you need to do is investigate using winbindd which will give
you access to the NT SAM database and allow you to treat them as local
users/groups on the Samba server.


 Are you saying that if you copy files from the NT4 PDC to Samba Linux, the
ACLs will be lost?  No way to preserve them?


Correct.  Even if you copied files from one NT server to another you will
lose the ACLs.  The only way to document your ACLs in NT is using the
command line utility 'cacls'.

Noel


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.410 / Virus Database: 231 - Release Date: 05/11/2002

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



[Samba] ACL problem

2002-11-15 Thread Adrian Chow Seng Yien
Hi,

I am running Redhat linux 8.0.

rpm -qa | grep acl gives the following result
libacl-2.0.11-2
acl-2.0.11-2
libacl-devel-2.0.11-2

How can I know whether I got acl support install on my NT machine?  Do I need to 
specify acl support in the smb.conf file?  
I got problem giving permission to another person for rwx to a file.



Thanks.

adrian

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



Re: [Samba] Samba Member Server or LDAP?

2002-11-15 Thread Buchan Milne
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 Message: 20
 From: Nick Willey [EMAIL PROTECTED]
 To: Samba Mailing List [EMAIL PROTECTED]
 Date: Thu, 14 Nov 2002 15:54:42 -0500
 Subject: [Samba] Samba Member Server or LDAP?

 Hi,

 Is it possible for samba to act as a member server in a samba domain?

Yes


 What I'm trying to accomplish is:

 I already have a samba pdc setup.  Everything works fine with login
scripts,
 password change, etc. However I need to move all of the home directories
 onto another server with a much larger disk and would like to keep the
 existing server to authenticate users against.  My idea was to point
the new
 member server to the existing pdc as password server, and set the
pdc
 server logon home option to point to \\member\home\%u.

 My ultimate goal is to centralize user/machine management and only have to
 do it one one machine, but have the option of several servers available to
 all users setup on said machine.

 Would looking at implementing LDAP be a more efficient option?

Samba can act as a domain member, but it needs some way to be able to
map windows SIDs to UID/GIDs for permissions etc to work, so you need to
be able to sync unix accounts for this to work. LDAP is probably the
better method. But you don't need samba to store it's passwords in LDAP,
in fact with 2.2.x it may be better not to.

So, you probably need to setup LDAP (or NIS or rysnc your passwd files)
regardless. LDAP has other benefits which NIS and passwd file syncing
don't have.

Buchan

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

iD8DBQE91MZLrJK6UGDSBKcRAt2EAKDHvp3sR2ZyWWrECi1XZMx2RrtBpQCfY7K1
kGJSOohySfmBgXbe4n4RKrQ=
=gUw6
-END PGP SIGNATURE-

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



RE: [Samba] ACL problem

2002-11-15 Thread Noel Kelly
Redhat 8 does not have ACL support in the kernel - they pulled it at the
last minute.  The user tools are there but not the actual kernel support for
them.  Read the release notes - last paragraph - for an explanation.


-Original Message-
From: Adrian Chow Seng Yien [mailto:chowadrian;icr.a-star.edu.sg]
Sent: 15 November 2002 09:50
To: [EMAIL PROTECTED]
Subject: [Samba] ACL problem


Hi,

I am running Redhat linux 8.0.

rpm -qa | grep acl gives the following result
libacl-2.0.11-2
acl-2.0.11-2
libacl-devel-2.0.11-2

How can I know whether I got acl support install on my NT machine?  Do I
need to specify acl support in the smb.conf file?  
I got problem giving permission to another person for rwx to a file.



Thanks.

adrian

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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.410 / Virus Database: 231 - Release Date: 31/10/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.410 / Virus Database: 231 - Release Date: 31/10/2002
 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Samba3.0a20 PDC + win2k client

2002-11-15 Thread Andrew Bartlett
On Fri, 2002-11-15 at 09:32, Samba Guy wrote:
 Here is my config.
 
 
 [global]
 workgroup = TESTDOMAIN
 netbios name = TEST
 null passwords = Yes
 passdb backend = ldapsam:ldap://localhost
 log file = /usr/local/samba/logs
 add user script = /usr/sbin/useradd -d /dev/null -g 503 -s
 /bin/false -M %u
 add machine script = /usr/sbin/useradd -d /dev/null -g 503 -s
 /bin/false -M %u
 logon path = \\%N\profiles\%g
 logon drive = U:
 domain logons = Yes
 os level = 255
 preferred master = True
 domain master = True
 wins server = 192.168.0.15
 wins support = Yes
 
 Ldap settings removed
 
 ldap ssl = start tls
 comment = Linux RedHat Samba Server
 guest ok = Yes
 security = server

Why do you have 'security=server' and use ldapsam?  Particularly as you
are forcing your machine as the PDC.

Firstly, you should never use 'security=server' unless you cannot use
'security=domain' or 'security=ads', and secondly, you can't use it and
be a PDC...

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net



signature.asc
Description: This is a digitally signed message part


[Samba] winbind mixcase DOMAIN+username!?!

2002-11-15 Thread Di Vaio Gianluigi
Dear All,

I have a serius (for me) problem here (probably its impossible to solve...).

I have noticed that winbind use a string in mixcase (DOMAIN+username) to map
the owner of a file???.

Do you think that is possible to obtain a string all in capital letters
(DOMAIN+USERNAME)?. 

Actually I'm working on SuSE 8.0 with Samba 2.2.5.

I will appreciate any help, so thanks in advance.
Regards,
Gianluigi Di Vaio
IT Support
Otto Bock Italia Srl




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



[Samba] 2ND POST - Problem With Winbind

2002-11-15 Thread Di Vaio Gianluigi


Hallo,
go to this address there is a nice how-to that works perfect with my RedHat
8.0

http://www.isomedia.com/homes/kpuckett/Windows_Domain_Logins_from_RH7.3.htm

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



[Samba] Roaming profiles on WinXP SP1 and samba....

2002-11-15 Thread Hamish Whittal
Hi Everyone,

I have read as much as I can find about this subject and still am no
closer to understanding why my roaming profiles are not working
correctly.
I have an existing Samba server with RP working. Now I need to move this
to new server due to HW failure on original server.

Configs almost identical. Profiles now reside on a different partition,
but I' ve told samba where to find them.

User logs on, and it all look hunky, till they try to change any
settings in their start bar, retrieve their mail with their original
email setting, etc. Then nothing works. e.g. I change their desktop to
reflect the winXP look/feel. When I log out, it returns to the original
setup.

Can anybody point me to additional resources or give the 123 on how
these profiles things are supposed to work.
Cheers in advance.

Hamish



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



[Samba] filename problem

2002-11-15 Thread Mirek Hankus

 I got problem with filenames. Some info on my configuration
	Samba 2.2.6
	client code page=852
	character set=ISO8859-2


 When serving files with  character, example:

	user on server (H).lnk


(standard link to home drive). Windows 2000 sees something
like

	user~x%

It is even worse when such file is located in user profile, which makes 
it impossible to save user profile to samba server.
Coping is possible only from windows to samba (filename is preserved) 
but coping back fails besause windows see different filename.


Regards
	Mirek


	


smime.p7s
Description: S/MIME Cryptographic Signature


RE: [Samba] filename problem

2002-11-15 Thread Bernd Wölfel
correct me if i am wrong but  is no allowed character within a filename
under windows

hope that helps

bernd
 
   I got problem with filenames. Some info on my configuration
   Samba 2.2.6
   client code page=852
   character set=ISO8859-2
 
 
   When serving files with  character, example:
 
   user on server (H).lnk
 
 
 (standard link to home drive). Windows 2000 sees something
 like
 
   user~x%
 
 It is even worse when such file is located in user profile, 
 which makes 
 it impossible to save user profile to samba server.
 Coping is possible only from windows to samba (filename is preserved) 
 but coping back fails besause windows see different filename.
 
 
 Regards
   Mirek
 
 
   
 


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



Re: [Samba] filename problem

2002-11-15 Thread Mirek Hankus




Problem is that Windows creates such file automatically. Steps to
create such file.

1. mount your home directory under h:
2. open "my computer" and drag h: drive  to your desktop.
3. now you have file with " character, which can be copied to samba,
but not from samba to windows.

Mirek


Bernd Wölfel wrote:

  correct me if i am wrong but " is no allowed character within a filename
under windows

hope that helps

bernd
  
  
  I got problem with filenames. Some info on my configuration
	Samba 2.2.6
	client code page=852
	character set=ISO8859-2


  When serving files with " character, example:

	user on "server" (H).lnk


(standard link to home drive). Windows 2000 sees something
like

	user~x%

It is even worse when such file is located in user profile, 
which makes 
it impossible to save user profile to samba server.
Coping is possible only from windows to samba (filename is preserved) 
but coping back fails besause windows see different filename.


Regards
	Mirek


	


  
  
  





smime.p7s
Description: S/MIME Cryptographic Signature


RE: [Samba] filename problem

2002-11-15 Thread Bernd Wölfel
strange...
just tried it with servers win2k,samba 2.2.3a, samba 2.2.6 and clients
2kpro sp3, xp sp1 (all german edition)

under my computer I see the natwork drive as blabla on server xyz(z)
but as soon as i drag the share to the desktop the  charcters are
automagically removed

my smb.conf
says
character set = ISO8859-15 (but I think this has nothing to do with the
problem)

which client operating system are you using?

bernd



Problem is that Windows creates such file automatically. Steps to
create such file.

1. mount your home directory under h:
2. open my computer and drag h: drive  to your desktop.
3. now you have file with  character, which can be copied to samba,
but not from samba to windows.

Mirek


Bernd Wölfel wrote:

correct me if i am wrong but  is no allowed character within a filename
under windows

hope that helps

bernd
  
  I got problem with filenames. Some info on my configuration
Samba 2.2.6
client code page=852
character set=ISO8859-2


  When serving files with  character, example:

user on server (H).lnk


(standard link to home drive). Windows 2000 sees something
like

user~x%

It is even worse when such file is located in user profile, 
which makes 
it impossible to save user profile to samba server.
Coping is possible only from windows to samba (filename is preserved) 
but coping back fails besause windows see different filename.


Regards
Mirek






  


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



RE: [Samba] filename problem

2002-11-15 Thread Bernd Wölfel
strange...
just tried it with servers win2k,samba 2.2.3a, samba 2.2.6 and clients
2kpro sp3, xp sp1 (all german edition)

under my computer I see the natwork drive as blabla on server xyz(z)
but as soon as i drag the share to the desktop the  charcters are
automagically removed

my smb.conf
says
character set = ISO8859-15 (but I think this has nothing to do with the
problem)

which client operating system are you using?

bernd



Problem is that Windows creates such file automatically. Steps to
create such file.

1. mount your home directory under h:
2. open my computer and drag h: drive  to your desktop.
3. now you have file with  character, which can be copied to samba,
but not from samba to windows.

Mirek


Bernd Wölfel wrote:

correct me if i am wrong but  is no allowed character within a filename
under windows

hope that helps

bernd
  
  I got problem with filenames. Some info on my configuration
Samba 2.2.6
client code page=852
character set=ISO8859-2


  When serving files with  character, example:

user on server (H).lnk


(standard link to home drive). Windows 2000 sees something
like

user~x%

It is even worse when such file is located in user profile, 
which makes 
it impossible to save user profile to samba server.
Coping is possible only from windows to samba (filename is preserved) 
but coping back fails besause windows see different filename.


Regards
Mirek






  


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



Re: [Samba] filename problem

2002-11-15 Thread Mirek Hankus





On Win2k sp3 Polish and XP Polish " are preserved when dragging 
drive to desktop, so I've got big problem. 

Have you tried to create a file with " on server (directly in shell),
and see how 
client see it ???

Mirek



Bernd Wlfel wrote:

  strange...
just tried it with servers win2k,samba 2.2.3a, samba 2.2.6 and clients
2kpro sp3, xp sp1 (all german edition)

under my computer I see the natwork drive as "blabla" on server xyz(z)
but as soon as i drag the share to the desktop the " charcters are
automagically removed

my smb.conf
says
character set = ISO8859-15 (but I think this has nothing to do with the
problem)

which client operating system are you using?

bernd


  
  
Problem is that Windows creates such file automatically. Steps to

  
  create such file.
  
  
1. mount your home directory under h:
2. open "my computer" and drag h: drive  to your desktop.
3. now you have file with " character, which can be copied to samba,

  
  but not from samba to windows.
  
  
Mirek



  
  Bernd Wlfel wrote:

correct me if i am wrong but " is no allowed character within a filename
under windows

hope that helps

bernd
  
  I got problem with filenames. Some info on my configuration
	Samba 2.2.6
	client code page=852
	character set=ISO8859-2


  When serving files with " character, example:

	user on "server" (H).lnk


(standard link to home drive). Windows 2000 sees something
like

	user~x%

It is even worse when such file is located in user profile, 
which makes 
it impossible to save user profile to samba server.
Coping is possible only from windows to samba (filename is preserved) 
but coping back fails besause windows see different filename.


Regards
	Mirek


	



  


  





RE: [Samba] filename problem

2002-11-15 Thread Bernd Wölfel
alright.. just tried it with 2.2.3a and 2.2.6

i created a file test.txt with vi \test\.txt, the file shows up
correctly within the shell as test.txt

when i look under windows (2k sp3 and xp sp1 both german)
the file shows up as TEST~AO.TXT same on samba 2.2.3a and 2.2.6 (see the
filename is converted to uppercase?!)

could still be your characterset or your codepage could you comment both
lines out just for testing?



On Win2k sp3 Polish and XP Polish   are preserved when dragging 
drive to desktop, so I've got big problem. 

 Have you tried to create a file with  on server (directly in shell),
and see how 
client see it ???

Mirek



Bernd Wölfel wrote:

strange...
just tried it with servers win2k,samba 2.2.3a, samba 2.2.6 and clients
2kpro sp3, xp sp1 (all german edition)

under my computer I see the natwork drive as blabla on server xyz(z)
but as soon as i drag the share to the desktop the  charcters are
automagically removed

my smb.conf
says
character set = ISO8859-15 (but I think this has nothing to do with the
problem)

which client operating system are you using?

bernd


  
Problem is that Windows creates such file automatically. Steps to

create such file.
  
1. mount your home directory under h:
2. open my computer and drag h: drive  to your desktop.
3. now you have file with  character, which can be copied to samba,

but not from samba to windows.
  
Mirek



Bernd Wölfel wrote:

correct me if i am wrong but  is no allowed character within a filename
under windows

hope that helps

bernd
  
  I got problem with filenames. Some info on my configuration
Samba 2.2.6
client code page=852
character set=ISO8859-2


  When serving files with  character, example:

user on server (H).lnk


(standard link to home drive). Windows 2000 sees something
like

user~x%

It is even worse when such file is located in user profile, 
which makes 
it impossible to save user profile to samba server.
Coping is possible only from windows to samba (filename is preserved) 
but coping back fails besause windows see different filename.


Regards
Mirek






  


  


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



[Samba] How to configure Unix file mode on NT/2000 file transfer

2002-11-15 Thread Tom Hoth



I could not find 
this in the list...

How can I 
configure Samba (I'm on 2.2) to automatically strip those pesky ^M character 
(DOS newline) when Ishare a Unix/Solaris slice to NT. I'd like 
to be able to copy files back and forth and not have to edit the files and strip 
out the control-M characters in my files on Unix.

Any 
ideas?

Thanks,
Tom


[Samba] How to configure Unix file mode on NT/2000 file transfer

2002-11-15 Thread Tom Hoth



I could not 
find this in the list...

How can I 
configure Samba (I'm on 2.2) to automatically strip those pesky ^M character 
(DOS newline) when Ishare a Unix/Solaris slice to NT. I'd like 
to be able to copy files back and forth and not have to edit the files and strip 
out the control-M characters in my files on Unix.

Any 
ideas?

Thanks,

Tom


[Samba] How to configure Unix file mode on NT/2000 file transfer

2002-11-15 Thread Tom Hoth



I could not 
find this in the list...

How can I 
configure Samba (I'm on 2.2) to automatically strip those pesky ^M character 
(DOS newline) when Ishare a Unix/Solaris slice to NT. I'd like 
to be able to copy files back and forth and not have to edit the files and strip 
out the control-M characters in my files on Unix.

Any 
ideas?

Thanks,

Tom


[Samba] Problem with print$

2002-11-15 Thread Kurt Pfeifle
Lloyd Dieter [EMAIL PROTECTED] wrote:



Message: 8
Date: Fri, 15 Nov 2002 06:41:50 -0500
From: Lloyd Dieter [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Organization: Synergy, Inc.
Subject: [Samba] Problem with print$

Ok...I'm stuck.

Environment:

Suse 8.0, with Samba 2.2.3a, no domain controller (workgroup only).

Client machine is NT4 Workstation, SP5.

Access to disk shares is fine, no problems, using encrypted PWs.

I'm trying to set up a [print$] share, as described in chapter 6 of the
Samba-HOWTO-Collection.


Maybe you should *really* use for the share [print$], not [printer$]
in your smb.conf.. ;-)


The symptom that I get is that when I attempt to load the driver to the
print$ share, I get a copy error on the NT machine, which seems to
indicate a problem with the source.  Yet, I can install the driver from
this location directly on the NT machine without a problem.  When this
appears, no files are put in the print$ share.

It looked to me like a permissions problem, so that is how I have been
approaching it, but to no avail. The location for print$ is
/etc/samba/drivers, owned by root:root, with 777 access, including the
parent directories.

I though perhaps the ownership by root was as issue, so I also tried a
directory owned by ldieter:users, which is how I am connecting (ldieter is
an admin account on the NT box), but saw the same problem.

The relevant part of my smb.conf is below...any help would be greatly
appreciated.

Regards,

-Lloyd

# Global parameters
[global]
workgroup = LANGROUP
interfaces = 192.168.5.2/24
security = SHARE
encrypt passwords = Yes
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
printcap name = cups
character set = ISO8859-15
os level = 2
printer admin = @ntadmin, ldieter
printing = cups
use client driver = Yes

[printers]
path = /var/spool/samba
printer admin = root
guest ok = Yes
hosts allow = 192.168.5.
printable = Yes
browseable = No

[printer$]
comment = Printer Drivers
path = /etc/samba/drivers
write list = root, @ntadmin, ldieter
guest ok = Yes
browseable = yes
readonly = yes



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



Re: [Samba] filename problem

2002-11-15 Thread Mirek Hankus




I can't turn character encoding off right now (too many users are using
this server), but 
in my opinion if you created file named: "test".txt you should see it in
the same way in windows. Windows in Polish editions allow to create
files 
with " characters. You can store, and use them from Win2k server, but
not from 
Samba server. Notice that it is posible to copy file with " from
windows to samba (file 
is created correctly in unix filesystem), but that is all you can do.
File created in that
way can't even be deleted. In my opinion it is bug in Samba. Should I
report it ??

Mirek


Bernd Wlfel wrote:

  alright.. just tried it with 2.2.3a and 2.2.6

i created a file "test".txt with vi \"test\".txt, the file shows up
correctly within the shell as "test".txt

when i look under windows (2k sp3 and xp sp1 both german)
the file shows up as TEST~AO.TXT same on samba 2.2.3a and 2.2.6 (see the
filename is converted to uppercase?!)

could still be your characterset or your codepage could you comment both
lines out just for testing?



  
  
On Win2k sp3 Polish and XP Polish  " are preserved when dragging 
drive to desktop, so I've got big problem. 

Have you tried to create a file with " on server (directly in shell),

  
  and see how 
  
  
client see it ???

Mirek


  
  

Bernd Wlfel wrote:

strange...
just tried it with servers win2k,samba 2.2.3a, samba 2.2.6 and clients
2kpro sp3, xp sp1 (all german edition)

under my computer I see the natwork drive as "blabla" on server xyz(z)
but as soon as i drag the share to the desktop the " charcters are
automagically removed

my smb.conf
says
character set = ISO8859-15 (but I think this has nothing to do with the
problem)

which client operating system are you using?

bernd


  
Problem is that Windows creates such file automatically. Steps to

create such file.
  
1. mount your home directory under h:
2. open "my computer" and drag h: drive  to your desktop.
3. now you have file with " character, which can be copied to samba,

but not from samba to windows.
  
Mirek



Bernd Wlfel wrote:

correct me if i am wrong but " is no allowed character within a filename
under windows

hope that helps

bernd
  
  I got problem with filenames. Some info on my configuration
	Samba 2.2.6
	client code page=852
	character set=ISO8859-2


  When serving files with " character, example:

	user on "server" (H).lnk


(standard link to home drive). Windows 2000 sees something
like

	user~x%

It is even worse when such file is located in user profile, 
which makes 
it impossible to save user profile to samba server.
Coping is possible only from windows to samba (filename is preserved) 
but coping back fails besause windows see different filename.


Regards
	Mirek


	



  


  


  





[Samba] FW: How to configure Unix file mode on NT/2000 file transfer

2002-11-15 Thread Tom Hoth

I could not find this in the list... 

How can I configure Samba (I'm on 2.2) to automatically strip those pesky ^M character 
(DOS newline) when I share a Unix/Solaris slice to NT.   I'd like to be able to copy 
files back and forth and not have to edit the files and strip out the control-M 
characters in my files on Unix. 

Any ideas? 

 Thanks, 

Tom¢éì¹»®Þ~º¶¬–+-‚‹h¶Ÿ¢YhÂ)àQڝÚÞiÛaz)춻œ¶*'²m§ÿåŠËl±©›jŠàþf¢–f§þX¬¶)ߣû™¶


RE: [Samba] filename problem

2002-11-15 Thread Bernd Wölfel
yes, could be a bug, maybe someone else could check it too? 
I am far to inexperienced to judge whether or not samba has a bug...

just changed my regional settings and input settings to polish but i am
still not allowed to create a  file

seems like you need the polish edition of windows to do this...

your codepage file for 852 is in the right directory (default:
/usr/local/samba/lib/codepages)

sorry but there's nothing more that comes to my mind.. for the moment


regards
 bernd


I can't turn character encoding off right now (too many users are using
this server), but 
in my opinion if you created file named: test.txt you should see it
in
the same way in windows. Windows in Polish editions allow to create
files 
with  characters. You can store, and use them from Win2k server, but
not from 
Samba server. Notice that it is posible to copy file with  from
windows to samba (file 
is created correctly in unix filesystem), but that is all you can do.
File created in that
way can't even be deleted. In my opinion it is bug in Samba. Should I
report it ??

 Mirek


Bernd Wölfel wrote:

alright.. just tried it with 2.2.3a and 2.2.6

i created a file test.txt with vi \test\.txt, the file shows up
correctly within the shell as test.txt

when i look under windows (2k sp3 and xp sp1 both german)
the file shows up as TEST~AO.TXT same on samba 2.2.3a and 2.2.6 (see the
filename is converted to uppercase?!)

could still be your characterset or your codepage could you comment both
lines out just for testing?



  
On Win2k sp3 Polish and XP Polish   are preserved when dragging 
drive to desktop, so I've got big problem. 

Have you tried to create a file with  on server (directly in shell),

and see how 
  
client see it ???

Mirek




Bernd Wölfel wrote:

strange...
just tried it with servers win2k,samba 2.2.3a, samba 2.2.6 and clients
2kpro sp3, xp sp1 (all german edition)

under my computer I see the natwork drive as blabla on server xyz(z)
but as soon as i drag the share to the desktop the  charcters are
automagically removed

my smb.conf
says
character set = ISO8859-15 (but I think this has nothing to do with the
problem)

which client operating system are you using?

bernd


  
Problem is that Windows creates such file automatically. Steps to

create such file.
  
1. mount your home directory under h:
2. open my computer and drag h: drive  to your desktop.
3. now you have file with  character, which can be copied to samba,

but not from samba to windows.
  
Mirek



Bernd Wölfel wrote:

correct me if i am wrong but  is no allowed character within a filename
under windows

hope that helps

bernd
  
  I got problem with filenames. Some info on my configuration
Samba 2.2.6
client code page=852
character set=ISO8859-2


  When serving files with  character, example:

user on server (H).lnk


(standard link to home drive). Windows 2000 sees something
like

user~x%

It is even worse when such file is located in user profile, 
which makes 
it impossible to save user profile to samba server.
Coping is possible only from windows to samba (filename is preserved) 
but coping back fails besause windows see different filename.


Regards
Mirek






  


  


  


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



Re: [Samba] FW: How to configure Unix file mode on NT/2000 file transfer

2002-11-15 Thread Frank Matthieß
On Fri, Nov 15, 2002 at 09:56:49AM -0500, Tom Hoth wrote:
 
 I could not find this in the list... 
 
 How can I configure Samba (I'm on 2.2) to automatically strip those pesky ^M
 character (DOS newline) when I share a Unix/Solaris slice to NT.   I'd like
 to be able to copy files back and forth and not have to edit the files and
 strip out the control-M characters in my files on Unix. 

This isn't the job of a fileservice like samba. This is a job of applications
to handle filecontents.

 
 Any ideas? 
 

Use e.g editor who are able to handle all linebreak styles.

PS: Told your Outlook to break lines at least at 78 char. Your message was 286
chars long - nearly unreadable..
-- 
Frank Matthieß[EMAIL PROTECTED]

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



[Samba] hiding and vetoing files (for Samba 2.2.2 WindowsExplorer)

2002-11-15 Thread Darin DeCounter
We're running Samba 2.2.2 on an RS/6000 (AIX 4.3.3) using Windows 95 
clients. We've tried the hide files and veto files option in smb.conf, 
but when the shares are mapped, we can still see the contents in Windows 
Explorer. We used the wildcard for all the contents of the shares (ex. hide 
files = /*.*/). The Samba manual only makes reference to Windows 98, so is 
this even applicable on 95? Once we test on 95 and implement, we'll be 
upgrading to Windows 2000. If at all possible, we wanted to hide the entire 
share on Windows Explorer (not just the contents, but we'll take what we 
can get). Someone said when mapping, we could specify a $ at the end of 
the share within the net use syntax and this would hide the entire share, 
but it doesn't work and they were doing this on an NT system (so we're not 
sure if Windows 95, 98 or 2000 even supports this).  Thanks in advance for 
any help.

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


[Samba] Samba unable to validate password error

2002-11-15 Thread Carolyn Mayr
I sent the following to [EMAIL PROTECTED] and I'm also forwarding
this to the samba list.  I hope you can help:

- Begin Forwarded Message -
I have an emergency and am at the end of my resources and hope you can help.
I'm a samba newbie and hope you can point me to an answer.

Our Samba2.0.5 server is a Sun Enterprise 450 (Solaris 7).  Our PDC
is an NT machine called warrior.  The warrior is the smbpasswd server
and the domain is CSDEPARTMENT.

We've been running samba for the past 2 years with no problem.  Now we
are seeing a problem with new users in the CSDEPARTMENT domain when a 
user tries to log in from their PC to our samba server:

  [2002/11/15 07:53:51, 0] smbd/password.c:(1470)
domain_client_validate: unable to validate password for user velazque in 
domain CSDEPARTMENT to Domain controller WARRIOR. Error was code 0.
  [2002/11/15 07:53:51, 1] smbd/password.c:(500)
Couldn't find user 'velazque' in smb_passwd file.
  [2002/11/15 07:53:51, 1] smbd/password.c:(500)
Couldn't find user 'velazque' in smb_passwd file.
  [2002/11/15 07:53:51, 1] smbd/reply.c:(925)
Rejecting user 'velazque': authentication failed
  [2002/11/15 07:53:51, 1] smbd/server.c:(641)
smbd version 2.0.7 started.


I don't know what is causing this.  I reviewed my smb.conf file using the
Samba Unleashed book and according to the book, it's correct.  

I thought maybe the problem was with the PDC credentials so I tried this:

#/opt/samba/bin/smbpasswd -j CSDEPARTMENT -r warrior

   cli_net_auth2: Error NT_STATUS_ACCESS_DENIED
   cli_nt_setup_creds: auth2 challenge failed
   modify_trust_password: unable to setup the PDC credentials to machine 
WARRIOR.   Error was : NT_STATUS_ACCESS_DENIED.
   2002/11/15 09:34:55 : change_trust_account_password: Failed to change 
password for domain CSDEPARTMENT.
   Unable to join domain CSDEPARTMENT.

Could this be why I'm having the user validation problem?  BTW, we do have
an /etc/opt/samba/private directory with some old files:

-rw-r--r--   1 root root  40 Aug 17  2000 MACHINE.SID
-rw---   1 root root 127 Apr 30  2001 smbpasswd
-rw-r--r--   1 root other 25 Aug 18  2000 smbpasswd.junk


Please help

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Carolyn A. Mayr (UNIX System Administrator)  Voice: (410) 293-6808 (sec-6800)
Computer Science Department, DivMathSci Email: [EMAIL PROTECTED] 
572 Holloway Road, Chauvenet Hall, Stop 9F   FAX:   (410) 293-2686
U.S. Naval Academy   WWW:   http://www.cs.usna.edu
Annapolis, MD  21402-5002USNA:  (410) 293-1000
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


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



Re: [Samba] hiding and vetoing files (for Samba 2.2.2 Windows Explorer)

2002-11-15 Thread Frank Matthieß
On Fri, Nov 15, 2002 at 07:20:02AM -0800, Darin DeCounter wrote:
 We're running Samba 2.2.2 on an RS/6000 (AIX 4.3.3) using Windows 95 
 clients. We've tried the hide files and veto files option in smb.conf, 
 but when the shares are mapped, we can still see the contents in Windows 
 Explorer. We used the wildcard for all the contents of the shares (ex. hide 
 files = /*.*/). The Samba manual only makes reference to Windows 98, so is 
 this even applicable on 95? Once we test on 95 and implement, we'll be 
 upgrading to Windows 2000. If at all possible, we wanted to hide the entire 
 share on Windows Explorer (not just the contents, but we'll take what we 
 can get). Someone said when mapping, we could specify a $ at the end of 
 the share within the net use syntax and this would hide the entire share, 
 but it doesn't work and they were doing this on an NT system (so we're not 
 sure if Windows 95, 98 or 2000 even supports this).  Thanks in advance for 
 any help.

If you want to make a share invisible, you should add browsable = no to the
share section in smb.conf. This share is invisible but accessible! If someone
knwe the sharename, than it is possible to access this share via explorer
and/or net use command.

You can restict the access to users and group with valid users = ...
Take a look at man smb.conf

-- 
Frank Matthieß[EMAIL PROTECTED]

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



Re: [Samba] Problem with print$

2002-11-15 Thread Lloyd Dieter

Yes, tried that too...no joy. 


On Fri, 15 Nov 2002 15:31:24 +0100
Kurt Pfeifle [EMAIL PROTECTED] wrote:

 
 Maybe you should *really* use for the share [print$], not [printer$]
 in your smb.conf.. ;-)
 
  The symptom that I get is that when I attempt to load the driver to
  
  # Global parameters
  [global]
  workgroup = LANGROUP
  interfaces = 192.168.5.2/24
  security = SHARE
  encrypt passwords = Yes
  socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
  printcap name = cups
  character set = ISO8859-15
  os level = 2
  printer admin = @ntadmin, ldieter
  printing = cups
  use client driver = Yes
  
  [printers]
  path = /var/spool/samba
  printer admin = root
  guest ok = Yes
  hosts allow = 192.168.5.
  printable = Yes
  browseable = No
  
  [printer$]
  comment = Printer Drivers
  path = /etc/samba/drivers
  write list = root, @ntadmin, ldieter
  guest ok = Yes
  browseable = yes
  readonly = yes
  
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 


-- 
- 
Lloyd Dieter-   Senior Technology Consultant 
   Synergy, Inc.   http://www.synergyinc.cc   [EMAIL PROTECTED] 
 Main:585-389-1260fax:585-389-1267
-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] Samba unable to validate password error

2002-11-15 Thread Mike Stewart
have you created the new user accounts in Unix and also in smbpasswd ?

Mike

- Original Message -
From: Carolyn Mayr [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, November 15, 2002 3:21 PM
Subject: [Samba] Samba unable to validate password error


 I sent the following to [EMAIL PROTECTED] and I'm also
forwarding
 this to the samba list.  I hope you can help:

 - Begin Forwarded Message -
 I have an emergency and am at the end of my resources and hope you can
help.
 I'm a samba newbie and hope you can point me to an answer.

 Our Samba2.0.5 server is a Sun Enterprise 450 (Solaris 7).  Our PDC
 is an NT machine called warrior.  The warrior is the smbpasswd server
 and the domain is CSDEPARTMENT.

 We've been running samba for the past 2 years with no problem.  Now we
 are seeing a problem with new users in the CSDEPARTMENT domain when a
 user tries to log in from their PC to our samba server:

   [2002/11/15 07:53:51, 0] smbd/password.c:(1470)
 domain_client_validate: unable to validate password for user velazque
in
 domain CSDEPARTMENT to Domain controller WARRIOR. Error was code 0.
   [2002/11/15 07:53:51, 1] smbd/password.c:(500)
 Couldn't find user 'velazque' in smb_passwd file.
   [2002/11/15 07:53:51, 1] smbd/password.c:(500)
 Couldn't find user 'velazque' in smb_passwd file.
   [2002/11/15 07:53:51, 1] smbd/reply.c:(925)
 Rejecting user 'velazque': authentication failed
   [2002/11/15 07:53:51, 1] smbd/server.c:(641)
 smbd version 2.0.7 started.


 I don't know what is causing this.  I reviewed my smb.conf file using the
 Samba Unleashed book and according to the book, it's correct.

 I thought maybe the problem was with the PDC credentials so I tried this:

 #/opt/samba/bin/smbpasswd -j CSDEPARTMENT -r warrior

cli_net_auth2: Error NT_STATUS_ACCESS_DENIED
cli_nt_setup_creds: auth2 challenge failed
modify_trust_password: unable to setup the PDC credentials to machine
 WARRIOR.   Error was : NT_STATUS_ACCESS_DENIED.
2002/11/15 09:34:55 : change_trust_account_password: Failed to change
 password for domain CSDEPARTMENT.
Unable to join domain CSDEPARTMENT.

 Could this be why I'm having the user validation problem?  BTW, we do have
 an /etc/opt/samba/private directory with some old files:

 -rw-r--r--   1 root root  40 Aug 17  2000 MACHINE.SID
 -rw---   1 root root 127 Apr 30  2001 smbpasswd
 -rw-r--r--   1 root other 25 Aug 18  2000 smbpasswd.junk


 Please help


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=
 Carolyn A. Mayr (UNIX System Administrator)  Voice: (410) 293-6808
(sec-6800)
 Computer Science Department, DivMathSci Email: [EMAIL PROTECTED]
 572 Holloway Road, Chauvenet Hall, Stop 9F   FAX:   (410) 293-2686
 U.S. Naval Academy   WWW:   http://www.cs.usna.edu
 Annapolis, MD  21402-5002USNA:  (410) 293-1000

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=


 --
 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] Samba unable to validate password error

2002-11-15 Thread Carolyn Mayr
I have UNIX accounts and NT accounts.  We do not use the smbpasswd file
because our password server in our smb.conf is set to our NT server.
Someone suggested creating an smbpasswd file so I did and put one test
user in it.  It worked but we will only use it as a temporary solution
as we want do not want to manage a separate smbpasswd file.  That's why
we have our NT server as our password server so we can avoid it.  Thanks
for your help.
  Carolyn Mayr
  

- Begin Forwarded Message -
From: Mike Stewart [EMAIL PROTECTED]
To: Carolyn Mayr [EMAIL PROTECTED], [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] Samba unable to validate password error
Date: Fri, 15 Nov 2002 15:51:23 -

have you created the new user accounts in Unix and also in smbpasswd ?

Mike

- Original Message -
From: Carolyn Mayr [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, November 15, 2002 3:21 PM
Subject: [Samba] Samba unable to validate password error


 I sent the following to [EMAIL PROTECTED] and I'm also
forwarding
 this to the samba list.  I hope you can help:

 - Begin Forwarded Message -
 I have an emergency and am at the end of my resources and hope you can
help.
 I'm a samba newbie and hope you can point me to an answer.

 Our Samba2.0.5 server is a Sun Enterprise 450 (Solaris 7).  Our PDC
 is an NT machine called warrior.  The warrior is the smbpasswd server
 and the domain is CSDEPARTMENT.

 We've been running samba for the past 2 years with no problem.  Now we
 are seeing a problem with new users in the CSDEPARTMENT domain when a
 user tries to log in from their PC to our samba server:

   [2002/11/15 07:53:51, 0] smbd/password.c:(1470)
 domain_client_validate: unable to validate password for user velazque
in
 domain CSDEPARTMENT to Domain controller WARRIOR. Error was code 0.
   [2002/11/15 07:53:51, 1] smbd/password.c:(500)
 Couldn't find user 'velazque' in smb_passwd file.
   [2002/11/15 07:53:51, 1] smbd/password.c:(500)
 Couldn't find user 'velazque' in smb_passwd file.
   [2002/11/15 07:53:51, 1] smbd/reply.c:(925)
 Rejecting user 'velazque': authentication failed
   [2002/11/15 07:53:51, 1] smbd/server.c:(641)
 smbd version 2.0.7 started.


 I don't know what is causing this.  I reviewed my smb.conf file using the
 Samba Unleashed book and according to the book, it's correct.

 I thought maybe the problem was with the PDC credentials so I tried this:

 #/opt/samba/bin/smbpasswd -j CSDEPARTMENT -r warrior

cli_net_auth2: Error NT_STATUS_ACCESS_DENIED
cli_nt_setup_creds: auth2 challenge failed
modify_trust_password: unable to setup the PDC credentials to machine
 WARRIOR.   Error was : NT_STATUS_ACCESS_DENIED.
2002/11/15 09:34:55 : change_trust_account_password: Failed to change
 password for domain CSDEPARTMENT.
Unable to join domain CSDEPARTMENT.

 Could this be why I'm having the user validation problem?  BTW, we do have
 an /etc/opt/samba/private directory with some old files:

 -rw-r--r--   1 root root  40 Aug 17  2000 MACHINE.SID
 -rw---   1 root root 127 Apr 30  2001 smbpasswd
 -rw-r--r--   1 root other 25 Aug 18  2000 smbpasswd.junk


 Please help

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

- End Forwarded Message -


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Carolyn A. Mayr (UNIX System Administrator)  Voice: (410) 293-6808 (sec-6800)
Computer Science Department, DivMathSci Email: [EMAIL PROTECTED] 
572 Holloway Road, Chauvenet Hall, Stop 9F   FAX:   (410) 293-2686
U.S. Naval Academy   WWW:   http://www.cs.usna.edu
Annapolis, MD  21402-5002USNA:  (410) 293-1000
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


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



[Samba] SAP specialists required for Europe.

2002-11-15 Thread Jon F Federhenn
Hello

I have a couple of contacts who are in Germany and Switzerland who are
both looking for SAP people for some new 
projects. They need people in various areas and they do not need to be
German speakers or have permits for CH. The 
companies will look at people as long as they have good experience in an
area of SAP.

I also know a few German speakers looking for permanent work in Europe and
hence if anyone knows of any positions I 
will forward them on the details.

Please drop me a mail if of interest.

Kind regards

Jon

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



[Samba] null session and winbindd questions

2002-11-15 Thread Benjamin Herbert

Hello,

I am running Samba 2.2.5 (built from source) on a Linux 7.3 machine.  I
have samba setup to use domain authentication and everything is working
fine.  The security administrator did a scan on the Windows 2000 server
being used for authentication.  He found a vulnerability attributed to
the fact that winbindd needs null sessions on the W2k machine to be
enabled (since winbindd sends a null username and null password).
Obviously we want to correct this situation.  I thought I could correct
it when I created the account for the samba server on the W2k box by
selecting the account group to be Pre-Windows 2000 Compatible Access.
For some reason this did not work.  Does anyone know why this didn't
work?

Another way around this is to have winbindd send a legitimate username
and password by running 'wbinfo -Ausername%password'.  This method
raises some questions.  First, does winbindd send the username and
password encrypted.  Second do you have to run 'wbinfo -A..' every time
you restart winbindd or is it sufficient to run it only once?

Thanks for the information.

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



[Samba] question on samba/pam

2002-11-15 Thread BULLEY MICHAEL-Y18074
my name is Michael Bulley ...I have a question
I have a Linux workstation that I want to use the active directory form a windows 
server.so that when you get to the login screen were you usually login in as root 
or another created user I can use login and passwords from the active directory of the 
sever(windows machine)
What should I use to do this? and is there any doctumentation or walk throughs on it?

Your response would be much appreciated

From: Michael Bulley

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



[Samba] Missing Files in listing from Windows XP share

2002-11-15 Thread Daryl Boyd
I have an odd problem with a smb mounted directory to a Windows XP machine.
If I mount a filesystem from the XP machine on my linux box and 
repeatedly do a ls -l or a find ./ -print sometimes
some files are missing from the listing.
I tried this with both 2.2.3a and 2.2.6. I'm Using WindowsXP and RedHat 7.3.

Details:

in /etc/fstab
...
//firefly/photos   /win/photos   smbfs   
debug=10,username=user,password=password   13

output from test:
% cd /win/photos/test directory
% ls | wc
156  1562654
% ls | wc
155  1562654
% ls | wc
158  1562654
% ls | wc
156  1562654
If I pipe the output to a file (for each run) and then diff them, I see 
a few files consistently come and go. These are all jpg files and 
windows is NOT accessing them, or doing anything in the directory at the 
time.
eg:
% ls | grep 3009
230-3009_IMG.JPG
% ls | grep 3009
230-3009_IMG.JPG
% ls | grep 3009
230-3009_IMG.JPG
% ls | grep 3009
230-3009_IMG.JPG
% ls | grep 3009
% ls | grep 3009
% ls | grep 3009
% ls | grep 3009
230-3009_IMG.JPG
% ls | grep 3009
230-3009_IMG.JPG

I can also do a find ./ -print and see the same inconsistencies.

I'd really appreciate some held trying to fix this... Its really causing 
me grief!  I've tried to enable debugging so I can see the data going 
between the two machines when I do the ls, but I can only get smbmount 
to dump debug info when connecting, not when doing transactions. Any 
idea how do get more detail?
If anyone needs more info, I'd be glad to provide it

Thanks,
Daryl

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


Re: [Samba] Samba3.0a20 PDC + win2k client

2002-11-15 Thread Samba Guy
I was trying things to get it to work, thats why i had security=server.  I
set it back to user, didnt work.  Then I tried again and it mysteriously
worked.

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



[Samba] Samba Win98 shares trouble.

2002-11-15 Thread Valter Dal Bo
Hi all.

I'm having troubles with samba 2.2.2 running on IRIX 6.5.16 and some 
Windows98 PCs.
Using the same user account on PC, logging on a Win2000 PC I can see and 
use my share without any problem.
When I try doing the same thing but using a Win98 PC I can log in fine, 
see my share but I cannot see nor do anything inside my share !

Does anyone know if there is a solution to this problem ?

Thanks a lot
Valter

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


[Samba] Winbind and Samba

2002-11-15 Thread Dave Morrow
Hi all,  I was wondering if someone could lend a little assistance.

I recently setup SAMBA/Winbind to allow users to login to a Redhat 8 box
using their Windows NT Domain credentials.  All is working well in that
regard.

The issue I am having is getting regular UNIX based users to be able to
login.  The following is my PAM configuration.  For example, if I try to
login as root, it does not work.  Any assistance would be greatly
appreciated.

#%PAM-1.0
auth   required /lib/security/pam_securetty.so
#auth   required/lib/security/pam_stack.so service=system-auth
auth   required /lib/security/pam_nologin.so
auth   sufficient   /lib/security/pam_winbind.so
#accountrequired/lib/security/pam_stack.so service=system-auth
auth   required /lib/security/pam_pwdb.so use_first_pass shadow
nullok
accountrequired /lib/security/pam_winbind.so
sessionrequired /lib/security/pam_pwdb.so
sessionrequired /lib/security/pam_mkhomedir.so skel=/etc/skel
umask=0022
password   required /lib/security/pam_pwdb.so
#password   required/lib/security/pam_stack.so service=system-auth
#sessionrequired/lib/security/pam_stack.so service=system-auth
#sessionoptional/lib/security/pam_console.so


David Morrow
Network Administrator
Autodata Solutions Company
Ph: (519) 951-6067 Fax: (519) 451-6615
mailto: [EMAIL PROTECTED]

Poor planning on your part does not necessitate an emergency on my part.

This message has originated from Autodata Solutions Company.  The attached
material is the Confidential and Proprietary Information of Autodata
Solutions Company. This email and any files transmitted with it are
confidential and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error please
delete this message and notify the Autodata system administrator at
[EMAIL PROTECTED]


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



RE: [Samba] Winbind and Samba

2002-11-15 Thread Scott Wrosch
Hi Dave,

I had a similar issue on my RedHat 7.3 box.  If I'm understanding
correctly though, I could log in root and what not fine through Telnet
and what not, but not for the purpose of trying to access shares.  It
worked before I joined the domain, but for some reason it didn't work
afterwards.  Turns out I forgot to add the UNIX users into the smbpasswd
file.

Anwyays, I'm enclosing my config files for connecting to the server for
various services via winbind/PAM.  Hope it helps!

Regards,
Scott


::
ftp
::
#%PAM-1.0
auth   required /lib/security/pam_listfile.so item=user
sense=deny file=
/etc/ftpusers onerr=succeed
auth   sufficient   /lib/security/pam_winbind.so
auth   required /lib/security/pam_stack.so service=system-auth
auth   required /lib/security/pam_shells.so
accountsufficient   /lib/security/pam_winbind.so
accountrequired /lib/security/pam_stack.so service=system-auth
sessionrequired /lib/security/pam_stack.so service=system-auth
::
login
::
#%PAM-1.0
auth   required /lib/security/pam_securetty.so
auth   sufficient   /lib/security/pam_winbind.so
auth   sufficient   /lib/security/pam_unix.so use_first_pass
auth   required /lib/security/pam_stack.so service=system-auth
auth   required /lib/security/pam_nologin.so
accountsufficient   /lib/security/pam_winbind.so
accountrequired /lib/security/pam_stack.so service=system-auth
password   required /lib/security/pam_stack.so service=system-auth
sessionrequired /lib/security/pam_stack.so service=system-auth
sessionoptional /lib/security/pam_console.so
sessionrequired /lib/security/pam_mkhomedir.so skel=/etc/skel


-Original Message-
From: Dave Morrow [mailto:David.Morrow;autodata.net] 
Sent: Friday, November 15, 2002 3:52 PM
To: '[EMAIL PROTECTED]'
Subject: [Samba] Winbind and Samba

Hi all,  I was wondering if someone could lend a little assistance.

I recently setup SAMBA/Winbind to allow users to login to a Redhat 8 box
using their Windows NT Domain credentials.  All is working well in that
regard.

The issue I am having is getting regular UNIX based users to be able to
login.  The following is my PAM configuration.  For example, if I try to
login as root, it does not work.  Any assistance would be greatly
appreciated.

#%PAM-1.0
auth   required /lib/security/pam_securetty.so
#auth   required/lib/security/pam_stack.so service=system-auth
auth   required /lib/security/pam_nologin.so
auth   sufficient   /lib/security/pam_winbind.so
#accountrequired/lib/security/pam_stack.so service=system-auth
auth   required /lib/security/pam_pwdb.so use_first_pass shadow
nullok
accountrequired /lib/security/pam_winbind.so
sessionrequired /lib/security/pam_pwdb.so
sessionrequired /lib/security/pam_mkhomedir.so skel=/etc/skel
umask=0022
password   required /lib/security/pam_pwdb.so
#password   required/lib/security/pam_stack.so service=system-auth
#sessionrequired/lib/security/pam_stack.so service=system-auth
#sessionoptional/lib/security/pam_console.so


David Morrow
Network Administrator
Autodata Solutions Company
Ph: (519) 951-6067 Fax: (519) 451-6615
mailto: [EMAIL PROTECTED]

Poor planning on your part does not necessitate an emergency on my
part.

This message has originated from Autodata Solutions Company.  The
attached
material is the Confidential and Proprietary Information of Autodata
Solutions Company. This email and any files transmitted with it are
confidential and intended solely for the use of the individual or entity
to
whom they are addressed. If you have received this email in error please
delete this message and notify the Autodata system administrator at
[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



Re: [Samba] null session and winbindd questions

2002-11-15 Thread Andrew Bartlett
On Sat, 2002-11-16 at 03:11, Benjamin Herbert wrote:
 
 Hello,
 
 I am running Samba 2.2.5 (built from source) on a Linux 7.3 machine.  I
 have samba setup to use domain authentication and everything is working
 fine.  The security administrator did a scan on the Windows 2000 server
 being used for authentication.  He found a vulnerability attributed to
 the fact that winbindd needs null sessions on the W2k machine to be
 enabled (since winbindd sends a null username and null password).
 Obviously we want to correct this situation.  I thought I could correct
 it when I created the account for the samba server on the W2k box by
 selecting the account group to be Pre-Windows 2000 Compatible Access.
 For some reason this did not work.  Does anyone know why this didn't
 work?

Samba cannot even connect to the server with this account, so giving it
extra privileges doesn't help.  You need to give those privileges to the
anonymous user, add a 'user' account for the server or upgrade to Samba
3.0 (which supports this natively - an AD machine account can login and
gain the relevant info).

 Another way around this is to have winbindd send a legitimate username
 and password by running 'wbinfo -Ausername%password'.  This method
 raises some questions.  First, does winbindd send the username and
 password encrypted.  Second do you have to run 'wbinfo -A..' every time
 you restart winbindd or is it sufficient to run it only once?

This password is stored in a TDB, is much the same way that the machine
account password is, and is transferred over the network using the
normal challenge-response authentication methods.  

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net



signature.asc
Description: This is a digitally signed message part


FW: [Samba] Odd Service Outages

2002-11-15 Thread Scott Moseman

Ok, I have narrowed down the possible problem.

 net view \\servername usually fails
 net view \\10.10.10.1 works every time

So I assume there is a DNS and/or WINS problem.
But how do I narrow that down now?  I can do a
ping/nslookup on the servername, no problems.

We are in a workgroup environment, all using the
same workgroup name, and there is no WINS server.

Thanks,
Scott Moseman



-Original Message-
From: [EMAIL PROTECTED]
Sent: Wednesday, November 06, 2002 9:22 AM
To: [EMAIL PROTECTED]
Subject: FW: [Samba] Odd Service Outages


This is the error clients sometimes receive:

 No service is operating at the destination
  network endpoint on the remote system.

We removed the socket options from the config.
We added the local IPs into the /etc/hosts file.

Machines that may have connectivity to Samba are
working away without a problem, while people who
are just trying to connect may get that message.

We have not figured out why some people get this
error while others are able to browse Samba okay.

Thanks,
Scott Moseman


-Original Message-
From: [EMAIL PROTECTED] [mailto:samba-admin;lists.samba.org]
On Behalf Of Scott Moseman
Sent: Monday, November 04, 2002 9:24 AM
To: [EMAIL PROTECTED]
Subject: [Samba] Odd Service Outages


Red Hat 7.2
Samba 2.2.1

Recently configured Samba, and I am the only user
right now while I review out the server integrity.

I mapped a drive to my Samba share, it works fine.
But occasionally, when I come into work, I have to
endure a couple timeouts trying to connect to the
Samba server until it works.  Sometimes when I get
to the office it works fine on the first connect.

Is there a config option I should look at using?

This is the only option in the config which I am
not sure what it does (copied from a sample):
(Maybe this is wrong and/or needs adjustment?)

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

Thanks,
Scott Moseman

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



[Samba] What can we do to help?

2002-11-15 Thread Ben Shelton
I tried to send this from our e-mail server but it was rejected by your system.


First we wish to thank everyone at 'samba' for working so hard to produce a great 
package. It has proven invaluable to our business.
 
I was checking for downloads and updates on your web site today and notice you did not 
have any one helping support or provide binaries for AIX systems.
 
We are a Solaris, AIX, Informix and Novel shop and if I can help with providing some 
binaries or what ever for AIX I am willing to try. After all we owe you and the samba 
community for helping us support our users.
 
I also have some old RISC systems not in use and could set one up just for samba to 
use for testing or what ever you need.  These are the old 7012 desktop single 
processor systems running AIX 4.3.3 and I guess I could install  AIX 5 on one. I also 
have a 59H and an R-40 just collecting dust. We replaced all our IBM RISC systems with 
new 7026 B-80s.
 
We use the IBM AIX optimized version 5 'C' compiler but I do have the older versions 
if needed. I am not at this time using any GNU compilers for AIX.
 
If I can be of some help or there is something specific you need please feel free to 
drop me an e-mail or call I will try to help.
 
Thanks again,
 
Ben Shelton
UNIX System Administrator
(770) 831-3432
 831-2062 Fax
[EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Re-post : Windows 98 cann't connect to samba

2002-11-15 Thread qlin
I get the same problem and have struggled on this for 4 days.
My Linux box has RH8.0 on it and is networked with a Windows 98 PC

What I have done:
(1) Follow the instructions on The Official Red Hat Linux Customization
Guide and config smb.conf
(2) Run the test in DIAGNOSIS.txt, failed in step 5.
(3) Step 7 is OK, which means local smb client can connect to smbd
service and access the shared. (smbclient)
(4) Because Windows client is unable to connect, I guess that the
problem might be the inproper configuration on client PC. I search
hosts file on client PC, find one called hosts.sam (I guess it
is a samlpe file).  copy hosts.sam to hosts and add a line of
ip(of linux box) linux-hostname (so I can ping linux box from client
PC using linux-hostname.
(5) On linux box, add client PC's ip win98-hostname (so I can ping
client from linux box using win98-hostname.
(6) When client PC restart, click netowrk nerghbor, I can see both
linux-hostname and  win98-hostname but when click linux-hostname
I get \\linux-hostname is not accessable. the computer name might
not be correct error.
(7) I could not find where on client PC win98-hostname is stored
(definatly not in hosts file). ping win98-hostname does work fine.
(8) The smb.conf looks like:


[global]
   workgroup = HOMENET
   server string = Samba Server
   printcap name = /etc/printcap
   load printers = yes
   printing = lprng
   log file = /var/log/samba/%m.log
   max log size = 0
   security = user
   encrypt passwords = no
   smb passwd file = /etc/samba/smbpasswd
   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
   obey pam restrictions = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   dns proxy = no

[homes]
   comment = Home Directories
   browseable = yes
   writable = yes
   valid users = %S
   create mode = 0664
   directory mode = 0775

[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   guest ok = no
   writable = no
   printable = yes


Can someone advice me on what should I try next?


Please provide more detail.
What is the error message you are getting?
Which machine are you running the command on? Which machine are you 
trying
to find with nmblookup?
Forget swat. If you mention it once more I'll hang up.
What do you see with:
ps ax | grep mbd | grep -v grep
at the linux server?
Joel

On Mon, Nov 04, 2002 at 01:29:05PM +1000, Justin Edwards wrote:
 Test 5 of the diagnostics.txt failed. SWAT is telling me that nmbd is
 running though.

 - Original Message -
 From: Joel Hammer [EMAIL PROTECTED]
 To: Justin [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Monday, November 04, 2002 12:28 PM
 Subject: Re: [Samba] Problems connecting to Samba through windows


  Have you walked through DIAGNOSIS.txt in the docs/text section with the
  samba sources.
  Is samba running on the linux box?
  Joel
  On Mon, Nov 04, 2002 at 12:16:53PM +1000, Justin wrote:
   I just started using Linux a couple of weeks ago and have been 
trying to
 setup samba.
   I have a couple of text books I have been following which have 
helped me
 be able to run the
   smbclient from Linux to view both the shares on my Linux and xp 
machine.
  
   The problem is that I can not access the Linux files from my xp 
machine.
 I can ping the machine
   without a problem and can also view the machine through network
 neighbourhood. However when I
   double click the Linux machine in network neighbourhood I receive the
 error:
  
   \\linux is not accessible. you might not have permissions to use this
 network resource.
   No service is operating at the destination network endpoint on the
 remote system.
  
   I have gone through all the documentation I can find but nothing 
seems
 to help. Could someone please advise me on what I am doing wrong or not
 doing at all. I am still learning so the more explanatory the better.
  
   I look forward to your response
   Justin


--
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] Windows 98 cann't connect to Samba

2002-11-15 Thread qlin
I get a problem of setup samba connection with a Windows 98
My Linux box has RH8.0 on it and is networked with a Windows 98 PC

What I have done:
(1) Follow the instructions on The Official Red Hat Linux Customization
Guide and config smb.conf
(2) Run the test in DIAGNOSIS.txt, failed in step 5.
(3) Step 7 is OK, which means local smb client can connect to smbd
service and access the shared. (smbclient)
(4) Because Windows client is unable to connect, I guess that the
problem might be the inproper configuration on client PC. I search
hosts file on client PC, find one called hosts.sam (I guess it
is a samlpe file).  copy hosts.sam to hosts and add a line of
ip(of linux box) linux-hostname (so I can ping linux box from client
PC using linux-hostname.
(5) On linux box, add client PC's ip win98-hostname (so I can ping
client from linux box using win98-hostname.
(6) When client PC restart, click netowrk nerghbor, I can see both
linux-hostname and  win98-hostname but when click linux-hostname
I get \\linux-hostname is not accessable. the computer name might
not be correct error.
(7) I could not find where on client PC win98-hostname is stored
(definatly not in hosts file). ping win98-hostname does work fine.
(8) The smb.conf looks like:

[global]
   workgroup = HOMENET
   server string = Samba Server
   printcap name = /etc/printcap
   load printers = yes
   printing = lprng
   log file = /var/log/samba/%m.log
   max log size = 0
   security = user
   encrypt passwords = no
   smb passwd file = /etc/samba/smbpasswd
   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
   obey pam restrictions = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   dns proxy = no

[homes]
   comment = Home Directories
   browseable = yes
   writable = yes
   valid users = %S
   create mode = 0664
   directory mode = 0775
[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   guest ok = no
   writable = no
   printable = yes

Can someone advice me of what should I try next?

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


[Samba] LDAPSam + Samba 3 Alpha 20

2002-11-15 Thread Geoffrey Antos
I'm wondering what the samba server needs write access to, in LDAP, to 
operate.
I've got the following lines in slapd.conf:
#--
#Samba Passwords -- Only Samba (and its authenticated users) can access this.
#Also includes flags -- Use smbpasswd for everything:
access to 
attr=lmPassword,ntPassword,rid,acctFlags,pwdLastSet,logonTime,logoffTime,kickoffTime,pwdCanChange,pwdMustChange,homeDrive,scriptPath,profilePath,userWorkstations,smbHome,domain
by dn=uid=SambaServer,ou=Servers,dc=domain,dc=com write
by dn=.*,ou=Administrators,ou=Users,dc=domain,dc=com write
by * none

#Posix Account info -- only admins can change.
#They are not too valuable, plus nss_ldap problems. Let all read:
access to attr=uid,uidNumber,gidNumber,homeDirectory
by dn=uid=SambaServer,ou=Servers,dc=domain,dc=com write
by dn=.*,ou=Administrators,ou=Users,dc=domain,dc=com write
by * read
#--

However, when I run smbpasswd I get an insufficent access error.
smbpasswd -D 255 reports:
--
ldapsam_open_connection: ldap://localhost
ldap_open_connection: connection opened
ldap_connect_system: Binding to ldap server as 
uid=SambaServer,ou=Servers,dc=domain,dc=edu
ldap_connect_system: succesful connection to the LDAP server
ldapsam_search_one_user: searching for:[uid=testuser]
Setting entry for user: testuser
failed to modify user with uid = testuser with: Insufficient access

failed to modify user with uid = testuser
Failed to modify entry for user testuser.
Failed to modify password entry for user testuser
--

What else does Samba need permission to access?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] LPRng: LPRng and Samba (fwd)

2002-11-15 Thread Yura Pismerov

In your printer share, define the following:

print command = echo %u@%I: %J %S %T   /var/spool/samba/junkJ;\
a=`echo '%J' | sed s/^.*- //` ;\
/usr/bin/lpr -P%S  -J$a  %s;\
rm %s

It should log user@IP_of_the_user's_station among other usefuls things
in /var/spool/samba/junkJ file.


Ryan Novosielski wrote:
 
 I'm looking for a little help with Samba and LPRng, however, the LPRng
 portion of it isn't really all that important -- I believe this is mainly
 a Samba issue.
 
 The problem here is that we have 4 campus servers. Each one hosts a Samba
 domain. Sometimes, users for whatever reason will go to a different campus
 (where they may or may not have an account -- the problem occurs when they
 do not). They log in using the Samba domain of their home site, but
 attempt to use printers on the campus they are visiting. While the PC they
 are using knows what their username is, and I can take this on good faith,
 since they do not have an account on the machine Samba serving the
 printers, their jobs print as the network guest user. This is clearly a
 problem for accounting. Does anyone know of a way for LPRng to find out
 who the client PC is logged in as by the time accounting occurs? We don't
 wish to just give away pages to students who happen to travel. It's a
 shame the setup is the way it is, but I'm just looking for a way to make
 this work in our current environment.
 
 Thanks for any help you may wish to give me!
 
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
 |$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630
 
 --
 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] Switching to another Samba server

2002-11-15 Thread David Donahue
force user and force group just might solve my problem... If for
only one final question...

Can I set the hosts allow and hosts deny options on a specific
share?  Or are they only global?  I currently have hosts allow set to
every machine on the subnet in Global.  Can I add to that in the
specific share?  That way I can force the user and group on that
specific share, and only allow access to it from that one computer.


David P. Donahue
[EMAIL PROTECTED]
First Call Computer Solutions 

-Original Message-
From: John H Terpstra [mailto:jht;samba.org] 
Sent: Thursday, November 14, 2002 9:32 PM
To: David Donahue
Cc: [EMAIL PROTECTED]
Subject: RE: [Samba] Switching to another Samba server


On Thu, 14 Nov 2002, David Donahue wrote:

 Well, the fact that the problem is with the permissions isn't set in 
 stone, but it's my best assessment at the moment.  Regular websites 
 seem to work fine in IIS from the Samba share.  But .NET sites seem to

 be a different story.  The error comes in the MyBase.New line of 
 code in the .NET site, which I believe is the server trying to 
 maintain a read/write relationship with the directory that has the 
 website.

 Anyway, in Windows, when I right-click on the folder within the Samba 
 share and view the permissions, it shows me 3 sets of permissions: 
 Everyone, the WWW Group on the Samba domain, and the WWW User on the 
 Samba domain.  These correspond to the permissions that are on the 
 Linux filesystem for this folder, which is chmod'ed to 775 and owned 
 by the www user and the www group.  However, while Windows understands

 that

If you set the SUID/SGID flag on the directory permissions then Unix
will ensure that all files created will be owned by the user and group
set on the directory. That solves your access problem.

If you like, on the samba share definition you can add force user =
WWW, and force group = WWW, and that will ensure that all remote
users will be the correct user for this share. That way you do not need
to even bother with setting permission from an MS Windows box.

There are other ways you could do this, but enough for now.

Cheers,
John T.

 much of the permissions, none of the boxes are actually checked.  It 
 knows _who_ should have rights, but not _what_ rights they should 
 have. And checking the boxes doesn't do anything, as they immediately 
 un-check when I try to apply the changes.

 As for the configuration of the Windows box, the WWW user on the Samba

 domain is logged into the console with the Samba shares mapped as 
 drives.  It's ok for this user to stay perpetually logged into the 
 console.  The share to which it is connecting, and to which the IIS 
 server's wwwroot points, is Read/Write from Samba's point of view, and

 the WWW user owns every file/folder in that directory, recursively.  
 In the IIS Directory Security settings for the main website, 
 Anonymous Access is allowed, and the Anonymous user is set to [Samba 
 domain]\www with the correct password set.  Digest authentication 
 for windows domain servers is checked, and greyed to not allow 
 un-checking. Nothing else is checked.

 Also of note is the fact that, ultimately, I would also like to make 
 virtual directories in IIS that point to domain users' home 
 directories on the Samba share.  The idea being that users will click 
 on those links and be presented with Windows login prompts in their 
 browsers which authenticate them to the server.  That way I can build 
 all kinds of cool account maintenance tools in .NET and my users can 
 maintain their accounts on my website.  I somewhat was able to 
 accomplish this... I made the virtual directories, was presented with 
 the login prompt and, upon authentication, I was able to see the home 
 directory's contents. However, I was only able to see things that were

 world-readable (the home directory itself was world-readable).

 Well, that's it in a nutshell.



 David P. Donahue
 [EMAIL PROTECTED]
 First Call Computer Solutions

 -Original Message-
 From: John H Terpstra [mailto:jht;samba.org]
 Sent: Thursday, November 14, 2002 7:43 PM
 To: David Donahue
 Cc: [EMAIL PROTECTED]
 Subject: RE: [Samba] Switching to another Samba server


 On Thu, 14 Nov 2002, David Donahue wrote:

  Yup, that definitely did the trick.  Thanks!
 
  By the way, you wouldn't happen to know anything about Microsoft's 
  Services for Unix, would you?  Their newsgroup isn't very populated 
  and little help can be found there. Or, conversely, do you know of 
  any

  good NFS clients for Windows?  Basically, the file permissions 
  difference between Samba and Windows is causing problems with my 
  .NET websites.  An NFS clients that translates the permissions 
  better would

  be ideal, especially if it could mount an NFS share to a local 
  folder on the Windows drive so that Windows can't tell (or doesn't 
  care) the difference (you know, the Unix way... The way it _should_ 
  be).

 What is the problem?

 Can't you 

[Samba] urgent/important request

2002-11-15 Thread patrick_unionbank
Sir

URGENT BUSINESS PROPOSAL

First, I must solicit your confidence in this
transaction; this is by virtue of its nature as being
utterly confidential and top secret. Though I know
that a transaction of this magnitude will make any one
apprehensive and worried, but I am assuring you that
all will be well at the end of the day. We have
decided to contact you due to the urgency of this
transaction, as we have been reliably informed of your
discreetness and ability in transaction of this
nature.

Let me start by introducing myself properly to you. I
am Dr. Patrick Omo, Credit Officer with the Union Bank
of Nigeria Plc, Lagos. I came to know you in my
Private Search for a Reliable and Reputable Person to
handle this Confidential Transaction, which involves
the transfer of Huge Sum of Money to a Foreign Account
requiring Maximum Confidence.

THE PROPOSITION:
A Foreigner an Orient, Late Engr. Seiji Kato Ono(Snr.)
an Oil Merchant with The Federal Government of
Nigeria, until his death months ago in Kenya Air Bus
(A310 - 300) Flight KQ430, Banked with us at Union
Bank of Nigeria Plc, Lagos and had a closing balance
as at the end of September, 2000 worth
US$30,000,000.00 (Thirty Million United State
Dollars), the bank now expects a next of kin as
beneficiary. Valuable efforts are being made by the
Union Bank of Nigeria to get in touch with any of the
ONO's Family or Relatives but to no success.

It is because of the perceived possibility of not
being able to locate any of Late Engr. Seiji Kato
Ono(Snr.)’s next of kin (He had no wife or children
that is known to us). The Management under the
influence of our Chairman and Members of the Board of
Directors, that arrange has been made for the fund to
be declared “Unclaimed” and subsequently be donated to
the trust fund for arms and ammunition to further
enhance the course of War in Africa and the World in
General.

In order to avert this negative development, some of
my trusted colleagues and I now seek your permission
to have you stand as next of kin to Late Engr. Seiji
Kato Ono(Snr.) so that the fund US$30 Million will be
released and paid into your Account as the
beneficiary’s next of kin. All documents and proves
to enable you get this fund will be carefully worked
out. We have secure from the probate an order of
madamus to locate any of deceased beneficiaries, and
more so we are assuring you that this business is 100%
Risk Free involvement. Your share stays while the
rest be for myself and my colleagues for investment
purpose. According to agreement within both parties.

As soon as we receive an acknowledgment of receipt of
this message in acceptance of our mutual business
proposal, we would furnish you with the necessary
modalities and disbursement ratio to suite both
parties without any conflict.You can reach me on my private
email address:[EMAIL PROTECTED] or fax 234-1-7596975.

If this proposal is acceptable by you, do not make
undue advantage of the trust we have bestowed in you.

Best Regards.



DR. PATRICK OMO
CREDIT OFFICER (UBN)




[Samba] urgent/important request

2002-11-15 Thread patrick_unionbank
Sir

URGENT BUSINESS PROPOSAL

First, I must solicit your confidence in this
transaction; this is by virtue of its nature as being
utterly confidential and top secret. Though I know
that a transaction of this magnitude will make any one
apprehensive and worried, but I am assuring you that
all will be well at the end of the day. We have
decided to contact you due to the urgency of this
transaction, as we have been reliably informed of your
discreetness and ability in transaction of this
nature.

Let me start by introducing myself properly to you. I
am Dr. Patrick Omo, Credit Officer with the Union Bank
of Nigeria Plc, Lagos. I came to know you in my
Private Search for a Reliable and Reputable Person to
handle this Confidential Transaction, which involves
the transfer of Huge Sum of Money to a Foreign Account
requiring Maximum Confidence.

THE PROPOSITION:
A Foreigner an Orient, Late Engr. Seiji Kato Ono(Snr.)
an Oil Merchant with The Federal Government of
Nigeria, until his death months ago in Kenya Air Bus
(A310 - 300) Flight KQ430, Banked with us at Union
Bank of Nigeria Plc, Lagos and had a closing balance
as at the end of September, 2000 worth
US$30,000,000.00 (Thirty Million United State
Dollars), the bank now expects a next of kin as
beneficiary. Valuable efforts are being made by the
Union Bank of Nigeria to get in touch with any of the
ONO's Family or Relatives but to no success.

It is because of the perceived possibility of not
being able to locate any of Late Engr. Seiji Kato
Ono(Snr.)’s next of kin (He had no wife or children
that is known to us). The Management under the
influence of our Chairman and Members of the Board of
Directors, that arrange has been made for the fund to
be declared “Unclaimed” and subsequently be donated to
the trust fund for arms and ammunition to further
enhance the course of War in Africa and the World in
General.

In order to avert this negative development, some of
my trusted colleagues and I now seek your permission
to have you stand as next of kin to Late Engr. Seiji
Kato Ono(Snr.) so that the fund US$30 Million will be
released and paid into your Account as the
beneficiary’s next of kin. All documents and proves
to enable you get this fund will be carefully worked
out. We have secure from the probate an order of
madamus to locate any of deceased beneficiaries, and
more so we are assuring you that this business is 100%
Risk Free involvement. Your share stays while the
rest be for myself and my colleagues for investment
purpose. According to agreement within both parties.

As soon as we receive an acknowledgment of receipt of
this message in acceptance of our mutual business
proposal, we would furnish you with the necessary
modalities and disbursement ratio to suite both
parties without any conflict.You can reach me on my private
email address:[EMAIL PROTECTED] or fax 234-1-7596975.

If this proposal is acceptable by you, do not make
undue advantage of the trust we have bestowed in you.

Best Regards.



DR. PATRICK OMO
CREDIT OFFICER (UBN)




[Samba] PRINTING DOS APPLICATION

2002-11-15 Thread Henry Savior
NEED OPTIONS OR LEADS. I cannotprintdosapplication installed in my linux server. I'm using workstation that are running windows meor recently purchased xp pro. HP4printeris attached to Linux Server, also cannot print to remote print server (EXTENDED SYSTEMS POCKET PRO). Linux server runningSAMBA VER2.2.3. 
Contact [EMAIL PROTECTED]Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site

Re: NULL sessions - Listing shares anonymously - restrict anonymous

2002-11-15 Thread Andrew Bartlett
On Fri, 2002-11-15 at 15:08, Tim Potter wrote:
 On Thu, Nov 14, 2002 at 08:50:47PM -0500, Yannick Mercier wrote:
 
  I am running 2.2.5 and I would like to know if the
  restrict anonymous as been implemented correctly, as it was supposed
  to behave from the start, in order to deny
  ALL anonymous connections as stated in the man :
  When restrict anonymous is yes, all anonymous connections are denied no
  matter what they are for.
 
 In the Samba 2.2 branch the 'restrict anonymous' parameter behaves as
 per the manual page.  It's broken and unlikely to be fixed.
 
  Ive been reading some dev mailing lists and someone said that there would be
  0, 1 , 2 as
  possible values to the restrict anonymous option, as it been done yet ?
 
 In the Samba HEAD and 3.0 branches however the parameter behaves more
 like the RestrictAnonymous registry setting.  Only 'restrict anonymous = 1' 
 is currently supported though.

I'm going to do some research, and figure out exactly what 'restrict
anonymous = 2' does.  If it denies all guest logins, then it is trivial
to implement.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net



signature.asc
Description: This is a digitally signed message part


Re: [Samba] multiple ldap servers

2002-11-15 Thread Jochen Schneider
Nathan Ehresman wrote:

 Andrew Bartlett wrote:
  Gerald (Jerry) Carter wrote:
 On Fri, 1 Nov 2002, Nathan Ehresman wrote:
 Hello,
 
 I was looking at the ldap authentication code (in 2.2.5) and it looks
 like there is no support for having multiple ldap servers for
 authentication (ie, if one is not responding, try from a backup).  Does
 anyone have a patch to add this functionality?  If not, I'll go ahead
 and do it but I wanted to check to see if it has already been done first.
 
 Check the HEAD code.  There may be support in there you can back port.
  
  No such support at present, but in HEAD you can come close by setting up
  2 passdb backends.  (This isn't ideal however, beocuse lookups that fail
  in the first will always go to the second).
  
  Adding such support to HEAD would be very nice - the difficult bit is
  actually deciding how to construct smb.conf options.
 
 I've added support for this to my copy of 2.2.5.  I've run it through 
 several tests with different combinations of our ldap servers being up 
 and down during our off hours here to verify it, and it things seem to 
 be working just fine so I thought I'd send you guys a patch if you are 
 interested.
 
 As far as syntax for the smb.conf options, I just used the existing 
 option (ldap server) but allowed for multiple hosts to be separated by 
 a space or comma.  This was simple but doesn't take into account the 
 possibility of ldap servers running on different ports.
 
 Thanks for everything you guys do.
 
 Nathan Ehresman
 
 

 --- samba-2.2.5/source/passdb/pdb_ldap.c  Fri Nov  1 14:13:39 2002
 +++ samba-2.2.5/source/passdb/pdb_ldap.c  Fri Nov  1 14:34:22 2002
 

[...]@@ -117,6 +117,9 @@
 + while (!conn_established  next_token(ptr, server, , , sizeof(server))) {
 + DEBUG(10,(Initializing connection to %s on port %d\n, server, port 
));
 + if ((*ldap_struct = ldap_init(server, port)) == NULL)
 + DEBUG(0, (The LDAP server on %s is not responding !\n, 
server));
 + else
 + conn_established = 1;
 + }
   
 - if ((*ldap_struct = ldap_init(lp_ldap_server(), port)) == NULL) {
 - DEBUG(0, (The LDAP server is not responding !\n));
 + if (!conn_established) {
 + DEBUG(0, (None of the specified LDAP servers are responding!\n));
[...]

Hi Nathan,

it's probably easier than you imagined. ldap_open / lap_init accept
multiple hosts and each with individual port settings as a default
behaviour. See the ldap_open man-page for details. 


(from man ldap_init)
ldap_open()  takes  host,  the hostname on which the LDAP server is
running, and port, the port number to which to connect.  If the default
IANA-assigned port of 389 is desired, LDAP_PORT should be specified for
port. The host parameter may contain  a  blank-separated  list  of
hosts  to  try to connect to, and each host may optionally by of the
form host:port.  If present, the :port overrides the port parameter to
ldap_open().


hth,
 Jochen

-- 
   [EMAIL PROTECTED]
 'Doing linear scans over an associative array is like trying to club
 someone to death with a loaded Uzi.'   - Larry Wall




Re: [Samba] multiple ldap servers

2002-11-15 Thread Ignacio Coupeau
Nathan Ehresman wrote:

Something like this (smb.conf) runs pretty well in samba 2.2.x for us:
---
...
ldap server = saruman.cti.unav.es strider.cti.unav.es
...



Ignacio

--

Ignacio Coupeau, Ph.D. e-mail: [EMAIL PROTECTED]
CTI, Director  fax:948 425619
University of Navarra  voice:  948 425600
Pamplona, SPAINhttp://www.unav.es/cti/




Re: NULL sessions - Listing shares anonymously - restrict anonymous

2002-11-15 Thread Yannick Mercier
I installed the samba-3.0alpha20 (latest I think) and restrict anonymous =
1 works
for denying the shares Listing from non-authentified users. As what Ive
read, the restrict anonymous = 2
is not implemented yet, but when it will be, it is supposed to deny all rpc
calls, which will be great

Unfortunately, Ill have to back out to samba 2.2 because Im using this samba
server as
a PDC also, and when I logon with my WinXP workstation, the PC reboots
during Loading desktop settings
I guess its a bug in the alpha version of samba




-
I'm going to do some research, and figure out exactly what 'restrict
anonymous = 2' does.  If it denies all guest logins, then it is trivial
to implement.

Andrew Bartlett

On Fri, 2002-11-15 at 15:08, Tim Potter wrote:
 On Thu, Nov 14, 2002 at 08:50:47PM -0500, Yannick Mercier wrote:

  I am running 2.2.5 and I would like to know if the
  restrict anonymous as been implemented correctly, as it was supposed
  to behave from the start, in order to deny
  ALL anonymous connections as stated in the man :
  When restrict anonymous is yes, all anonymous connections are denied no
  matter what they are for.

 In the Samba 2.2 branch the 'restrict anonymous' parameter behaves as
 per the manual page.  It's broken and unlikely to be fixed.

  Ive been reading some dev mailing lists and someone said that there
would be
  0, 1 , 2 as
  possible values to the restrict anonymous option, as it been done yet
?

 In the Samba HEAD and 3.0 branches however the parameter behaves more
 like the RestrictAnonymous registry setting.  Only 'restrict anonymous =
1'
 is currently supported though.





Adding Printerdrivers to Samba 2.2.6 with Win XP SP1

2002-11-15 Thread Thomas . Mieslinger
Hello list members,

I'm trying to add printerdrivers to a Samba 2.2.6 PDC with the Add Printer 
Wizard that comes with Windows XP SP1. On Windows I get an Error Message 
saying Operation aborted, log.smbd tells me: couldn't find service 
::{2227a280-3aea-1069-a2de-08002b30309d}

Did anyone else figure out how to install Printerdrivers with Windows XP 
on a Samba Server?

Thanks in advance.

regards

Thomas Mieslinger

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



[PATCH] fix bug in nmbd

2002-11-15 Thread Stefan (metze) Metzmacher
Hi,

here's a patch that prevent nmbd from releasing a DOMAIN1c name if there 
are more than one address, now we only remove the ip addr from the name 
record, so that other domain controller can be found via wins :-).

BTW: there's a big patch following the next days, witch makes wrepld 
working between 2 or more samba's. And make the wins database plugable with 
'winsdb backend = tdb' by default.


metze
-
Stefan metze Metzmacher [EMAIL PROTECTED]diff -Npur --exclude=CVS --exclude=*.bak --exclude=*.o --exclude=*.po --exclude=.#* 
HEAD/source/nmbd/nmbd_winsserver.c HEAD-fix/source/nmbd/nmbd_winsserver.c
--- HEAD/source/nmbd/nmbd_winsserver.c  Fri Oct  4 08:06:22 2002
+++ HEAD-fix/source/nmbd/nmbd_winsserver.c  Fri Nov 15 15:15:45 2002
@@ -1635,8 +1635,24 @@ release name %s as this record is not an
nmb_namestr(question) ));
 send_wins_name_release_response(NAM_ERR, p);
 return;
-  }
-
+  }
+ 
+  /* check if the record is a 0x1c group 
+   * and has more then one ip's
+   * remove only this address
+   *
+   */
+  if(releasing_group_name  
+   (question-name_type == 0x1c)  
+   (namerec-data.num_addrs  1))
+  {
+remove_ip_from_name_record(namerec, from_ip);
+DEBUG(3,(wins_process_name_release_request: Remove IP %s from NAME: %s\n,
+   inet_ntoa(from_ip),nmb_namestr(question)));
+send_wins_name_release_response(0, p);
+return;
+  }
+  
   /* 
* Send a release response.
* Flag the name as released and update the ttl



Re: Problem with PAM-based authentication

2002-11-15 Thread Kris Van Hees
To give more information on this issue, it seems that there are Windows clients
that send plaintext passwords as the NT passwords rather tham as the LM
password as is being assumed by the Samba code in e.g. reply_sesssetup_and_X().

Can someone confirm/counter this?

Kris

On Tue, Nov 12, 2002 at 05:27:34PM -0500, Kris Van Hees wrote:
 Hi,
 
   It seems that PAM-based authentication is broken in the current CVS
 HEAD version.  Enabling cleartext passwords, and setting 'encrypted passwords =
 no' does not help, nor does setting 'use spnego = no'.  What seems to happen
 is that the client (Win98SE and WinXP tested) sends the passwords as a UNICODE
 string, with its length set in smb_vwv[8], whereas on 2.2.6 (to doublecheck)
 the password was being sent as a regular ASCII string with its length set in
 smb_vwv[7].
 
   In both cases the protocol negotation decided upon 'NT LM 0.12'.
 
   Does anyone have any ideas what is going wrong here?  Is the CVS HEAD
 version sending any negotiation information that might trigger the client to
 send the password as an NT password rather than an LM password?
 
   Kris

-- 
Never underestimate a Mage with:
 - the Intelligence to cast Magic Missile,
 - the Constitution to survive the first hit, and
 - the Dexterity to run fast enough to avoid being hit a second time.



Re: [PATCH] fix bug in nmbd

2002-11-15 Thread Stefan (metze) Metzmacher
Sorry there was a typo in the patch...:-(
( namerec-data.num_addrs - namerec-data.num_ips )

here's the working patch.

metze

At 15:41 15.11.2002 +0100, Stefan (metze) Metzmacher wrote:

Hi,

here's a patch that prevent nmbd from releasing a DOMAIN1c name if there 
are more than one address, now we only remove the ip addr from the name 
record, so that other domain controller can be found via wins :-).

BTW: there's a big patch following the next days, witch makes wrepld 
working between 2 or more samba's. And make the wins database plugable 
with 'winsdb backend = tdb' by default.


metze
-
Stefan metze Metzmacher [EMAIL PROTECTED]
diff -Npur --exclude=CVS --exclude=*.bak --exclude=*.o --exclude=*.po --exclude=.#* 
HEAD/source/nmbd/nmbd_winsserver.c HEAD-fix/source/nmbd/nmbd_winsserver.c
--- HEAD/source/nmbd/nmbd_winsserver.c  Fri Oct  4 08:06:22 2002
+++ HEAD-fix/source/nmbd/nmbd_winsserver.c  Fri Nov 15 15:15:45 2002
@@ -1635,8 +1635,24 @@ release name %s as this record is not an
nmb_namestr(question) ));
 send_wins_name_release_response(NAM_ERR, p);
 return;
-  }
-
+  }
+ 
+  /* check if the record is a 0x1c group 
+   * and has more then one ip's
+   * remove only this address
+   *
+   */
+  if(releasing_group_name  
+   (question-name_type == 0x1c)  
+   (namerec-data.num_ips  1))
+  {
+remove_ip_from_name_record(namerec, from_ip);
+DEBUG(3,(wins_process_name_release_request: Remove IP %s from NAME: %s\n,
+   inet_ntoa(from_ip),nmb_namestr(question)));
+send_wins_name_release_response(0, p);
+return;
+  }
+  
   /* 
* Send a release response.
* Flag the name as released and update the ttl



byte order in rep_inet_ntoa()

2002-11-15 Thread Stefan (metze) Metzmacher
Hi,

I add #define REPLACE_INET_NTOA 1 to config.h

and in the debug's I got '7.5.0.10' not not '10.0.5.7 as ip.

WORDS_BIGENDIAN is undefined (SuSE 7.3 i386)

is this really right???
(lib/replace.c)
...
#ifdef REPLACE_INET_NTOA
char *rep_inet_ntoa(struct in_addr ip)
{
unsigned char *p = (unsigned char *)ip.s_addr;
static char buf[18];
#if WORDS_BIGENDIAN
slprintf(buf, 17, %d.%d.%d.%d,
 (int)p[0], (int)p[1], (int)p[2], (int)p[3]);
#else /* WORDS_BIGENDIAN */
slprintf(buf, 17, %d.%d.%d.%d,
 (int)p[3], (int)p[2], (int)p[1], (int)p[0]);
#endif /* WORDS_BIGENDIAN */
return buf;
}
#endif /* REPLACE_INET_NTOA */


metze
-
Stefan metze Metzmacher [EMAIL PROTECTED]




WinXP reboots after authentication ( 3.0alpha20 )

2002-11-15 Thread Yannick Mercier



Im using this samba server as a PDC also, and when I logon
with my WinXP workstation, the PC reboots during "Loading desktop 
settings"

The WinXP wkstation works well with samba 2.2 
running the same smb.conf

Ive done the registry tweakon the XP ( 
REquireSignOnSeal )

Need any more details? email 
me


Re: preview of winsdb stuff

2002-11-15 Thread Jelmer Vernooij
On Fri, Nov 15, 2002 at 06:58:36PM +0100, Stefan (metze) Metzmacher wrote about 
'preview of winsdb stuff':
 HI Jelmer,

 here's the preview of my winsdb stuff...

 it's working for me but must be tested a lot!

 I may want move wreld to nmbd as a child process what do you thing?
I think you'd better discuss that with jfm - he's the original author
of wrepld iirc - I'm not really into nmbd (yet...) ;-)


 +/* use this inside a passdb module */
 +#define WINSDB_MODULE_VERSIONING_MAGIC \
 +int winsdb_version(void)\
 +{\
 + return WINSDB_INTERFACE_VERSION;\
 +}
This can be removed

 +/* Backend to use by default when no backend was specified */
 +#define WINSDB_DEFAULT_BACKEND tdb
This should actually be a default for lp_winsdb_backend() - in
params/loadparm.c

 +const struct {
 + char *module_name;
 + /* Function to create a member of the sam_methods list */
sam ? ;-)

 + winsdb_init_function init;
 +} builtin_winsdb_init_functions[] = {
 + { tdb, winsdb_init_tdb },
 + { NULL, NULL}
 +};
 + if(version != WINSDB_INTERFACE_VERSION)
 + return False;
 +
 + DEBUG(5,(Attempting to register passdb backend %s\n, name));
Please change passdb - winsdb
 +
 + /* Check for duplicates */
 + while(entry) { 
 + if(strcasecmp(name, entry-module_name) == 0) { 
 + DEBUG(0,(There already is a passdb backend registered with 
the name %s!\n, name));
please change passdb - winsdb
 + entry = smb_xmalloc(sizeof(struct pdb_init_function_entry));
passdb - winsdb
 + entry-module_name = name;
 + entry-init = init;

 +
 + DLIST_ADD(backends, entry);
 + DEBUG(5,(Successfully added passdb backend '%s'\n, name));
passdb - winsdb
 + return True;
 +}
 + DEBUG(5,(Attempting to find an passdb backend to match %s (%s)\n, 
backend_string, module_name));
passdb - winsdb...
 + while(entry) {
 + if (strequal(entry-module_name, module_name)) {
 + DEBUG(5,(Found pdb backend %s\n, module_name));
 + nt_status = entry-init(*context, module_location);
 + if (NT_STATUS_IS_OK(nt_status)) {
 + DEBUG(5,(winsdb backend %s has a valid init\n, 
backend_string));
 + } else {
 + DEBUG(0,(winsdb backend %s did not correctly init 
(error was %s)\n, backend_string, nt_errstr(nt_status)));
 + }
 + SAFE_FREE(module_name);
 + return nt_status;
 + break; /* unreached */
 + }
 + entry = entry-next;
 + }
 +
 + /* No such backend found */
 + SAFE_FREE(module_name);
 + return NT_STATUS_INVALID_PARAMETER;
 +}

Jelmer


-- 
Jelmer Vernooij [EMAIL PROTECTED] - http://nl.linux.org/~jelmer/
 19:04:32 up  3:57, 11 users,  load average: 0.73, 1.02, 0.60



Re: Cannot get net ads join to work under Solaris 8

2002-11-15 Thread David Collier-Brown -- Customer Engineering
Andrew Bartlett wrote:
 Well, it just means that we need to find a real replacement for
 gmtime().  Any chance you could have a look at that function, and see if
 you can figure out why the current replacement doesn't work?

Huh?  My Solaris box has gmtime and gmtime_r, the 
reentrant variant. 

In principle, gmtime creates a struct tm, in
Coordinated Universal Time (UTC), just as if
you called localtime when machine was set to 
GMT. 

--dave
-- 
David Collier-Brown,   | Always do right. This will gratify 
Sun Microsystems DCMO  | some people and astonish the rest.
Toronto, Ontario   |
(905) 415-2849 or x52849   | [EMAIL PROTECTED]



WinXP_PlainPassword.reg

2002-11-15 Thread David Collier-Brown -- Customer Engineering
  I know folks dislike the plain password hack, but Unix
sites who don't trust their authentication to and NT server
still use these, deficiencies and all.
  So: here's an XP .reg file, same as the w2k reg file,
to go in the docs/Registry directory, as created by
regedit.  Can you check it out and publish it, please?

--dave
-- 
David Collier-Brown,   | Always do right. This will gratify 
Sun Microsystems DCMO  | some people and astonish the rest.
Toronto, Ontario   |
(905) 415-2849 or x52849   | [EMAIL PROTECTED]


WinXP_PlainPassword.reg
Description: Binary data


Re: Cannot get net ads join to work under Solaris 8

2002-11-15 Thread Andrew Bartlett
On Sat, 2002-11-16 at 06:09, David Collier-Brown -- Customer Engineering
wrote:
 Andrew Bartlett wrote:
  Well, it just means that we need to find a real replacement for
  gmtime().  Any chance you could have a look at that function, and see if
  you can figure out why the current replacement doesn't work?
 
   Huh?  My Solaris box has gmtime and gmtime_r, the 
   reentrant variant. 
 
   In principle, gmtime creates a struct tm, in
   Coordinated Universal Time (UTC), just as if
   you called localtime when machine was set to 
   GMT. 

Actually, we got confused - the function that Samba replaced, which I
suspected could be a problem is 'timegm'.  

Either way, there is a but in there somewhere, as it doesn't work for a
non-GMT timezone.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net



signature.asc
Description: This is a digitally signed message part


HP/UX portability guidelines

2002-11-15 Thread Martin Pool
I found these while investigating a distcc portability bug.  Anyone
interested in getting stuff running on HP/UX might find it
interesting.

  http://devrsrc1.external.hp.com/STKL/inhibitors.html

-- 
Martin

You see, in the unix world, system means a bunch of unrelated programs.
-- Steve Strassman



Re: [PATCH] fix bug in nmbd

2002-11-15 Thread jra
On Fri, Nov 15, 2002 at 04:28:07PM +0100, Stefan (metze) Metzmacher wrote:
 Sorry there was a typo in the patch...:-(
 ( namerec-data.num_addrs - namerec-data.num_ips )
 
 here's the working patch.

Committed - thanks !

Jeremy.



Re: byte order in rep_inet_ntoa()

2002-11-15 Thread Andrew Bartlett
On Sat, 2002-11-16 at 02:38, Stefan (metze) Metzmacher wrote:
 Hi,
 
 I add #define REPLACE_INET_NTOA 1 to config.h
 
 and in the debug's I got '7.5.0.10' not not '10.0.5.7 as ip.
 
 WORDS_BIGENDIAN is undefined (SuSE 7.3 i386)
 
 is this really right???
 (lib/replace.c)
 ...
 #ifdef REPLACE_INET_NTOA
 char *rep_inet_ntoa(struct in_addr ip)
 {
  unsigned char *p = (unsigned char *)ip.s_addr;
  static char buf[18];
 #if WORDS_BIGENDIAN
  slprintf(buf, 17, %d.%d.%d.%d,
   (int)p[0], (int)p[1], (int)p[2], (int)p[3]);
 #else /* WORDS_BIGENDIAN */
  slprintf(buf, 17, %d.%d.%d.%d,
   (int)p[3], (int)p[2], (int)p[1], (int)p[0]);
 #endif /* WORDS_BIGENDIAN */
  return buf;
 }
 #endif /* REPLACE_INET_NTOA */

The manpage indicates that (on linux) this is stored in network byte
order, so the 'little endien' case would indeed be wrong.

Can somebody else confirm this?

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net



signature.asc
Description: This is a digitally signed message part


help

2002-11-15 Thread esteve maruri




Hello,

i would like to know how to uninstall samba from my system. can you help me?
we are working on mandrake 7.02 and samba 2.0.6.

Thanks a lot!

esteve

_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus



uuid_to_string() conflict

2002-11-15 Thread Luke Howard

The uuid_to_string() function breaks including the OSF DCE headers 
in Samba (which we need for our DCE funnel) as there is a similarly
named function in DCE.

Any chance you could either use the same signature as the OSF DCE
runtime or rename it to guid_to_string()?

We can work around it with #defines but it would be nice not to.

regards,

-- Luke

--
Luke Howard | PADL Software Pty Ltd | www.padl.com



ÄúÓвúÆ·ÐèÐû´«Âð?ÎÒÃÇ¿ÉÒÔΪÄúÌṩÂúÒâµÄ·þÎñ!

2002-11-15 Thread ÄãºÃ





¸óÏÂ:Èç¹ûÄúÐèҪͨ¹ýemail×ö¹ã¸æ,ÎÒ¿ÉÒÔΪÄãÌṩÍøÂçÓʼþ¼«ËÙȺ·¢Èí¼þºÍemailµØÖ·¿â,
¼Û¸ñ:(ÍøÂçÓʼþ¼«ËÙȺ·¢Èí¼þ+500ÍòÓÊÖ·)=650Ôª,Óʼþ¼«ËÙȺ·¢Èí¼þ¿ÉÏÈÃâ·ÑÏÂÔØÊÔÓÃ,Èí¼þÃâ·ÑÏÂÔصØÖ·:www.www999.com
ÊÔÓÃÂúÒâºó,µ±Ìì½»»õ,»¶Ó­¶©¹º,µçÓÊ:[EMAIL PROTECTED],µç»°:0755-26383669ÁªÏµÈË:ÑîÉú

Áí:½¨ÍøÕ¾880Ԫȫ°üÆð(Ò»¸ö¹ú¼ÊÓòÃû,100MÍøÕ¾¿Õ¼ä,4Ò³ÍøÒ³),ÏêÇéÇëµç:0755-26383669,ÍøÖ·:www.www999.comÁªÏµÈË:ÑîÉú


Èç¹û¸óϲ»ÐèÕâЩ·þÎñ,ÄÇÎÒÒ»¶¨ÊÇ´òÈÅÄúÁË,ÇëÔ­Á²¢É¾³ýÖ®,лл£¡

¡¾×¢Òâ¡¿ÉÏÃæµÄÓʼþÄÚÈÝ ÓëÒÔÏÂÎÄ×ÖÎ޹ء£±¾Èí¼þ½öÏÞÓںϷ¨ÓÃ;!¸ÃÓʼþÓÉ¡°ÃÀ¶ûÍøÂçÓªÏúÌØ¿ìרÁС±Èí¼þ·¢ËÍ£º¹¦ÄÜÇ¿´óµÄÈ«ÐÂÍøÂçÓªÏúÈí¼þ£¬Ãñ×åÈí¼þµÄ½¾°Á£¬ÎÅÃûÖÐÍ⣡Ãâ·ÑÏÂÔØÊÔÓãºhttp://www.99aa.com/




Re: CVS update: samba/docs/docbook/projdoc

2002-11-15 Thread Andrew Bartlett
On Fri, 2002-11-15 at 08:36, [EMAIL PROTECTED] wrote:
 
 Date: Thu Nov 14 21:36:46 2002
 Author:   jelmer
 
 Update of /home/cvs/samba/docs/docbook/projdoc
 In directory dp.samba.org:/tmp/cvs-serv2922
 
 Modified Files:
   Speed.sgml 
 Log Message:
 
 Remove some obsolete info

Was the oplock info really obsolete?  Perhaps this stuff needs a new
home, but at least some of it isn't completely obsolete, as far as I can
tell.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net



signature.asc
Description: This is a digitally signed message part


CVS update: samba/testsuite/build_farm

2002-11-15 Thread abartlet

Date:   Fri Nov 15 13:53:02 2002
Author: abartlet

Update of /data/cvs/samba/testsuite/build_farm
In directory dp.samba.org:/tmp/cvs-serv9863

Modified Files:
basicsmb-invalidusers.test basicsmb.fns runlist 
Added Files:
basicsmb-preexec.test basicsmb.smb.conf.preexec.template 
basicsmb.smb.conf.preexec_cl_fail.template 
basicsmb.smb.conf.preexec_close.template 
basicsmb.smb.conf.validusers.template preexec.template 
Log Message:
Updates to the build farm tests:

- Get valid/invalid users working
- Test preexec, preexec close

Andrew Bartlett


Revisions:
basicsmb-preexec.test   NONE = 1.1

http://www.samba.org/cgi-bin/cvsweb/samba/testsuite/build_farm/basicsmb-preexec.test?rev=1.1
basicsmb.smb.conf.preexec.template  NONE = 1.1

http://www.samba.org/cgi-bin/cvsweb/samba/testsuite/build_farm/basicsmb.smb.conf.preexec.template?rev=1.1
basicsmb.smb.conf.preexec_cl_fail.template  NONE = 1.1

http://www.samba.org/cgi-bin/cvsweb/samba/testsuite/build_farm/basicsmb.smb.conf.preexec_cl_fail.template?rev=1.1
basicsmb.smb.conf.preexec_close.templateNONE = 1.1

http://www.samba.org/cgi-bin/cvsweb/samba/testsuite/build_farm/basicsmb.smb.conf.preexec_close.template?rev=1.1
basicsmb.smb.conf.validusers.template   NONE = 1.1

http://www.samba.org/cgi-bin/cvsweb/samba/testsuite/build_farm/basicsmb.smb.conf.validusers.template?rev=1.1
preexec.templateNONE = 1.1

http://www.samba.org/cgi-bin/cvsweb/samba/testsuite/build_farm/preexec.template?rev=1.1
basicsmb-invalidusers.test  1.1 = 1.2

http://www.samba.org/cgi-bin/cvsweb/samba/testsuite/build_farm/basicsmb-invalidusers.test?r1=1.1r2=1.2
basicsmb.fns1.20 = 1.21

http://www.samba.org/cgi-bin/cvsweb/samba/testsuite/build_farm/basicsmb.fns?r1=1.20r2=1.21
runlist 1.10 = 1.11

http://www.samba.org/cgi-bin/cvsweb/samba/testsuite/build_farm/runlist?r1=1.10r2=1.11



CVS update: samba/source/include

2002-11-15 Thread abartlet

Date:   Fri Nov 15 13:57:25 2002
Author: abartlet

Update of /data/cvs/samba/source/include
In directory dp.samba.org:/tmp/cvs-serv10207/source/include

Modified Files:
debug.h 
Log Message:
Add const to DEBUG() macro.


Revisions:
debug.h 1.19 = 1.20

http://www.samba.org/cgi-bin/cvsweb/samba/source/include/debug.h?r1=1.19r2=1.20



CVS update: samba/testsuite/build_farm

2002-11-15 Thread abartlet

Date:   Fri Nov 15 14:06:35 2002
Author: abartlet

Update of /home/cvs/samba/testsuite/build_farm
In directory dp.samba.org:/tmp/cvs-serv11228/testsuite/build_farm

Modified Files:
  Tag: SAMBA_3_0
basicsmb-invalidusers.test basicsmb.fns runlist 
Added Files:
  Tag: SAMBA_3_0
basicsmb-preexec.test basicsmb.smb.conf.preexec.template 
basicsmb.smb.conf.preexec_cl_fail.template 
basicsmb.smb.conf.preexec_close.template 
basicsmb.smb.conf.validusers.template preexec.template 
Log Message:
Merge from HEAD:
 - heimdal updates to configure
 - make DEBUG() const 
 - add testsuite for:  
   - preexec
   - preexec close
   - valid users
 - fix testsuite for 'invalid users'

Andrew Bartlett


Revisions:
basicsmb-preexec.test   NONE = 1.1.2.1

http://www.samba.org/cgi-bin/cvsweb/samba/testsuite/build_farm/basicsmb-preexec.test?rev=1.1.2.1
basicsmb.smb.conf.preexec.template  NONE = 1.1.2.1

http://www.samba.org/cgi-bin/cvsweb/samba/testsuite/build_farm/basicsmb.smb.conf.preexec.template?rev=1.1.2.1
basicsmb.smb.conf.preexec_cl_fail.template  NONE = 1.1.2.1

http://www.samba.org/cgi-bin/cvsweb/samba/testsuite/build_farm/basicsmb.smb.conf.preexec_cl_fail.template?rev=1.1.2.1
basicsmb.smb.conf.preexec_close.templateNONE = 1.1.2.1

http://www.samba.org/cgi-bin/cvsweb/samba/testsuite/build_farm/basicsmb.smb.conf.preexec_close.template?rev=1.1.2.1
basicsmb.smb.conf.validusers.template   NONE = 1.1.2.1

http://www.samba.org/cgi-bin/cvsweb/samba/testsuite/build_farm/basicsmb.smb.conf.validusers.template?rev=1.1.2.1
preexec.templateNONE = 1.1.2.1

http://www.samba.org/cgi-bin/cvsweb/samba/testsuite/build_farm/preexec.template?rev=1.1.2.1
basicsmb-invalidusers.test  1.1 = 1.1.2.1

http://www.samba.org/cgi-bin/cvsweb/samba/testsuite/build_farm/basicsmb-invalidusers.test?r1=1.1r2=1.1.2.1
basicsmb.fns1.19.2.1 = 1.19.2.2

http://www.samba.org/cgi-bin/cvsweb/samba/testsuite/build_farm/basicsmb.fns?r1=1.19.2.1r2=1.19.2.2
runlist 1.10 = 1.10.2.1

http://www.samba.org/cgi-bin/cvsweb/samba/testsuite/build_farm/runlist?r1=1.10r2=1.10.2.1



CVS update: samba/testsuite/build_farm

2002-11-15 Thread abartlet

Date:   Fri Nov 15 14:24:27 2002
Author: abartlet

Update of /data/cvs/samba/testsuite/build_farm
In directory dp.samba.org:/tmp/cvs-serv13427

Modified Files:
runlist 
Added Files:
torture-RENAME.test 
Log Message:
Add the rename torture test.


Revisions:
torture-RENAME.test NONE = 1.1

http://www.samba.org/cgi-bin/cvsweb/samba/testsuite/build_farm/torture-RENAME.test?rev=1.1
runlist 1.11 = 1.12

http://www.samba.org/cgi-bin/cvsweb/samba/testsuite/build_farm/runlist?r1=1.11r2=1.12



CVS update: samba/source/modules

2002-11-15 Thread jelmer

Date:   Fri Nov 15 17:01:23 2002
Author: jelmer

Update of /home/cvs/samba/source/modules
In directory dp.samba.org:/tmp/cvs-serv28348/modules

Added Files:
xml.c mysql.c 
Log Message:

Use smb_register_passdb() - plus some small fixes


Revisions:
xml.c   NONE = 1.1
http://www.samba.org/cgi-bin/cvsweb/samba/source/modules/xml.c?rev=1.1
mysql.c NONE = 1.1
http://www.samba.org/cgi-bin/cvsweb/samba/source/modules/mysql.c?rev=1.1



CVS update: samba/source/nsswitch

2002-11-15 Thread jerry

Date:   Fri Nov 15 17:56:21 2002
Author: jerry

Update of /data/cvs/samba/source/nsswitch
In directory dp.samba.org:/tmp/cvs-serv32114/nsswitch

Modified Files:
winbindd_ads.c 
Log Message:
enable enumeration of domain local groups using LDAP (and in a native mode domain)

Revisions:
winbindd_ads.c  1.57 = 1.58

http://www.samba.org/cgi-bin/cvsweb/samba/source/nsswitch/winbindd_ads.c?r1=1.57r2=1.58



CVS update: samba/source/libsmb

2002-11-15 Thread jerry

Date:   Fri Nov 15 17:57:25 2002
Author: jerry

Update of /data/cvs/samba/source/libsmb
In directory dp.samba.org:/tmp/cvs-serv32372/libsmb

Modified Files:
  Tag: SAMBA_3_0
clikrb5.c 
Log Message:
fix segfault

Revisions:
clikrb5.c   1.15.2.1 = 1.15.2.2

http://www.samba.org/cgi-bin/cvsweb/samba/source/libsmb/clikrb5.c?r1=1.15.2.1r2=1.15.2.2



CVS update: samba/source/nmbd

2002-11-15 Thread jra

Date:   Fri Nov 15 18:55:30 2002
Author: jra

Update of /data/cvs/samba/source/nmbd
In directory dp.samba.org:/tmp/cvs-serv4830/nmbd

Modified Files:
nmbd_winsserver.c 
Log Message:
Fix from Stefan (metze) Metzmacher [EMAIL PROTECTED] for nmbd 1c group
release.
Jeremy.


Revisions:
nmbd_winsserver.c   1.53 = 1.54

http://www.samba.org/cgi-bin/cvsweb/samba/source/nmbd/nmbd_winsserver.c?r1=1.53r2=1.54



CVS update: samba/source

2002-11-15 Thread abartlet

Date:   Fri Nov 15 21:15:52 2002
Author: abartlet

Update of /data/cvs/samba/source
In directory dp.samba.org:/tmp/cvs-serv16343

Modified Files:
configure.in configure 
Log Message:
patch from [EMAIL PROTECTED] to correctly detect solaris workshop CC's ability
to build shared libs (but not with .po suffix).

Andrew Bartlett


Revisions:
configure.in1.370 = 1.371
http://www.samba.org/cgi-bin/cvsweb/samba/source/configure.in?r1=1.370r2=1.371
configure   1.348 = 1.349
http://www.samba.org/cgi-bin/cvsweb/samba/source/configure?r1=1.348r2=1.349



CVS update: samba/source/auth

2002-11-15 Thread abartlet

Date:   Fri Nov 15 21:23:55 2002
Author: abartlet

Update of /data/cvs/samba/source/auth
In directory dp.samba.org:/tmp/cvs-serv16772/auth

Modified Files:
auth_builtin.c auth_sam.c auth_util.c auth_winbind.c 
Log Message:
Small auth updates:

 - add static remove unnneded prototype
 - move become_root() to just around pdb calls, so as to make it easier to
remove when we kill off this silly idea
 - Change auth_sam to do 'account before password' rather than 'password before
account'.  This means that we match Win2k in giving 'account disabled' instead
of 'wrong password' if the wrong password to a disabled account is used.

Andrew Bartlett


Revisions:
auth_builtin.c  1.16 = 1.17

http://www.samba.org/cgi-bin/cvsweb/samba/source/auth/auth_builtin.c?r1=1.16r2=1.17
auth_sam.c  1.46 = 1.47

http://www.samba.org/cgi-bin/cvsweb/samba/source/auth/auth_sam.c?r1=1.46r2=1.47
auth_util.c 1.56 = 1.57

http://www.samba.org/cgi-bin/cvsweb/samba/source/auth/auth_util.c?r1=1.56r2=1.57
auth_winbind.c  1.12 = 1.13

http://www.samba.org/cgi-bin/cvsweb/samba/source/auth/auth_winbind.c?r1=1.12r2=1.13



CVS update: samba/source/smbd

2002-11-15 Thread abartlet

Date:   Fri Nov 15 21:27:55 2002
Author: abartlet

Update of /data/cvs/samba/source/smbd
In directory dp.samba.org:/tmp/cvs-serv17250/smbd

Modified Files:
lanman.c 
Log Message:
Add const to PACKS()


Revisions:
lanman.c1.88 = 1.89
http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/lanman.c?r1=1.88r2=1.89



CVS update: samba/source/utils

2002-11-15 Thread abartlet

Date:   Fri Nov 15 21:28:33 2002
Author: abartlet

Update of /data/cvs/samba/source/utils
In directory dp.samba.org:/tmp/cvs-serv17312/utils

Modified Files:
net_rpc.c 
Log Message:
Add samdump and vampire to 'net rpc help'

Andrew Bartlett


Revisions:
net_rpc.c   1.42 = 1.43

http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/net_rpc.c?r1=1.42r2=1.43



CVS update: samba/source

2002-11-15 Thread abartlet

Date:   Fri Nov 15 21:43:56 2002
Author: abartlet

Update of /home/cvs/samba/source
In directory dp.samba.org:/tmp/cvs-serv18626

Modified Files:
  Tag: SAMBA_3_0
configure configure.in 
Log Message:
Updates from HEAD:

 - const for PACKS() in lanman.c
 - change auth to 'account before password'
 - add help to net rpc {vampire,samsync}
 - configure updates for sun workshop cc
 - become_root() around pdb_ calls in auth_util for guest login.

Andrew Bartlett


Revisions:
configure   1.282.2.16 = 1.282.2.17

http://www.samba.org/cgi-bin/cvsweb/samba/source/configure?r1=1.282.2.16r2=1.282.2.17
configure.in1.300.2.16 = 1.300.2.17

http://www.samba.org/cgi-bin/cvsweb/samba/source/configure.in?r1=1.300.2.16r2=1.300.2.17



CVS update: samba/source/auth

2002-11-15 Thread abartlet

Date:   Fri Nov 15 21:43:57 2002
Author: abartlet

Update of /home/cvs/samba/source/auth
In directory dp.samba.org:/tmp/cvs-serv18626/auth

Modified Files:
  Tag: SAMBA_3_0
auth_sam.c auth_util.c auth_winbind.c 
Log Message:
Updates from HEAD:

 - const for PACKS() in lanman.c
 - change auth to 'account before password'
 - add help to net rpc {vampire,samsync}
 - configure updates for sun workshop cc
 - become_root() around pdb_ calls in auth_util for guest login.

Andrew Bartlett


Revisions:
auth_sam.c  1.36.2.5 = 1.36.2.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/auth/auth_sam.c?r1=1.36.2.5r2=1.36.2.6
auth_util.c 1.39.2.5 = 1.39.2.6

http://www.samba.org/cgi-bin/cvsweb/samba/source/auth/auth_util.c?r1=1.39.2.5r2=1.39.2.6
auth_winbind.c  1.6.2.3 = 1.6.2.4

http://www.samba.org/cgi-bin/cvsweb/samba/source/auth/auth_winbind.c?r1=1.6.2.3r2=1.6.2.4



CVS update: samba/source/utils

2002-11-15 Thread abartlet

Date:   Fri Nov 15 21:43:57 2002
Author: abartlet

Update of /home/cvs/samba/source/utils
In directory dp.samba.org:/tmp/cvs-serv18626/utils

Modified Files:
  Tag: SAMBA_3_0
net_rpc.c 
Log Message:
Updates from HEAD:

 - const for PACKS() in lanman.c
 - change auth to 'account before password'
 - add help to net rpc {vampire,samsync}
 - configure updates for sun workshop cc
 - become_root() around pdb_ calls in auth_util for guest login.

Andrew Bartlett


Revisions:
net_rpc.c   1.14.2.7 = 1.14.2.8

http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/net_rpc.c?r1=1.14.2.7r2=1.14.2.8



CVS update: samba/source

2002-11-15 Thread abartlet

Date:   Fri Nov 15 21:56:14 2002
Author: abartlet

Update of /data/cvs/samba/source
In directory dp.samba.org:/tmp/cvs-serv19573

Modified Files:
configure.in configure 
Log Message:
Remove the assumption that all Solaris has -lsendfile.

Andrew Bartlett


Revisions:
configure.in1.371 = 1.372
http://www.samba.org/cgi-bin/cvsweb/samba/source/configure.in?r1=1.371r2=1.372
configure   1.349 = 1.350
http://www.samba.org/cgi-bin/cvsweb/samba/source/configure?r1=1.349r2=1.350



CVS update: samba/source/include

2002-11-15 Thread abartlet

Date:   Fri Nov 15 21:56:14 2002
Author: abartlet

Update of /data/cvs/samba/source/include
In directory dp.samba.org:/tmp/cvs-serv19573/include

Modified Files:
config.h.in 
Log Message:
Remove the assumption that all Solaris has -lsendfile.

Andrew Bartlett


Revisions:
config.h.in 1.190 = 1.191

http://www.samba.org/cgi-bin/cvsweb/samba/source/include/config.h.in?r1=1.190r2=1.191



CVS update: samba/examples/libsmbclient

2002-11-15 Thread sharpe

Date:   Fri Nov 15 22:51:03 2002
Author: sharpe

Update of /data/cvs/samba/examples/libsmbclient
In directory dp.samba.org:/tmp/cvs-serv24226

Modified Files:
Makefile testsmbc.c tree.c 
Log Message:

Fix some problems with tree.c reported by users.



Revisions:
Makefile1.3 = 1.4

http://www.samba.org/cgi-bin/cvsweb/samba/examples/libsmbclient/Makefile?r1=1.3r2=1.4
testsmbc.c  1.3 = 1.4

http://www.samba.org/cgi-bin/cvsweb/samba/examples/libsmbclient/testsmbc.c?r1=1.3r2=1.4
tree.c  1.2 = 1.3

http://www.samba.org/cgi-bin/cvsweb/samba/examples/libsmbclient/tree.c?r1=1.2r2=1.3



CVS update: samba/examples/libsmbclient

2002-11-15 Thread sharpe

Date:   Fri Nov 15 22:55:15 2002
Author: sharpe

Update of /data/cvs/samba/examples/libsmbclient
In directory dp.samba.org:/tmp/cvs-serv24517

Modified Files:
tree.c 
Log Message:

One more small fix in tree.c 


Revisions:
tree.c  1.3 = 1.4

http://www.samba.org/cgi-bin/cvsweb/samba/examples/libsmbclient/tree.c?r1=1.3r2=1.4



CVS update: sambaweb/support

2002-11-15 Thread mbp

Date:   Sat Nov 16 10:04:31 2002
Author: mbp

Update of /data/cvs/sambaweb/support
In directory dp.samba.org:/tmp/cvs-serv25092

Modified Files:
us.html 
Log Message:
Add Edoceo, in Washington state.


Revisions:
us.html 1.18 = 1.19
http://www.samba.org/cgi-bin/cvsweb/sambaweb/support/us.html?r1=1.18r2=1.19



CVS update: samba/source

2002-11-15 Thread abartlet

Date:   Sat Nov 16 01:08:46 2002
Author: abartlet

Update of /home/cvs/samba/source
In directory dp.samba.org:/tmp/cvs-serv887

Modified Files:
  Tag: SAMBA_3_0
configure configure.in 
Log Message:
Merge from HEAD:  Remove assumption that all solaris has -lsendfile


Revisions:
configure   1.282.2.17 = 1.282.2.18

http://www.samba.org/cgi-bin/cvsweb/samba/source/configure?r1=1.282.2.17r2=1.282.2.18
configure.in1.300.2.17 = 1.300.2.18

http://www.samba.org/cgi-bin/cvsweb/samba/source/configure.in?r1=1.300.2.17r2=1.300.2.18



  1   2   >