Re: [Samba] Samba as a PDC for W2K Network

2002-06-19 Thread Frank Fürst

Matt Hughes [EMAIL PROTECTED] schrieb:

   I have setup a Machine Trust Account with the following commands with no
 success:
 /usr/sbin/useradd -g 100 -d /dev/null -c corp -s /bin/false corp$
 passwd -l corp$
 smbpasswd -a -m corp$

As far as I know (and as the HOWTOs say), you cannot join a domain with
Win2K after you've created a Machine Trust Account manually. Rather,
give root a password in /etc/[samba/]smbpasswd (different to his unix
password) and create the trust account on the fly, as described in the
HOWTOs.

   I'm a little befuddled.  Any advice or something I may have missed in my
 smb.conf file?  Thanks a bundle in advance.
 
 SMB.CONF
 [global]
 workgroup = INAVNET2
 netbios name = SYMPHONY2
 server string = Samba %v on (%L)
 encrypt passwords = Yes
 obey pam restrictions = Yes
 pam password change = Yes
 passwd program = /usr/bin/passwd %u
 passwd chat = *New*password* %n\n *Retype*new*password* %n\n
 *passwd:*all*authentication*tokens*updated*successfully*
 unix password sync = Yes
 log file = /var/log/samba/%m.log
 max log size = 0
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 add user script = /usr/sbin/useradd -d /dev/null -g 100 -s
 /bin/false -M %u
 logon drive = H:domain logons = Yes

That should be on separate lines.

Bye, Frank
-- 
Frank Fürst, physikalische Biochemie, Universität Potsdam, Germany
Tel.: +49-331-977-5244  Fax: +49-331-977-5062


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



[Samba] Samba as a PDC for W2K Network

2002-06-18 Thread Matt Hughes


Hi all.  I hope someone here can help me with a bit of trouble I seem to be
having with Samba and Windows 2000.  Here's the deal:

We are attempting to setup a Red Hat 7.3 machine (SYMPHONY2) running Samba
2.2.3a to act as a File Server and PDC for a number of Windows 2000
workstations.  I have followed the instructions from
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection.html but
unfortunetly, that is not working.  I've attached my smb.conf file at the
end of this email but I'll go through the rest of the stuff now.  We setup
our Samba machine temporarily on a seperate network, INAVNET2 and that is
what we are trying to connect to.

From a Windows 2000 workstation (CORP), I try to change the Network
Properties to join INAVNET2.  I recieve the message The domain does not
exist.  However, from that same machine I can browse with Network
Neighborhood and see the INAVNET2 domain.  I can even get into the machine
and browse a few of the directories.  Also, a 'net view /domain:INAVNET2'
points me right to the Samba machine.

I have setup a Machine Trust Account with the following commands with no
success:
/usr/sbin/useradd -g 100 -d /dev/null -c corp -s /bin/false corp$
passwd -l corp$
smbpasswd -a -m corp$

I'm a little befuddled.  Any advice or something I may have missed in my
smb.conf file?  Thanks a bundle in advance.

SMB.CONF
[global]
workgroup = INAVNET2
netbios name = SYMPHONY2
server string = Samba %v on (%L)
encrypt passwords = Yes
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s
/bin/false -M %u
logon drive = H:domain logons = Yes
os level = 64
preferred master = True
domain master = True
dns proxy = No
wins support = Yes
printing = lprng

[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[netlogon]
comment = Necessary share for domain controller
path = /samba_shares/netlogon
admin users = admins

[profiles]
comment = Share for storing user profiles
path = /samba_shares/profiles/
read only = No
create mask = 0600
directory mask = 0700


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



RE: [Samba] Samba as a PDC for W2K Network

2002-06-18 Thread Dmitry Voronov

Welcome to my world. I'll bet if I take my laptop there it will work too.
:-)

Dmitry

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Matt Hughes
Sent: Tuesday, June 18, 2002 3:34 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Samba as a PDC for W2K Network



Hi all.  I hope someone here can help me with a bit of trouble I seem to be
having with Samba and Windows 2000.  Here's the deal:

We are attempting to setup a Red Hat 7.3 machine (SYMPHONY2) running Samba
2.2.3a to act as a File Server and PDC for a number of Windows 2000
workstations.  I have followed the instructions from
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection.html but
unfortunetly, that is not working.  I've attached my smb.conf file at the
end of this email but I'll go through the rest of the stuff now.  We setup
our Samba machine temporarily on a seperate network, INAVNET2 and that is
what we are trying to connect to.

From a Windows 2000 workstation (CORP), I try to change the Network
Properties to join INAVNET2.  I recieve the message The domain does not
exist.  However, from that same machine I can browse with Network
Neighborhood and see the INAVNET2 domain.  I can even get into the machine
and browse a few of the directories.  Also, a 'net view /domain:INAVNET2'
points me right to the Samba machine.

I have setup a Machine Trust Account with the following commands with no
success:
/usr/sbin/useradd -g 100 -d /dev/null -c corp -s /bin/false corp$
passwd -l corp$
smbpasswd -a -m corp$

I'm a little befuddled.  Any advice or something I may have missed in my
smb.conf file?  Thanks a bundle in advance.

SMB.CONF
[global]
workgroup = INAVNET2
netbios name = SYMPHONY2
server string = Samba %v on (%L)
encrypt passwords = Yes
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s
/bin/false -M %u
logon drive = H:domain logons = Yes
os level = 64
preferred master = True
domain master = True
dns proxy = No
wins support = Yes
printing = lprng

[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[netlogon]
comment = Necessary share for domain controller
path = /samba_shares/netlogon
admin users = admins

[profiles]
comment = Share for storing user profiles
path = /samba_shares/profiles/
read only = No
create mask = 0600
directory mask = 0700


--
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 as a PDC for W2K Network

2002-06-18 Thread Dmitry Voronov

Oops, sorry, didn't see that you can actually browse the computer. It must
be different then. Have you physically created the directories for your
shares (netlogon, profiles, homes)?

Dmitry

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Dmitry Voronov
Sent: Tuesday, June 18, 2002 2:16 PM
To: Matt Hughes; [EMAIL PROTECTED]
Subject: RE: [Samba] Samba as a PDC for W2K Network


Welcome to my world. I'll bet if I take my laptop there it will work too.
:-)

Dmitry

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Matt Hughes
Sent: Tuesday, June 18, 2002 3:34 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Samba as a PDC for W2K Network



Hi all.  I hope someone here can help me with a bit of trouble I seem to be
having with Samba and Windows 2000.  Here's the deal:

We are attempting to setup a Red Hat 7.3 machine (SYMPHONY2) running Samba
2.2.3a to act as a File Server and PDC for a number of Windows 2000
workstations.  I have followed the instructions from
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection.html but
unfortunetly, that is not working.  I've attached my smb.conf file at the
end of this email but I'll go through the rest of the stuff now.  We setup
our Samba machine temporarily on a seperate network, INAVNET2 and that is
what we are trying to connect to.

From a Windows 2000 workstation (CORP), I try to change the Network
Properties to join INAVNET2.  I recieve the message The domain does not
exist.  However, from that same machine I can browse with Network
Neighborhood and see the INAVNET2 domain.  I can even get into the machine
and browse a few of the directories.  Also, a 'net view /domain:INAVNET2'
points me right to the Samba machine.

I have setup a Machine Trust Account with the following commands with no
success:
/usr/sbin/useradd -g 100 -d /dev/null -c corp -s /bin/false corp$
passwd -l corp$
smbpasswd -a -m corp$

I'm a little befuddled.  Any advice or something I may have missed in my
smb.conf file?  Thanks a bundle in advance.

SMB.CONF
[global]
workgroup = INAVNET2
netbios name = SYMPHONY2
server string = Samba %v on (%L)
encrypt passwords = Yes
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s
/bin/false -M %u
logon drive = H:domain logons = Yes
os level = 64
preferred master = True
domain master = True
dns proxy = No
wins support = Yes
printing = lprng

[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[netlogon]
comment = Necessary share for domain controller
path = /samba_shares/netlogon
admin users = admins

[profiles]
comment = Share for storing user profiles
path = /samba_shares/profiles/
read only = No
create mask = 0600
directory mask = 0700


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


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


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



RE: [Samba] Samba as a PDC for W2K Network

2002-06-18 Thread Dmitry Voronov

Do a sniff. I'm willing to bet that you'll see the same thing. It will not
be responding to name queries.

Dmitry

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Dmitry Voronov
Sent: Tuesday, June 18, 2002 2:16 PM
To: Matt Hughes; [EMAIL PROTECTED]
Subject: RE: [Samba] Samba as a PDC for W2K Network


Welcome to my world. I'll bet if I take my laptop there it will work too.
:-)

Dmitry

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Matt Hughes
Sent: Tuesday, June 18, 2002 3:34 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Samba as a PDC for W2K Network



Hi all.  I hope someone here can help me with a bit of trouble I seem to be
having with Samba and Windows 2000.  Here's the deal:

We are attempting to setup a Red Hat 7.3 machine (SYMPHONY2) running Samba
2.2.3a to act as a File Server and PDC for a number of Windows 2000
workstations.  I have followed the instructions from
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection.html but
unfortunetly, that is not working.  I've attached my smb.conf file at the
end of this email but I'll go through the rest of the stuff now.  We setup
our Samba machine temporarily on a seperate network, INAVNET2 and that is
what we are trying to connect to.

From a Windows 2000 workstation (CORP), I try to change the Network
Properties to join INAVNET2.  I recieve the message The domain does not
exist.  However, from that same machine I can browse with Network
Neighborhood and see the INAVNET2 domain.  I can even get into the machine
and browse a few of the directories.  Also, a 'net view /domain:INAVNET2'
points me right to the Samba machine.

I have setup a Machine Trust Account with the following commands with no
success:
/usr/sbin/useradd -g 100 -d /dev/null -c corp -s /bin/false corp$
passwd -l corp$
smbpasswd -a -m corp$

I'm a little befuddled.  Any advice or something I may have missed in my
smb.conf file?  Thanks a bundle in advance.

SMB.CONF
[global]
workgroup = INAVNET2
netbios name = SYMPHONY2
server string = Samba %v on (%L)
encrypt passwords = Yes
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s
/bin/false -M %u
logon drive = H:domain logons = Yes
os level = 64
preferred master = True
domain master = True
dns proxy = No
wins support = Yes
printing = lprng

[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[netlogon]
comment = Necessary share for domain controller
path = /samba_shares/netlogon
admin users = admins

[profiles]
comment = Share for storing user profiles
path = /samba_shares/profiles/
read only = No
create mask = 0600
directory mask = 0700


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


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


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



RE: [Samba] Samba as a PDC for W2K Network

2002-06-18 Thread Matt Hughes

Thanks for the reply.

Yes, all of the directories for my shares are created.  With the exception
of Homes (which just refers to the user's linux home directory), all of them
are owned by root and set with default permissions.

matt


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Dmitry Voronov
Sent: Tuesday, June 18, 2002 11:28 AM
To: Dmitry Voronov; Matt Hughes; [EMAIL PROTECTED]
Subject: RE: [Samba] Samba as a PDC for W2K Network


Oops, sorry, didn't see that you can actually browse the computer. It must
be different then. Have you physically created the directories for your
shares (netlogon, profiles, homes)?

Dmitry

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Dmitry Voronov
Sent: Tuesday, June 18, 2002 2:16 PM
To: Matt Hughes; [EMAIL PROTECTED]
Subject: RE: [Samba] Samba as a PDC for W2K Network


Welcome to my world. I'll bet if I take my laptop there it will work too.
:-)

Dmitry

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Matt Hughes
Sent: Tuesday, June 18, 2002 3:34 PM
To: [EMAIL PROTECTED]
Subject: [Samba] Samba as a PDC for W2K Network



Hi all.  I hope someone here can help me with a bit of trouble I seem to be
having with Samba and Windows 2000.  Here's the deal:

We are attempting to setup a Red Hat 7.3 machine (SYMPHONY2) running Samba
2.2.3a to act as a File Server and PDC for a number of Windows 2000
workstations.  I have followed the instructions from
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection.html but
unfortunetly, that is not working.  I've attached my smb.conf file at the
end of this email but I'll go through the rest of the stuff now.  We setup
our Samba machine temporarily on a seperate network, INAVNET2 and that is
what we are trying to connect to.

From a Windows 2000 workstation (CORP), I try to change the Network
Properties to join INAVNET2.  I recieve the message The domain does not
exist.  However, from that same machine I can browse with Network
Neighborhood and see the INAVNET2 domain.  I can even get into the machine
and browse a few of the directories.  Also, a 'net view /domain:INAVNET2'
points me right to the Samba machine.

I have setup a Machine Trust Account with the following commands with no
success:
/usr/sbin/useradd -g 100 -d /dev/null -c corp -s /bin/false corp$
passwd -l corp$
smbpasswd -a -m corp$

I'm a little befuddled.  Any advice or something I may have missed in my
smb.conf file?  Thanks a bundle in advance.

SMB.CONF
[global]
workgroup = INAVNET2
netbios name = SYMPHONY2
server string = Samba %v on (%L)
encrypt passwords = Yes
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s
/bin/false -M %u
logon drive = H:domain logons = Yes
os level = 64
preferred master = True
domain master = True
dns proxy = No
wins support = Yes
printing = lprng

[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[netlogon]
comment = Necessary share for domain controller
path = /samba_shares/netlogon
admin users = admins

[profiles]
comment = Share for storing user profiles
path = /samba_shares/profiles/
read only = No
create mask = 0600
directory mask = 0700


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


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


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



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



Re: [Samba] Samba as a PDC for W2K Network

2002-06-18 Thread Billy O'Connor

   Hi all.  I hope someone here can help me with a bit of trouble I seem to be
   having with Samba and Windows 2000.  Here's the deal:

   We are attempting to setup a Red Hat 7.3 machine (SYMPHONY2) running Samba
   2.2.3a to act as a File Server and PDC for a number of Windows 2000
   workstations.  I have followed the instructions from
   http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection.html but
   unfortunetly, that is not working.  I've attached my smb.conf file at the
   end of this email but I'll go through the rest of the stuff now.  We setup
   our Samba machine temporarily on a seperate network, INAVNET2 and that is
   what we are trying to connect to.

What do your log files on the samba server say?  Try running the smbd
daemon with a -d3 switch and see what the logfiles say.  You can edit
the /etc/rc.d/init.d/smb to add the -d switch to smbd and nmbd.

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



RE: [Samba] Samba as a PDC for W2K Network

2002-06-18 Thread Dmitry Voronov

What does d3 do?

Dmitry

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Billy O'Connor
Sent: Tuesday, June 18, 2002 1:42 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] Samba as a PDC for W2K Network


   Hi all.  I hope someone here can help me with a bit of trouble I seem to
be
   having with Samba and Windows 2000.  Here's the deal:

   We are attempting to setup a Red Hat 7.3 machine (SYMPHONY2) running
Samba
   2.2.3a to act as a File Server and PDC for a number of Windows 2000
   workstations.  I have followed the instructions from
   http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection.html but
   unfortunetly, that is not working.  I've attached my smb.conf file at the
   end of this email but I'll go through the rest of the stuff now.  We
setup
   our Samba machine temporarily on a seperate network, INAVNET2 and that is
   what we are trying to connect to.

What do your log files on the samba server say?  Try running the smbd
daemon with a -d3 switch and see what the logfiles say.  You can edit
the /etc/rc.d/init.d/smb to add the -d switch to smbd and nmbd.

--
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 as a PDC for W2K Network

2002-06-18 Thread Billy O'Connor

   From billy  Tue Jun 18 13:52:08 2002
   X-Authentication-Warning: inetsvc.synxpharma.com: Host dhcp-148.synxpharma.com 
[192.168.0.148] claimed to be coopwin2k
   From: Dmitry Voronov [EMAIL PROTECTED]
   Cc: [EMAIL PROTECTED]
   Date: Tue, 18 Jun 2002 14:53:44 -0400
   X-Priority: 3 (Normal)
   X-MSMail-Priority: Normal
   X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
   Importance: Normal

   What does d3 do?

Sets the debug level, -ddebug level, where debug level is an
integer from 0-10, the higher the number, the more debugging
information gets logged.


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



RE: [Samba] Samba as a PDC for W2K Network

2002-06-18 Thread Matt Hughes


I added the -d3 option to both smbd and nmbd but it looked like only
log.nmbd had anything interesting.  Seems like the workstation and server at
least talking.  Not working, but talking.  Here's a snippit :


[2002/06/18 14:15:33, 3] nmbd/nmbd_incomingrequests.c:process_name_quer
y_request(479)
  process_name_query_request: Name query from 192.168.0.109 on subnet 1
92.168.0.10 for name INAVNET21c
[2002/06/18 14:15:34, 3] nmbd/nmbd_incomingrequests.c:process_name_quer
y_request(479)
  process_name_query_request: Name query from 192.168.0.109 on subnet 1
92.168.0.10 for name INAVNET21c
[2002/06/18 14:15:35, 3] nmbd/nmbd_incomingrequests.c:process_name_quer
y_request(479)
  process_name_query_request: Name query from 192.168.0.109 on subnet 1
92.168.0.10 for name INAVNET21c


Hope this helps.  Thanks.

matt


-Original Message-
From: Billy O'Connor [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 10:42 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] Samba as a PDC for W2K Network


   Hi all.  I hope someone here can help me with a bit of trouble I seem to
be
   having with Samba and Windows 2000.  Here's the deal:

   We are attempting to setup a Red Hat 7.3 machine (SYMPHONY2) running
Samba
   2.2.3a to act as a File Server and PDC for a number of Windows 2000
   workstations.  I have followed the instructions from
   http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection.html but
   unfortunetly, that is not working.  I've attached my smb.conf file at the
   end of this email but I'll go through the rest of the stuff now.  We
setup
   our Samba machine temporarily on a seperate network, INAVNET2 and that is
   what we are trying to connect to.

What do your log files on the samba server say?  Try running the smbd
daemon with a -d3 switch and see what the logfiles say.  You can edit
the /etc/rc.d/init.d/smb to add the -d switch to smbd and nmbd.



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



Re: [Samba] Samba as a PDC for W2K Network

2002-06-18 Thread Thomas Klettke

Matt, you are at least missing:

domain logons = yes

I'm not sure if that's the correct syntax, but that's where I would look at
first.

Cheers,
Thomas

- Original Message -
From: Matt Hughes [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 18, 2002 2:34 PM
Subject: [Samba] Samba as a PDC for W2K Network



 Hi all.  I hope someone here can help me with a bit of trouble I seem to
be
 having with Samba and Windows 2000.  Here's the deal:

 We are attempting to setup a Red Hat 7.3 machine (SYMPHONY2) running Samba
 2.2.3a to act as a File Server and PDC for a number of Windows 2000
 workstations.  I have followed the instructions from
 http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection.html but
 unfortunetly, that is not working.  I've attached my smb.conf file at the
 end of this email but I'll go through the rest of the stuff now.  We setup
 our Samba machine temporarily on a seperate network, INAVNET2 and that is
 what we are trying to connect to.

 From a Windows 2000 workstation (CORP), I try to change the Network
 Properties to join INAVNET2.  I recieve the message The domain does not
 exist.  However, from that same machine I can browse with Network
 Neighborhood and see the INAVNET2 domain.  I can even get into the machine
 and browse a few of the directories.  Also, a 'net view /domain:INAVNET2'
 points me right to the Samba machine.

 I have setup a Machine Trust Account with the following commands with no
 success:
 /usr/sbin/useradd -g 100 -d /dev/null -c corp -s /bin/false corp$
 passwd -l corp$
 smbpasswd -a -m corp$

 I'm a little befuddled.  Any advice or something I may have missed in my
 smb.conf file?  Thanks a bundle in advance.

 SMB.CONF
 [global]
 workgroup = INAVNET2
 netbios name = SYMPHONY2
 server string = Samba %v on (%L)
 encrypt passwords = Yes
 obey pam restrictions = Yes
 pam password change = Yes
 passwd program = /usr/bin/passwd %u
 passwd chat = *New*password* %n\n *Retype*new*password* %n\n
 *passwd:*all*authentication*tokens*updated*successfully*
 unix password sync = Yes
 log file = /var/log/samba/%m.log
 max log size = 0
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 add user script = /usr/sbin/useradd -d /dev/null -g 100 -s
 /bin/false -M %u
 logon drive = H:domain logons = Yes
 os level = 64
 preferred master = True
 domain master = True
 dns proxy = No
 wins support = Yes
 printing = lprng

 [homes]
 comment = Home Directories
 valid users = %S
 read only = No
 create mask = 0664
 directory mask = 0775
 browseable = No

 [printers]
 comment = All Printers
 path = /var/spool/samba
 printable = Yes
 browseable = No

 [netlogon]
 comment = Necessary share for domain controller
 path = /samba_shares/netlogon
 admin users = admins

 [profiles]
 comment = Share for storing user profiles
 path = /samba_shares/profiles/
 read only = No
 create mask = 0600
 directory mask = 0700


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