Re: [Samba] smbd crashes

2012-02-09 Thread Peter Trifonov
- From: samba-boun...@lists.samba.org [mailto:samba- boun...@lists.samba.org] On Behalf Of Peter Trifonov Sent: Thursday, February 09, 2012 12:57 AM To: samba@lists.samba.org Subject: Re: [Samba] smbd crashes Hello folks, After upgrading from samba 3.4.9 to samba 3.6.1 on a FreeBSD 8.1

Re: [Samba] smbd crashes

2012-02-08 Thread Peter Trifonov
Hello folks, After upgrading from samba 3.4.9 to samba 3.6.1 on a FreeBSD 8.1 x86 system smbd stopped working. It starts successfully, but crashes as soon as someone tries to connect to a share. Log file contains a lot of entries like the following: [2012/02/06 11:05:13, 1]

[Samba] smbd crashes

2012-02-05 Thread Peter Trifonov
Hello everyone! After upgrading from samba 3.4.9 to samba 3.6.1 on a FreeBSD 8.1 x86 system smbd stopped working. It starts successfully, but crashes as soon as someone tries to connect to a share. Log file contains a lot of entries like the following: [2012/02/06 11:05:13, 1]

Re: [Samba] smbd crashes

2012-02-05 Thread Peter Trifonov
Hi Volker, It seems that something is wrong with the messages.tdb file. I have tried removing it, it was re-created but nothing has changed. Please let me know how can this be fixed? Please also upgrade the libtdb from ports. It was upgraded automatically to version 1.2.9 while

Re: [Samba] Samba upgrade HowTo requested

2010-12-16 Thread Peter Trifonov
Hi Willy, Last weekend I decided to upgrade the samba server. We were running Samba 3.3 something and FreeBSD portupgrade was complaining that this version should be removed and assumingly replaced by the newest version. I removed the package via portupgrade and installed the 3.5.6

Re: [Samba] Missing secondary groups

2010-12-02 Thread Peter Trifonov
Hi Timur, Just a wild guess - could it be the result of moving lockdir in Samba3.5 port from /var/db/samba34 back to /var/db/samba ? Can you check, that, by renaming appropriate directory? I have installed Samba 3.4.9, and it started working immediately. So it seems that nss_winbind FreeBSD

Re: [Samba] Missing secondary groups

2010-11-30 Thread Peter Trifonov
Hi, idmapping does not work perfectly for me. idmap_ad backend means it should use active directory info to determine the unix uid and gid. It may bypass the issues with local tdb files. In my case Samba is able to allocate UID and GID itself. However, it seems not to be able to

Re: [Samba] Missing secondary groups

2010-11-30 Thread Peter Trifonov
Hi Timur, Just a wild guess - could it be the result of moving lockdir in Samba3.5 port from /var/db/samba34 back to /var/db/samba ? Can you check, that, by renaming appropriate directory? I have created a symlink /var/db/samba34 pointing to /var/db/samba, but it still does not work. With

Re: [Samba] Missing secondary groups

2010-11-29 Thread Peter Trifonov
Hi, getent group to pull the information from winbind. First of all, you need to make sure that winbind itself is showing users and/or groups from the Windows server wbinfo -u wbinfo -g wbinfo does provide the correct information. Then you need to make sure that

Re: [Samba] Missing secondary groups

2010-11-29 Thread Peter Trifonov
Hi, The problem seems to be with idmapping.In you smb.conf file do you have a section for idmap- this tells samba which unix user id and group id ranges can be used to correspond to windows users and id's. the docs on samba.org may be a little out of date so you should also check the

Re: [Samba] networking problem/Domain not available

2010-11-28 Thread Peter Trifonov
Hi, The problem is when I do this, none of the workstations (XP based) can find the domain controller any more (domain not available). I switch the cables you should check network connectivity. Try pinging the servers from each other and client computers. There may be also firewall issues.

Re: [Samba] Missing secondary groups

2010-11-28 Thread Peter Trifonov
Hi, Does getent group show the Windows groups? No, it does not. However, the id command displays only the primary group for domain users. Furthermore, domain users are not able to access any files owned by their non-primary domain groups. For example, running $ id petert

[Samba] Missing secondary groups

2010-11-27 Thread Peter Trifonov
Hello all, There is a FreeBSD 8.1 system with Samba 3.5.6. It is a member of Active Directory domain (domain controllers are WinSrv2008R2 and WinSrv2008). wbinfo correctly provides user and group lists, as well as group membership information. It is possible to use domain user and group names in

RE: [Samba] Samba 3.0.23d Available for Download

2006-11-15 Thread Peter Trifonov
Hello, Important issues addressed in 3.0.23d include: o Stability fixes for winbindd o Portability fixes on FreeBSD and Solaris operating systems There is still problem with group handling in 3.0.23d. Namely, if winbind enum groups =no: id command does not show all the groups of the

RE: [Samba] Wrong groups with 'wbinfo -r user' but right groups with'id user'

2006-10-27 Thread Peter Trifonov
Hi, The first command shows a total of 30 GIDs, some of which are correct and some are not. The second command shows 14 groups, all of which seem to be correct (except that using version 3.0.23c from the backports, I get a spurious GID which does not have a group name, but this might

RE: [Samba] nss didn't list winbind user/groups

2006-10-19 Thread Peter Trifonov
Hi, Im using samba 3.0.23c from debian backports and I finding some problems, this host has worked flawlessly since a a few months ago. But now stopped to work properly. zaphod:/etc/samba# id igormorgado uid=1(igormorgado) gid=1(Domain Users) grupos=1(Domain Users) it

RE: [Samba] Samba ignores groups for ACL !

2006-10-12 Thread Peter Trifonov
Hi, then i configured my smb.conf via swat-websoncole. i created a share that was named all. What are the Unix permissions on this directory? After this i mounted the share on my Windows-Xp machine. The user on the WindowsXP MAchine is in the Group MyDomain\group_alpha. all good. i

RE: [Samba] Samba ignores groups for ACL !

2006-10-12 Thread Peter Trifonov
Hi, Here is the Output: bash-3.00# id NTBV+neuwald uid=5000(NTBV+neuwald) gid=5006(NTBV+dom+nnen-benutzer) bash-3.00# /usr/local/samba/bin/wbinfo -r NTBV+neuwald 5001 5002 5003 5004 This looks like another instance of this bug: https://bugzilla.samba.org/show_bug.cgi?id=3990 The

RE: [Samba] Winbindd and getent group problem

2006-10-06 Thread Peter Trifonov
Hi, I installed and configured Samba 3.0.23c as a domain member. I am running winbindd on Solaris 8 Sparc. I am seeing a strange behavior after the configuration. If I issue a wbinfo -g I see all the NT groups. Likewise, if I issue a wbinfo -u I see all the NT users. Continuing on with a

RE: [Samba] Re: Winbindd and getent group problem

2006-10-06 Thread Peter Trifonov
Dear Graham, I see this in 3.0.20b under freebsd. I was going to wait to upgrade to 3.0.23 before adding to the bug report, but if it's present in that version too ... It is still in 3.0.23c... I had to change permissions on my files in order to work this problem around. Hopefully, 3.0.23d

RE: [Samba] fully qualified usernames ??

2006-10-02 Thread Peter Trifonov
Dear Robert, So far so good I know what I have to do still I don't quite understand why the member server is no longer able to identify the user connecting. So winbindd identifies joe all right even without the DOMAIN prefix. Why does this no longer work for shares on the member server

RE: [Samba] winbindd and groups

2006-09-25 Thread Peter Trifonov
Dear Franz, I'm having problems with group consistencies between my samba server and a trusted domain. I'm running 3.0.23b with my samba server a member of an NT domain, which in turn trusts another domain (AD mixed mode). The AD admin added a user into a group, but my samba server

RE: [Samba] winbindd and groups

2006-09-25 Thread Peter Trifonov
Dear Franz, Here's the output from wbinfo -r 1 10001 10002 10004 10008 10020 10034 11847 11928 12171 12681 12682 12694 12835 12836 13053 Output of id is: uid=17686(WHO-HQ-1\lamoureuxc) gid=1(WHO-HQ-1\domain users) groups=1(WHO-HQ-1\domain users) This means that

RE: [Samba] group membership issue?

2006-09-13 Thread Peter Trifonov
Dear Henrik, On the member server, I do: id -Gn userB and it tells me the effective group of the user is none This is actually happening for 2 users and I'm at a lost to explain this. All my wbinfo -u / -g ,etc.. show the users to be part of the group, yet their effective

RE: [Samba] Preliminary 3.0.23c patch for testing and review

2006-08-31 Thread Peter Trifonov
Dear Jerry, However, the group membership problem ( https://bugzilla.samba.org/show_bug.cgi?id=3990 ) still remains. I've already got 2 issues plus this one for a possible 3.0.23d release. Patch #2 also applied fine, but the problem still remains. So I will wait for 3.0.23d. With

RE: [Samba] Preliminary 3.0.23c patch for testing and review

2006-08-28 Thread Peter Trifonov
Dear Jerry, I've upload the preliminary patch against 3.0.23b that will become 3.0.23c so people can do full testing against what we hope to be the release code. Note that the reported version in the patch is 3.0.23c-gwc-1 to prevent confusion from the final 3.0.23c release. Patching

RE: [Samba] pam_winbind says I need new password

2006-08-16 Thread Peter Trifonov
Dear Matt, I have a pretty large DC and am using winbind for our linux workstations and im having a preculiar issue. Not all accounts but some...including mine are recieving the pam error to change password. This seems to be another instance of

[Samba] Incorrect handling of group permissions

2006-08-11 Thread Peter Trifonov
Dear Samba developers, Please let me know if there are any solutions for the bug https://bugzilla.samba.org/show_bug.cgi?id=3990 It still does not work with samba-3.0.23b. The problem occurred on a production server, and I do not feel comfortable with world write permissions needed to overcome

[Samba] RE: Incorrect handling of group permissions

2006-08-04 Thread Peter Trifonov
Hello everyone, I have raised this question some time ago, but the solution still was not found. The FreeBSD 6.1 server is a member of ADS domain. There is a directory named test with write permissions granted to user bill and group DOMAINNAME/algocod: #ls -al /tmp drwxrwx--- 2 bill

RE: [Samba] RE: Incorrect handling of group permissions

2006-08-04 Thread Peter Trifonov
Dear Jerry, log.winbindd contains a lot of messages like [2006/07/24 15:12:19, 0] nsswitch/winbindd.c:request_len_recv(517) request_len_recv: Invalid request size received: 1836 This can only be a mismatch between winbindd and libnss_winbind.so like I said before. 1836 would be

RE: [Samba] [HELP] Samba 3.0.23a pam_winbind says password expired

2006-08-02 Thread Peter Trifonov
Hi Michael, thx for your response. so what's the difference in our setups? could you please post your samba DC version, pam settings and smb.conf of the member? 09:59:23 humevo36 pam_winbind[27853]: user 'gasch' needs new password Aug 1 09:59:27 humevo36 su: FAILED SU (to gasch) gasch

[Samba] ADS share browsing error - Decrypt integrity check failed

2006-08-01 Thread Peter Trifonov
Hello everyone, There is a FreeBSD box, which is a member of ADS domain. The domain has both W2000 and W2003 domain controllers. After upgrading to samba-3.0.23a I discovered that it is not possible to browse a share on a FreeBSD computer, but pam_winbind seems to work. Connecting from a

RE: [Samba] [HELP] Samba 3.0.23a pam_winbind says password expired

2006-08-01 Thread Peter Trifonov
Hello, i just do some tests with a fresh compiled samba 3.0.23a. trying to authenticate against PAM with pam_winbind gives: 09:59:23 humevo36 pam_winbind[27853]: user 'gasch' needs new password Aug 1 09:59:27 humevo36 su: FAILED SU (to gasch) gasch on /dev/pts/3 It seems to me that I

RE: [Samba] [HELP] Samba 3.0.23a pam_winbind says password expired

2006-08-01 Thread Peter Trifonov
Hi, i just do some tests with a fresh compiled samba 3.0.23a. trying to authenticate against PAM with pam_winbind gives: 09:59:23 humevo36 pam_winbind[27853]: user 'gasch' needs new password Aug 1 09:59:27 humevo36 su: FAILED SU (to gasch) gasch on /dev/pts/3 It seems to me that

[Samba] Incorrect handling of group permissions

2006-07-27 Thread Peter Trifonov
Hello everyone, I have posted this problem report some time ago (see message nss_winbind does not recognize group membership sent on 24.07.2006), but there was no reply. The FreeBSD 6.1 server is a member of ADS domain. There is a directory named test with write permissions granted to user

RE: [Samba] Incorrect handling of group permissions

2006-07-27 Thread Peter Trifonov
Dear Jerry, log.winbindd contains a lot of messages like [2006/07/24 15:12:19, 0] nsswitch/winbindd.c:request_len_recv(517) request_len_recv: Invalid request size received: 1836 Did you upgrade the nss_winbind.so library as well ? Thank you very much for prompt reply. It seems that

RE: [Samba] Incorrect handling of group permissions

2006-07-27 Thread Peter Trifonov
Dear Jerry, -r-xr-xr-x 1 root wheel 16664 Jul 24 13:39 /usr/local/lib/nss_winbind.so.1 -r-xr-xr-x 1 root wheel 748308 Jul 24 13:39 /usr/local/lib/nss_wins.so.1 These should in in /lib, not /usr/local/lib (unless you have explicitly configured NSS to look in /usr/local/lib

RE: [Samba] Incorrect handling of group permissions

2006-07-27 Thread Peter Trifonov
Dear Jerry, wok. Couple of questions. Sorry if you already provided this information but I can't remember. * Is this 3.0.23 ? or 3.0.23a ? It is 3.0.23. * 32bit or 64bit system ? This is 32-bit Pentium 4. gcc version 3.4.4 [FreeBSD] 20050518 Could this be a compiler bug/feature? *

RE: [Samba] Incorrect handling of group permissions

2006-07-27 Thread Peter Trifonov
Dear Jerry, Please test 3.0.23a. I made some changes to the winbindd request and response structures to fix some alignment issues. Might not help you but it would be good to verify that the problem still exists after those changes. After installing 3.0.23a nothing has changed, except

[Samba] nss_winbind does not recognize group membership

2006-07-24 Thread Peter Trifonov
Hello, There is FreeBSD-6.1 box with gcc 3.4.4 compiler (the default). The box is a member of an ADS domain. Everything was working perfectly with samba-3.0.22. After upgrading it to samba-3.0.23_1 from FreeBSD ports collection, the following problem appeared. The system does not seem to