Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Moving Samba from one server to another [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
michrech
n00b
n00b


Joined: 20 Dec 2002
Posts: 51
Location: Kirksville, MO

PostPosted: Mon Jan 16, 2006 10:20 pm    Post subject: Moving Samba from one server to another [solved] Reply with quote

I need to move my samba config from one PC to another. So far I've done the following (and I hope I didn't leave anything out):

Copied all .tbd files to the new server (placed them in the same paths)
Copied my smb.conf to the new server
Copied my passwd and group to new server (to keep usernames/passwords)

I started samba and it gives no errors. Problem is that I'm getting different errors depending on which logs I look at.

From /var/log/messages:

Code:

Jan 16 16:15:30 server smbd[7245]: [2006/01/16 16:15:30, 0] auth/pampass.c:smb_pam_account(573)
Jan 16 16:15:30 server smbd[7245]:   smb_pam_account: PAM: UNKNOWN PAM ERROR (9) during Account Management for User: student
Jan 16 16:15:30 server smbd[7245]: [2006/01/16 16:15:30, 0] auth/pampass.c:smb_pam_accountcheck(781)
Jan 16 16:15:30 server smbd[7245]:   smb_pam_accountcheck: PAM: Account Validation Failed - Rejecting User student!


Or from the log.(pcname):
Code:

[2006/01/16 16:15:30, 2] smbd/sesssetup.c:setup_new_vc_session(608)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
[2006/01/16 16:15:30, 0] auth/pampass.c:smb_pam_account(573)
  smb_pam_account: PAM: UNKNOWN PAM ERROR (9) during Account Management for User: student
[2006/01/16 16:15:30, 2] auth/pampass.c:smb_pam_error_handler(73)
  smb_pam_error_handler: PAM: Account Check Failed : Authentication service cannot retrieve authentication info.
[2006/01/16 16:15:30, 0] auth/pampass.c:smb_pam_accountcheck(781)
  smb_pam_accountcheck: PAM: Account Validation Failed - Rejecting User student!
[2006/01/16 16:15:30, 2] auth/auth.c:check_ntlm_password(312)
  check_ntlm_password:  Authentication for user [STUDENT] -> [STUDENT] FAILED with error NT_STATUS_LOGON_FAILURE
[2006/01/16 16:15:30, 2] smbd/server.c:exit_server(609)
  Closing connections


For reference, I'm going from another Gentoo server that was running Samba 3.0.2a to 3.0.14a-r2 (also a Gentoo server).

I have no idea where to look now. I sat in #samba for a while and while I did talk to a person or two, no one could help.

Thanks in advance!

Mike


Last edited by michrech on Tue Jan 17, 2006 4:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
anonybosh
Guru
Guru


Joined: 20 Nov 2005
Posts: 324

PostPosted: Tue Jan 17, 2006 3:13 am    Post subject: Reply with quote

Did you copy over: both the /etc/password, /etc/group
AND
/etc/samba/private/smbpasswd
?
Back to top
View user's profile Send private message
michrech
n00b
n00b


Joined: 20 Dec 2002
Posts: 51
Location: Kirksville, MO

PostPosted: Tue Jan 17, 2006 4:34 pm    Post subject: It works! It works! Reply with quote

liber8ate wrote:
Did you copy over: both the /etc/password, /etc/group
AND
/etc/samba/private/smbpasswd
?


Yes, I did. I did, however, find out what was wrong. I forgot to move /etc/shadow! Everything is working wonderfully now. :)

Thanks!

Mike
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum