1832763 Members
3070 Online
110045 Solutions
New Discussion

samba PDC problem

 
ritvi
Occasional Contributor

samba PDC problem

When i m trying to loging from win2000 server machine to my samba pdc machine it gives me an error saying

Procedure number out of range ????
how an i get rid of this .... pls help


#======================= Global Settings =====================================
[global]

# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = MSDEPT
Netbios name = appserver
idmap uid = 10000-20000
idmap gid = 10000-20000
template primary group = "Domain Users"
template shell = /bin/bash
winbind enum users = yes
winbind enum groups = yes
lanman auth = Yes
domain admin group = root, admins
server string = HP samba server


hosts allow = 10.0. 127.


printcap name = /etc/printcap
load printers = yes
log file = /var/log/samba/%m.log
max log size = 50
security = USER
smb passwd file = /etc/samba/smbpasswd
include = /etc/samba/smb.conf.%m
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = no
os level = 65
domain master = yes
admin users = @sysadmin
preferred master = yes
domain logons = yes
name resolve order = lmhosts host wins bcast
dns proxy = no
add user script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false -M %u
;sync UNIX 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*
;...


;user profiles and home directory
logon home = \\%L\%U\
logon drive = H:
logon path = \\%L\profiles\%U
logon script = netlogon.bat



add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel =r %u
add group script = /usr/sbin/groupadd %g
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/sbin/usermod -G %g %u
add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null %u
passwd program = /usr/bin/passwd %u
passwd chat = "*New password:*" %n\r "*New password (again):*" %n\r \ "*Password changed*"
domain admin group = vijay deep


#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
writeable = yes


[netlogon]
path = /home/netlogon
guest ok = yes
share modes = no
read only = yes
write list = vijay

path = /home/samba/profiles
writeable = yes
browseable = no
create mask = 0600
directory mask = 0700




[home]
path = /home
writeable = yes
guest ok = yes
######################################

this is the error message that i get in my /var/log/samba/

[2005/06/08 16:58:19, 0] rpc_server/srv_pipe.c:api_pipe_netsec_process(1343)
Invalid auth info 68 or level 5 on schannel
[2005/06/08 16:58:19, 0] rpc_server/srv_pipe_hnd.c:process_request_pdu(605)
process_request_pdu: failed to do schannel processing.
[2005/06/08 16:58:20, 0] rpc_server/srv_pipe.c:api_pipe_netsec_process(1343)
Invalid auth info 68 or level 5 on schannel
[2005/06/08 16:58:20, 0] rpc_server/srv_pipe_hnd.c:process_request_pdu(605)
process_request_pdu: failed to do schannel processing.
[2005/06/08 16:59:39, 0] rpc_server/srv_pipe.c:api_pipe_netsec_process(1343)
Invalid auth info 68 or level 5 on schannel
[2005/06/08 16:59:39, 0] rpc_server/srv_pipe_hnd.c:process_request_pdu(605)
process_request_pdu: failed to do schannel processing.
[2005/06/08 16:59:40, 0] rpc_server/srv_pipe.c:api_pipe_netsec_process(1343)
Invalid auth info 68 or level 5 on schannel
[2005/06/08 16:59:40, 0] rpc_server/srv_pipe_hnd.c:process_request_pdu(605)
process_request_pdu: failed to do schannel processing.

how do i get it done?????
thanx in advance :O)


1 REPLY 1
Steven E. Protter
Exalted Contributor

Re: samba PDC problem

It is inclear to me from your post whether this machine is to be the PDC or it is to authenticate from a Windows PDC.

Either way:

security = USER

security=server

service samba restart

In the event that you are authenticating to a PDC, you need a machine account for each Linux server and the domain name in smb.conf needs to be the Windows domain name.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com