[Samba] Sync Linux - NT Domain passwords

2003-03-13 Thread Simeonidis, Steve
Is there a way to syncronise the Windows Domain passwords
with the linux account passwords?


SAMBA passes authentication to an NT box

password server = *

Users have local accounts on the Linux box and get access to SAMBA shares
depending on which group (linux) they belong to and if their authentication
credentials were correct.


I've tried synchronising their passwords so when they change their Windows
password it changes their
Linux password, but unfortunately that doesn't happen.

unix password sync = Yes
security = domain
wins server = NT Box


Is there any way to achieve this???

Thanks

Steve Simeonidis 
Network Engineer, Spherion Education 
Spherion Group Ltd 
Making the Workplace Work Better 
1st Floor, 493 St. Kilda Rd, 
Melbourne VIC 3004, 
Australia 
+61 3 9243 2382 
[EMAIL PROTECTED] 



The information contained in this email and any attachments to it:

(a) may be confidential and if you are not the intended recipient, any interference 
with, 
use, disclosure or copying of this material is unauthorised and prohibited; and

(b) may contain personal information of the recipient and/or the sender as defined 
under the Privacy Act 1988 (Cth). Consent is hereby given by the recipient(s) to 
collect, hold and use such information and any personal information contained in a 
response to this email, for any reasonable purpose in the ordinary course of 
Spherion's 
business, including forwarding this email internally or disclosing it to a third 
party. All 
personal information collected by Spherion will be handled in accordance with 
Spherion's Privacy Policy. If you have received this email in error, please notify the 
sender and delete it.

(c) you agree not to employ or arrange employment for any candidate(s) supplied in 
this email and any attachments without first entering into a contractual agreement 
with 
Spherion. You further agree not to divulge any information contained in this document 
to any person(s) or entities without the express permission of Spherion.


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


RE: [Samba] Samba getting user info from NT PDC

2003-02-11 Thread Simeonidis, Steve
Make sure the same username exists on the SAMBA server with the
correct permissions to the share.

send you SAMBA configuration file.

Thanks


Steve Simeonidis
Network Engineer, Spherion Education
Spherion Group Ltd

Making the Workplace Work Better

1st Floor, 493 St. Kilda Rd,
Melbourne VIC 3004, 
Australia
+61 3 9243 2382
[EMAIL PROTECTED]



-Original Message-
From: Pierrick Brossin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 9:22 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Samba getting user info from NT PDC


Hi!

My boss asked me to be able to share some directories on a FreeBSD Samba
server
with users already created (and used) on a NT 4.0 PDC server.

So I followed http://www.sugoi.org/bits/index.php?bit_id=10

I just replaced the Windows 2k part by adding the NetBIOS name of the
machine to
the NT PDC.

When I did the smbpasswd trick it worked like charm:

testsmb# smbpasswd -j CH-DOMAIN -r PDC
2003/02/11 10:11:23 : change_trust_account_password: Changed password for
domain
CH-DOMAIN.
Joined domain CH-DOMAIN

The trouble is when I make a share on my Samba server and I try to access it
from a Windows machine connected to the NT PDC it keeps asking the password
and
never enters the share.

What I need to do is to share a directory. Try to enter it from a Windows
machine which is connected to the NT PDC. Samba asks the NT PDC if the user
is
valid and if so it enters the share.
But it doesn't work at all.

Any idea ?

Thanx !

Here is my smb config file:

# Global parameters
[global]
workgroup = CH-DOMAIN
netbios name = TESTSMB
server string = TESTSMB Server
interfaces = 10.41.0.39/24
security = DOMAIN
password server = PDC
encrypt passwords = yes
update encrypted = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password*
%n\n
*passwd:*all*authentication*tokens*updated*successfully*
remote announce = 10.41.0.255
log file = /var/log/log.%m
max log size = 50
load printers = no
os level = 0
preferred master = False
local master = no
domain master = False
wins support = no
wins server = 10.41.0.16
hosts allow = 10.41.0.
dns proxy = no

[www]
comment = www root directory
path = /usr/local/www/data/
browseable = yes
writable = yes

-- 
Pierrick Brossin
IT Swiss - QUARK Media House
6a Puits Godet, 2000 Neuchatel, Switzerland
Mail Prof: [EMAIL PROTECTED] Mail Priv: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

The information contained in this email and any attachments to it:

(a) may be confidential and if you are not the intended recipient, any interference 
with, 
use, disclosure or copying of this material is unauthorised and prohibited; and

(b) may contain personal information of the recipient and/or the sender as defined 
under the Privacy Act 1988 (Cth). Consent is hereby given by the recipient(s) to 
collect, hold and use such information and any personal information contained in a 
response to this email, for any reasonable purpose in the ordinary course of 
Spherion's 
business, including forwarding this email internally or disclosing it to a third 
party. All 
personal information collected by Spherion will be handled in accordance with 
Spherion's Privacy Policy. If you have received this email in error, please notify the 
sender and delete it.

(c) you agree not to employ or arrange employment for any candidate(s) supplied in 
this email and any attachments without first entering into a contractual agreement 
with 
Spherion. You further agree not to divulge any information contained in this document 
to any person(s) or entities without the express permission of Spherion.


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



RE: [Samba] Samba getting user info from NT PDC

2003-02-11 Thread Simeonidis, Steve
Sorry, you have a ttached your conf file.

Try using password server = *

Try login to the share using smbclient //TESTSMB/www -U username,
enable debug level and check the SAMBA log files for errors.

Thanks


Steve Simeonidis
Network Engineer, Spherion Education
Spherion Group Ltd

Making the Workplace Work Better

1st Floor, 493 St. Kilda Rd,
Melbourne VIC 3004, 
Australia
+61 3 9243 2382
[EMAIL PROTECTED]



-Original Message-
From: Pierrick Brossin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 9:22 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Samba getting user info from NT PDC


Hi!

My boss asked me to be able to share some directories on a FreeBSD Samba
server
with users already created (and used) on a NT 4.0 PDC server.

So I followed http://www.sugoi.org/bits/index.php?bit_id=10

I just replaced the Windows 2k part by adding the NetBIOS name of the
machine to
the NT PDC.

When I did the smbpasswd trick it worked like charm:

testsmb# smbpasswd -j CH-DOMAIN -r PDC
2003/02/11 10:11:23 : change_trust_account_password: Changed password for
domain
CH-DOMAIN.
Joined domain CH-DOMAIN

The trouble is when I make a share on my Samba server and I try to access it
from a Windows machine connected to the NT PDC it keeps asking the password
and
never enters the share.

What I need to do is to share a directory. Try to enter it from a Windows
machine which is connected to the NT PDC. Samba asks the NT PDC if the user
is
valid and if so it enters the share.
But it doesn't work at all.

Any idea ?

Thanx !

Here is my smb config file:

# Global parameters
[global]
workgroup = CH-DOMAIN
netbios name = TESTSMB
server string = TESTSMB Server
interfaces = 10.41.0.39/24
security = DOMAIN
password server = PDC
encrypt passwords = yes
update encrypted = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password*
%n\n
*passwd:*all*authentication*tokens*updated*successfully*
remote announce = 10.41.0.255
log file = /var/log/log.%m
max log size = 50
load printers = no
os level = 0
preferred master = False
local master = no
domain master = False
wins support = no
wins server = 10.41.0.16
hosts allow = 10.41.0.
dns proxy = no

[www]
comment = www root directory
path = /usr/local/www/data/
browseable = yes
writable = yes

-- 
Pierrick Brossin
IT Swiss - QUARK Media House
6a Puits Godet, 2000 Neuchatel, Switzerland
Mail Prof: [EMAIL PROTECTED] Mail Priv: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

The information contained in this email and any attachments to it:

(a) may be confidential and if you are not the intended recipient, any interference 
with, 
use, disclosure or copying of this material is unauthorised and prohibited; and

(b) may contain personal information of the recipient and/or the sender as defined 
under the Privacy Act 1988 (Cth). Consent is hereby given by the recipient(s) to 
collect, hold and use such information and any personal information contained in a 
response to this email, for any reasonable purpose in the ordinary course of 
Spherion's 
business, including forwarding this email internally or disclosing it to a third 
party. All 
personal information collected by Spherion will be handled in accordance with 
Spherion's Privacy Policy. If you have received this email in error, please notify the 
sender and delete it.

(c) you agree not to employ or arrange employment for any candidate(s) supplied in 
this email and any attachments without first entering into a contractual agreement 
with 
Spherion. You further agree not to divulge any information contained in this document 
to any person(s) or entities without the express permission of Spherion.


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



RE: [Samba] Samba getting user info from NT PDC

2003-02-11 Thread Simeonidis, Steve
winbind seems to work OK, the only problem that I had with that was
length of the groups (characters).
 
eg.
 
group
DOMAIN+Everyone
 
Trying to give a linux directory DOMAIN+Everyone rights ls -l displays
only
the first 8 characters DOMAIN+E of the group, if you have alot of groups
it makes it difficult to 
figure out which one is which.
I'm not sure if there is an easy way to fix that.
 
 
Thanks 
 


Steve Simeonidis 
Network Engineer, Spherion Education 
Spherion Group Ltd 

Making the Workplace Work Better 

1st Floor, 493 St. Kilda Rd, 
Melbourne VIC 3004, 
Australia 
+61 3 9243 2382 
[EMAIL PROTECTED] 

-Original Message-
From: Pierrick Brossin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 9:11 AM
To: Simeonidis, Steve; [EMAIL PROTECTED]
Subject: Re: [Samba] Samba getting user info from NT PDC


Thanx for your answer.
 
It worked after I added the username to the samba server...
I read that on samba.org just after I sent the mail to the mailing list !
 
Now, someone told me I could use winbind to avoid having to add the users to
the local machine..
 
I'll see that on thursday afternoon or friday.
 
Cya

- Original Message - 
From: Simeonidis, Steve mailto:[EMAIL PROTECTED]  
To: 'Pierrick Brossin' mailto:[EMAIL PROTECTED]  ;
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  
Sent: Tuesday, February 11, 2003 10:53 PM
Subject: RE: [Samba] Samba getting user info from NT PDC


Sorry, you have a ttached your conf file. 

Try using password server = * 

Try login to the share using smbclient //TESTSMB/www -U username, 
enable debug level and check the SAMBA log files for errors. 

Thanks 


Steve Simeonidis 
Network Engineer, Spherion Education 
Spherion Group Ltd 

Making the Workplace Work Better 

1st Floor, 493 St. Kilda Rd, 
Melbourne VIC 3004, 
Australia 
+61 3 9243 2382 
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]  



-Original Message- 
From: Pierrick Brossin [ mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ] 
Sent: Tuesday, February 11, 2003 9:22 PM 
To: [EMAIL PROTECTED] 
Subject: [Samba] Samba getting user info from NT PDC 


Hi! 

My boss asked me to be able to share some directories on a FreeBSD Samba
server 
with users already created (and used) on a NT 4.0 PDC server. 

So I followed http://www.sugoi.org/bits/index.php?bit_id=10
http://www.sugoi.org/bits/index.php?bit_id=10  

I just replaced the Windows 2k part by adding the NetBIOS name of the
machine to 
the NT PDC. 

When I did the smbpasswd trick it worked like charm: 

testsmb# smbpasswd -j CH-DOMAIN -r PDC 
2003/02/11 10:11:23 : change_trust_account_password: Changed password for
domain 
CH-DOMAIN. 
Joined domain CH-DOMAIN 

The trouble is when I make a share on my Samba server and I try to access it

from a Windows machine connected to the NT PDC it keeps asking the password
and 
never enters the share. 

What I need to do is to share a directory. Try to enter it from a Windows 
machine which is connected to the NT PDC. Samba asks the NT PDC if the user
is 
valid and if so it enters the share. 
But it doesn't work at all. 

Any idea ? 

Thanx ! 

Here is my smb config file: 

# Global parameters 
[global] 
workgroup = CH-DOMAIN 
netbios name = TESTSMB 
server string = TESTSMB Server 
interfaces = 10.41.0.39/24 
security = DOMAIN 
password server = PDC 
encrypt passwords = yes 
update encrypted = yes 
unix password sync = yes 
passwd program = /usr/bin/passwd %u 
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password*
%n\n 
*passwd:*all*authentication*tokens*updated*successfully* 
remote announce = 10.41.0.255 
log file = /var/log/log.%m 
max log size = 50 
load printers = no 
os level = 0 
preferred master = False 
local master = no 
domain master = False 
wins support = no 
wins server = 10.41.0.16 
hosts allow = 10.41.0. 
dns proxy = no 

[www] 
comment = www root directory 
path = /usr/local/www/data/ 
browseable = yes 
writable = yes 

-- 
Pierrick Brossin 
IT Swiss - QUARK Media House 
6a Puits Godet, 2000 Neuchatel, Switzerland 
Mail Prof: [EMAIL PROTECTED] Mail Priv: [EMAIL PROTECTED] 
-- 
To unsubscribe from this list go to the following URL and read the 
instructions:  http://lists.samba.org/mailman/listinfo/samba
http://lists.samba.org/mailman/listinfo/samba  


The information contained in this email and any attachments to it:



(a) may be confidential and if you are not the intended recipient, any
interference with, 

use, disclosure or copying of this material is unauthorised and prohibited;
and



(b) may contain personal information of the recipient and/or the sender as
defined 

under the Privacy Act 1988 (Cth). Consent is hereby given by the
recipient(s) to 

collect, hold and use such information and any personal information
contained

RE: [Samba] net command

2003-01-20 Thread Simeonidis, Steve
Title: RE: [Samba] net command





H, I didn't now you could do that.


Can't you write a small for loop script?


Thanks



Steve Simeonidis
Network Engineer, Spherion Education
Spherion Group Ltd


Making the Workplace Work Better


1st Floor, 493 St. Kilda Rd,
Melbourne VIC 3004, 
Australia
+61 3 9243 2382
[EMAIL PROTECTED]




-Original Message-
From: Kristyan Osborne [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 21, 2003 8:26 AM
To: [EMAIL PROTECTED]
Subject: [Samba] net command



Hi,

You can use the command net rpc shutdown -S machine name to remotly shutdown a PC. Is it possible to, or could it possibly be a future upgrade to have a comma separated list of machines so that you can shutdown several machines at one time. Ie at the end of the day to shutdown PC's in a particular classroom?


What are your thoughts??


Cheers

-
Kristyan Osborne - IT Technician
Longhill High School
01273 391672

Nryb2X
-^~IeDKjwkymòr(mv+-rm+YŸbr~jf


The information contained in this email and any attachments to it:

(a) may be confidential and if you are not the intended recipient, any interference with, 
use, disclosure or copying of this material is unauthorised and prohibited; and

(b) may contain personal information of the recipient and/or the sender as defined 
under the Privacy Act 1988 (Cth). Consent is hereby given by the recipient(s) to 
collect, hold and use such information and any personal information contained in a 
response to this email, for any reasonable purpose in the ordinary course of 
Spherion's 
business, including forwarding this email internally or disclosing it to a third party. All 
personal information collected by Spherion will be handled in accordance with 
Spherion's Privacy Policy. If you have received this email in error, please notify the 
sender and delete it.

(c) you agree not to employ or arrange employment for any candidate(s) supplied in 
this email and any attachments without first entering into a contractual agreement with 
Spherion. You further agree not to divulge any information contained in this document 
to any person(s) or entities without the express permission of Spherion.







RE: [Samba] Using the right network interface

2002-12-15 Thread Simeonidis, Steve
Title: RE: [Samba] Using the right network interface





Sorry Eric, I'm talking about Windows DOMAIN/WORKGROUPS.


One interface will have a different Domain to the other.


eg.
eth0 Domain - DomainA
eth1 Domain - DomainB



I was just wondering if nmbd will work properly.



Thanks



Steve Simeonidis
Network Engineer, Spherion Education
Spherion Group Ltd


Making the Workplace Work Better


1st Floor, 493 St. Kilda Rd,
Melbourne VIC 3004, 
Australia
+61 3 9243 2382
[EMAIL PROTECTED]




-Original Message-
From: Eric Boehm [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 12, 2002 11:58 PM
To: Simeonidis, Steve
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] Using the right network interface



On Thu, Dec 12, 2002 at 11:16:39PM +1100, Simeonidis, Steve wrote:
 Steve == Simeonidis, Steve [EMAIL PROTECTED] writes:


 Steve Thanks for that, I'll give it a go! Will nmbd work
 Steve properly if one interface belongs to a different domain
 Steve than the other?



What kind of domain do you mean? A Windows domain or a DNS domain? If
its a DNS domain, I don't think it matters. If it is a Windows domain,
I am not sure.


I'm not sure I understand the question. In the link for the thread I
sent you


http://marc.theaimsgroup.com/?t=10130473722=1=2


The examples I provide run a separate smbd *and* nmbd for each
interface. 


BTW, I built 2.2.5 and it only binds to one interface for me if I just
specify 


interfaces = 192.168.1.1/24


even if bind interfaces only = yes is commented out.


 Steve Will it get mixed up?



-- 
Eric M. Boehm /\ ASCII Ribbon Campaign
[EMAIL PROTECTED] \ / No HTML or RTF in mail
 X No proprietary word-processing

Respect Open Standards / \ files in mail


The information contained in this email and any attachments to it:

(a) may be confidential and if you are not the intended recipient, any interference with, 
use, disclosure or copying of this material is unauthorised and prohibited; and

(b) may contain personal information of the recipient and/or the sender as defined 
under the Privacy Act 1988 (Cth). Consent is hereby given by the recipient(s) to 
collect, hold and use such information and any personal information contained in a 
response to this email, for any reasonable

purpose in the ordinary course of Spherion’s business, including forwarding this email 
internally or disclosing it to a third party. All personal information collected by Spherion 
will be handled in accordance with Spherion’s Privacy Policy. If you have received 
this email in error, please notify the sender and delete it.






RE: [Samba] Using the right network interface

2002-12-12 Thread Simeonidis, Steve
Title: RE: [Samba] Using the right network interface





Thanks for that, I'll give it a go!


Will nmbd work properly if one interface belongs
to a different domain than the other?


Will it get mixed up?


Thanks


-Original Message-
From: Eric Boehm
To: Simeonidis, Steve
Cc: [EMAIL PROTECTED]
Sent: 12/12/02 12:30 AM
Subject: Re: [Samba] Using the right network interface


On Wed, Dec 11, 2002 at 08:19:12AM -0500, Boehm, Eric [NCRTP:C28D:EXCH]
wrote:
  Eric == Boehm, Eric [NCRTP:C28D:EXCH] Boehm writes:
 Steve == Simeonidis, Steve [EMAIL PROTECTED]


 Steve What I'm really trying to do and why I need this is because
 Steve I want to run 2 instances of SAMBA, a different one on each
 Steve interface.


 Eric That's a different problem. I think I posted a message on
 Eric this before. I'll try to find it and send you the
 Eric reference.


Here's the reference for the question I responded to on 2/7/2002. My
suggestions worked for the person asking the question.


http://marc.theaimsgroup.com/?t=10130473722=1=2


-- 
Eric M. Boehm /\ ASCII Ribbon Campaign
[EMAIL PROTECTED] \ / No HTML or RTF in mail
 X No proprietary word-processing

Respect Open Standards / \ files in mail


The information contained in this email and any attachments to it:

(a) may be confidential and if you are not the intended recipient, any interference with, 
use, disclosure or copying of this material is unauthorised and prohibited; and

(b) may contain personal information of the recipient and/or the sender as defined 
under the Privacy Act 1988 (Cth). Consent is hereby given by the recipient(s) to 
collect, hold and use such information and any personal information contained in a 
response to this email, for any reasonable

purpose in the ordinary course of Spherion’s business, including forwarding this email 
internally or disclosing it to a third party. All personal information collected by Spherion 
will be handled in accordance with Spherion’s Privacy Policy. If you have received 
this email in error, please notify the sender and delete it.






[Samba] Using the right network interface

2002-12-10 Thread Simeonidis, Steve
Title: Using the right network interface





Hi everyone,


samba 2.2.5
The server I'm using has 2 interfaces so using the
interface parameter I'm telling samba to use eth0 but
for some reason when I do netstat it is listening on eth1


interface = eth0 (the IP is 192.168.6.10)



netstat -an
udp 0 0 138.79.161.225:137 0.0.0.0:*
udp 0 0 0.0.0.0:137 0.0.0.0:*
udp 0 0 138.79.161.225:138 0.0.0.0:*


138.79.161.225 is the IP of eth1!??!


I've also tried interface = 192.168.6.10/24


Any ideas??



Steve Simeonidis
Network Engineer, Spherion Education
Spherion Group Ltd


The information contained in this email and any attachments to it:

(a) may be confidential and if you are not the intended recipient, any interference with, 
use, disclosure or copying of this material is unauthorised and prohibited; and

(b) may contain personal information of the recipient and/or the sender as defined 
under the Privacy Act 1988 (Cth). Consent is hereby given by the recipient(s) to 
collect, hold and use such information and any personal information contained in a 
response to this email, for any reasonable

purpose in the ordinary course of Spherion’s business, including forwarding this email 
internally or disclosing it to a third party. All personal information collected by Spherion 
will be handled in accordance with Spherion’s Privacy Policy. If you have received 
this email in error, please notify the sender and delete it.






RE: [Samba] Using the right network interface

2002-12-10 Thread Simeonidis, Steve
Title: RE: [Samba] Using the right network interface





I've tried the bind interfaces only = yes but still the same


netstat gives the same results.



What I'm really trying to do and why I need this is because
I want to run 2 instances of SAMBA, a different one on each interface.



The second instance doesn't even start properly.


Thanks




Steve Simeonidis
Network Engineer, Spherion Education
Spherion Group Ltd


Making the Workplace Work Better


1st Floor, 493 St. Kilda Rd,
Melbourne VIC 3004, 
Australia
+61 3 9243 2382
[EMAIL PROTECTED]




-Original Message-
From: Eric Boehm [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 10, 2002 11:47 PM
To: Simeonidis, Steve
Cc: Joel Hammer; [EMAIL PROTECTED]
Subject: Re: [Samba] Using the right network interface



On Tue, Dec 10, 2002 at 07:25:07AM -0500, Joel Hammer wrote:
 Joel == Joel Hammer [EMAIL PROTECTED] writes:


 Joel Just having a senior moment here, but, I recall vaguely that
 Joel samba will listening on all NIC's but ignores the ones you
 Joel tell it to ignore with.


Yes, samba will listen on all interfaces.


The problem is that Steve hasn't specified all the parameters
necessary to restrict Samba to one interface.


Try something like the following:


interfaces = 192.168.6.10/24 127.0.0.1/8
bind interfaces only = yes


You will want to include the loopback interfaces


Check the sections in man smb.conf regarding these two
directives. You need to include the loopback interface in the
interfaces list or smbpasswd and swat will not work.


 Steve Hi everyone,


 Steve samba 2.2.5 The server I'm using has 2 interfaces so using
 Steve the interface parameter I'm telling samba to use eth0 but
 Steve for some reason when I do netstat it is listening on eth1


 Steve interface = eth0 (the IP is 192.168.6.10)



 Steve netstat -an udp 0 0 138.79.161.225:137 0.0.0.0:* udp 0 0
 Steve 0.0.0.0:137 0.0.0.0:* udp 0 0 138.79.161.225:138 0.0.0.0:*


 Steve 138.79.161.225 is the IP of eth1!??!


 Steve I've also tried interface = 192.168.6.10/24


 Steve Any ideas??



-- 
Eric M. Boehm /\ ASCII Ribbon Campaign
[EMAIL PROTECTED] \ / No HTML or RTF in mail
 X No proprietary word-processing
Respect Open Standards / \ files in mail


The information contained in this email and any attachments to it:

(a) may be confidential and if you are not the intended recipient, any interference with, 
use, disclosure or copying of this material is unauthorised and prohibited; and

(b) may contain personal information of the recipient and/or the sender as defined 
under the Privacy Act 1988 (Cth). Consent is hereby given by the recipient(s) to 
collect, hold and use such information and any personal information contained in a 
response to this email, for any reasonable

purpose in the ordinary course of Spherion’s business, including forwarding this email 
internally or disclosing it to a third party. All personal information collected by Spherion 
will be handled in accordance with Spherion’s Privacy Policy. If you have received 
this email in error, please notify the sender and delete it.





[Samba] Current master browser = UKNOWN

2002-11-28 Thread Simeonidis, Steve
Title: Current master browser = UKNOWN





samba 2.2.5


We use an NT PDC for password authentication
and an NT WINS server.


Both of those systems are on a different subnet.


I have setup remote announce = PDC subnet broadcast and
remote browse sync = WINS server IP



Do I have to setup the SAMBA server as a master browser?
I don't want to mess things up with the WINS servers.



Thanks



Steve Simeonidis
Network Engineer, Spherion Education
Spherion Group Ltd


Making the Workplace Work Better


1st Floor, 493 St. Kilda Rd,
Melbourne VIC 3004, 
Australia
+61 3 9243 2382
[EMAIL PROTECTED]




-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 29, 2002 7:29 AM
To: Justin Richards
Cc: [EMAIL PROTECTED]
Subject: Re: [SAMBA] config/performance problem on solaris 8



On Thu, Nov 28, 2002 at 02:24:16PM -0600, Justin Richards wrote:
 I have tried your advice, infact I removed everything but the necessary
 server information and still no difference. read speed still very good,
 write speed still way below par.


Ok, now you have to do some work to profile the system and see
where the bottleneck may be. What is the maximum write speed
onto the disk from a local process (ufs on Solaris is notoriously
slow) ? Start there to find what your maximum should be and work
back into Samba to find the bottleneck. System profile tools
(top, vmstat, iostat) are useful here.


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






RE: [Samba] Samba share is not writeable

2002-11-27 Thread Simeonidis, Steve
Title: RE: [Samba] Samba share is not writeable





I haven't played with permissions much but I've got the following
line in my /etc/fstab file and it works fine.



//abinidi/common /abinidi/common smbfs uid=500,gid=500,credentials=/etc/smbmount_passwd,workgroup=SGL-AUS,rw 0 0

The content of the smbmount_passwd is
username = xxx
password = xx


owned by root.




I hope that helps.


Thanks


Steve Simeonidis
Network Engineer, Spherion Education
Spherion Group Ltd


1st Floor, 493 St. Kilda Rd, Melbourne VIC 3004, Australia
Phone: +61 3 9243 2382 Fax: +61 3 9820 2010
Email: [EMAIL PROTECTED]


The information contained in this email and any attachments to it:
(a) may be confidential and if you are not the intended recipient, any
interference with, use, disclosure or copying of this material is
unauthorised and prohibited; and
(b) may contain personal information of the recipient and/or the sender as
defined under the Privacy Act 1988 (Cth). Consent is hereby given by the
recipient(s) to collect, hold and use such information and any personal
information contained in a response to this email, for any reasonable purpose
in the ordinary course of Spherion's business, including forwarding this
email internally or disclosing it to a third party. All personal information
collected by Spherion will be handled in accordance with Spherion's Privacy
Policy.
If you have received this email in error, please notify the sender and delete
it.




-Original Message-
From: James [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 28, 2002 12:30 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Samba share is not writeable



I am having difficulty with Windows shares mounted with smb on my linux
machine. The mount directory will not have write permissions for anyone,
no matter what. The mount directory that I use is /home/samba. It has
0700, or drwx-- permissions when it is not connected to Samba. It is
owned by the user jhall, and the group root. When I mount it, if I use
dmask 0777, I get dr-xr-xr-x. If I use dmask 0700, I get dr-x--, and
so on. The subdirectories have the proper dmask, and thus are writeable.


The shared directory on my Win XP Pro box is SharedDocs, and jhall has
full permissions in this directory.


Below is an example of my shell commands and subsequent output:


[root@laptop jhall]# ls -l /home
##See that the dir samba is writable by jhall
drwx-- 37 jhall users 4096 Nov 27 19:42 jhall
drwx-- 2 jhall users 4096 Nov 27 11:09 samba
drwx-- 21 stephie stephie 4096 Nov 27 14:58 stephie


##This is how I mount the share 
[root@laptop jhall]# mount -t smbfs -o
user=jhall,uid=jhall,gid=root,dmask=0700,fmask=0777 //desktop/SharedDocs
/home/samba
Password: 


[root@laptop jhall]# ls -l /home
##Now it is mounted, and I can read and execute everything that 
##is on my shared windows directory, but can only write things that
##are in a subdirectory, because they have the proper dmask of 0700
##I am logged in as jhall when I try to write to the directory.
drwx-- 37 jhall users 4096 Nov 27 19:42 jhall
dr-x-- 1 jhall root 4096 Nov 24 11:54 samba
drwx-- 21 stephie stephie 4096 Nov 27 14:58 stephie


[root@laptop jhall]# smbumount /home/samba
##I unmount the directory


[root@laptop jhall]# ls -l /home
##And again have write permission
drwx-- 37 jhall users 4096 Nov 27 19:42 jhall
drwx-- 2 jhall users 4096 Nov 27 11:09 samba
drwx-- 21 stephie stephie 4096 Nov 27 14:58 stephie


I hope that this is enough information. Any help is appreciated!




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






[Samba] Another winbind question (hopefully easy one)

2002-10-02 Thread Simeonidis, Steve

I setup SAMBA to use winbind to authenticate of a WinNT PDC

In the smb.conf I have a line
template homedir = /home/winnt/%U 
which is file

I also use the pam module to create directories for
new users
pam_mkhomedir.so skel=/etc/sambaskel umask=0077

which is fine again.


My problem is that I can't tell or how do I tell pam_mkhomedir
to create the directories in /home/winnt/user
instead it creates them in /home/user


Any ideas?

Thanks

-- 

Steve Simeonidis
Network Engineer, Spherion Education
Spherion Group Ltd

1st Floor, 493 St. Kilda Rd, Melbourne VIC 3004, Australia
Phone:  +61 3 9243 2382Fax:+61 3 9820 2010
Email: [EMAIL PROTECTED]

The information contained in this email and any attachments to it:
(a) may be confidential and if you are not the intended recipient, any
interference with, use, disclosure or copying of this material is
unauthorised and prohibited; and
(b) may contain personal information of the recipient and/or the sender as
defined under the Privacy Act 1988 (Cth).  Consent is hereby given by the
recipient(s) to collect, hold and use such information and any personal
information contained in a response to this email, for any reasonable purpose
in the ordinary course of Spherion's business, including forwarding this
email internally or disclosing it to a third party.  All personal information
collected by Spherion will be handled in accordance with Spherion's Privacy
Policy.
If you have received this email in error, please notify the sender and delete
it.

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



Re: [Samba] Mounting Share at Boot

2002-10-01 Thread Simeonidis, Steve

I've got the following in my /etc/fstab file


//abinidi/common/abinidi/common smbfs   
uid=500,gid=500,credentials=/etc/smbmount_passwd 0 0

//abinidi/homes /abinidi/home   smbfs   
uid=500,gid=500,credentials=/etc/smbmount_passwd,rw 0 0

//abinidi/networking/abinidi/networking smbfs   
uid=500,gid=500,credentials=/etc/smbmount_passwd,rw 0 0
/d

500 is my user id
/etc.smbmount_passwd is a root rw file with the following
content
username = steves
password = x

Of course /abinidi/... are local directories

Hope that helps


On Tue, 1 Oct 2002 04:17, Barry Skidmore wrote:
 This is an excellent idea.  In investigating this, however, I have
 found that I can not even do the following:
 
 mount -t smbfs -o username=skidmore,password=xxx //sheltie/linux
 /root/mnt/sheltie/linux
 execvp of smbmnt failed. Error was No such file or directory.smbmnt
 failed: 1
 -
 I can assure you that /root/mnt/sheltie/linux exists, and if I do the
 following with
 'smbclient', I can connect.
 (I can also mount '//sheltie/linux' using the GUI 'xSMBrowser')

 --
 [root@mail skidmore]# smbclient //sheltie/linux -U skidmore%xxx
 added interface ip=xxx.xxx.xxx.xxx bcast=xxx.xxx.xxx.xxx
 nmask=xxx.xxx.xxx.xxx
 Got a positive name query response from xxx.xxx.xxx.xxx ( xxx.xxx.xxx.xxx )
 smb: \ ls
.   D0  Tue Sep 10 12:33:52 2002
..  D0  Tue Sep 10 12:33:52 2002
Nutritional Needs of Dogs With Cancer.txt5665  Mon Mar  8
 15:32:52 1999

   38152 blocks of size 1048576. 28567 blocks available
 smb: \
 -

 Any thoughts?

 Thanks,
 Barry

   Have you tried smbmount client machine\\dir
   '/home/barry' -o username=xxx password=xxx
   in your rc.local file for boot and the unmount in
   the
   halt file.?

-- 

Steve Simeonidis
Network Engineer, Spherion Education
Spherion Group Ltd

1st Floor, 493 St. Kilda Rd, Melbourne VIC 3004, Australia
Phone:  +61 3 9243 2382Fax:+61 3 9820 2010
Email: [EMAIL PROTECTED]

The information contained in this email and any attachments to it:
(a) may be confidential and if you are not the intended recipient, any
interference with, use, disclosure or copying of this material is
unauthorised and prohibited; and
(b) may contain personal information of the recipient and/or the sender as
defined under the Privacy Act 1988 (Cth).  Consent is hereby given by the
recipient(s) to collect, hold and use such information and any personal
information contained in a response to this email, for any reasonable purpose
in the ordinary course of Spherion's business, including forwarding this
email internally or disclosing it to a third party.  All personal information
collected by Spherion will be handled in accordance with Spherion's Privacy
Policy.
If you have received this email in error, please notify the sender and delete
it.

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



[Samba] Winbind help

2002-09-30 Thread Simeonidis, Steve

Hi everyone,

I've been trying to use winbind in order to 
connect to WinNT PDC for authenticating user and
also mapping user/group ids.

We are using RH 7.3 Samba 2.2.3a

I've followed the instruction provided in the document
Unified Logons between WindowsNT and UNIX using Winbind

We only want to authenticate SAMBA users so I've skipped the
/etc/pam.d/* changes.

This is the impertant entries of my smb.conf file
   workgroup = groupserv_melb
   netbios name = linux-smb
   netbios aliases = linux-test

   winbind separator = +
   winbind uid = 1-2
   winbind gid = 1-2
   winbind enum users = yes
   winbind enum groups = yes
   template homedir = /home/winnt/%D/%U
   template shell = /bin/bash

   password server = 138.79.130.20
   encrypt passwords = yes
   smb passwd file = /etc/samba/smbpasswd
   unix password sync = Yes
   passwd program = /usr/bin/passwd %u

   add user script = /usr/sbin/useradd -d /home/winnt/%D/%U -s /bin/false -M 
%U

The domain has been joined using smbpasswd 

Here are my questions:
Everytime I enable domain logons on SAMBA and try the
wbinfo -t I get Bad secret
When the domain logons is disabled then the secret is good.

if I type wbinfo -u I get all the domain users not a problem
the same with the wbinfo -g for groups.


Using the add user script = parameter trying to access the domain
using smbclient eg.
smbclient //linux-smb/homes  -W groupserv_melb -I 138.79.161.225 -U 
tst-steve 
The home directory doesn't get created properly. The %D option is EMPTY.
The user gets created in passwd/group/shadow but the HOME directory
DOESN'T??

I get something like 
tst-steve:x:10058:10058::/home/winnt//tst-steve:/bin/false
in the passwd file (with 2 // instead of the DOMAIN Name).

Also winbindd log file complains about port 445 on the PDC
[2002/09/30 16:02:24, 2] lib/util_sock.c:open_socket_out(858)
  error connecting to 138.79.130.20:445 (Connection refused)
What does that port do?


So what is the best way to do it if I want to authenticate the users from the
WindowsNT PDC and also give them access to SAMBA shares using the Windows
NT permissions?



Thanks in advance.
 
-- 

Steve Simeonidis
Network Engineer, Spherion Education
Spherion Group Ltd

1st Floor, 493 St. Kilda Rd, Melbourne VIC 3004, Australia
Phone:  +61 3 9243 2382Fax:+61 3 9820 2010
Email: [EMAIL PROTECTED]

The information contained in this email and any attachments to it:
(a) may be confidential and if you are not the intended recipient, any
interference with, use, disclosure or copying of this material is
unauthorised and prohibited; and
(b) may contain personal information of the recipient and/or the sender as
defined under the Privacy Act 1988 (Cth).  Consent is hereby given by the
recipient(s) to collect, hold and use such information and any personal
information contained in a response to this email, for any reasonable purpose
in the ordinary course of Spherion's business, including forwarding this
email internally or disclosing it to a third party.  All personal information
collected by Spherion will be handled in accordance with Spherion's Privacy
Policy.
If you have received this email in error, please notify the sender and delete
it.

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