You are not logged in.
Just to add another .02, the Samba 3 to 4 upgrade seemed to work, but I no longer had any users, according to Samba. Looks like there was a change with where the "private" directory was located. Here is the specific lines for both versions using testparm -vv
$ smbd -V
Version 3.6.10
private dir = /etc/samba/private
$ smbd -V
Version 4.0.5
private dir = /var/lib/samba/private
After a few smaller system upgrades, I finally tracked this down. Moving the passdb.tdb and secrets.tdb from the old location to the new seemed to have solved that issue.
Offline
... Moving the passdb.tdb and secrets.tdb from the old location to the new seemed to have solved that issue.
Thanks for the info. My Samba3 smb.conf was actually completely compatible with Samba4. The only issue was the change in the private directory location. Either moving the passdb.tdb and secrets.tdb files to the new location, or creating new users with pdbedit -a -u username solves it.
First thing to check is to use pdbedit -L to check if all previously made Samba3 users are in the Samba passdb.tdb. If the result is empty, then doing the above solves it.
Offline
I had another problem:
valid users = root, foo, bar
has to include the user in
force user = root
even that "root" does not have a password created by pdbedit and "root" never actually authenticates to any samba share from any client station. I just want the files created to be "chown root".
That's IMHO fairly confusing since
valid users .... This is a list of users that should be allowed to login to this service.
and
force user ... This specifies a UNIX user name that will be assigned as the default user for all users connecting to this service.
In any case that's a change in behaviour of Samba.
--
Milan Knizek
http://knizek.net
Offline
Arch made my day again.
After struggeling hours with Samba 4 on Ubuntu 14.04rc, i finally searched the my Distro-Of-Choice Forum and viola, Asaf K's file is instantly working. THANKS MAN, i was about to throw that shitty Ubuntu machine out of the window! (maybe i should have)
Offline
Please don't necrobump: https://wiki.archlinux.org/index.php/Fo … Bumping.27
and https://wiki.archlinux.org/index.php/Fo … ng_Systems
Closing
Offline
Please no not post for the sake of posting
Please do not necrobump
and, absolutely do not malign other distributions or operating systems
Thank You.
edit: Slower than Jason. As usual.
Last edited by ewaller (2014-03-31 00:52:54)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Slower than Jason. As usual.
Offline