LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-17-2005, 12:13 PM   #1
ericthebikeman
LQ Newbie
 
Registered: Mar 2005
Location: Bork, Bork, Bork
Posts: 10

Rep: Reputation: 0
Windows 64-bit kills Samba PDC logins


I've been unable to login to my Samba PDC after upgrading to Windows XP 64-bit. Any account with Admin rights gets a RPC Error after the password is entered, everyone else can login but no admin rights on XP is next to worthless.
Prior versions of windows can still login just fine, it only affects XP-x64. I've tried upgrading Samba but that didn't help.
 
Old 05-17-2005, 12:14 PM   #2
ericthebikeman
LQ Newbie
 
Registered: Mar 2005
Location: Bork, Bork, Bork
Posts: 10

Original Poster
Rep: Reputation: 0
Screen of the error I get
http://home.mindspring.com/~ops21/rpc-error.jpg
 
Old 05-19-2005, 07:13 AM   #3
this213
Member
 
Registered: Dec 2001
Location: ./
Distribution: Fedora, CentOS, RHEL, Gentoo
Posts: 167

Rep: Reputation: 34
I'm having the exact same issue. If I find anything I'll let you know
 
Old 05-20-2005, 07:39 PM   #4
ericthebikeman
LQ Newbie
 
Registered: Mar 2005
Location: Bork, Bork, Bork
Posts: 10

Original Poster
Rep: Reputation: 0
Your the 4th person I've seen so far. Unfortunately I've run into nothing but skeptics, blaming me for bad configurations like I'm some kind of idiot. Any Win32 client works fine if I set requiresignorseal to 0 in the registry, XP-64 doesn't though. I think this is still pretty rare since only early adopters who happen to have a Samba PDC will run into this. For some reason I can't help but think MS messed with the way SMB works again to keep non-MS products from working.

Just for laughs what version are you running? Could you post your smb.conf?

Samba 3.0.14a


[global]
use client driver = yes
netbios name = Phobos
workgroup = Home
server string = Samba 3 PDC

domain logons = yes
domain master = yes
preferred master = yes
os level = 64

;security
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
passwd program = /usr/bin/passwd %u
unix password sync = yes
pam password change = yes
min passwd length = 4
map acl inherit = yes
null passwords = no
utmp = yes
interfaces = eth1
bind interfaces only = yes
security = user
log level = 2
;login settings
logon script = logon.bat
logon path = \\%L\profiles\%U


socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no


# For low-risk security reasons on Win2000/WinXP networks (no Win98)
# restrict anonymous = 2

# WINS / VPN
# ----------

preferred master = yes
wins support = yes
wins server =

#============================ Share Definitions ==============================

idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/false
winbind use default domain = no

[profiles]
path = /home/samba/profiles
profile acls = yes
writable = yes
browseable = no

[netlogon]
writeable = yes
public = yes
write list = eric
path = /home/netlogon

[homes]
read only = no
browseable = Yes
hide dot files = yes
 
Old 05-22-2005, 05:16 PM   #5
this213
Member
 
Registered: Dec 2001
Location: ./
Distribution: Fedora, CentOS, RHEL, Gentoo
Posts: 167

Rep: Reputation: 34
I couldn't afford to keep this system off the domain long enough to get this resolved, so I installed Win2K Pro instead and have no issues with it at all - it even seems to run faster than XP x64 did (go figure), so I might just keep it this way anyway. So far everything I've wanted to run on here has done so extremely well, and joining the domain was just like any other computer on the network - and without even changing any registry values (like in XP)

I should have some more time later in the week to get into this again, unless I happen to see a fix in the mean time.

Anyway, here's my global section. This server has a crapload of share defs, so I won't bother posting those (shares shouldn't matter anyway for just logging into the domain):

version 3.0.14a as well, but it's been upgraded over the years from 2.2.7 - hence the apparent differences.
Code:
[global]
	workgroup = MYNET
	domain name = MYNET
	netbios name = GLSS
	server string = Samba PDC
	interfaces = 192.168.0.1
	bind interfaces only = Yes
	encrypt passwords = 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*
	username map = /etc/samba/smbusers
	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 script = %U.bat
	logon path = \\%L\Profiles\%U
	domain logons = Yes
	os level = 66
	preferred master = Yes
	domain master = Yes
	dns proxy = No
	Admin Users = SomeUser
 
Old 05-26-2005, 05:49 AM   #6
browny_amiga
Member
 
Registered: Dec 2001
Location: /mnt/UNV/Mlkway/Earth/USA/California/Silicon Valley
Distribution: Kubuntu, Debian Buster Stable, Windoze 7
Posts: 684

Rep: Reputation: 56
Angry

Well, it would at least really fit Microsofts profile of trying to kill off any competition. Total world domination, nothing less is what they want.
The more delicious that it just does not work with Linux, as I would say, it is their worst nightmare come true.
Our little penguin is bullet proof, can breath underwater, needs no air in vacuum and cannot be bought, bankrupted or corrupted ;-)
 
Old 06-25-2005, 12:48 PM   #7
ericthebikeman
LQ Newbie
 
Registered: Mar 2005
Location: Bork, Bork, Bork
Posts: 10

Original Poster
Rep: Reputation: 0
Solution available at last

The error isn't something you can fix with a change in the config file since the bug was caused by something in the codebase. The Samba project released 3.0.20pre1 which takes care of the RPC errors when logging into Samba in PDC mode.

RPMs & source are available at the official Samba website.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with Samba as a PDC; non-root logins denied Mr.47 Linux - Networking 0 07-11-2004 01:18 PM
Samba PDC with Windows XP ilumin8d Linux - Networking 5 12-23-2003 11:41 AM
Samba as a Windows PDC msamd Linux - Networking 1 12-01-2003 06:59 AM
Windows Clientes with samba PDC suportecs Linux - Networking 3 06-10-2003 03:58 PM
Samba PDC Windows XP kraven Linux - Networking 4 03-25-2003 03:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration