[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
FREESCO Support • View topic - Samba config
Page 1 of 1

Samba config

PostPosted: Wed Nov 11, 2009 2:59 pm
by strampke

Re: Samba config

PostPosted: Thu Nov 12, 2009 5:01 pm
by dingetje

Re: Samba config

PostPosted: Thu Nov 12, 2009 8:09 pm
by Lightning
I have had some problems myself getting 2.2.8 working on FREESCO dependably. Personally I run Samba 2.2.7a on all of my own systems.

Re: Samba config

PostPosted: Fri Nov 13, 2009 6:19 am
by dingetje
Just for the record, I'm running 2.2.8

Re: Samba config

PostPosted: Fri Nov 13, 2009 6:10 pm
by strampke
My adventures and I hope others can learn from it.

Ok, I can get a connection from XP (hvdw) to my Freesco Samba server (inet).
When I log in with the name "abcd"and password "efgh" I added to the passwd file access is rejected.
But the user then is changed from "abcd" to hvdw\abcd
log.smbd says
[2009/11/13 23:12:58, 0] smbd/server.c:main(707)
smbd version 2.2.7a started.
Copyright Andrew Tridgell and the Samba Team 1992-2002
[2009/11/13 23:12:58, 1] lib/debug.c:debug_message(258)
INFO: Debug class all level = 1 (pid 2869 from pid 2869)

samba.hvdw says
[2009/11/13 23:24:01, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1369)
unable to open passdb database.
[2009/11/13 23:24:01, 1] smbd/password.c:pass_check_smb(545)
Couldn't find user 'abcd' in passdb.
[2009/11/13 23:24:01, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1369)
unable to open passdb database.
[2009/11/13 23:24:01, 1] smbd/password.c:pass_check_smb(545)
Couldn't find user 'abcd' in passdb.
[2009/11/13 23:24:01, 1] smbd/reply.c:reply_sesssetup_and_X(1001)
Rejecting user 'test': authentication failed

Then I created a smbpasswd file with user "abcd"
GOTCHA!!!!

Next thing to figure out is why in XP explorer my XP clients have disappeared and only my Freesco Samba share is present.

Next step was installing 2.2.8 and it works too.
But now I have to find out why I can gain access without even being prompted for name and password.

The main secret to everything is this:
- Goto smb.conf
- delete or comment the line # smb passwd file = /bin/passwd
- go to /boot/pkg/usr/local/samba/bin
- create a password file with smbpasswd -a abcd , where abcd is your new user
- rc_samba restart and you're done

Re: Samba config

PostPosted: Fri Nov 13, 2009 7:44 pm
by dilberts_left_nut
SWAT helps a lot for setting sensible defaults and managing shares & users.
I think your vanished workgroup will be to do with master browser elections and/or WINS server setting.

Need for speed

PostPosted: Sun Nov 15, 2009 5:40 pm
by strampke
From what I've read in this forum Freesco's Samba isn't quite swift.

@work I have an P4 3200 XP pro computer which hosts my files for a Btrieve database which is ised by 5 clients.
A new software updat has slowed down the program significantly (very much so)
Now I try to enhance the system and first thought was to replace the Freesco box with separate file server with a Freeco box with built-in Samba server.
I now doubt if this is the right choice having seen comments of Freesco-Samba being relatively slow. (as far as it is not dependent from the computer P4-3200)

The other choice could be to set up a CentOS server on an AMD 64 3200+

Can you advise me on what choice to make.

Besides: What is the max capacity Freesco can handle for a hd nowadays?

Re: Samba config

PostPosted: Sun Nov 15, 2009 6:28 pm
by Lightning