separate home mounted files suppressed

Asked by curiogeo

Followed the tutorial - http://ubuntu.wordpress.com/2006/01/29/move-home-to-its-own-partition/
Had an OS failure on xubuntu 6.10 that was using a separate home partition. I am trying to retrieve that partition to Ubuntu 6.06.

The partition is mounted however the files stored there are not visible from WINSCP only the comand line.

The drives are meant to be used in SAMBA. When I try to create identical users or directories they are not permitted.

The failure to add a user yields:
/home# useradd anagen -m -G users
useradd: warning: the home directory already exists.
Not copying any file from skel directory into it.

/home# smbpasswd -a anagen
New SMB password:
Retype new SMB password:
tdb_update_sam: Failing to store a SAM_ACCOUNT for [anagen] without a primary group RID
Failed to add entry for user anagen.
Failed to modify password entry for user anagen

Any ideas.

D

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
curiogeo
Solved:
Last query:
Last reply:
Revision history for this message
Jesus Gamio (jgamio) said :
#1

Thank you for you question.

I missing something. Why did the Os fai? What error did you get ?

Do you trying to restore Xubuntu or do you want to use Ubuntu 6.06 ?

Revision history for this message
curiogeo (damani-best) said :
#2

The old OS had acritical fault probably a hardware failure. I was unable to use dpkg and nothing I tried to to would eliminate the segmentation fault that is caused.

I am going to use Ubuntu 6.06 so that I can have prolonged support.

D

Revision history for this message
curiogeo (damani-best) said :
#3

not sure if this info helps.

root@server1:~# pdbedit -Lv root
WARNING: The "printer admin" option is deprecated
Unix username: root
NT username:
Account Flags: [U ]
User SID: S-1-5-21-475624425-667824458-1052686940-1000
Primary Group SID: S-1-5-21-475624425-667824458-1052686940-1001
Full Name: root
Home Directory: \\server1\root
HomeDir Drive: H:
Logon Script: scripts/logon.bat
Profile Path: \\server1\profile\root
Domain: SERVER1
Account desc:
Workstations:
Munged dial:
Logon time: 0
Logoff time: Mon, 18 Jan 2038 22:14:07 EST
Kickoff time: Mon, 18 Jan 2038 22:14:07 EST
Password last set: Mon, 11 Jun 2007 01:15:32 EDT
Password can change: Mon, 11 Jun 2007 01:15:32 EDT
Password must change: Mon, 18 Jan 2038 22:14:07 EST
Last bad password : 0
Bad password count : 0
Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
root@fileserve:~# net getlocalsid
SID for domain SERVER1 is: S-1-5-21-475624425-667824458-1052686940
root@fileserve:~# net rpc info
Domain Name: MIDEARTH
Domain SID: S-1-5-21-475624425-667824458-1052686940
Sequence number: 1181582793
Num users: 34
Num domain groups: 3
Num local groups: 0

Revision history for this message
Jesus Gamio (jgamio) said :
#4

Ok you want to work with you old home directory in Ubuntu 6.06

I don't know if this is the best choice but I did have some similar problem then error
useradd: warning: the home directory already exists. is because you are using the home disk in fact the directory already exists.

Try this create the user but in the advanced tab select a different directory then create the user. Change the security in the old chapter to the user can access the old chapter then change the home directory to the old.

Revision history for this message
Best curiogeo (damani-best) said :
#5

I am sad to say it but I abandonned it and backed all of the relevant files to a local computer and reinstalled 6.06. This time I edited the partition table manually and mounted the drive with the home partition as part of the install.

Once the reinstall was completed I recreated the users and copied their files back over to the right folder under their profile.

Thankfully I have a limited number of users.