[Samba] How can I limit open files in (for) session or share ?

2007-01-30 Thread vk
Please HELP How can I limit open files in (for) session or share (not in all samba server)? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba

[Samba] ldap machine attributes not filled correctly when join a domain

2007-01-30 Thread emmanuel musso
Hello When a windows xp workstation join a domain, by windows gui parameters, ldap machine attributes are not filled correctly: - No attribute sambaprimarygroupsid (before, there was one terminated by 515) - rid (of sambasid) is not equal a 2*uid+1000 If i create a user, rid (sambasid) equal a

[Samba] howto : Samba + LDAP

2007-01-30 Thread Danny
Hello everyone, I am trying to setup samba with ldap. Local users need to browse their share folders on a samba server using ldap authentication. [ LDAP has inetOrgPerson class. ] Does anybody have a good link or tutorial to do this ? Thank you, Danny -- To unsubscribe from this list go to

Re: [Samba] ACLs fail in 3.0.23d

2007-01-30 Thread Jan Engelhardt
One question: how does Samba find out, that ACLs are activated? I suppose the only sane way is to try calling functions from libacl. If they fail unreasonably, then the fs does not support ACLs. Whenever I try to read or modify ACLs from my Windows 2000 PDC, my Samba Domain Member Server

[Samba] machine accounts mapped to non-unique uid (was make_server_info_info3: pdb_init_sam failed!)

2007-01-30 Thread Tom Robinson
Hi, Well I partially fixed the problem myself but I'm still having trouble connecting. On the PDC I had to adjust the LDAP acl's to allow the DMS read access to the ldap databases. On the DMS I used system-config-authentication to adjust /etc/nsswitch.conf, the pam settings and

Re: [Samba] locking = no - netlogon share for PDC

2007-01-30 Thread Felipe Augusto van de Wiel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/29/2007 05:45 PM, ryan punt wrote: What does the list think of setting locking = no on the netlogon share for a PDC? The man page for smb.conf says we should never need to set the parameter, but given that it's a read-only share for most

RE: [Samba] Performance issue with change to CIFS

2007-01-30 Thread Craig Jackson
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] rg] On Behalf Of Craig Jackson Sent: Monday, January 29, 2007 10:08 AM To: samba@lists.samba.org Subject: [Samba] Performance issue with change to CIFS Hi, I have been using rsync to sync files from a

[Samba] XP MyDocuments - Network Shares

2007-01-30 Thread Ellison, David
Hi, This is probably a simple question, however I seem to be stuck. I have a SME Server running Samba. I have a simple netlogon.bat script, I have tried to map a users MyDocuments to their home directory, however I cannot. I tried on a single XP machine to change the MyDocuments location,

[Samba] Netlogon, roming profiles in samba(PDC)-ldap

2007-01-30 Thread suresh bollu
for my organaization i configured a Samba PDC, Samba-LDAP, with the following configuration my server is running fedora core 5, all my clients are windows XP, my problem is when i login to the domain through windows xp client each time the profile is refreshing, i want to save the profile in

RE: [Samba] Netlogon, roming profiles in samba(PDC)-ldap

2007-01-30 Thread Ellison, David
There is a way to do this, I'll have a dig. There is some documentation some on that, quite usefull. Give me an hour or so and I will have a look. Cheers Dave -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ba.org] On Behalf Of suresh bollu Sent: 30 January

[Samba] net and the PASSWD environment variable

2007-01-30 Thread Peter Åstrand
I've noticed that the net command supports the PASSWD environment variable, just like smbclient does. However, it's not documented. Does this mean that this variable is deprecated, or can I trust that it will be around tomorrow? Regards, --- Peter Åstrand ThinLinc Chief Developer

[Samba] Samba FS keeping AD security

2007-01-30 Thread fname lname
I setup and Samba box to keep an robo copy of my files from our Windows server which is ran under AD. but I notice it is not keeping the files security information as in windows attributes. does anyone have any suggestions about this? tnx -- To unsubscribe from this list go to the following

Re: [Samba] Samba FS keeping AD security

2007-01-30 Thread Martin Sundmacher
fname lname schrieb: I setup and Samba box to keep an robo copy of my files from our Windows server which is ran under AD. but I notice it is not keeping the files security information as in windows attributes. does anyone have any suggestions about this? Are you aware of

Re: [Samba] ACLs fail in 3.0.23d

2007-01-30 Thread Jens Nissen
OK - I managed to track down the bug inside Samba, but I have no easy way to work around it. The dynamic mapping of vfs acls inside Samba does not seem to work. See the following sequence in posix_acls.c in function get_nt_acl: /* * Get the ACL from the path. */ posix_acl =

[Samba] smbtorture NEGNOWAIT makes 3.023d dump core

2007-01-30 Thread Jens Nissen
smbtorture NEGNOWAIT causes a core dump with a message Abnormal server exit: multiple negprot's are not permitted. Is that truely by design?? I am running Samba 3.0.23d as AD member server and have smbtorture running on the same machine. Kind regards, Jens Appended: The final second of the

Re: [Samba] smbtorture NEGNOWAIT makes 3.023d dump core

2007-01-30 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jens Nissen wrote: smbtorture NEGNOWAIT causes a core dump with a message Abnormal server exit: multiple negprot's are not permitted. Is that truely by design?? Yes. That is by design currently. cheers, jerry

Re: [Samba] ACLs fail in 3.0.23d

2007-01-30 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jens Nissen wrote: OK - I managed to track down the bug inside Samba, but I have no easy way to work around it. The dynamic mapping of vfs acls inside Samba does not seem to work. See the following sequence in posix_acls.c in function

Re: [Samba] net and the PASSWD environment variable

2007-01-30 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter Åstrand wrote: I've noticed that the net command supports the PASSWD environment variable, just like smbclient does. However, it's not documented. Does this mean that this variable is deprecated, or can I trust that it will be around

[Samba] winbind users template shell

2007-01-30 Thread M Azer
I have template shell = /sbin/nologin in my Global smb.conf - How do I give certain domain users access to the shell for example: getent passwd cat cat:*:10016:10002:cat:/home/CAD/cat:/sbin/nologin how do I give user cat access to the shell /bin/bash ? usermod -s /bin/bash cat will not work

Re: [Samba] ACLs fail in 3.0.23d

2007-01-30 Thread Jens Nissen
I have an extf3-filesystem and I am absolutely sure, that Samba is correctly compiled - see the following line from the map-file: 0x00041b24acl_get_fd@@ACL_1.0 ... 0x00041d7cacl_get_file@@ACL_1.0 As mentioned before: # /bin/smbd -b | grep -i ACL

RE: [Samba] Login and logout scripts

2007-01-30 Thread Maurice Forte
Paul, Recently, I was trying to do something similar with login/logout scripts or the preexec clause but couldn't get it to work. I am running Samba 3.0.23c on AIX(not as PDC) with LDAP and 'security='user' in the smb.conf file. Can you run login/logout scripts without a PDC? For the

[Samba] Joining the domain client related questions

2007-01-30 Thread Dennis McLeod
I have done this in a pure Windows domain. I currently have a Samba server setup to be the PDC folders are shared, users are added, etc. Basically the Small office Networking setup from Samba-by-Example on Samba 3.010149 on a Centos 4.4 box. I have not joined the domain on any machines yet. I'm

RE: [Samba] Login and logout scripts

2007-01-30 Thread Dennis McLeod
I was trying to this same thing yesterday. No PDC (it's setup as one, but the machines are not joined to the domain), the machines (XP only) are in a simple workgroup. Local group policy to run the logon/logoff script. Not all of the usernames exist on the Samba server. Only one department

[Samba] Domain logons and client IP broadcasts

2007-01-30 Thread Sherwood Botsford
Ok, I'm stumped. Last week domain logons worked. Now when I try to logon, I get a message, You could not logon because the SJSA domain is not available. I've had this happen before when the trust account between the client and server was out of sync (restored a disk image that had a

Re: [Samba] winbindd + smbd errors trying to run in proxy only mode

2007-01-30 Thread Michael Coburn
Did you configure winbind within smb.conf? Here is an example that works at our location: winbind separator = / winbind cache time = 10 idmap uid = 1-2 idmap gid = 1-2 winbind enum users = yes winbind enum groups = yes obey pam restrictions = no winbind nested groups = yes

[Samba] RE: Samba running slow

2007-01-30 Thread Tom Van den Eynde
Thanks for the feedback. I will try to install another NIC this week and see if I have the same results. My guess still is the kernel driver. The only strange thing is that it only effects Samba. All other network protocols are running fine. I have seen that Realtek also provides a driver on

[Samba] cannot su, something may related to pam

2007-01-30 Thread Alex Wang
Hi All I installed samba 3.0.23d on the FreeBSD 5.4 through the port tree and join to the Windows 2000 Domain. But I can't su anymore. And the Windows client cannot go into the share folder. I have pam_winbind.so at /usr/lib and /usr/local/lib. The error message shows: Jan 30 18:50:36 BSDSVR01

svn commit: samba r21055 - in branches/SAMBA_4_0: . source/script source/torture

2007-01-30 Thread jelmer
Author: jelmer Date: 2007-01-30 12:10:42 + (Tue, 30 Jan 2007) New Revision: 21055 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=21055 Log: Fix executable bit. Modified: branches/SAMBA_4_0/ branches/SAMBA_4_0/source/script/buildtree.pl

svn commit: samba r21056 - in branches: SAMBA_3_0/source/nsswitch SAMBA_3_0_24/source/nsswitch

2007-01-30 Thread gd
Author: gd Date: 2007-01-30 16:51:42 + (Tue, 30 Jan 2007) New Revision: 21056 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=21056 Log: Moving the set_domain_online_request to fork_domain_child() (formerly lived in trustdom_recv(). Jeremy, this is the better

Rev 57: Added overload test scenario + fixed 1 send queue bug. in http://samba.org/~tridge/psomogyi/

2007-01-30 Thread psomogyi
revno: 57 revision-id: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: Peter Somogyi [EMAIL PROTECTED] branch nick: ctdb timestamp: Tue 2007-01-30 18:47:26 +0100 message: Added overload test scenario + fixed 1 send queue bug.

svn commit: samba r21057 - in branches: SAMBA_3_0/source/smbd SAMBA_3_0_24/source/smbd

2007-01-30 Thread jra
Author: jra Date: 2007-01-30 18:16:51 + (Tue, 30 Jan 2007) New Revision: 21057 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=21057 Log: More refactoring into functions. Jeremy. Modified: branches/SAMBA_3_0/source/smbd/reply.c

svn commit: samba r21058 - in branches: SAMBA_3_0/source/smbd SAMBA_3_0_24/source/smbd

2007-01-30 Thread jra
Author: jra Date: 2007-01-30 18:45:19 + (Tue, 30 Jan 2007) New Revision: 21058 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=21058 Log: Finish the easy refactoring - split out all the case statements that do early return. Next will be case statements that need

svn commit: samba r21060 - in branches: SAMBA_3_0/source/lib SAMBA_3_0/source/smbd SAMBA_3_0_24/source/lib SAMBA_3_0_24/source/smbd

2007-01-30 Thread jra
Author: jra Date: 2007-01-30 19:26:01 + (Tue, 30 Jan 2007) New Revision: 21060 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=21060 Log: Start refactoring out the non-return case statements into functions. Jeremy. Modified: branches/SAMBA_3_0/source/lib/time.c

svn commit: samba r21061 - in branches: SAMBA_3_0/source/smbd SAMBA_3_0_24/source/smbd

2007-01-30 Thread jra
Author: jra Date: 2007-01-30 19:54:28 + (Tue, 30 Jan 2007) New Revision: 21061 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=21061 Log: Refactoring all the cases into NTSTATUS returns. Jeremy. Modified: branches/SAMBA_3_0/source/smbd/trans2.c

svn commit: samba r21062 - in branches: SAMBA_3_0/source/include SAMBA_3_0/source/smbd SAMBA_3_0_24/source/include SAMBA_3_0_24/source/smbd

2007-01-30 Thread jra
Author: jra Date: 2007-01-30 20:49:37 + (Tue, 30 Jan 2007) New Revision: 21062 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=21062 Log: Should fix the build plus make all refactored functions return NTSTATUS. Jeremy. Modified:

svn commit: samba r21063 - in branches: SAMBA_3_0/source/smbd SAMBA_3_0_24/source/smbd

2007-01-30 Thread jra
Author: jra Date: 2007-01-30 22:20:55 + (Tue, 30 Jan 2007) New Revision: 21063 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=21063 Log: All case statements are now NTSTATUS returning functions. Now to factor out the post processing and make all cases behave the

svn commit: samba r21064 - in branches/SAMBA_3_0/source: lib nmbd nsswitch printing profile rpc_server smbd torture utils

2007-01-30 Thread vlendec
Author: vlendec Date: 2007-01-30 22:22:06 + (Tue, 30 Jan 2007) New Revision: 21064 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=21064 Log: The core of this patch is void message_register(int msg_type, void (*fn)(int msg_type, struct

Build status as of Wed Jan 31 00:00:01 2007

2007-01-30 Thread build
URL: http://build.samba.org/ --- /home/build/master/cache/broken_results.txt.old 2007-01-30 00:00:20.0 + +++ /home/build/master/cache/broken_results.txt 2007-01-31 00:00:12.0 + @@ -1,22 +1,22 @@ -Build status as of Tue Jan 30 00:00:02 2007 +Build status as of Wed Jan

svn commit: samba r21065 - in branches/SAMBA_4_0/webapps/swat/source/class/swat/module/ldbbrowse: .

2007-01-30 Thread idra
Author: idra Date: 2007-01-31 00:04:42 + (Wed, 31 Jan 2007) New Revision: 21065 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=21065 Log: The framework is complete (yes the gui layout still sucks but that will be handled later) next will be to build out the code

svn commit: linux-cifs-client r94 - in branches/linux-2.6-mainline/fs/cifs: .

2007-01-30 Thread sfrench
Author: sfrench Date: 2007-01-31 00:27:33 + (Wed, 31 Jan 2007) New Revision: 94 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=linux-cifs-clientrev=94 Log: Files missing from this branch (cifsacl.h and sess.c) - they were already in the other branch but had not been added

svn commit: samba r21066 - in branches/SAMBA_4_0: . source/script/tests source/torture

2007-01-30 Thread jelmer
Author: jelmer Date: 2007-01-31 00:30:52 + (Wed, 31 Jan 2007) New Revision: 21066 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=21066 Log: Fix the build (uninitialised variable). Modified: branches/SAMBA_4_0/

svn commit: samba r21067 - in branches: SAMBA_3_0/source/smbd SAMBA_3_0_24/source/smbd

2007-01-30 Thread jra
Author: jra Date: 2007-01-31 00:49:49 + (Wed, 31 Jan 2007) New Revision: 21067 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=21067 Log: Finished refactoring setqpathinfo to be readable and modifiable by other people. Now to look over the build farm and fix any

svn commit: samba r21068 - in branches/SAMBA_4_0/source/script/tests: .

2007-01-30 Thread abartlet
Author: abartlet Date: 2007-01-31 01:28:55 + (Wed, 31 Jan 2007) New Revision: 21068 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=21068 Log: Code to configure, start and stop Fedora DS. We can't actually use it, as we are stuck inside our socket_wrapper network,

Re: svn commit: samba r21068 - in branches/SAMBA_4_0/source/script/tests: .

2007-01-30 Thread James Peach
On 30/01/2007, at 5:28 PM, [EMAIL PROTECTED] wrote: Author: abartlet Date: 2007-01-31 01:28:55 + (Wed, 31 Jan 2007) New Revision: 21068 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi? view=revroot=sambarev=21068 Log: Code to configure, start and stop Fedora DS. We can't actually

svn commit: samba r21069 - in branches/SAMBA_4_0/source/script/tests: .

2007-01-30 Thread abartlet
Author: abartlet Date: 2007-01-31 05:11:19 + (Wed, 31 Jan 2007) New Revision: 21069 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=21069 Log: Try to split up the mktestsetup.sh script into parts to deal with each LDAP implementation, and another to hold the key

svn commit: samba r21070 - in branches: SAMBA_3_0/source/nsswitch SAMBA_3_0/source/param SAMBA_3_0_24/source/nsswitch SAMBA_3_0_24/source/param

2007-01-30 Thread jerry
Author: jerry Date: 2007-01-31 05:38:36 + (Wed, 31 Jan 2007) New Revision: 21070 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=21070 Log: * Add the new boolean 'winbind normalize names' option as discussed on the samba-technical ml. The replacement character

svn commit: samba-docs r1015 - in trunk/smbdotconf/winbind: .

2007-01-30 Thread jerry
Author: jerry Date: 2007-01-31 05:50:07 + (Wed, 31 Jan 2007) New Revision: 1015 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-docsrev=1015 Log: Adding docs for new 'winbind normalize names' option. Added: trunk/smbdotconf/winbind/winbindnormalizenames.xml

svn commit: samba r21071 - in branches/SAMBA_4_0/source/script/tests: .

2007-01-30 Thread abartlet
Author: abartlet Date: 2007-01-31 07:08:36 + (Wed, 31 Jan 2007) New Revision: 21071 WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=21071 Log: Move some of the key path variables into the mk-keyblobs.sh script. Andrew Bartlett Modified: