From: jhell on

On Mon, 8 Feb 2010 06:43, ohartman@ wrote:
> After upgrading from samba33 to samba34 from most recent ports, no Windows_XP
> and Windows_7 client is capable of connecting to the samba server anymore! I
> use the same config as before, did a testparm (it shows this ahaead:
> Load smb config files from /usr/local/etc/smb.conf
> max_open_files: sysctl_max (11095) below minimum Windows limit (16384)
> rlimit_max: rlimit_max (11095) below minimum Windows limit (16384)
> ).
> I have no idea what's going wrong. The authentication is done via LDAP. Using
> samab33 works without problem.
>
> Regards,
> Oliver
>

Add to /boot/loader.conf:
kern.maxfiles="16384"

Reboot.

As for the rlimit sysctl I have no clue which sysctl configures that but
seeing as they are of both the same value I would assume that it might be
auto configured by maxfiles.

Best of luck and let us know how it turned out.

--

jhell

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: "O. Hartmann" on
On 02/08/10 16:03, jhell wrote:
>
> On Mon, 8 Feb 2010 06:43, ohartman@ wrote:
>> After upgrading from samba33 to samba34 from most recent ports, no
>> Windows_XP and Windows_7 client is capable of connecting to the samba
>> server anymore! I use the same config as before, did a testparm (it
>> shows this ahaead:
>> Load smb config files from /usr/local/etc/smb.conf
>> max_open_files: sysctl_max (11095) below minimum Windows limit (16384)
>> rlimit_max: rlimit_max (11095) below minimum Windows limit (16384)
>> ).
>> I have no idea what's going wrong. The authentication is done via
>> LDAP. Using samab33 works without problem.
>>
>> Regards,
>> Oliver
>>
>
> Add to /boot/loader.conf:
> kern.maxfiles="16384"
>
> Reboot.
>
> As for the rlimit sysctl I have no clue which sysctl configures that
> but seeing as they are of both the same value I would assume that it
> might be auto configured by maxfiles.
>
> Best of luck and let us know how it turned out.
>
Thanks.

Oliver

--
Oliver Hartmann
Freie Universitaet Berlin
Planetologie und Fernerkundung
Malteserstr. 74 - 100/Haus D
D-12249 Berlin

Tel.: +49 (0) 30 838 70 508
FAX: +49 (0) 30 838 70 539


_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: tequnix on
Am Mon, 08 Feb 2010 11:43:12 +0000
schrieb "O. Hartmann" <ohartman(a)zedat.fu-berlin.de>:

> I have no idea what's going wrong. The authentication is done via
> LDAP. Using samab33 works without problem.

did you use "smbpasswd -w ..." to store the ldap password? i realized
that this is a necessary step when upgrading from samba 33 to
samba 34 (when using ldapsam as passdb backend)

best regards,
¨reinhard

--
Washington [D.C.] is a city of Southern efficiency and Northern charm.
-- John F. Kennedy
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: "O. Hartmann" on
On 02/09/10 11:00, tequnix(a)frogmi.net wrote:
> Am Mon, 08 Feb 2010 11:43:12 +0000
> schrieb "O. Hartmann"<ohartman(a)zedat.fu-berlin.de>:
>
>> I have no idea what's going wrong. The authentication is done via
>> LDAP. Using samab33 works without problem.
>
> did you use "smbpasswd -w ..." to store the ldap password? i realized
> that this is a necessary step when upgrading from samba 33 to
> samba 34 (when using ldapsam as passdb backend)
>
> best regards,
> ¨reinhard

Hello.
Yes, I did, but the problem went away, when I removed all old
/var/db/samba files and folders. Although samba34 created
/var/db/samba34, the existence of folder and files /var/db/samba seemed
to cause the problem. Now, everything is smooth and shibny.

Thanks,

Regards,
Oliver

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"