[Samba] Samba 3.3.0rc1 for production server - is it safe?
FC Mario Patty
fcmario76 at gmail.com
Sat Dec 6 02:53:33 GMT 2008
Wow, thank you Miguel. By the way, maybe this information can be
useful for the developers.
As the RHEL4's rpmbuild problem I told you before, I changed a line in
pam_winbind.c - in function `_pam_error_code_str';
old line:
PAM_AUTHTOK_RECOVERY_ERR
new line:
=> PAM_AUTHTOK_RECOVER_ERR
because I saw this in pam_windbind.h
#ifndef PAM_AUTHTOK_RECOVER_ERR
#define PAM_AUTHTOK_RECOVER_ERR PAM_AUTHTOK_RECOVERY_ERR
#endif
I rpmbuild-ed it again, it flew through the above stage, but again, it
stucked while compiling samba-3.3.01rc/source/client/mount.cifs.c. It
said that
unlock_mtab and lock_mtab is undefined. I tried digging the source
code, I found this
else {
atexit(unlock_mtab);
rc = lock_mtab();
...
If I play with
extern int lock_mtab(void);
extern void unlock_mtab(void);
in mount.h, like changing int into void or vice versa, the error code
will say that lock_mtab/unlock_mtab is already defined or something
like that.
In samba.org website, there is this in their release notes samba-3.3.0rc1:
* mount.cifs: use lock/unlock_mtab scheme from util-linux-ng mount prog.
Perhaps it has something to do with that feature since I couldn't find
the same function in samba-3.2.4's mount.cifs.c source code.
Well, I guess that's all for now. I will try srpm from the site Miguel
told me. Thank you for all the help.
Regards,
On 12/6/08, Miguel Medalha <miguelmedalha at sapo.pt> wrote:
> Version 3.3.0 (Testing) is here:
>
> http://download.opensuse.org/repositories/network:/samba:/TESTING/
>
More information about the samba
mailing list