[Samba] How to see files in use in samba, not swat, not smbstatus
Which tool can I use to see the files in use in samba The information that shows me smbstatus, or the swat, do no renew. Can I see wich files are locked by one user, and which user is locking it? Maurizio -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] How to remotely disconect user from samba
I need to disconnect from the server a user that is using files from the samba server to upgrade that files. How can i remotely disconnect that conection to the server Thank you in advance Maurizio -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba seems to cause complete server crash
Hi all, I have done some extensive searching, and drawn a blank so far... Nothing odd is reported in samba logs, or in the syslog file. However, if I try to play an avi straight off the samba server, on an XP client with MP10, it brings the whole deal to its knees after a few mins at the most. I have to hard reset the server. Other than this, all my other uses are flawless (game server, dhcp, firewall, teamspeak, peerguardian... etc). I don't _think_ its a firewall problem, as all internal traffic is ACCEPTED by default, and I don't have a permissions problem or any browsing errors... it just dies when I play a video?! I'm using FC4, with samba V3.0 If anyone has any suggestions on where to go from here, I would be very grateful. Other than this, everything is rosy. Mike F - -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba seems to cause complete server crash
Steve Freeman schrieb: Hi all, I have done some extensive searching, and drawn a blank so far... Nothing odd is reported in samba logs, or in the syslog file. However, if I try to play an avi straight off the samba server, on an XP client with MP10, it brings the whole deal to its knees after a few mins at the most. I have to hard reset the server. Other than this, all my other uses are flawless (game server, dhcp, firewall, teamspeak, peerguardian... etc). I don't _think_ its a firewall problem, as all internal traffic is ACCEPTED by default, and I don't have a permissions problem or any browsing errors... it just dies when I play a video?! I'm using FC4, with samba V3.0 If anyone has any suggestions on where to go from here, I would be very grateful. Other than this, everything is rosy. check your hardware. do some heavy computations and large file copying, etc. -- Tomasz Chmielewski http://wpkg.org -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] How to see files in use in samba, not swat, not smbstatus
what about lsof ? (Have a look at man for details) Hope it help Maurizio Faccio a écrit : Which tool can I use to see the files in use in samba The information that shows me smbstatus, or the swat, do no renew. Can I see wich files are locked by one user, and which user is locking it? Maurizio -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba seems to cause complete server crash
Tomasz, You're way ahead of me. Already done, I should of said. No problems with hardware as far as I can test. However, I've just found something. When tailing messages, the kernel reports a soft lockup on CPU#0, after losing the smb connection. This then requires a reboot, after which the kernel bug has vanished from the log! I'm trying to reproduce error again now. My server is a DUAL XEON 2.0Ghz, hyperthread on. I have found https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=160805 which is a similar problem, but mine is definately triggered by samba activity it seems. Thanks for your help Mike F From: Tomasz Chmielewski [EMAIL PROTECTED] check your hardware. do some heavy computations and large file copying, etc. -- Tomasz Chmielewski http://wpkg.org -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Too many open files, Bug 3342
David Highley wrote: We submitted bug 3342 on Dec. 20th, Too many open files. It has not moved from the new state. So lets try here. ... RedHat Advanced Server 3 update 3 ^^^ Still looking clues as to what might be a cause for this behavior. I'd suggest you report the problem(s) to redhat too, especially since you paid the $$ for enteprise support. -- Rex -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] little help with my config please (repost with smb.conf)
Hola: This is a repost with the smb.conf inline. Hola: I have configured samba-3.0.14a-2 on FC4 as a member of a Windows SBS2003 network. I used windbind to get the users from the SBS server. Users can login into the samba machine and use home directories I created for them in the samba machine (I cannot get to use/mount the user's home directories from the SBS machine into the samba machine). I 'm trying to connect to the shares exported by the samba server and I get the following errors: on the server log for a windows XP machine : [2006/01/24 22:55:07, 1] smbd/service.c:close_cnum(830) computer2 (192.168.1.51) closed connection to service opt [2006/01/24 22:55:09, 1] smbd/service.c:make_connection_snum(642) computer2 (192.168.1.51) connect to service opt initially as user PCTSA\lduser (uid=16777216, gid=16777216) (pid 2956) [2006/01/24 23:59:40, 0] smbd/service.c:make_connection_snum(615) '/home/PCTSA' does not exist or is not a directory, when connecting to [home] [2006/01/24 23:59:40, 0] smbd/service.c:make_connection_snum(615) '/home/PCTSA' does not exist or is not a directory, when connecting to [home] [2006/01/24 23:59:40, 0] smbd/service.c:make_connection_snum(615) on the server log for the samba machine : [2006/01/24 21:43:55, 0] smbd/service.c:make_connection_snum(615) '/home/PCTSA' does not exist or is not a directory, when connecting to [home] [2006/01/24 22:28:35, 1] smbd/service.c:close_cnum(830) linux1 (192.168.1.12) closed connection to service opt on the server log for the windows SBS2003 machine : [2006/01/31 18:24:31, 0] rpc_server/srv_pipe.c:api_pipe_bind_req(993) api_pipe_bind_req: unknown auth type 9 requested. [2006/01/31 18:24:33, 0] smbd/service.c:make_connection_snum(615) '/home/PCTSA' does not exist or is not a directory, when connecting to [home] [2006/01/31 18:24:33, 0] smbd/service.c:make_connection_snum(615) '/home/PCTSA' does not exist or is not a directory, when connecting to [home] [2006/01/31 18:24:33, 0] smbd/service.c:make_connection_snum(615) '/home/PCTSA' does not exist or is not a directory, when connecting to [home] [2006/01/31 18:24:33, 0] smbd/service.c:make_connection_snum(615) '/home/PCTSA' does not exist or is not a directory, when connecting to [home] [2006/01/31 18:24:33, 0] smbd/service.c:make_connection_snum(615) '/home/PCTSA' does not exist or is not a directory, when connecting to [home] [2006/01/31 18:25:22, 0] smbd/service.c:make_connection(794) 192.168.1.10 (192.168.1.10) couldn't find service ::{2227a280-3aea-1069-a2de-08002b30309d} [2006/01/31 18:25:24, 0] rpc_server/srv_pipe.c:api_pipe_bind_req(993) api_pipe_bind_req: unknown auth type 9 requested. Attached my smb.conf file. [global] workgroup = pctsa server string = Linux1 Samba Server printcap name = /etc/printcap load printers = yes cups options = raw log file = /var/log/samba/%m.log max log size = 50 security = ads socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 domain master = no preferred master = no dns proxy = no idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 template primary group = Domain Users template shell = /bin/bash template homedir = /home/%D/%U winbind use default domain = yes password server = serversbs realm = PCTSA.NET [homes] comment = Home Directories path = /home/PCTSA/%U valid users = %S browseable = yes writeable = yes [printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = yes printable = yes [print$] comment = Printer Drivers path = /var/lib/samba/drivers admin users = root, Administrator write list = root [home] comment = home directories @ Linux1 path = /home/PCTSA browseable = yes read only = no guest ok = yes [opt] comment = Programs directory path = /opt browseable = yes read only = no guest ok = yes Thanks. -- Venezuela, the most beautiful pearl in the Caribbean -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Re: Too many open files, Bug 3342
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Rex Dieter Sent: 06 February 2006 13:26 To: samba@lists.samba.org Subject: [Samba] Re: Too many open files, Bug 3342 David Highley wrote: We submitted bug 3342 on Dec. 20th, Too many open files. It has not moved from the new state. So lets try here. ... RedHat Advanced Server 3 update 3 ^^^ Still looking clues as to what might be a cause for this behavior. I'd suggest you report the problem(s) to redhat too, especially since you paid the $$ for enteprise support. You are nowhere near the system limit at the time of the crash, so I guess you are running up to Samba's process open file limit (ulimit -n). Why not try increasing it? You might not be seeing a bug, just a nasty spike in traffic caused by your applications. Bob G -- Rex -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba _ This email (including any attachments to it) is confidential, legally privileged, subject to copyright and is sent for the personal attention of the intended recipient only. If you have received this email in error, please advise us immediately and delete it. You are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Although we have taken reasonable precautions to ensure no viruses are present in this email, we cannot accept responsibility for any loss or damage arising from the viruses in this email or attachments. We exclude any liability for the content of this email, or for the consequences of any actions taken on the basis of the information provided in this email or its attachments, unless that information is subsequently confirmed in writing. If this email contains an offer, that should be considered as an invitation to treat. _ -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Too many open files, Bug 3342
On Sat, Feb 04, 2006 at 04:31:50PM -0800, David Highley wrote: David == David Highley [EMAIL PROTECTED] writes: David We submitted bug 3342 on Dec. 20th, Too many open files. It David has not moved from the new state. So lets try here. David We have Dell Quad Xeon server that we end up rebooting David about every 2-3 weeks when the number of open samba files David sky rockets. The system is a ClearCase server system. We David have been monitoring this system for a few months now and David are not able to pin down a cause to this issue. The system David keeps a pretty constant number of samba open files until David what ever triggers the issue and then the number of file David opens climbs at a steep exponential rate. David RedHat Advanced Server 3 update 3 Linux quinault David 2.4.21-27.0.2.ELsmp #1 SMP Wed Jan 12 23:35:44 EST 2005 David i686 i686 i386 GNU/Linux Samba version=3.0.6-2E I see you are using Samba 3.0.6. There were a lot of bug fixes after that release. I would start with version 3.0.14a. I've been using that version with ClearCase (although with Solaris 8). I would not use 3.0.20anything or even the latest 3.0.21b. It might be useful to see your smb.conf as well as your client MVFS settings. However, ClearCase is not within the scope of this mailing list. David Clients for the most part are Windows XP and Windows 2003 David Enterprise servers. David Still looking clues as to what might be a cause for this David behavior. Our systems people have monitored everything they David can think of to see if we can find a correlation but so far David nothing has turned up. David It is a large, 200+ development environment with NFS and David NAS CX400, storage units on the servers. It is a heavy file David access, large builds parallel builds on multiple David architectures. -- Eric M. Boehm /\ ASCII Ribbon Campaign [EMAIL PROTECTED] \ / No HTML or RTF in mail X No proprietary word-processing Respect Open Standards / \ files in mail -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Winbind/rid and authentication questions
hello, I keep gettiing a login prompt when I try to access shares on my newly created samba server. I am trying to use ad/rid (the best option if you want multiple samba servers in your environment?) wbinfo -a DOMAIN/mylogin%password authenticates correctly. wbinfo -u and wbinfo -g shows my groups and users fine. Do I need winbind uid/gid as well as idmap uid/gid? Do I need auth method? Should I use idmap backend = ad instead? Do I need pam support? I am really confused about what the right setup is now with samba. My smb.conf has: [global] workgroup = DOMAIN netbios name = svcanimp socket options = TCP_NODELAY SO_RCVBUF=16384 SO_SNDBUF=16384 idmap uid = 1-20 idmap gid = 1-20 #idmap backend = ad idmap backend = idmap_rid:DOMAIN=1-20 use kerberos keytab = yes # os level = 65 winbind enum users = yes winbind enum groups = yes #winbind use default domain = yes #winbind uid = 1-20 #winbind gid = 1-20 winbind separator = / encrypt passwords = yes server string = User management Server security = ADS #security = domain realm = DOMAIN.COM password server = ad.domain.com preferred master = no log file = /usr/local/samba/var/log.%m log level = 10 #hosts allow = 10.69. 127.0. max log size = 50 local master = No dns proxy = No wins server = wins02 wins03 wins proxy = no name resolve order = hosts wins lmhosts bcast aio read size = 1 aio write size = 1 template homedir = /home/winnt/%D/%U template shell = /bin/bash #acl group control = yes #inherit permissions = Yes #inherit acls = Yes invalid users = root #auth methods = winbind #username map = /usr/local/samba/lib/username.map [homes] valid users = %S browseable = No read only = No David Shapiro Unix Team Lead 919-765-2011 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] double quote for group inside smb.conf ?
Hello, Can we use double quote inside smb.conf : printer admin = @domain admins thanks ! -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Too many open files, Bug 3342
Gautier, B \(Bob\) wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Rex Dieter Sent: 06 February 2006 13:26 To: samba@lists.samba.org Subject: [Samba] Re: Too many open files, Bug 3342 David Highley wrote: We submitted bug 3342 on Dec. 20th, Too many open files. It has not moved from the new state. So lets try here. ... RedHat Advanced Server 3 update 3 ^^^ Still looking clues as to what might be a cause for this behavior. I'd suggest you report the problem(s) to redhat too, especially since you paid the $$ for enteprise support. You are nowhere near the system limit at the time of the crash, so I guess you are running up to Samba's process open file limit (ulimit -n). Why not try increasing it? You might not be seeing a bug, just a nasty spike in traffic caused by your applications. Bob G File performance goes to heck and the number of open samba connections never falls so we end up having to reboot the system. Client PCs end up with out of memory crashes and other sperious errors. -- Rex -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba _ This email (including any attachments to it) is confidential, legally privileged, subject to copyright and is sent for the personal attention of the intended recipient only. If you have received this email in error, please advise us immediately and delete it. You are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Although we have taken reasonable precautions to ensure no viruses are present in this email, we cannot accept responsibility for any loss or damage arising from the viruses in this email or attachments. We exclude any liability for the content of this email, or for the consequences of any actions taken on the basis of the information provided in this email or its attachments, unless that information is subsequently confirmed in writing. If this email contains an offer, that should be considered as an invitation to treat. _ -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Too many open files, Bug 3342
Eric Boehm wrote: On Sat, Feb 04, 2006 at 04:31:50PM -0800, David Highley wrote: David == David Highley [EMAIL PROTECTED] writes: David We submitted bug 3342 on Dec. 20th, Too many open files. It David has not moved from the new state. So lets try here. David We have Dell Quad Xeon server that we end up rebooting David about every 2-3 weeks when the number of open samba files David sky rockets. The system is a ClearCase server system. We David have been monitoring this system for a few months now and David are not able to pin down a cause to this issue. The system David keeps a pretty constant number of samba open files until David what ever triggers the issue and then the number of file David opens climbs at a steep exponential rate. David RedHat Advanced Server 3 update 3 Linux quinault David 2.4.21-27.0.2.ELsmp #1 SMP Wed Jan 12 23:35:44 EST 2005 David i686 i686 i386 GNU/Linux Samba version=3.0.6-2E I see you are using Samba 3.0.6. There were a lot of bug fixes after that release. I would start with version 3.0.14a. I've been using that version with ClearCase (although with Solaris 8). I would not use 3.0.20anything or even the latest 3.0.21b. It might be useful to see your smb.conf as well as your client MVFS settings. However, ClearCase is not within the scope of this mailing list. We have tuned the client MVFS setting down to 200 for Maximum number of mnodes to kee on the VOB free list and Maximum number of mnodes to keep for cleartext free list. Were not looking for ClearCase support, we believe that this issue maybe a symptom of some other issue but so far we have not been able to make the connection. Because of our operating environment, security, it is very hard to make changes to platform configurations. What information might be available about the samba connections that might lead us to determine what triggers this event? David Clients for the most part are Windows XP and Windows 2003 David Enterprise servers. David Still looking clues as to what might be a cause for this David behavior. Our systems people have monitored everything they David can think of to see if we can find a correlation but so far David nothing has turned up. David It is a large, 200+ development environment with NFS and David NAS CX400, storage units on the servers. It is a heavy file David access, large builds parallel builds on multiple David architectures. -- Eric M. Boehm /\ ASCII Ribbon Campaign [EMAIL PROTECTED] \ / No HTML or RTF in mail X No proprietary word-processing Respect Open Standards / \ files in mail -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Re: Too many open files, Bug 3342
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of David Highley Sent: 06 February 2006 16:28 To: samba@lists.samba.org Subject: Re: [Samba] Re: Too many open files, Bug 3342 Gautier, B \(Bob\) wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Rex Dieter Sent: 06 February 2006 13:26 To: samba@lists.samba.org Subject: [Samba] Re: Too many open files, Bug 3342 David Highley wrote: We submitted bug 3342 on Dec. 20th, Too many open files. It has not moved from the new state. So lets try here. ... RedHat Advanced Server 3 update 3 ^^^ Still looking clues as to what might be a cause for this behavior. I'd suggest you report the problem(s) to redhat too, especially since you paid the $$ for enteprise support. You are nowhere near the system limit at the time of the crash, so I guess you are running up to Samba's process open file limit (ulimit -n). Why not try increasing it? You might not be seeing a bug, just a nasty spike in traffic caused by your applications. Bob G File performance goes to heck and the number of open samba connections never falls so we end up having to reboot the system. Client PCs end up with out of memory crashes and other sperious errors. Yes, that was the more likely outcome of trying to workaround with ulimit... :-( The fact that it eventually bombs the clients suggests it might be originating there. Have you looked for solutions from the ClearCase end? It might also be worth updating your RHEL system -- I think update 3 is rather behind the times now. Regards, Bob G -- Rex -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba _ This email (including any attachments to it) is confidential, legally privileged, subject to copyright and is sent for the personal attention of the intended recipient only. If you have received this email in error, please advise us immediately and delete it. You are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Although we have taken reasonable precautions to ensure no viruses are present in this email, we cannot accept responsibility for any loss or damage arising from the viruses in this email or attachments. We exclude any liability for the content of this email, or for the consequences of any actions taken on the basis of the information provided in this email or its attachments, unless that information is subsequently confirmed in writing. If this email contains an offer, that should be considered as an invitation to treat. _ -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba _ This email (including any attachments to it) is confidential, legally privileged, subject to copyright and is sent for the personal attention of the intended recipient only. If you have received this email in error, please advise us immediately and delete it. You are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Although we have taken reasonable precautions to ensure no viruses are present in this email, we cannot accept responsibility for any loss or damage arising from the viruses in this email or attachments. We exclude any liability for the content of this email, or for the consequences of any actions taken on the basis of the information provided in this email or its attachments, unless that information is subsequently confirmed in writing. If this email contains an offer, that should be considered as an invitation to treat. _ -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba seems to cause complete server crash
On Mon, Feb 06, 2006 at 12:31:18PM +, Steve Freeman wrote: Hi all, I have done some extensive searching, and drawn a blank so far... Nothing odd is reported in samba logs, or in the syslog file. However, if I try to play an avi straight off the samba server, on an XP client with MP10, it brings the whole deal to its knees after a few mins at the most. I have to hard reset the server. Kernel bug. That's the only thing that puts the kernel in that state. Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Too many open files, Bug 3342
Gautier, B (Bob) wrote: It might also be worth updating your RHEL system -- I think update 3 is rather behind the times now. You're right, I believe rhel3 is up to U6 now. -- Rex -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Too many open files, Bug 3342
On Mon, Feb 06, 2006 at 08:39:34AM -0800, David Highley wrote: David == David Highley [EMAIL PROTECTED] writes: David RedHat Advanced Server 3 update 3 Linux quinault David 2.4.21-27.0.2.ELsmp #1 SMP Wed Jan 12 23:35:44 EST 2005 David i686 i686 i386 GNU/Linux Samba version=3.0.6-2E Eric I see you are using Samba 3.0.6. There were a lot of bug Eric fixes after that release. I would start with version Eric 3.0.14a. I've been using that version with ClearCase Eric (although with Solaris 8). Eric I would not use 3.0.20anything or even the latest 3.0.21b. Eric It might be useful to see your smb.conf as well as your Eric client MVFS settings. However, ClearCase is not within the Eric scope of this mailing list. It might be helpful to see how you've defined the share. Here's a template that I've recommended for ClearCase. # # Duplicate the following block for each share you wish to # define. ClearCase related storage areas must have oplocks = no. For # other applications, you may wish to set oplocks = yes. # [share-name] comment = your-comment-here path= path-to-storage # admin users = # hosts allow = @netgroup, host, ip_address # valid users = @netgroup, userid create mask = 0775 directory mask = 0775 # If guest ok = yes, then anyone will be able to connect # without authentication. If that is the desired configuration, # you may want to make the share read-only (i.e., writeable = no) guest ok= no map archive = no oplocks = no writeable = yes David We have tuned the client MVFS setting down to 200 for David Maximum number of mnodes to kee on the VOB free list and David Maximum number of mnodes to keep for cleartext free list. You might be surprised but these limits are not always observed. I have seen clients open more than 200 files even when MVFS settings are tuned down. Is any of this Java code? That's where I've seen this problem occur (exceeding the mnodes setting). FWIW, we don't tune down MVFS. We have the scaling factor set to 4 and let mnodes be 4500 (VOB free) and 1800 (cleartext free). We've been running this way for years at multiple locations around the globe. We have anywhere from 20-600+ clients at a location. David Were not looking for ClearCase support, we believe that David this issue maybe a symptom of some other issue but so far David we have not been able to make the connection. Because of David our operating environment, security, it is very hard to David make changes to platform configurations. I understand your constraints but given that your environment is having problems, isn't that enough to warrant upgrading? I've looked at the release notes since 3.0.6 and there are lots of fixes for memory leaks and problems in the code that handles files. I think 3.0.14a is your next best bet. 3.0.6 is about 1.5 years old. I would also expect that the Samba team isn't going to be interested in pursuing the bug unless you can reproduce it against the latest version (3.0.21b). Your security setting might be influencing the number of open connections you have (not necessarily the number of file opens). Do you have 'security = domain' or 'security = server' in your smb.conf? David What information might be available about the samba David connections that might lead us to determine what triggers David this event? You might look at the Samba client logs for any strange error messages. Does the problem occur at a predictable time -- such as after a large build? or a particular build? You said that you were using NAS. If that's the case, why aren't you using CIFS through the NAS? You might not even need Samba. Lastly, what are /proc/sys/fs/file-max /proc/sys/fs/file-nr set to? -- Eric M. Boehm /\ ASCII Ribbon Campaign [EMAIL PROTECTED] \ / No HTML or RTF in mail X No proprietary word-processing Respect Open Standards / \ files in mail -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba seems to cause complete server crash
Thanks for your reply Jeremy, I've not rebuild a kernel in years. Not missed it either! I should also add, that copying files to the server works fine. No problems. The problem arises when copying from the server. Thanks From: Jeremy Allison [EMAIL PROTECTED] Reply-To: Jeremy Allison [EMAIL PROTECTED] Kernel bug. That's the only thing that puts the kernel in that state. Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RES: [Samba] Samba with ADS
It´s for Windows 2000 AD. -Mensagem original- De: Chris [mailto:[EMAIL PROTECTED] Enviada em: sábado, 4 de fevereiro de 2006 13:31 Para: Warren Beldad Cc: hernany.ce; samba@lists.samba.org Assunto: Re: [Samba] Samba with ADS Warren Beldad wrote: you'll need to properly configure your kerberos configuration file. /etc/krb5.conf On 2/4/06, hernany.ce [EMAIL PROTECTED] wrote: Help me. What am I doing wrong ?? # kinit [EMAIL PROTECTED] kinit(v5): Improper format of Kerberos configuration file while initializing Kerberos 5 library My winbind log. eb 3 13:27:04 firewall winbindd[29307]: [2006/02/03 13:27:04, 0] nsswitch/winbindd.c:request_len_recv(566) Feb 3 13:27:04 firewall winbindd[29307]: request_len_recv: Invalid request size received: 1824 Feb 3 13:27:04 firewall winbindd[29307]: [2006/02/03 13:27:04, 0] nsswitch/winbindd.c:request_len_recv(566) Feb 3 13:27:04 firewall winbindd[29307]: request_len_recv: Invalid request size received: 1824 Feb 3 13:27:04 firewall winbindd[29307]: [2006/02/03 13:27:04, 0] nsswitch/winbindd.c:request_len_recv(566) Feb 3 13:27:04 firewall winbindd[29307]: request_len_recv: Invalid request size received: 1824 Feb 3 13:27:04 firewall winbindd[29307]: [2006/02/03 13:27:04, 0] nsswitch/winbindd.c:request_len_recv(566) Feb 3 13:27:04 firewall winbindd[29307]: request_len_recv: Invalid request size received: 1824 Feb 3 13:27:04 firewall winbindd[29307]: [2006/02/03 13:27:04, 0] nsswitch/winbindd.c:request_len_recv(566) Feb 3 13:27:04 firewall winbindd[29307]: request_len_recv: Invalid request size received: 1824 Feb 3 13:27:04 firewall winbindd[29307]: [2006/02/03 13:27:04, 0] nsswitch/winbindd.c:request_len_recv(566) Feb 3 13:27:04 firewall winbindd[29307]: request_len_recv: Invalid request size received: 1824 Feb 3 13:27:06 firewall winbindd[29307]: [2006/02/03 13:27:06, 0] nsswitch/winbindd.c:request_len_recv(566) Feb 3 13:27:06 firewall winbindd[29307]: request_len_recv: Invalid request size received: 1824 Feb 3 13:27:06 firewall winbindd[29307]: [2006/02/03 13:27:06, 0] nsswitch/winbindd.c:request_len_recv(566) Feb 3 13:27:06 firewall winbindd[29307]: request_len_recv: Invalid request size received: 1824 Feb 3 13:27:06 firewall winbindd[29307]: [2006/02/03 13:27:06, 0] nsswitch/winbindd.c:request_len_recv(566) Feb 3 13:27:06 firewall winbindd[29307]: request_len_recv: Invalid request size received: 1824 Feb 3 13:27:10 firewall winbindd[29307]: [2006/02/03 13:27:10, 0] nsswitch/winbindd.c:request_len_recv(566) Feb 3 13:27:10 firewall winbindd[29307]: request_len_recv: Invalid request size received: 1824 Feb 3 13:27:10 firewall winbindd[29307]: [2006/02/03 13:27:10, 0] nsswitch/winbindd.c:request_len_recv(566) Feb 3 13:27:10 firewall winbindd[29307]: request_len_recv: Invalid request size received: 1824 Feb 3 13:27:10 firewall winbindd[29307]: [2006/02/03 13:27:10, 0] nsswitch/winbindd.c:request_len_recv(56 Is this for AD 2003? or a Windows2000 domain. If its 2003, you are better off waiting for the new release of Samba. It will work well with Windows2003 server/AD -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba seems to cause complete server crash
On Mon, Feb 06, 2006 at 05:37:49PM +, Steve Freeman wrote: Thanks for your reply Jeremy, I've not rebuild a kernel in years. Not missed it either! I should also add, that copying files to the server works fine. No problems. The problem arises when copying from the server. If the kernel locks up then it's a kernel bug. That's the definition. It doesn't matter what smbd is doing (unless we're writing into /dev/kmem, which I assure you we're not :-). Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba rpm and /var/*/samba directory for .tdb files
Hi, I use CentOS4 (RHEL4) and it seems that I was using /var/lib/samba for storing the .tdb files. Then I compilled the fedora .src.rpm from samba.org and it points now to /var/cache/samba I will build tonight the .rpm from the .tar.gz and see which directory samba choose for the .tdb files in CentOS4. Anyone can confirm this list of distro/.tdb directory: Fedora: /var/cache/samba CentOS4: /var/lib/samba RH9: /var/lib/samba ? Many thanks Oliver -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] How to remotely disconect user from samba
On 2/6/06, Maurizio Faccio [EMAIL PROTECTED] wrote: I need to disconnect from the server a user that is using files from the samba server to upgrade that files. How can i remotely disconnect that conection to the server smbcontrol smbd close-share sharename can close all clients using a particular share. kill pid-of-smbd-process can close a particular client's connection, but it may not give the smbd process or the client a chance to properly shut things down. However, either command may not do much good, because Windows automatically reconnects to the server if it needs to. Linux/Unix file semantics let you replace files while they're in use; whoever's using the old version of the files continues to see the old files, and when the client closes, the old files are automatically deleted. (This is handled transparently by the operating system.) If you're upgrading the files from Linux/Unix instead of over Samba, you shouldn't need to worry about disconnecting users. Josh Kelley -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba rpm and /var/*/samba directory for .tdb files
On 2/6/06, Oliver Schulze L. [EMAIL PROTECTED] wrote: I use CentOS4 (RHEL4) and it seems that I was using /var/lib/samba for storing the .tdb files. Then I compilled the fedora .src.rpm from samba.org and it points now to /var/cache/samba I noticed this too (and it tripped me up until I noticed it). Anyone can confirm this list of distro/.tdb directory: Fedora: /var/cache/samba CentOS4: /var/lib/samba RH9: /var/lib/samba Unless I'm missing something, samba-3.0.10-1.4E.2.i386.rpm, as included with CentOS 4.2, uses /var/cache/samba. Older Fedora .src.rpms from the Samba site used /var/lib/samba, so if you're upgrading from there, that explains the change. Josh Kelley -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba rpm and /var/*/samba directory for .tdb files
On Monday February 06 2006 1:08 pm, Oliver Schulze L. wrote: Hi, I use CentOS4 (RHEL4) and it seems that I was using /var/lib/samba for storing the .tdb files. Then I compilled the fedora .src.rpm from samba.org and it points now to /var/cache/samba I will build tonight the .rpm from the .tar.gz and see which directory samba choose for the .tdb files in CentOS4. Anyone can confirm this list of distro/.tdb directory: Fedora: /var/cache/samba CentOS4: /var/lib/samba RH9: /var/lib/samba ? Many thanks Oliver I can't speak to RH9, but I'm running CentOS 3 and 4, and FC2 boxes here. As to those, the tdb files are stored as you suspected: Fedora: /var/cache/samba CentOS4: /var/lib/samba HTH. Dimitri -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba rpm and /var/*/samba directory for .tdb files
On Monday February 06 2006 1:47 pm, Dimitri Yioulos wrote: On Monday February 06 2006 1:08 pm, Oliver Schulze L. wrote: Hi, I use CentOS4 (RHEL4) and it seems that I was using /var/lib/samba for storing the .tdb files. Then I compilled the fedora .src.rpm from samba.org and it points now to /var/cache/samba I will build tonight the .rpm from the .tar.gz and see which directory samba choose for the .tdb files in CentOS4. Anyone can confirm this list of distro/.tdb directory: Fedora: /var/cache/samba CentOS4: /var/lib/samba RH9: /var/lib/samba ? Many thanks Oliver I can't speak to RH9, but I'm running CentOS 3 and 4, and FC2 boxes here. As to those, the tdb files are stored as you suspected: Fedora: /var/cache/samba CentOS4: /var/lib/samba HTH. Dimitri Sorry for replying to my own post, but I should note that I use the latest Samba release from the Samba team. I build the RPMs from their source RPMs. Doing this results in the tdb files being located as you suspected. Dimitri -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] SAMBA netbois lookup issues
My VPN Address is in a Virtual Pool on the Firewall I am using. I am able to connect to any other server other than a Samba server. If it was a network related issue would it not be having a problem on all the servers? James -Original Message- From: Trimble, Ronald D [mailto:[EMAIL PROTECTED] Sent: Friday, February 03, 2006 5:11 PM To: James Taylor Subject: RE: [Samba] SAMBA netbois lookup issues Is your VPN server on the same segment? I only ask because in our company, our VPN segment is isolated with it's own DNS servers. My guess is that when you come in via VPN, you are using a different DNS server and you are not registered. Instead, you are using NetBIOS for name resolution. Try putting an A host record on the DNS server used by your VPN server. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Taylor Sent: Friday, February 03, 2006 6:43 PM To: samba@lists.samba.org Subject: [Samba] SAMBA netbois lookup issues Hi all! I am from the Windows world and am trying to migrate to Linux and have done a fairly good job so far. My recent challenge is that I have built a Samba file/print server that works very well on my internal network but when I VPN into the network remotely I am unable to access the server via it's server name. What is driving me crazy is the fact that the last of my Windows servers is a file/print server as well and I am able to access it without issues. Is this a simple NetBios Port change or is this something else that I am missing? If anyone has some pointers as to what I can do to resolve this issue I would be grateful. Thank you James Taylor -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] SAMBA netbois lookup issues
Not if they are all in the DNS server and the new samba server is not. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Taylor Sent: Monday, February 06, 2006 2:06 PM To: samba@lists.samba.org Subject: RE: [Samba] SAMBA netbois lookup issues My VPN Address is in a Virtual Pool on the Firewall I am using. I am able to connect to any other server other than a Samba server. If it was a network related issue would it not be having a problem on all the servers? James -Original Message- From: Trimble, Ronald D [mailto:[EMAIL PROTECTED] Sent: Friday, February 03, 2006 5:11 PM To: James Taylor Subject: RE: [Samba] SAMBA netbois lookup issues Is your VPN server on the same segment? I only ask because in our company, our VPN segment is isolated with it's own DNS servers. My guess is that when you come in via VPN, you are using a different DNS server and you are not registered. Instead, you are using NetBIOS for name resolution. Try putting an A host record on the DNS server used by your VPN server. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Taylor Sent: Friday, February 03, 2006 6:43 PM To: samba@lists.samba.org Subject: [Samba] SAMBA netbois lookup issues Hi all! I am from the Windows world and am trying to migrate to Linux and have done a fairly good job so far. My recent challenge is that I have built a Samba file/print server that works very well on my internal network but when I VPN into the network remotely I am unable to access the server via it's server name. What is driving me crazy is the fact that the last of my Windows servers is a file/print server as well and I am able to access it without issues. Is this a simple NetBios Port change or is this something else that I am missing? If anyone has some pointers as to what I can do to resolve this issue I would be grateful. Thank you James Taylor -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] SAMBA netbois lookup issues
Yes, the other servers are registered as well. It has to be something simple that I am missing. I will attach a copy of my global smb.conf config and maybe you might be able to see something there. # Global parameters [global] workgroup = LASZLOSYSTEMS realm = INTRANET.CORP.LASZLOSYSTEMS.COM server string = Intranet Samba Server map to guest = Bad User obey pam restrictions = Yes passdb backend = ldapsam:ldap://intranet.corp.laszlosystems.com, smbpasswd, guest passwd program = /usr/sbin/smbldap-passwd %u log file = /var/log/samba/log.%m max log size = 50 name resolve order = wins lmhosts dns host bcast socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap cache time = 60 printcap name = cups add user script = /usr/sbin/smbldap-useradd -m '%u' delete user script = /usr/sbin/smbldap-userdel '%u' add group script = /usr/sbin/smbldap-groupadd '%g' /usr/sbin/smbldap-groupshow %g|awk '/^gidNumber:/ {print $2}' delete group script = /usr/sbin/smbldap-groupdel '%g' add user to group script = /usr/sbin/smbldap-groupmod -m '%u' '%g' delete user from group script = /usr/sbin/smbldap-groupmod -x '%u' '%g' set primary group script = /usr/sbin/smbldap-usermod -g '%g' '%u' add machine script = /usr/sbin/smbldap-useradd -w -d /dev/null -c 'Machine Account' -s /bin/false '%u' domain logons = Yes os level = 65 preferred master = Yes domain master = Yes wins proxy = Yes wins support = Yes ldap admin dn = cn=*,dc=*,dc=com ldap group suffix = ou=Group ldap idmap suffix = ou=Idmap ldap machine suffix = ou=Hosts ldap passwd sync = Yes ldap suffix = dc=laszlosystems,dc=com ldap ssl = no ldap user suffix = ou=People winbind use default domain = Yes printer admin = @adm, root create mask = 0755 hosts allow = 192.168., 127. [printers] comment = All Printers path = /var/spool/samba create mask = 0700 guest ok = Yes printable = Yes browseable = No [print$] path = /var/lib/samba/printers write list = @adm, root inherit permissions = Yes guest ok = Yes [pdf-gen] comment = PDF Generator (only valid users) path = /var/tmp printable = Yes printing = bsd print command = /usr/share/samba/scripts/print-pdf %s %H //%L/%u %m %I %J lpq command = /bin/true lprm command = lprm -P'%p' %j [ILSA] comment = HP Color LaserJet 5500DN Network Printer path = /var/spool/samba guest ok = Yes printable = Yes [public] comment = Laszlo Public Files path = /home/laszlo/public valid users = @users write list = @users force user = laszlo force group = users create mask = 0775 force create mode = 0550 JT -Original Message- From: Trimble, Ronald D [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 11:26 AM To: James Taylor Subject: RE: [Samba] SAMBA netbois lookup issues Sorry, I didn't realize that the samba server was the DNS server. So all the other servers have properly registered on this samba/DNS server? Do you have host records for all the other systems? It may be a port issue, but that is well out of my range of knowledge since we have a dedicated network team here. I still think it is something simple, I just can't put my finger on it without knowledge of your entire network. -Original Message- From: James Taylor [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 2:23 PM To: Trimble, Ronald D Subject: RE: [Samba] SAMBA netbois lookup issues Samba server is the DNS server. I also opened the wins.dat file to make sure the samba server had it's info registered and it does. Could this be a simple port issue? JT -Original Message- From: Trimble, Ronald D [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 11:10 AM To: James Taylor; samba@lists.samba.org Subject: RE: [Samba] SAMBA netbois lookup issues Not if they are all in the DNS server and the new samba server is not. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Taylor Sent: Monday, February 06, 2006 2:06 PM To: samba@lists.samba.org Subject: RE: [Samba] SAMBA netbois lookup issues My VPN Address is in a Virtual Pool on the Firewall I am using. I am able to connect to any other server other than a Samba server. If it was a network related issue would it not be having a problem on all the servers? James -Original Message- From: Trimble, Ronald D [mailto:[EMAIL PROTECTED] Sent: Friday, February 03, 2006 5:11 PM To: James Taylor Subject: RE: [Samba] SAMBA netbois lookup issues Is your VPN server on the same segment? I only
RE: [Samba] SAMBA netbois lookup issues
Not sure if that is a good thing or not on a crazy config. What I have tried is using changing the order to include lmhosts file, wins, DNS. Of course I have modified the LMHOSTS file to include all the servers and that made no difference. I will try the change to the pam restrictions and see if that makes a difference. JT -Original Message- From: Trimble, Ronald D [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 11:40 AM To: James Taylor Subject: RE: [Samba] SAMBA netbois lookup issues Wow... that is the craziest smb.conf I have ever seen! Nice work. I don't see anything obvious, but I am curious if you ever tried shuffling the name resolve order? Furthermore, I see that you are forcing PAM restrictions... did you try the configuration with that line commented out. I know PAM can be complex and tough to figure out some times. -Original Message- From: James Taylor [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 2:31 PM To: Trimble, Ronald D; samba@lists.samba.org Subject: RE: [Samba] SAMBA netbois lookup issues Yes, the other servers are registered as well. It has to be something simple that I am missing. I will attach a copy of my global smb.conf config and maybe you might be able to see something there. # Global parameters [global] workgroup = LASZLOSYSTEMS realm = INTRANET.CORP.LASZLOSYSTEMS.COM server string = Intranet Samba Server map to guest = Bad User obey pam restrictions = Yes passdb backend = ldapsam:ldap://intranet.corp.laszlosystems.com, smbpasswd, guest passwd program = /usr/sbin/smbldap-passwd %u log file = /var/log/samba/log.%m max log size = 50 name resolve order = wins lmhosts dns host bcast socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap cache time = 60 printcap name = cups add user script = /usr/sbin/smbldap-useradd -m '%u' delete user script = /usr/sbin/smbldap-userdel '%u' add group script = /usr/sbin/smbldap-groupadd '%g' /usr/sbin/smbldap-groupshow %g|awk '/^gidNumber:/ {print $2}' delete group script = /usr/sbin/smbldap-groupdel '%g' add user to group script = /usr/sbin/smbldap-groupmod -m '%u' '%g' delete user from group script = /usr/sbin/smbldap-groupmod -x '%u' '%g' set primary group script = /usr/sbin/smbldap-usermod -g '%g' '%u' add machine script = /usr/sbin/smbldap-useradd -w -d /dev/null -c 'Machine Account' -s /bin/false '%u' domain logons = Yes os level = 65 preferred master = Yes domain master = Yes wins proxy = Yes wins support = Yes ldap admin dn = cn=*,dc=*,dc=com ldap group suffix = ou=Group ldap idmap suffix = ou=Idmap ldap machine suffix = ou=Hosts ldap passwd sync = Yes ldap suffix = dc=laszlosystems,dc=com ldap ssl = no ldap user suffix = ou=People winbind use default domain = Yes printer admin = @adm, root create mask = 0755 hosts allow = 192.168., 127. [printers] comment = All Printers path = /var/spool/samba create mask = 0700 guest ok = Yes printable = Yes browseable = No [print$] path = /var/lib/samba/printers write list = @adm, root inherit permissions = Yes guest ok = Yes [pdf-gen] comment = PDF Generator (only valid users) path = /var/tmp printable = Yes printing = bsd print command = /usr/share/samba/scripts/print-pdf %s %H //%L/%u %m %I %J lpq command = /bin/true lprm command = lprm -P'%p' %j [ILSA] comment = HP Color LaserJet 5500DN Network Printer path = /var/spool/samba guest ok = Yes printable = Yes [public] comment = Laszlo Public Files path = /home/laszlo/public valid users = @users write list = @users force user = laszlo force group = users create mask = 0775 force create mode = 0550 JT -Original Message- From: Trimble, Ronald D [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 11:26 AM To: James Taylor Subject: RE: [Samba] SAMBA netbois lookup issues Sorry, I didn't realize that the samba server was the DNS server. So all the other servers have properly registered on this samba/DNS server? Do you have host records for all the other systems? It may be a port issue, but that is well out of my range of knowledge since we have a dedicated network team here. I still think it is something simple, I just can't put my finger on it without knowledge of your entire network. -Original Message- From: James Taylor [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 2:23 PM To: Trimble, Ronald D Subject: RE: [Samba] SAMBA netbois lookup issues Samba server is the DNS server. I also opened the
Re: [Samba] Too many open files, Bug 3342
Eric Boehm wrote: On Mon, Feb 06, 2006 at 08:39:34AM -0800, David Highley wrote: David == David Highley [EMAIL PROTECTED] writes: David RedHat Advanced Server 3 update 3 Linux quinault David 2.4.21-27.0.2.ELsmp #1 SMP Wed Jan 12 23:35:44 EST 2005 David i686 i686 i386 GNU/Linux Samba version=3.0.6-2E Eric I see you are using Samba 3.0.6. There were a lot of bug Eric fixes after that release. I would start with version Eric 3.0.14a. I've been using that version with ClearCase Eric (although with Solaris 8). Eric I would not use 3.0.20anything or even the latest 3.0.21b. Eric It might be useful to see your smb.conf as well as your Eric client MVFS settings. However, ClearCase is not within the Eric scope of this mailing list. It might be helpful to see how you've defined the share. [global] workgroup = NW server string = Samba Server security = DOMAIN password server = adc-nw-03 adc-nw-01 log file = /var/log/samba/%m.log max log size = 0 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 os level = 0 preferred master = No local master = No domain master = No dns proxy = No ldap ssl = no create mask = 0664 cups options = raw use sendfile = no [export] comment = ClearCase Vobs and Views path = /export valid users = +nw_usawacs read only = No oplocks = No level2 oplocks = No Here's a template that I've recommended for ClearCase. # # Duplicate the following block for each share you wish to # define. ClearCase related storage areas must have oplocks = no. For # other applications, you may wish to set oplocks = yes. # [share-name] comment = your-comment-here path= path-to-storage # admin users = # hosts allow = @netgroup, host, ip_address # valid users = @netgroup, userid create mask = 0775 directory mask = 0775 # If guest ok = yes, then anyone will be able to connect # without authentication. If that is the desired configuration, # you may want to make the share read-only (i.e., writeable = no) guest ok= no map archive = no oplocks = no writeable = yes David We have tuned the client MVFS setting down to 200 for David Maximum number of mnodes to kee on the VOB free list and David Maximum number of mnodes to keep for cleartext free list. You might be surprised but these limits are not always observed. I have seen clients open more than 200 files even when MVFS settings are tuned down. Is any of this Java code? That's where I've seen this problem occur (exceeding the mnodes setting). We do all the Java builds on the Linux platform as it is much faster. We push our C++ builds by running parallel builds and we build all platforms in the same view so we generate a pretty high file system and CPU load. Java builds are run serial of course as ANT is not compatible with parallel building. We also switched to GNU make as clearmake does not throttle across sub make processes when doing parallel builds. Some of our builds on the PCs will have over 1800 threads, 600-700 processes, and 20,000+ file handles open. Our build process has been monitored and IBM has been in and reviewed the ClearCase aspects. FWIW, we don't tune down MVFS. We have the scaling factor set to 4 and let mnodes be 4500 (VOB free) and 1800 (cleartext free). We've been running this way for years at multiple locations around the globe. We have anywhere from 20-600+ clients at a location. Scaling factor is 1. We also remotely monitor the client settings. David Were not looking for ClearCase support, we believe that David this issue maybe a symptom of some other issue but so far David we have not been able to make the connection. Because of David our operating environment, security, it is very hard to David make changes to platform configurations. I understand your constraints but given that your environment is having problems, isn't that enough to warrant upgrading? I've looked at the release notes since 3.0.6 and there are lots of fixes for memory leaks and problems in the code that handles files. I think 3.0.14a is your next best bet. 3.0.6 is about 1.5 years old. I would also expect that the Samba team isn't going to be interested in pursuing the bug unless you can reproduce it against the latest version (3.0.21b). Your security setting might be influencing the number of open connections you have (not necessarily the number of file opens). Do you have 'security = domain' or 'security = server' in your smb.conf? security = DOMAIN David What information might be available about the samba David connections that might lead
RE: [Samba] SAMBA netbois lookup issues
Ok, tested the change with PAM and no difference. The message that is returned to me is: Windows cannot find '\\Intranet'. Check the spelling and try again, or try searching for the item by useless Microsoft Jargon... I am running Samba version 3.0.13. Could it possibly need an upgrade to the newer version? Thank you for the compliment, I was worried I might be doing something somewhat unorthodox. I am trying to get everything to eventually use single sign-on with LDAP and Samba, hence the LDAP bind info and the smbldap commands for users. The LDAP bind is working 100% perfect and internal access works great. All my internal servers are binding to LDAP via PAM modules at this point in time and that is working very well. So I am almost there. Once I get Samba to communicate over the VPN properly then I will setup and make it act as PDC for my Windows clients so they too will begin using the LDAP database for user access. JT -Original Message- From: Trimble, Ronald D [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 11:47 AM To: James Taylor Subject: RE: [Samba] SAMBA netbois lookup issues It was a compliment... -Original Message- From: James Taylor [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 2:45 PM To: Trimble, Ronald D; samba@lists.samba.org Subject: RE: [Samba] SAMBA netbois lookup issues Not sure if that is a good thing or not on a crazy config. What I have tried is using changing the order to include lmhosts file, wins, DNS. Of course I have modified the LMHOSTS file to include all the servers and that made no difference. I will try the change to the pam restrictions and see if that makes a difference. JT -Original Message- From: Trimble, Ronald D [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 11:40 AM To: James Taylor Subject: RE: [Samba] SAMBA netbois lookup issues Wow... that is the craziest smb.conf I have ever seen! Nice work. I don't see anything obvious, but I am curious if you ever tried shuffling the name resolve order? Furthermore, I see that you are forcing PAM restrictions... did you try the configuration with that line commented out. I know PAM can be complex and tough to figure out some times. -Original Message- From: James Taylor [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 2:31 PM To: Trimble, Ronald D; samba@lists.samba.org Subject: RE: [Samba] SAMBA netbois lookup issues Yes, the other servers are registered as well. It has to be something simple that I am missing. I will attach a copy of my global smb.conf config and maybe you might be able to see something there. # Global parameters [global] workgroup = LASZLOSYSTEMS realm = INTRANET.CORP.LASZLOSYSTEMS.COM server string = Intranet Samba Server map to guest = Bad User obey pam restrictions = Yes passdb backend = ldapsam:ldap://intranet.corp.laszlosystems.com, smbpasswd, guest passwd program = /usr/sbin/smbldap-passwd %u log file = /var/log/samba/log.%m max log size = 50 name resolve order = wins lmhosts dns host bcast socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap cache time = 60 printcap name = cups add user script = /usr/sbin/smbldap-useradd -m '%u' delete user script = /usr/sbin/smbldap-userdel '%u' add group script = /usr/sbin/smbldap-groupadd '%g' /usr/sbin/smbldap-groupshow %g|awk '/^gidNumber:/ {print $2}' delete group script = /usr/sbin/smbldap-groupdel '%g' add user to group script = /usr/sbin/smbldap-groupmod -m '%u' '%g' delete user from group script = /usr/sbin/smbldap-groupmod -x '%u' '%g' set primary group script = /usr/sbin/smbldap-usermod -g '%g' '%u' add machine script = /usr/sbin/smbldap-useradd -w -d /dev/null -c 'Machine Account' -s /bin/false '%u' domain logons = Yes os level = 65 preferred master = Yes domain master = Yes wins proxy = Yes wins support = Yes ldap admin dn = cn=*,dc=*,dc=com ldap group suffix = ou=Group ldap idmap suffix = ou=Idmap ldap machine suffix = ou=Hosts ldap passwd sync = Yes ldap suffix = dc=laszlosystems,dc=com ldap ssl = no ldap user suffix = ou=People winbind use default domain = Yes printer admin = @adm, root create mask = 0755 hosts allow = 192.168., 127. [printers] comment = All Printers path = /var/spool/samba create mask = 0700 guest ok = Yes printable = Yes browseable = No [print$] path = /var/lib/samba/printers write list = @adm, root inherit permissions = Yes guest ok = Yes [pdf-gen] comment = PDF Generator (only valid users) path = /var/tmp printable = Yes printing = bsd print command =
RE: [Samba] SAMBA netbois lookup issues
The server is a backup LDAP server, but the bind connects to my master LDAP server for database changes to stay as current and up to date as possible. As far as pinging the server, that works 100%, anything related to DNS works just fine as well. It is just when I go to access via hostname, NetBios, that is fails. My local machine is using the Samba server for WINS. I also tried using my local lmhosts file on my Windows XP machine with no success. I can ping the name all day but when I try access to the share no go. I will try changing the port numbers and see what happens. JT -Original Message- From: Trimble, Ronald D [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 12:01 PM To: James Taylor Subject: RE: [Samba] SAMBA netbois lookup issues That's a nice plan. Do you have a copy of the LDAP database on your server or are you simply linking to it? As far as accessing the server goes, let's go back to the basics... What happens when you try to ping the server by IP address? Does it work? If so, it is most definitely a name resolution issue and not something else. At this point, check your own IP config (I am assuming you are using some flavor of Windows.) What DNS and WINS servers are you pointing at? Check to see if they have host records for the new server. If it doesn't it may point you towards a port issue. -Original Message- From: James Taylor [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 2:57 PM To: Trimble, Ronald D; samba@lists.samba.org Subject: RE: [Samba] SAMBA netbois lookup issues Ok, tested the change with PAM and no difference. The message that is returned to me is: Windows cannot find '\\Intranet'. Check the spelling and try again, or try searching for the item by useless Microsoft Jargon... I am running Samba version 3.0.13. Could it possibly need an upgrade to the newer version? Thank you for the compliment, I was worried I might be doing something somewhat unorthodox. I am trying to get everything to eventually use single sign-on with LDAP and Samba, hence the LDAP bind info and the smbldap commands for users. The LDAP bind is working 100% perfect and internal access works great. All my internal servers are binding to LDAP via PAM modules at this point in time and that is working very well. So I am almost there. Once I get Samba to communicate over the VPN properly then I will setup and make it act as PDC for my Windows clients so they too will begin using the LDAP database for user access. JT -Original Message- From: Trimble, Ronald D [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 11:47 AM To: James Taylor Subject: RE: [Samba] SAMBA netbois lookup issues It was a compliment... -Original Message- From: James Taylor [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 2:45 PM To: Trimble, Ronald D; samba@lists.samba.org Subject: RE: [Samba] SAMBA netbois lookup issues Not sure if that is a good thing or not on a crazy config. What I have tried is using changing the order to include lmhosts file, wins, DNS. Of course I have modified the LMHOSTS file to include all the servers and that made no difference. I will try the change to the pam restrictions and see if that makes a difference. JT -Original Message- From: Trimble, Ronald D [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 11:40 AM To: James Taylor Subject: RE: [Samba] SAMBA netbois lookup issues Wow... that is the craziest smb.conf I have ever seen! Nice work. I don't see anything obvious, but I am curious if you ever tried shuffling the name resolve order? Furthermore, I see that you are forcing PAM restrictions... did you try the configuration with that line commented out. I know PAM can be complex and tough to figure out some times. -Original Message- From: James Taylor [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 2:31 PM To: Trimble, Ronald D; samba@lists.samba.org Subject: RE: [Samba] SAMBA netbois lookup issues Yes, the other servers are registered as well. It has to be something simple that I am missing. I will attach a copy of my global smb.conf config and maybe you might be able to see something there. # Global parameters [global] workgroup = LASZLOSYSTEMS realm = INTRANET.CORP.LASZLOSYSTEMS.COM server string = Intranet Samba Server map to guest = Bad User obey pam restrictions = Yes passdb backend = ldapsam:ldap://intranet.corp.laszlosystems.com, smbpasswd, guest passwd program = /usr/sbin/smbldap-passwd %u log file = /var/log/samba/log.%m max log size = 50 name resolve order = wins lmhosts dns host bcast socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap cache time = 60 printcap name = cups add user script = /usr/sbin/smbldap-useradd -m '%u' delete user script = /usr/sbin/smbldap-userdel '%u' add group
RE: [Samba] SAMBA netbois lookup issues
Got it! It was the port that was causing the problem. I should have known right away. I read through my config and found that using 445, 139. I added port 135 to the mix and voila! Thank you for your help! James -Original Message- From: Trimble, Ronald D [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 11:40 AM To: James Taylor Subject: RE: [Samba] SAMBA netbois lookup issues Wow... that is the craziest smb.conf I have ever seen! Nice work. I don't see anything obvious, but I am curious if you ever tried shuffling the name resolve order? Furthermore, I see that you are forcing PAM restrictions... did you try the configuration with that line commented out. I know PAM can be complex and tough to figure out some times. -Original Message- From: James Taylor [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 2:31 PM To: Trimble, Ronald D; samba@lists.samba.org Subject: RE: [Samba] SAMBA netbois lookup issues Yes, the other servers are registered as well. It has to be something simple that I am missing. I will attach a copy of my global smb.conf config and maybe you might be able to see something there. # Global parameters [global] workgroup = LASZLOSYSTEMS realm = INTRANET.CORP.LASZLOSYSTEMS.COM server string = Intranet Samba Server map to guest = Bad User obey pam restrictions = Yes passdb backend = ldapsam:ldap://intranet.corp.laszlosystems.com, smbpasswd, guest passwd program = /usr/sbin/smbldap-passwd %u log file = /var/log/samba/log.%m max log size = 50 name resolve order = wins lmhosts dns host bcast socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap cache time = 60 printcap name = cups add user script = /usr/sbin/smbldap-useradd -m '%u' delete user script = /usr/sbin/smbldap-userdel '%u' add group script = /usr/sbin/smbldap-groupadd '%g' /usr/sbin/smbldap-groupshow %g|awk '/^gidNumber:/ {print $2}' delete group script = /usr/sbin/smbldap-groupdel '%g' add user to group script = /usr/sbin/smbldap-groupmod -m '%u' '%g' delete user from group script = /usr/sbin/smbldap-groupmod -x '%u' '%g' set primary group script = /usr/sbin/smbldap-usermod -g '%g' '%u' add machine script = /usr/sbin/smbldap-useradd -w -d /dev/null -c 'Machine Account' -s /bin/false '%u' domain logons = Yes os level = 65 preferred master = Yes domain master = Yes wins proxy = Yes wins support = Yes ldap admin dn = cn=*,dc=*,dc=com ldap group suffix = ou=Group ldap idmap suffix = ou=Idmap ldap machine suffix = ou=Hosts ldap passwd sync = Yes ldap suffix = dc=laszlosystems,dc=com ldap ssl = no ldap user suffix = ou=People winbind use default domain = Yes printer admin = @adm, root create mask = 0755 hosts allow = 192.168., 127. [printers] comment = All Printers path = /var/spool/samba create mask = 0700 guest ok = Yes printable = Yes browseable = No [print$] path = /var/lib/samba/printers write list = @adm, root inherit permissions = Yes guest ok = Yes [pdf-gen] comment = PDF Generator (only valid users) path = /var/tmp printable = Yes printing = bsd print command = /usr/share/samba/scripts/print-pdf %s %H //%L/%u %m %I %J lpq command = /bin/true lprm command = lprm -P'%p' %j [ILSA] comment = HP Color LaserJet 5500DN Network Printer path = /var/spool/samba guest ok = Yes printable = Yes [public] comment = Laszlo Public Files path = /home/laszlo/public valid users = @users write list = @users force user = laszlo force group = users create mask = 0775 force create mode = 0550 JT -Original Message- From: Trimble, Ronald D [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 11:26 AM To: James Taylor Subject: RE: [Samba] SAMBA netbois lookup issues Sorry, I didn't realize that the samba server was the DNS server. So all the other servers have properly registered on this samba/DNS server? Do you have host records for all the other systems? It may be a port issue, but that is well out of my range of knowledge since we have a dedicated network team here. I still think it is something simple, I just can't put my finger on it without knowledge of your entire network. -Original Message- From: James Taylor [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 2:23 PM To: Trimble, Ronald D Subject: RE: [Samba] SAMBA netbois lookup issues Samba server is the DNS server. I also opened the wins.dat file to make sure the samba server had it's info registered and it
Re: [Samba] Re: Questions about file system support in Samba
hai all, i am also having 1 X 20 TB GPFS Volume its shared in samba.. and its 24 X 7 Days.. production Server... till this time.. i didnt get much trouble.. other then some file permission problem and all this shares are distributing for production.. through different 5 file servers always more then 300 users are accessing in one server.. i limit the share size only because to increase the speed of access.. while i setup i tried with 5TB even.. thats also working.. but bit slow.. regards, jerrynikki. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Getent Not Working
I hope I'm submitting this to the right place Hello All, I've been pouring over the groups for a couple of days now, and found a few problems and setups similiar to mine, but I'm not having much luck trying to resolve the issue. My setup currently is a RHFC4 Box running Samba 3.0.21a-1 on a Win2k AD Domain. Now I have no problem running wbinfo -t -u or -g I get listings of groups and users. When I run getent passwd though all I get are the local users. I have all the symbolic links and libnss_winbind.so files in /lib. I get no errors in the winbindd log, I did notice the following error in the smbd.log file in /var/logs/samba/ But I'm not sure what the deal is. I updated GCC, Krb5 just in case with yum. I had no problem adding the machine to the domain, I just can't use getent to pull a listing or access the share from any of the domain worstations without having a local account on the RH box. In the past using RHFC4 and a Win2k3 domain I've had no problems. So I'm just baffeled right now. Maybe I've overlooked something. Maybe it's something with the 2K domain. Any help is appriciated. If more info is needed, or I'm way in left field just let me know. I'll post my conf files below. Thanks. /var/log/samba/smbd.log snippet [2006/02/06 16:30:28, 0] lib/util_sock.c:open_socket_in(823) bind failed on port 445 socket_addr = 0.0.0.0. Error = Address already in use *** glibc detected *** smbd: free(): invalid pointer: 0x00f4cdb0 *** === Backtrace: = /lib/libc.so.6[0x58f424] /lib/libc.so.6(__libc_free+0x77)[0x58f95f] /lib/libcom_err.so.2(remove_error_table+0x4b)[0x131abb] /usr/lib/libkrb5.so.3[0xeea8c4] /usr/lib/libkrb5.so.3[0xeea5c7] /usr/lib/libkrb5.so.3[0xf3b9da] /lib/ld-linux.so.2[0x11f058] /lib/libc.so.6(exit+0xc5)[0x556c69] smbd(main+0x697)[0xa1a323] /lib/libc.so.6(__libc_start_main+0xc6)[0x540de6] smbd[0x7d5081] === Memory map: /etc/samba/smb.conf (minimal setup to test) [global] workgroup = DOMAIN realm = DOMAIN.LOCAL server string = Samba Server security = ADS password server = 192.168.0.4 log file = /var/log/samba/%m.log socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No idmap uid = 1-2 idmap gid = 1-2 winbind separator = + winbind use default domain = Yes [samba01] comment = SambaTest path = /samba01 read only = No /etc/krb5.conf [logging] default = FILE:/var/log/krb5libs.log kdc = FILE:/var/log/krb5kdc.log admin_server = FILE:/var/log/kadmind.log [libdefaults] ticket_lifetime = 24000 default_realm = DOMAIN.LOCAL dns_lookup_realm = false dns_lookup_kdc = false [realms] DOMAIN.LOCAL = { kdc = 192.168.0.4:88 admin_server = domain.domain.local:749 default_domain = domain.local } [domain_realm] .domain.local = DOMAIN.LOCAL domain.local = DOMAIN.LOCAL [kdc] profile = /var/kerberos/krb5kdc/kdc.conf [appdefaults] pam = { debug = false ticket_lifetime = 36000 renew_lifetime = 36000 forwardable = true krb4_convert = false } /etc/nsswitch.conf passwd: files winbind shadow: files group:files winbind /etc/pam.d/login #%PAM-1.0 authrequiredpam_securetty.so authsufficient pam_winbind.so authsufficient pam_unix.so use_first_pass authrequiredpam_stack.so service=system-auth authrequiredpam_nologin.so account sufficient pam_winbind.so account requiredpam_stack.so service=system-auth passwordrequiredpam_stack.so service=system-auth # pam_selinux.so close should be the first session rule sessionrequired pam_selinux.so close sessionrequired pam_stack.so service=system-auth sessionoptional pam_console.so # pam_selinux.so open should be the last session rule sessionrequired pam_selinux.so multiple open -- -Jon www.jonparkins.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba Active Directory Trust
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello All, I'm having an issue creating a two-way trust relationship between my Samba Domain and a Windows 2003 Active Directory Domain. Here is a summary of my environment: Samba 3.0.14a OpenLDAP 2.0.23-7 Debian Woody Active Directory 2003 (running in mixed mode) Windows 2003 The trust works fine from AD - Samba: [EMAIL PROTECTED] root]$ net rpc trustdom list Password: Trusted domains list: none Trusting domains list: FOOBAR [EMAIL PROTECTED] root]$ But when I try to establish the trust the other way, I get NT_STATUS_ACCESS_DENIED: [EMAIL PROTECTED] root]$ net -d 3 -I 10.6.24.44 rpc trustdom establish FOOBAR [2006/02/06 16:27:03, 3] param/loadparm.c:lp_load(3915) lp_load: refreshing parameters [2006/02/06 16:27:03, 3] param/loadparm.c:init_globals(1329) Initialising global parameters [2006/02/06 16:27:03, 3] param/params.c:pm_process(573) params.c:pm_process() - Processing configuration file /etc/samba/ smb.conf [2006/02/06 16:27:03, 3] param/loadparm.c:do_section(3417) Processing section [global] [2006/02/06 16:27:03, 2] lib/interface.c:add_interface(81) added interface ip=10.6.15.10 bcast=10.6.15.255 nmask=255.255.255.0 Password: [2006/02/06 16:27:07, 3] libsmb/cliconnect.c:cli_start_connection(1406) Connecting to host=DC01 [2006/02/06 16:27:07, 3] lib/util_sock.c:open_socket_out(752) Connecting to 10.6.24.44 at port 445 [2006/02/06 16:27:07, 3] libsmb/cliconnect.c:cli_session_setup_spnego (708) Doing spnego session setup (blob length=104) [2006/02/06 16:27:07, 3] libsmb/cliconnect.c:cli_session_setup_spnego (733) got OID=1 2 840 48018 1 2 2 [2006/02/06 16:27:07, 3] libsmb/cliconnect.c:cli_session_setup_spnego (733) got OID=1 2 840 113554 1 2 2 [2006/02/06 16:27:07, 3] libsmb/cliconnect.c:cli_session_setup_spnego (733) got OID=1 2 840 113554 1 2 2 3 [2006/02/06 16:27:07, 3] libsmb/cliconnect.c:cli_session_setup_spnego (733) got OID=1 3 6 1 4 1 311 2 2 10 [2006/02/06 16:27:07, 3] libsmb/cliconnect.c:cli_session_setup_spnego (740) got [EMAIL PROTECTED] [2006/02/06 16:27:07, 3] libsmb/ntlmssp.c:ntlmssp_client_challenge(869) Got challenge flags: [2006/02/06 16:27:07, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62) Got NTLMSSP neg_flags=0x62890215 [2006/02/06 16:27:07, 3] libsmb/ntlmssp.c:ntlmssp_client_challenge(891) NTLMSSP: Set final flags: [2006/02/06 16:27:07, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62) Got NTLMSSP neg_flags=0x60080215 [2006/02/06 16:27:07, 3] libsmb/ntlmssp_sign.c:ntlmssp_sign_init(319) NTLMSSP Sign/Seal - Initialising with flags: [2006/02/06 16:27:07, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62) Got NTLMSSP neg_flags=0x60080215 [2006/02/06 16:27:07, 3] libsmb/cliconnect.c:cli_session_setup(861) SPNEGO login failed: No logon interdomain trust account [2006/02/06 16:27:07, 1] libsmb/cliconnect.c:cli_full_connection(1494) failed session setup with NT_STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT Could not connect to server DC01 [2006/02/06 16:27:07, 3] libsmb/cliconnect.c:cli_start_connection(1406) Connecting to host=DC01 [2006/02/06 16:27:07, 3] lib/util_sock.c:open_socket_out(752) Connecting to 10.6.24.44 at port 445 [2006/02/06 16:27:07, 0] utils/net_rpc.c:rpc_trustdom_establish(4663) NetServerEnum2 error: Couldn't find primary domain controller for domain FOOBAR [2006/02/06 16:27:07, 0] rpc_client/cli_pipe.c:cli_nt_session_open(1451) cli_nt_session_open: cli_nt_create failed on pipe \wkssvc to machine DC01. Error was NT_STATUS_ACCESS_DENIED [2006/02/06 16:27:07, 0] utils/net_rpc.c:rpc_trustdom_establish(4672) Couldn't not initialise wkssvc pipe [2006/02/06 16:27:07, 2] utils/net.c:main(897) return code = -1 [EMAIL PROTECTED] root]$ The trust account is set up on the AD side and I am using the same password on both ends. Is there some issue that I don't know about? Thanks in advance, Phillip Cockrell -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) iD8DBQFD587PfnIftn7ju/IRAlTVAJ9OochufB3i2F0LvBEIs3vPa12NewCgip9I V6hrm/u/9D76VaC253c03Ho= =B3Wv -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] SAMBA Winbind and AIX and chown not showing ad user id
I changed the separator to + from / and now when I use users=DOMAIN+mylogin, I get access to a share finally. However, when I run chown DOMAIN+mylogin testdir, testdir is not set to DOMAIN+mylogin, it is set to tempfn (temporary id is what the gecos/description says). In aix land, what do I need to do to get it to use WINBIND to set the diretory ownership now? My /usr/lib/security/methods.cfg has authonly for WINBIND. I take it that is not enough? I saw something where they wanted me to change SYSTEM=compat to SYSTEM = WINBIND OR WINBIND[UNAVAIL] AND compat, but when I do that, nobody can log in to the system anymore. My smb.conf now looks like the following: [global] workgroup = DOMAIN realm = DOMAIN.COM server string = User management Server security = ADS password server = ad.domain.com log level = 10 log file = /usr/local/samba/var/log.%m max log size = 50 name resolve order = hosts wins lmhosts bcast socket options = TCP_NODELAY SO_RCVBUF=16384 SO_SNDBUF=16384 preferred master = No local master = No dns proxy = No wins server = svcmc02, svcmc03 idmap uid = 10-20 idmap gid = 10-20 winbind separator = + winbind use default domain = Yes winbind nested groups = Yes aio read size = 1 aio write size = 1 [home] path = /home/%D/%u valid users = %S read only = No browseable = No [samba] path = /usr/local/samba username = DOMAIN+mylogin valid users = DOMAIN+mylogin My /usr/lib/security/methods.cfg: NIS: program = /usr/lib/security/NIS program_64 = /usr/lib/security/NIS_64 DCE: program = /usr/lib/security/DCE * PAM: * program = /usr/lib/security/PAM WINBIND: program = /usr/lib/security/WINBIND options = authonly *options = auth=PAM,db=BUILTIN (haven't had luck with pam either. It will not let me log in if I use it too) pam.conf: sshdauthrequired/usr/lib/security/pam_aix OTHER authrequired/usr/lib/security/pam_aix # Account management sshdaccount required/usr/lib/security/pam_aix OTHER account required/usr/lib/security/pam_aix # Password management sshdpasswordrequired/usr/lib/security/pam_aix OTHER passwordrequired/usr/lib/security/pam_aix # Session management sshdsession required/usr/lib/security/pam_aix OTHER session required/usr/lib/security/pam_aix OTHER auth required /usr/lib/security/pam_winbind.so debug use_first_pass unknown_ok DOMAIN OTHER account required /usr/lib/security/pam_winbind.so debug use_first_pass unknown_ok DOMAIN OTHER session required /usr/lib/security/pam_winbind.so debug use_first_pass unknown_ok DOMAIN OTHER password required /usr/lib/security/pam_winbind.so debug use_first_pass unknown_ok DOMAIN David David Shapiro Unix Team Lead 919-765-2011 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] passwords expiring
Tony Austin wrote: I believe that I have fixed this problem by editing the smbldap_conf.pm file and changing the line:- $_defaultMaxPasswordAge = 9; When I change a user's password the Password Must Change Date is now in the year 2279, which should see me out. Thanks for pointing this out. I never noticed this setting and my passwords are expiring for about the 4th time. I'll change this setting before I reset them all again. I assume that I just have to change this in the smbldap.conf file and then set all the passwords and that will do it? Thanks again. -- Scott Mayo Technology Coordinator Bloomfield Schools PH: 573-568-5669 FA: 573-568-4565 Pager: 800-264-2535 X2549 Duct tape is like the force, it has a light side and a dark side and it holds the universe together. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Getent Not Working
Jon Parkins wrote: I hope I'm submitting this to the right place Hello All, I've been pouring over the groups for a couple of days now, and found a few problems and setups similiar to mine, but I'm not having much luck trying to resolve the issue. My setup currently is a RHFC4 Box running Samba 3.0.21a-1 on a Win2k AD Domain. Now I have no problem running wbinfo -t -u or -g I get listings of groups and users. When I run getent passwd though all I get are the local users. I have all the symbolic links and libnss_winbind.so files in /lib. I get no errors in the winbindd log, I did notice the following error in the smbd.log file in /var/logs/samba/ But I'm not sure what the deal is. I updated GCC, Krb5 just in case with yum. I had no problem adding the machine to the domain, I just can't use getent to pull a listing or access the share from any of the domain worstations without having a local account on the RH box. In the past using RHFC4 and a Win2k3 domain I've had no problems. So I'm just baffeled right now. Maybe I've overlooked something. Maybe it's something with the 2K domain. Any help is appriciated. If more info is needed, or I'm way in left field just let me know. I'll post my conf files below. Thanks. /var/log/samba/smbd.log snippet [2006/02/06 16:30:28, 0] lib/util_sock.c:open_socket_in(823) bind failed on port 445 socket_addr = 0.0.0.0. Error = Address already in use *** glibc detected *** smbd: free(): invalid pointer: 0x00f4cdb0 *** === Backtrace: = /lib/libc.so.6[0x58f424] /lib/libc.so.6(__libc_free+0x77)[0x58f95f] /lib/libcom_err.so.2(remove_error_table+0x4b)[0x131abb] /usr/lib/libkrb5.so.3[0xeea8c4] /usr/lib/libkrb5.so.3[0xeea5c7] /usr/lib/libkrb5.so.3[0xf3b9da] /lib/ld-linux.so.2[0x11f058] /lib/libc.so.6(exit+0xc5)[0x556c69] smbd(main+0x697)[0xa1a323] /lib/libc.so.6(__libc_start_main+0xc6)[0x540de6] smbd[0x7d5081] === Memory map: /etc/samba/smb.conf (minimal setup to test) [global] workgroup = DOMAIN realm = DOMAIN.LOCAL server string = Samba Server security = ADS password server = 192.168.0.4 log file = /var/log/samba/%m.log socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No idmap uid = 1-2 idmap gid = 1-2 winbind separator = + winbind use default domain = Yes Have you tried to increase the debug level? smbcontrol smbd debug 5 That might be too high or too low. --Dennis -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba seems to cause complete server crash
Jeremy, Your were completely right. Rebuilt the Kernel, end of story, end of aggravation. Well happy. Thanks, Mike F From: Jeremy Allison [EMAIL PROTECTED] If the kernel locks up then it's a kernel bug. That's the definition. It doesn't matter what smbd is doing (unless we're writing into /dev/kmem, which I assure you we're not :-). Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] operation not permitted
Some times, i know this is unusual, i get this error on my /var/log/samba/%m recycle: touching .recycle/sgallard/Laura Ambrosio/Pablodv.xls failed, reason = Operation not permitted Why? The file IS deleted. But it dosen't move to the recycle. The user can delete files, and i just happend. I can't yet find a pattern to understand why. The permissions are always the same. The type of file are always different. This is my config for the recycle: cat /etc/samba/recycle_group.conf vfs object = recycle recycle:repository = .recycle/%U recycle:keeptree = yes recycle:touch = yes recycle:versions = yes recycle:exclude = *.tmp *.temp *.obj ~$* *.$$$ *.o *.TMP *.TEMP *.exe *.EXE *.com *.COM This way, i have a hidden .recycle directory on every share and when a user delete something, it goes to $SHARE/.recycle/username/path_in_the_share. The wild thing is that the file always is deleted, sometime goes to the .recycle, sometimes not. The users don't have any perms to enter .recycle directory. This maybe a reason? The .recycle directory is defined in: dont descend = .recycle so they can't enter. Any ideas? Tnxs in advance. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Bugzilla down temporarity for server maintenence
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Folks, We are doing database maintenence on bugzilla. Ther server will be off line for about a half hour. cheers, jerry = I live in a Reply-to-All world. --- Samba--- http://www.samba.org Centeris --- http://www.centeris.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQFD6AdZIR7qMdg1EfYRAmFwAJ4v47Xrm0UGPG/OHS+fNU/9SVDGsACggMIX xhbibUawd4d0UDJlgRNVHsM= =jGOo -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] SAMBA and X509 certs ?
Hello everybody, I'll try to find out some info about Samba and a way to put x509 authenticate method but i don't find anything clear about it. I found in the how-to v3 some stuff about authenticate PAM module to use with samba but I don't know if I look in the right direction. I have a samba server running for a lots of time based on smbpass DB. We plan to use our PKI certs to authenticate my colleges on the file server but I don't really know how to do such a thing. I think I need to configure Samba server to deal with a radius server like freeradius where I can configure X509 authenticate conf. to allow users with non revoked certificates. I don't really know how the Windows clients will deal with the samba server, how the process can work and if Windows will ask for certificates instead of login and pass... Do you think it's the way to do ? There is not a more simply way to make this stuff out ? thank you for your advices, I'm aware of them :) ;) (sorry for my questions, I'm not born English and do not know how to make my request with all the courtesy I can express in my childhood language.. :) please consider ;-o PS: I didn't found, also, a way to make a search in mailing list archive... :-( -- Romain BOTTAN mailto: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Adding Users to Samba Kill Access
I've been running two samba servers on a network having a bunch of XP Home boxes. I recently added an XP Pro box, and wanted to set samba to grant and deny access, etc., based on users. I've figured out (using webmin) how to add Unix users to the samba box and how to convert those users to samba users. The weird thing is, when I add users to samba, none of my XP Home boxes can access the samba shares. I get an access denied . . .you may not have permission (or something like that) message. As soon as I delete all my users from samba, leaving only nobody, everything is peachy. I'd love some help, if anyone has any idea where I might begin debugging this. TIA - Jeff -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] hardware and configuration for school's servers
Hi I am managing samba server in school. Server is on VIA 800MHz processor with 80GB IDE hard drive. there is no domain at the moment, just simple sharing, security share and smbpasswd file. I have 300 computers (each classroom has 20) with winxp sp2 auto logon limited local account, 300 users (6 intake groups). Passworded home directorys on Samba and Pupils have access to it by clicking on icon which fire up small VBS script which ask them for username and password and map My Documents for them. Each classroom has a printer and on each machine in classroom it is installed as local printing to port. I am managing users accounts using my small sh and perl scripts. Deploying or installing software on computers using perl (Win32::OLE) scrips which copy my own version of installer (made using Nullsoft NSIS) and fire it up using local administrator account. I was asked to build the system based on samba which give each pupil at least 10 GB home space and will be save, easy (and secure?) and of course if it goes down pupils will be able to have normal lessons. I have to ask, Is it a good idea to buy 6 cheap VIA servers, each for a year group, configure sambas as a simple home sharing on each of them? Or couple of Dual Opterons, 2GB mem, 3Ware, RID-5, Gbit network, Domain with LDAP password backend? Or maybe 6 of them and 7 as database only? What hardware and samba configuration would be the best for my school? BTW: Is it possible to use tbdedit in sh loop script which pick up usernames and passwords from CSV/txt file? -- Regards, pawcio -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Join Domain Problem?
No, I haven't gotten a response, yet. Eric Hines At 02/06/06 18:13, James Taylor wrote: Did you get a resolution to this issue? I am wondering because I am having similar issues with my Samba setup. JT -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Hines Sent: Sunday, February 05, 2006 10:06 AM To: samba@lists.samba.org Subject: [Samba] Join Domain Problem? List, I'm having trouble accessing shares, and I'm getting conflicting indications on whether I've successfully joined the domain with my PC and Samba server (which may bear on the share problem). I really could use some help; I've not been able to recognize anything in the docs or via Google that helps. I'm running SUSE 9.3 and Samba 3.0.21a, and I'm trying to access shares from a Win2k PC. I ran net join PDC -D server -W domain -U root and got back the answer ads_connect: Transport end is not connected. Joined domain domain net rpc testjoin returns Join to domain is OK. However, wbinfo -u and wbinfo -g both return Error looking up domain users/groups, and winbindd can only find BUILTIN for a trusted domain, according to its log, and my log. wb_domain indicates that no trusted domain ever is found. But wbinfo -t succeeds, wbinfo -D=domain returns the domain data, including its SID, and wbinfo --sequence returns BUILTIN and domain, albeit with the same numbers. Testparm says the Samba is the domain PDC. My PC successfully boots into the domain with me (or root, as the case may be) as the logged in user. So, how can I tell whether I've correctly joined the domain? The second part of this is that with each of two shares (share1 and share2), set up as below (I've only used bandwidth on one share; their set up is identical), I get BAD_NETWORK_NAME from an smbclient //server/share1 -U user call. With valid user set to @group in share1 only, this changes to a bad login error (ACCESS_DENIED) for that share. However, when logged in on the PC as root, I get into share2 (which does not have @group set) just fine, but I get the login error when root tries to get into share1. This argues that I have an access problem with the two shares, and my domain problem impacts this only obliquely. The logs all indicate that the shares are being formed correctly, but the messages log says that my PC couldn't find service: {[long string of digits and characters, hyphenated into 5 groups]}, and that the PC also couldn't find the to the directory containing share2 (without the @groups). It also appears that the last character of each share gets truncated when its being sought out (found this in the PC log on the Samba server). However, that last character always is found eventually for share1 and never is for share2. Setting createmask, et al., has had no effect, probably because I'm not getting into the shares for these to have an effect. So, what have I got going on here? How can I further troubleshoot this share problem, also? share1 path=/data/share1 valid [EMAIL PROTECTED] #Note: Share2 has only valid users = ''; it is otherwise identical to this read only=no Thanks for your help; I've been pulling my hair out over these for several weeks. I'm going bald Eric Hines There is no nonsense so errant that it cannot be made the creed of the vast majority by adequate governmental action. --Bertrand Russell -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Bugzilla down temporarity for server maintenence
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gerald (Jerry) Carter wrote: Folks, We are doing database maintenence on bugzilla. Ther server will be off line for about a half hour. https://bugzilla.samba.org is back on-line. If you notice any problems with the server, please send mail to webmaster at samba dot org cheers, jerry = I live in a Reply-to-All world. --- Samba--- http://www.samba.org Centeris --- http://www.centeris.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD6A4qIR7qMdg1EfYRAsZxAKDniqFp0YLSAd4gKhWh4aix3ws5aQCgpCAs AKulQoXGvnbBZIzAFQi+UME= =xrhR -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] DFS redirection to sub-folders beyond share
On Wed, Feb 01, 2006 at 08:22:37PM -0500, William Law wrote: I already posted this to smb-clients, but I believe that is a very low volume list. We have a very complicated dfs root. Now I'm not positive that this is how we should have done things, but it works very well with Windows clients, so it hasn't been thought about here. This does not work with smbclient or smbmount. I'm using freshly built smbclient from Samba 3.0.21a. Anyway, here is the issue. We have a very large namespace via one root that is currently active directory based. We have many dfs links that work like this. Let's say our domain is called DOMAIN, and the root is called dfs. \\DOMAIN\dfs file:///\\DOMAIN\dfs is then mapped to an empty folder. From there, we have many dfs links, such as: Users\testuser which is mapped in DFS to \\fileserver1\share\Users\testuser file:///\\fileserver1\share\Users\testuser , which works easily in windows to seamless take the user who access \\domain\dfs\users\testuser file:///\\domain\dfs\users\testuser to the folder \\fileserver1\share\users\testuser file:///\\fileserver1\share\users\testuser . This does NOT work under smbclient. I think that we just need to be able to map users to something beyond the actual share. It looks like it could be fixed by modifying the code to handle the slashes correctly (see the error below). Here is the log from smbclient with the -d 3 debugging option: What would help to get this fixed is a simple example of this expressed as a set of Samba server-side DFS symlinks, so I can try and reproduce this. Can you provide that for me please ? Thanks, Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Adding Users to Samba Kill Access
The weird thing is, when I add users to samba, none of my XP Home boxes can access the samba shares. I get an access denied . . .you may not have permission (or something like that) message. As soon as I delete all my users from samba, leaving only nobody, everything is peachy. I'd love some help, if anyone has any idea where I might begin debugging this. At a rough guess I suspect that when the user exists, the XP box connects as that user and then discovers that it has no access to the underlying filesystem. Once the users are deleted, Samba treats the user as nobody which does have access to the underlying files. Cheers, Adam. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Getent Not Working
*** glibc detected *** smbd: free(): invalid pointer: 0x00f4cdb0 *** I've seen this error before when I compiled a program on one PC, then copied it across to another PC without recompiling it to save time. The problem was that each PC had a different version of a certain library on it, so the original copy worked fine but the second one was linked to an old library but calling it like a newer version. You might want to recompile Samba (and perhaps kerberos) if you didn't originally compile them from source on the same machine they're running on now. Cheers, Adam. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba rpm and /var/*/samba directory for .tdb files
Hi Josh and Dimitri, thanks for your comments. I tested samba 3.0.21b and can confirm that in CentOS 4.2 the directory selected is /var/cache/samba I build the rpm like this in CentOS 4.2: tar xzf samba-3.0.21b.tar.gz cd samba-3.0.21b/packaging/RHEL/ sh makerpms.sh I will keep using /var/cache/samba/ since I plan to manually build and update my samba installation from samba.org HTH Oliver Josh Kelley wrote: On 2/6/06, Oliver Schulze L. [EMAIL PROTECTED] wrote: I use CentOS4 (RHEL4) and it seems that I was using /var/lib/samba for storing the .tdb files. Then I compilled the fedora .src.rpm from samba.org and it points now to /var/cache/samba I noticed this too (and it tripped me up until I noticed it). Anyone can confirm this list of distro/.tdb directory: Fedora: /var/cache/samba CentOS4: /var/lib/samba RH9: /var/lib/samba Unless I'm missing something, samba-3.0.10-1.4E.2.i386.rpm, as included with CentOS 4.2, uses /var/cache/samba. Older Fedora .src.rpms from the Samba site used /var/lib/samba, so if you're upgrading from there, that explains the change. Josh Kelley -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] change password on next logon
Interested.. where can I find complete reference / guidance about how to configure samba with ldap.. please advise Thanks Regards Winanjaya - Original Message - From: Fred Blaise [EMAIL PROTECTED] To: Winanjaya - PBXSoftwares.com [EMAIL PROTECTED] Sent: Friday, February 03, 2006 6:14 PM Subject: Re: [Samba] change password on next logon if you're using Samba with LDAP, you can do with smbldap-usermod -B 1 username. On 2/3/06, Winanjaya - PBXSoftwares.com [EMAIL PROTECTED] wrote: Dear All, I am running samba as PDC on RH3, Is there Change password on next logon feature in samba? .. please help Thanks Regards Winanjaya *** Our outgoing mail has been scanned by MSS. *** -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba *** Your mail has been scanned by MSS. *** *** Our outgoing mail has been scanned by MSS. *** -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] SAMBA and X509 certs ?
Hello everybody, I'll try to find out some info about Samba and a way to put x509 authenticate method but i don't find anything clear about it. I found in the how-to v3 some stuff about authenticate PAM module to use with samba but I don't know if I look in the right direction. I have a samba server running for a lots of time based on smbpass DB. We plan to use our PKI certs to authenticate my colleges on the file server but I don't really know how to do such a thing. I think I need to configure Samba server to deal with a radius server like freeradius where I can configure X509 authenticate conf. to allow users with non revoked certificates. I don't really know how the Windows clients will deal with the samba server, how the process can work and if Windows will ask for certificates instead of login and pass... Do you think it's the way to do ? There is not a more simply way to make this stuff out ? thank you for your advices, I'm aware of them :) ;) (sorry for my questions, I'm not born English and do not know how to make my request with all the courtesy I can express in my childhood language.. :) please consider ;-o PS: I didn't found, also, a way to make a search in mailing list archive... :-( -- Romain BOTTAN mailto: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
svn commit: samba r13366 - branches/SAMBA_3_0/examples/VFS trunk/examples/VFS
Author: vlendec Date: 2006-02-06 13:39:34 + (Mon, 06 Feb 2006) New Revision: 13366 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=13366 Log: Add popt to the include path for examples/VFS. The modules themselves don't use that, but includes.h fails in environments where there's no system popt around. As the modules don't need that anyway, porting the check whether to use the system one or our own seems a bit overkill. Thanks to Michael Adam [EMAIL PROTECTED]. Volker Modified: branches/SAMBA_3_0/examples/VFS/Makefile.in trunk/examples/VFS/Makefile.in Changeset: Modified: branches/SAMBA_3_0/examples/VFS/Makefile.in === --- branches/SAMBA_3_0/examples/VFS/Makefile.in 2006-02-06 06:23:58 UTC (rev 13365) +++ branches/SAMBA_3_0/examples/VFS/Makefile.in 2006-02-06 13:39:34 UTC (rev 13366) @@ -7,7 +7,7 @@ SAMBA_SOURCE = @SAMBA_SOURCE@ SHLIBEXT = @SHLIBEXT@ OBJEXT = @OBJEXT@ -FLAGS = $(CFLAGS) -Iinclude -I$(SAMBA_SOURCE)/include -I$(SAMBA_SOURCE)/ubiqx -I$(SAMBA_SOURCE)/smbwrapper -I. $(CPPFLAGS) -I$(SAMBA_SOURCE) -fPIC +FLAGS = $(CFLAGS) -Iinclude -I$(SAMBA_SOURCE)/include -I$(SAMBA_SOURCE)/popt -I$(SAMBA_SOURCE)/ubiqx -I$(SAMBA_SOURCE)/smbwrapper -I. $(CPPFLAGS) -I$(SAMBA_SOURCE) -fPIC prefix = @prefix@ Modified: trunk/examples/VFS/Makefile.in === --- trunk/examples/VFS/Makefile.in 2006-02-06 06:23:58 UTC (rev 13365) +++ trunk/examples/VFS/Makefile.in 2006-02-06 13:39:34 UTC (rev 13366) @@ -7,7 +7,7 @@ SAMBA_SOURCE = @SAMBA_SOURCE@ SHLIBEXT = @SHLIBEXT@ OBJEXT = @OBJEXT@ -FLAGS = $(CFLAGS) -Iinclude -I$(SAMBA_SOURCE)/include -I$(SAMBA_SOURCE)/ubiqx -I$(SAMBA_SOURCE)/smbwrapper -I. $(CPPFLAGS) -I$(SAMBA_SOURCE) -fPIC +FLAGS = $(CFLAGS) -Iinclude -I$(SAMBA_SOURCE)/include -I$(SAMBA_SOURCE)/popt -I$(SAMBA_SOURCE)/ubiqx -I$(SAMBA_SOURCE)/smbwrapper -I. $(CPPFLAGS) -I$(SAMBA_SOURCE) -fPIC prefix = @prefix@
svn commit: samba-web r910 - in trunk/news/team: .
Author: deryck Date: 2006-02-06 15:42:59 + (Mon, 06 Feb 2006) New Revision: 910 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-webrev=910 Log: Adding news item linking to report on Tridge finishing his OSDL fellowship. deryck Added: trunk/news/team/tridge_completes_osdl.html Changeset: Added: trunk/news/team/tridge_completes_osdl.html === --- trunk/news/team/tridge_completes_osdl.html 2006-02-03 14:58:45 UTC (rev 909) +++ trunk/news/team/tridge_completes_osdl.html 2006-02-06 15:42:59 UTC (rev 910) @@ -0,0 +1,19 @@ +h3a name=tridge_completes_osdlTridge Completes OSDL Fellowship/a/h3 + +div class=article + pLinuxElectrons is reporting on + a href=http://www.linuxelectrons.com/article.php/20060202214925894;Tridge + having completed his OSDL fellowship/a./p + + blockquote +An enormous amount of progress towards the completion of Samba 4 was +made while I was an OSDL fellow, which culminated in the release of +the first technology preview release of Samba4 last week, said +[Samba creator Andrew] Tridgell. Having time to concentrate just on +the one project really helped. + /blockquote + + pBest wishes to Tridge as he returns to work at IBM./p +/div + +
svn commit: samba r13367 - in trunk/source/utils: .
Author: jra Date: 2006-02-06 18:03:55 + (Mon, 06 Feb 2006) New Revision: 13367 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=13367 Log: I must write out 1000 times, Don't use C++ reserved words... Jeremy. Modified: trunk/source/utils/net_usershare.c Changeset: Modified: trunk/source/utils/net_usershare.c === --- trunk/source/utils/net_usershare.c 2006-02-06 13:39:34 UTC (rev 13366) +++ trunk/source/utils/net_usershare.c 2006-02-06 18:03:55 UTC (rev 13367) @@ -268,13 +268,13 @@ Call a function for every share on the list. ***/ -static int process_share_list(int (*fn)(struct file_list *, void *), void *private) +static int process_share_list(int (*fn)(struct file_list *, void *), void *priv) { struct file_list *fl; int ret = 0; for (fl = flist; fl; fl = fl-next) { - ret = (*fn)(fl, private); + ret = (*fn)(fl, priv); } return ret; @@ -284,11 +284,11 @@ Info function. ***/ -static int info_fn(struct file_list *fl, void *private) +static int info_fn(struct file_list *fl, void *priv) { SMB_STRUCT_STAT sbuf; char **lines = NULL; - struct priv_info *pi = (struct priv_info *)private; + struct priv_info *pi = (struct priv_info *)priv; TALLOC_CTX *ctx = pi-ctx; int fd = -1; int numlines = 0; @@ -720,7 +720,7 @@ List function. ***/ -static int list_fn(struct file_list *fl, void *private) +static int list_fn(struct file_list *fl, void *priv) { d_printf(%s\n, fl-pathname); return 0;
svn commit: samba r13368 - in branches/SAMBA_3_0/source/utils: .
Author: jra Date: 2006-02-06 18:03:57 + (Mon, 06 Feb 2006) New Revision: 13368 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=13368 Log: I must write out 1000 times, Don't use C++ reserved words... Jeremy. Modified: branches/SAMBA_3_0/source/utils/net_usershare.c Changeset: Modified: branches/SAMBA_3_0/source/utils/net_usershare.c === --- branches/SAMBA_3_0/source/utils/net_usershare.c 2006-02-06 18:03:55 UTC (rev 13367) +++ branches/SAMBA_3_0/source/utils/net_usershare.c 2006-02-06 18:03:57 UTC (rev 13368) @@ -268,13 +268,13 @@ Call a function for every share on the list. ***/ -static int process_share_list(int (*fn)(struct file_list *, void *), void *private) +static int process_share_list(int (*fn)(struct file_list *, void *), void *priv) { struct file_list *fl; int ret = 0; for (fl = flist; fl; fl = fl-next) { - ret = (*fn)(fl, private); + ret = (*fn)(fl, priv); } return ret; @@ -284,11 +284,11 @@ Info function. ***/ -static int info_fn(struct file_list *fl, void *private) +static int info_fn(struct file_list *fl, void *priv) { SMB_STRUCT_STAT sbuf; char **lines = NULL; - struct priv_info *pi = (struct priv_info *)private; + struct priv_info *pi = (struct priv_info *)priv; TALLOC_CTX *ctx = pi-ctx; int fd = -1; int numlines = 0; @@ -720,7 +720,7 @@ List function. ***/ -static int list_fn(struct file_list *fl, void *private) +static int list_fn(struct file_list *fl, void *priv) { d_printf(%s\n, fl-pathname); return 0;
svn commit: samba r13369 - in branches/SAMBA_4_0/source: scripting/ejs scripting/libjs setup
Author: idra Date: 2006-02-06 18:29:57 + (Mon, 06 Feb 2006) New Revision: 13369 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=13369 Log: let's have a way to show the samba4 version through ejs and use it in provisioning to fullfill rfc 3045 requirements Modified: branches/SAMBA_4_0/source/scripting/ejs/smbcalls.c branches/SAMBA_4_0/source/scripting/libjs/provision.js branches/SAMBA_4_0/source/setup/provision_init.ldif Changeset: Modified: branches/SAMBA_4_0/source/scripting/ejs/smbcalls.c === --- branches/SAMBA_4_0/source/scripting/ejs/smbcalls.c 2006-02-06 18:03:57 UTC (rev 13368) +++ branches/SAMBA_4_0/source/scripting/ejs/smbcalls.c 2006-02-06 18:29:57 UTC (rev 13369) @@ -25,6 +25,7 @@ #include lib/appweb/ejs/ejs.h #include scripting/ejs/smbcalls.h #include smb_build.h +#include version.h /* return the type of a variable @@ -111,7 +112,16 @@ return 0; } +/* + return the current version +*/ +static int ejs_version(MprVarHandle eid, int argc, struct MprVar **argv) +{ + mpr_ReturnString(eid, SAMBA_VERSION_STRING); + return 0; +} + /* setup C functions that be called from ejs */ @@ -146,5 +156,6 @@ ejsDefineCFunction(-1, typeof, ejs_typeof, NULL, MPR_VAR_SCRIPT_HANDLE); ejsDefineStringCFunction(-1, libinclude, ejs_libinclude, NULL, MPR_VAR_SCRIPT_HANDLE); + ejsDefineCFunction(-1, version, ejs_version, NULL, MPR_VAR_SCRIPT_HANDLE); } Modified: branches/SAMBA_4_0/source/scripting/libjs/provision.js === --- branches/SAMBA_4_0/source/scripting/libjs/provision.js 2006-02-06 18:03:57 UTC (rev 13368) +++ branches/SAMBA_4_0/source/scripting/libjs/provision.js 2006-02-06 18:29:57 UTC (rev 13369) @@ -150,7 +150,6 @@ return s[0]; } - /* the ldb is in bad shape, possibly due to being built from an incompatible previous version of the code, so delete it completely */ @@ -452,6 +451,7 @@ assert(subobj.DOMAIN); assert(subobj.HOSTNAME); + subobj.VERSION = version(); subobj.HOSTIP = hostip(); subobj.DOMAINGUID = randguid(); subobj.DOMAINSID= randsid(); Modified: branches/SAMBA_4_0/source/setup/provision_init.ldif === --- branches/SAMBA_4_0/source/setup/provision_init.ldif 2006-02-06 18:03:57 UTC (rev 13368) +++ branches/SAMBA_4_0/source/setup/provision_init.ldif 2006-02-06 18:29:57 UTC (rev 13369) @@ -74,6 +74,8 @@ forestFunctionality: 0 domainControllerFunctionality: 2 isSynchronized: TRUE +vendorName: Samba Team (http://samba.org) +vendorVersion: ${VERSION} #Add modules to the list to activate them by default #beware often order is important
svn commit: samba r13370 - in branches/SAMBA_4_0/source/torture/basic: .
Author: jra Date: 2006-02-06 19:43:24 + (Mon, 06 Feb 2006) New Revision: 13370 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=13370 Log: Added deltest21 - pull the rug out from a connection by socket close after setting delete on close flag. Jeremy. Modified: branches/SAMBA_4_0/source/torture/basic/delete.c Changeset: Modified: branches/SAMBA_4_0/source/torture/basic/delete.c === --- branches/SAMBA_4_0/source/torture/basic/delete.c2006-02-06 18:29:57 UTC (rev 13369) +++ branches/SAMBA_4_0/source/torture/basic/delete.c2006-02-06 19:43:24 UTC (rev 13370) @@ -1208,7 +1208,8 @@ /* Now try opening again for read-only. */ fnum2 = smbcli_nt_create_full(cli1-tree, fname, 0, - SEC_RIGHTS_FILE_READ, + SEC_RIGHTS_FILE_READ| + SEC_STD_DELETE, FILE_ATTRIBUTE_NORMAL, NTCREATEX_SHARE_ACCESS_READ| NTCREATEX_SHARE_ACCESS_WRITE| @@ -1532,6 +1533,68 @@ return correct; } +/* Test 21 ... */ +static BOOL deltest21(struct smbcli_state **ppcli1, struct smbcli_state **ppcli2) +{ + int fnum1 = -1; + struct smbcli_state *cli1 = *ppcli1; + struct smbcli_state *cli2 = *ppcli2; + BOOL correct = True; + + del_clean_area(cli1, cli2); + + /* Test 21 -- Test removal of file after socket close. */ + + fnum1 = smbcli_nt_create_full(cli1-tree, fname, 0, + SEC_RIGHTS_FILE_ALL, + FILE_ATTRIBUTE_NORMAL, NTCREATEX_SHARE_ACCESS_NONE, + NTCREATEX_DISP_OVERWRITE_IF, 0, 0); + + if (fnum1 == -1) { + printf((%s) open of %s failed (%s)\n, + __location__, fname, smbcli_errstr(cli1-tree)); + return False; + } + + if (NT_STATUS_IS_ERR(smbcli_nt_delete_on_close(cli1-tree, fnum1, True))) { + printf((%s) setting delete_on_close failed (%s)\n, + __location__, smbcli_errstr(cli1-tree)); + return False; + } + + /* Ensure delete on close is set. */ + check_delete_on_close(cli1, fnum1, fname, True); + + /* Now yank the rug from under cli1. */ + smbcli_transport_dead(cli1-transport); + + fnum1 = -1; + + if (!torture_open_connection(ppcli1)) { + return False; + } + + cli1 = *ppcli1; + + /* File should not be there. */ + fnum1 = smbcli_nt_create_full(cli1-tree, fname, 0, + SEC_RIGHTS_FILE_READ, + FILE_ATTRIBUTE_NORMAL, + NTCREATEX_SHARE_ACCESS_READ| + NTCREATEX_SHARE_ACCESS_WRITE| + NTCREATEX_SHARE_ACCESS_DELETE, + NTCREATEX_DISP_OPEN, + 0, 0); + + CHECK_STATUS(cli1, NT_STATUS_OBJECT_NAME_NOT_FOUND); + + printf(twenty-first delete on close test succeeded.\n); + + fail: + + return correct; +} + /* Test delete on close semantics. */ @@ -1554,87 +1617,33 @@ goto fail; } - if (!deltest1(cli1, cli2)) { - correct = False; - goto fail; + correct = deltest1(cli1, cli2); + correct = deltest2(cli1, cli2); + correct = deltest3(cli1, cli2); + correct = deltest4(cli1, cli2); + correct = deltest5(cli1, cli2); + correct = deltest6(cli1, cli2); + correct = deltest7(cli1, cli2); + correct = deltest8(cli1, cli2); + correct = deltest9(cli1, cli2); + correct = deltest10(cli1, cli2); + correct = deltest11(cli1, cli2); + correct = deltest12(cli1, cli2); + correct = deltest13(cli1, cli2); + correct = deltest14(cli1, cli2); + correct = deltest15(cli1, cli2); + correct = deltest16(cli1, cli2); + correct = deltest17(cli1, cli2); + correct = deltest18(cli1, cli2); + correct = deltest19(cli1, cli2); + correct = deltest20(cli1, cli2); + correct = deltest21(cli1, cli2); + + if (!correct) { + printf(Failed delete test\n); + } else { + printf(delete test ok !\n); } - if (!deltest2(cli1, cli2)) { - correct = False; - goto fail; - } - if (!deltest3(cli1, cli2)) { - correct = False; - goto fail; - } - if (!deltest4(cli1, cli2)) { - correct = False; - goto fail; - } - if (!deltest5(cli1, cli2)) { - correct = False; -
svn commit: samba r13371 - branches/SAMBA_3_0/source/nsswitch trunk/source/nsswitch
Author: vlendec Date: 2006-02-06 22:19:30 + (Mon, 06 Feb 2006) New Revision: 13371 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=13371 Log: Remove an unused function Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_cache.c trunk/source/nsswitch/winbindd_cache.c Changeset: Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_cache.c === --- branches/SAMBA_3_0/source/nsswitch/winbindd_cache.c 2006-02-06 19:43:24 UTC (rev 13370) +++ branches/SAMBA_3_0/source/nsswitch/winbindd_cache.c 2006-02-06 22:19:30 UTC (rev 13371) @@ -2048,14 +2048,6 @@ return NT_STATUS_IS_OK(status); } -void cache_sid2name(struct winbindd_domain *domain, const DOM_SID *sid, - const char *domain_name, const char *name, - enum SID_NAME_USE type) -{ - wcache_save_sid_to_name(domain, NT_STATUS_OK, sid, domain_name, - name, type); -} - /* delete all centries that don't have NT_STATUS_OK set */ static int traverse_fn_cleanup(TDB_CONTEXT *the_tdb, TDB_DATA kbuf, TDB_DATA dbuf, void *state) Modified: trunk/source/nsswitch/winbindd_cache.c === --- trunk/source/nsswitch/winbindd_cache.c 2006-02-06 19:43:24 UTC (rev 13370) +++ trunk/source/nsswitch/winbindd_cache.c 2006-02-06 22:19:30 UTC (rev 13371) @@ -2048,14 +2048,6 @@ return NT_STATUS_IS_OK(status); } -void cache_sid2name(struct winbindd_domain *domain, const DOM_SID *sid, - const char *domain_name, const char *name, - enum SID_NAME_USE type) -{ - wcache_save_sid_to_name(domain, NT_STATUS_OK, sid, domain_name, - name, type); -} - /* delete all centries that don't have NT_STATUS_OK set */ static int traverse_fn_cleanup(TDB_CONTEXT *the_tdb, TDB_DATA kbuf, TDB_DATA dbuf, void *state)
svn commit: samba-docs r913 - in trunk/manpages-3: .
Author: lmuelle Date: 2006-02-06 22:40:04 + (Mon, 06 Feb 2006) New Revision: 913 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-docsrev=913 Log: Document --parameter-name and --section-name. Modified: trunk/manpages-3/testparm.1.xml Changeset: Modified: trunk/manpages-3/testparm.1.xml === --- trunk/manpages-3/testparm.1.xml 2006-02-04 09:57:59 UTC (rev 912) +++ trunk/manpages-3/testparm.1.xml 2006-02-06 22:40:04 UTC (rev 913) @@ -93,6 +93,21 @@ /varlistentry varlistentry + term--parameter-name/term + listitempara + Dumps the named parameter. If no section-name is set the view + is limited by default to the global section. + /para/listitem + /varlistentry + + varlistentry + term--section-name/term + listitempara + Dumps the named section. + /para/listitem + /varlistentry + + varlistentry termconfigfilename/term listitemparaThis is the name of the configuration file to check. If this parameter is not present then the
svn commit: samba-docs r914 - in trunk/manpages-3: .
Author: lmuelle Date: 2006-02-06 22:47:59 + (Mon, 06 Feb 2006) New Revision: 914 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-docsrev=914 Log: Add missing arguments. Modified: trunk/manpages-3/testparm.1.xml Changeset: Modified: trunk/manpages-3/testparm.1.xml === --- trunk/manpages-3/testparm.1.xml 2006-02-06 22:40:04 UTC (rev 913) +++ trunk/manpages-3/testparm.1.xml 2006-02-06 22:47:59 UTC (rev 914) @@ -93,7 +93,7 @@ /varlistentry varlistentry - term--parameter-name/term + term--parameter-name parametername/term listitempara Dumps the named parameter. If no section-name is set the view is limited by default to the global section. @@ -101,7 +101,7 @@ /varlistentry varlistentry - term--section-name/term + term--section-name sectionname/term listitempara Dumps the named section. /para/listitem
svn commit: samba r13372 - in branches/SAMBA_4_0/source/libcli/ldap: .
Author: idra Date: 2006-02-06 22:55:34 + (Mon, 06 Feb 2006) New Revision: 13372 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=13372 Log: fixes ... still no joy Modified: branches/SAMBA_4_0/source/libcli/ldap/ldap_controls.c Changeset: Modified: branches/SAMBA_4_0/source/libcli/ldap/ldap_controls.c === --- branches/SAMBA_4_0/source/libcli/ldap/ldap_controls.c 2006-02-06 22:19:30 UTC (rev 13371) +++ branches/SAMBA_4_0/source/libcli/ldap/ldap_controls.c 2006-02-06 22:55:34 UTC (rev 13372) @@ -755,6 +755,10 @@ } if (lvrc-type == 0) { + if (!asn1_push_tag(data, ASN1_SEQUENCE(0))) { + return False; + } + if (!asn1_write_Integer(data, lvrc-match.byOffset.offset)) { return False; } @@ -762,6 +766,10 @@ if (!asn1_write_Integer(data, lvrc-match.byOffset.contentCount)) { return False; } + + if (!asn1_pop_tag(data)) { + return False; + } } else { if (!asn1_write_OctetString(data, lvrc-match.gtOrEq.value, lvrc-match.gtOrEq.value_len)) {
svn commit: samba r13373 - in branches/SAMBA_4_0/source/torture: .
Author: jpeach Date: 2006-02-06 23:01:17 + (Mon, 06 Feb 2006) New Revision: 13373 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=13373 Log: Implement the -p option for smbtorture. Modified: branches/SAMBA_4_0/source/torture/torture.c Changeset: Modified: branches/SAMBA_4_0/source/torture/torture.c === --- branches/SAMBA_4_0/source/torture/torture.c 2006-02-06 22:55:34 UTC (rev 13372) +++ branches/SAMBA_4_0/source/torture/torture.c 2006-02-06 23:01:17 UTC (rev 13373) @@ -2556,10 +2556,12 @@ int argc_new; char **argv_new; poptContext pc; - enum {OPT_LOADFILE=1000,OPT_UNCLIST,OPT_TIMELIMIT,OPT_DNS,OPT_DANGEROUS}; + enum {OPT_LOADFILE=1000,OPT_UNCLIST,OPT_TIMELIMIT,OPT_DNS, + OPT_DANGEROUS,OPT_SMB_PORTS}; + struct poptOption long_options[] = { POPT_AUTOHELP - {smb-ports, 'p', POPT_ARG_STRING, NULL, 0, SMB ports,NULL}, + {smb-ports, 'p', POPT_ARG_STRING, NULL, OPT_SMB_PORTS, SMB ports,NULL}, {seed, 0, POPT_ARG_INT, torture_seed, 0, seed, NULL}, {num-progs, 0, POPT_ARG_INT, torture_nprocs,0, num progs,NULL}, {num-ops, 0, POPT_ARG_INT, torture_numops,0, num ops, NULL}, @@ -2607,6 +2609,9 @@ case OPT_DANGEROUS: lp_set_cmdline(torture:dangerous, Yes); break; + case OPT_SMB_PORTS: + lp_set_cmdline(smb ports, poptGetOptArg(pc)); + break; default: d_printf(Invalid option %s: %s\n, poptBadOption(pc, 0), poptStrerror(opt));
Build status as of Tue Feb 7 00:00:02 2006
URL: http://build.samba.org/ --- /home/build/master/cache/broken_results.txt.old 2006-02-06 00:00:13.0 + +++ /home/build/master/cache/broken_results.txt 2006-02-07 00:00:15.0 + @@ -1,17 +1,17 @@ -Build status as of Mon Feb 6 00:00:02 2006 +Build status as of Tue Feb 7 00:00:02 2006 Build counts: Tree Total Broken Panic ccache 32 6 0 -distcc 11 3 0 +distcc 10 3 0 lorikeet-heimdal 14 13 0 ppp 18 0 0 -rsync33 5 0 +rsync33 3 0 samba2 0 0 samba-docs 0 0 0 -samba4 34 23 2 -samba_3_034 11 0 -smb-build23 4 0 +samba4 35 23 2 +samba_3_034 10 0 +smb-build25 4 0 talloc 6 3 0 -tdb 6 2 0 +tdb 5 1 0
svn commit: samba r13374 - branches/SAMBA_3_0/source/lib branches/SAMBA_4_0/source/lib/replace trunk/source/lib
Author: idra Date: 2006-02-07 00:50:38 + (Tue, 07 Feb 2006) New Revision: 13374 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=13374 Log: new revision of the snprintf replace code still missing a configure test to make us substitute our snprintf to system one when the system one does not have positional parameters support Modified: branches/SAMBA_3_0/source/lib/snprintf.c branches/SAMBA_4_0/source/lib/replace/snprintf.c trunk/source/lib/snprintf.c Changeset: Sorry, the patch is too large (3256 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=13374