HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   samba domain controller - ubuntu (http://www.howtoforge.com/forums/showthread.php?t=2602)

eoij1 18th February 2006 21:02

samba domain controller - ubuntu
 
Hi,

I have been following the HOWTO on setting up a SAMBA primary domain controller for Ubuntu on the howtoforge.com site and I am having a little trouble. I searched the forums and found somebody that had similar trouble and they said they resolved it, but I am unsure how. I am on page 5 of the tutorial where you type smbpasswd -a tom and after I enter the password for user tom i get this error:

tdb_update_sam: failing to store a SAM_ACCOUNT for [tom] without a primary group RID
Failed to add entry for user tom.
Failed to modify password entry for user tom.

I came across this page on the forums with similar trouble, http://www.howtoforge.com/forums/sho...ain+controller
but I dont know what the fix is for it. If anybody can shed some light on how or what I might be doing wrong I would really appreciate it.

Thanks

till 18th February 2006 22:18

You will have to change the domain in smb.conf to be the same then the hostname that you entered during the Ubuntu setup. Then restart samba.

yohann 5th October 2006 12:43

hello

i've the same problem, so i did change the net-bios name in smb.conf to have the same as in /etc/hostname
but i still have the problem, what can i do?

PS: thank you for the help, and sorry about my bad english

EDIT: it looks likie it come from the command useradd -m -G tom because if if create the new user from the ubuntu graphical interface, it works fine

falko 6th October 2006 15:35

Quote:

Originally Posted by yohann
EDIT: it looks likie it come from the command useradd -m -G tom because if if create the new user from the ubuntu graphical interface, it works fine

Do you see any differences in /etc/passwd for a new user when you create it from the shell and from the gui?


All times are GMT +2. The time now is 01:33.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.