[Samba] Problem Using Windows XP Pro w/Samba

2003-12-16 Thread Patrick Shoaf
I tried today to setup WinXP Pro to logon to my Linux Domain Server running 
RedHat Enterprise 2.1 with samba version 2.2.8a.  WinXP is complaining it 
can not locate the domain server or is unable to authenticate with the 
server.  Everything is working fine for Win9x, Win2k, and WinNT 
systems.  When setting up the XP system it was able to connect and create a 
system account (jeff-system).

Can anyone point me to where/how to identify and solve the problem?

Obviously, the best answer is not use MS junk, but I have no choice, some 
apps still are only available as MS FoxPro apps, which will never be 
available on Linux.

Would it help me to upgrade to Samba 3.0?

Patrick J. Shoaf, IT Manager
[EMAIL PROTECTED]
Model Cleaners, Uniforms,  Apparel
100 Third Street
Charleroi, PA 15022
http://www.model-uniforms.com/http://www.model-uniforms.com
Phone: 724-489-9553 ext. 105
 or800-99 MODEL
Fax:   724-489-4386


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


RE: [Samba] Problem Using Windows XP Pro w/Samba

2003-12-16 Thread Patrick Shoaf
Thank you all.  I figured there was some tweaking that had to be done.  The 
info you provided and the link to http://www.ccs.uky.edu/docs/samba.htm 
proved to be just what the doctor ordered.  Thanks again for all the help.

Patrick Shoaf

At 11:12 AM 12/16/2003, Rob MacGregor wrote:
From: Patrick Shoaf [EMAIL PROTECTED]

I tried today to setup WinXP Pro to logon to my Linux Domain Server 
running RedHat Enterprise 2.1 with samba version 2.2.8a.  WinXP is 
complaining it can not locate the domain server or is unable to 
authenticate with the server.  Everything is working fine for Win9x, 
Win2k, and WinNT systems.
When setting up the XP system it was able to connect and create a system 
account (jeff-system).

Can anyone point me to where/how to identify and solve the problem?
AFAIK the details are in the documentation, however...

In the Local Security Policy, under Security Options ensure you set the 
Domain Member: Digitally sign... (always) options to disabled.

You can find details by trawling for sign or seal xp on google.

 Please DO NOT send me ANY email directly unless it's a privacy issue.
  Reply-to mangled to assist those who don't read the above.
--
Rob  |  What part of no was it you didn't understand?
_
Stay in touch with absent friends - get MSN Messenger 
http://www.msn.co.uk/messenger
Patrick J. Shoaf, IT Manager
[EMAIL PROTECTED]
Model Cleaners, Uniforms,  Apparel
100 Third Street
Charleroi, PA 15022
http://www.model-uniforms.com/http://www.model-uniforms.com
Phone: 724-489-9553 ext. 105
 or800-99 MODEL
Fax:   724-489-4386


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


Re: [Samba] A domain controller for the domain could not by contacted (2.2.3a-12.3 for Debian)

2003-12-16 Thread Patrick Shoaf
I am running on RedHat, but everything should be same on server side.  Try 
adding the following lines into the smb.conf file:

password level = 8
username level = 8
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = yes
pam password change = yes
obey pam restrictions = yes
I have these lines in my conf and everything is working for me, even WinXP 
now.
The first two lines are for the case differences between Win  linux.
All version of win beyond Win95 defaults to encrypted passwords, hence line 3.
I have two password files, /etc/passwd for Linux  smbpasswd for Samba, 
users must be in both to authenticate, hence lines 4-5.
Lines 6-7 were in my default config and things work, so I did not question 
them.

If this does not work, please email me complete smb.conf file, and I will 
do a more thorough comparison.

Good Luck.

Patrick Shoaf

At 11:12 AM 12/16/2003, Eduard Witteveen wrote:
Hello,

I'm having problems using Samba as an primary domain controller. I am 
using debian woody as our platform.

The version of samba is 2.2.3a-12.3 for Debian and i followed the 
instructions which can be found on the following url: 
http://www-106.ibm.com/developerworks/eserver/tutorials/samba/. In short 
this covers:
   - creating the config file
   - creating the users / groups
   - creating directory structure
   - configuring the windows client
I attached my config file's /logging  from my debian woody system.

I did the following things on the windows client (Windows XP Professional 
2002 Service Pack 1)
   - Open the Local Security Policy editor (Start - All Programs - 
Administrative Tools - Local Security Policy).
   - Locate the entry Domain member: Digitally encrypt or sign secure 
channel (always). Disable it.
   - Locate the entry Domain member: Disable machine account password 
changes. Make sure it's disabled as well.
   - Locate the entry Domain member: Require strong (Windows 2000 or 
later) session key. Disable it.
   - Next, download the WinXP_SignOrSeal registry patch from 
www.samba.org http://www.samba.org or collect it from the Further 
resources: Downloads and developerWorks 
http://www-106.ibm.com/developerworks/eserver/tutorials/samba/samba-6-2.html 
section at the end of this tutorial. Apply it by double-clicking and 
answering Yes to the dialog prompt.
   - Now join the domain the same as you would for Windows NT or 2000. 
Right-click My Computer, select Properties, Computer Name, and Change. Or 
click the Network ID button and run the Network Wizard.

I put some screenshots of windows on the following locations: 
http://www.nergens.org/samba/ComputerNameChanges.PNG and 
http://www.nergens.org/samba/ComputerProperties.PNG

( i searched on the mailarchive, but i couldnt find any pointers / im 
kinda new to smb so i dont know how to debug)

Could someone please help me here?

Eduard Witteveen



[global]
;basic server settings
workgroup = HAWAR3
netbios name = nemo
server string = Samba %h PDC running %v
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
;PDC and master browser settings
os level = 64
preferred master = yes
local master = yes
domain master = yes
;security and logging settings
security = user
# encrypt passwords = yes
log file = /var/log/samba/log.%m
log level = 2
# max log size = 50
# hosts allow = 127.0.0.1 192.168.1.0/255.255.255.0
;user profiles and home directory
logon home = \\%L\%U\
logon drive = H:
logon path = \\%L\profiles\%U
logon script = netlogon.bat
;sync passwords
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* 
%n\n  *Enter*new*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n 
*passwd: *all*authentication*tokens*updated*successfully*

; new machines
add user script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false 
-M %u

#  shares 

[homes]
comment = Home Directories
browseable = no
writeable = yes
[profiles]
path = /home/samba/profiles
writeable = yes
browseable = no
create mask = 0600[2003/12/16 17:18:37, 0] smbd/server.c:main(698)
  smbd version 2.2.3a-12.3 for Debian started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2003/12/16 17:18:37, 1] lib/debug.c:debug_message(250)
  INFO: Debug class all level = 2   (pid 232 from pid 232)
[2003/12/16 17:18:37, 2] param/loadparm.c:do_section(2973)
  Processing section [homes]
[2003/12/16 17:18:37, 2] param/loadparm.c:do_section(2973)
  Processing section [profiles]
[2003/12/16 17:18:37, 2] param/loadparm.c:do_section(2973)
  Processing section [netlogon]
[2003/12/16 17:18:37, 2] lib/interface.c:add_interface(81)
  added interface ip=10.0.0.152 bcast=10.0.0.255 nmask=255.255.255.0
[2003/12/16 17:18:37, 2] smbd/server.c:open_sockets(198)
  waiting for a connection
nemo:/var/log/samba# cat log.nmbd
[2003/12/16 17:18:37, 0] nmbd/nmbd.c:main(783)
  Netbios nameserver version 2.2.3a-12.3 for Debian started.
  Copyright Andrew Tridgell and the Samba