Author Topic: SAMBA customization  (Read 4232 times)

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
SAMBA customization
« on: November 23, 2005, 07:32:39 pm »
I need to join the core to my domain for a variety of reasons. Main reason being my core doesnt have a whole lot of disk space and I would want to smb mount a filesystem for mp3. In doing so, I need to take the samba password management from the tdbsam backend to my windows server.
this is a simple change and I can easily re-customize even if it gets broken by a furture upgrade.
However I need to create a user called pluto_<userid> in my windows server. the <userid> being what is assigned when pluto asks the userid during setup. If you do a cat /etc/passwd on core you should get a pluto_userid. what is the default password and where is it stored so I can sync up passwd in the windows active directory.
If I assign a different password I suspect I may risk loosing the ability to use smb mounted shared drive.  
Is it stored somewhere in mysql tables?.
Can someone clarify,
thanks..

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
SAMBA customization
« Reply #1 on: November 25, 2005, 09:44:07 am »
I don't have any experience with NT Domains, but I think the mount password is stored in fstab (if you automount) and the Linux passwords are meaningless in your context. You need those if you connect back. Look into the smbfs package documentation for details.

There is no default password supplied by us. The password there was entered by you either at install time (new CD, starting 2.0.0.30) or on our website (old CD, 2.0.0.29 and older). The "pluto_*" users exist in /etc/password so that samba cand do mapping and I can delete and restore those entries at each boot and at other points without touching the system users. Samba doesn't use the "pluto_" prefix for its users when you connect to it.

There are 3 encrypted versions (MD5, samba and Linux) of the same password on the system, in the database, so using "passwd" will break thing, plus that it will be reverted at reboot :) To change all 3 copies at once go to the Pluto Admin website on your core under "Wizard -> Basic Info -> Users" and click "Change password" on the left.

Also notice that the root password has nothing to do with anything of this. We don't touch that.