Re: [Samba] logon scripts no longer run with p-node netbios type 2
Apparent user mind loss issue p-node works fine as long as you don't disable NetBIOS over TCP/IP, seems I did both at the same time..will sleep now...for many hours -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Missing 'HAVE_SYS_ACL_H'
On 15 Aug 2005 at 20:51, Doug VanLeuven wrote: > Shawn Wright wrote: > > I have the libacl and acl rpms installed, which has been enough for > > previous installs on Mandrake 9.2... > > Check for libacl-devel > > Need that for the include files. Thanks, Doug. That's it. Something must have changed in the package options for 10.2 from 9.2. I'll add that and try again. Maybe I can resolve my ACL recursion problem now... -- Shawn Wright I.T. Manager Shawnigan Lake School -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Missing 'HAVE_SYS_ACL_H'
Shawn Wright wrote: I have the libacl and acl rpms installed, which has been enough for previous installs on Mandrake 9.2... Check for libacl-devel Need that for the include files. Regards, Doug -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] logon scripts no longer run with p-node netbios type 2
The Samba log for the system: using h-node starting at logon time: [2005/08/15 23:31:03, 1] smbd/service.c:make_connection_snum(642) h2s04 (192.168.1.12) connect to service netlogon initially as user smythe (uid=637, gid=100) (pid 12088) [2005/08/15 23:31:03, 1] smbd/service.c:close_cnum(830) h2s04 (192.168.1.12) closed connection to service netlogon [2005/08/15 23:31:03, 1] smbd/service.c:make_connection_snum(642) h2s04 (192.168.1.12) connect to service smythe initially as user smythe (uid=637, gid=100) (pid 12088) [2005/08/15 23:31:03, 1] smbd/service.c:make_connection_snum(642) h2s04 (192.168.1.12) connect to service netlogon initially as user smythe (uid=637, gid=100) (pid 12088) [2005/08/15 23:31:04, 1] smbd/service.c:make_connection_snum(642) h2s04 (192.168.1.12) connect to service smythe initially as user smythe (uid=637, gid=100) (pid 12088) [2005/08/15 23:31:06, 1] smbd/service.c:make_connection_snum(642) h2s04 (192.168.1.12) connect to service cdImages initially as user smythe (uid=637, gid=446) (pid 12088) [2005/08/15 23:31:06, 1] smbd/service.c:make_connection_snum(642) h2s04 (192.168.1.12) connect to service kwlibrary initially as user smythe (uid=637, gid=100) (pid 12088) [2005/08/15 23:31:06, 1] smbd/service.c:make_connection_snum(642) h2s04 (192.168.1.12) connect to service projects initially as user smythe (uid=637, gid=446) (pid 12088) [2005/08/15 23:31:06, 1] smbd/service.c:make_connection_snum(642) h2s04 (192.168.1.12) connect to service ad2 initially as user smythe (uid=637, gid=444) (pid 12088) [2005/08/15 23:31:06, 1] smbd/service.c:make_connection_snum(642) h2s04 (192.168.1.12) connect to service print$ initially as user smythe (uid=637, gid=100) (pid 12089) [2005/08/15 23:31:06, 1] smbd/service.c:make_connection_snum(642) h2s04 (192.168.1.12) connect to service kwlibrary initially as user smythe (uid=637, gid=100) (pid 12088) [2005/08/15 23:31:07, 1] smbd/service.c:make_connection_snum(642) h2s04 (192.168.1.12) connect to service projects initially as user smythe (uid=637, gid=446) (pid 12088) [2005/08/15 23:31:07, 1] smbd/service.c:make_connection_snum(642) h2s04 (192.168.1.12) connect to service ad2 initially as user smythe (uid=637, gid=444) (pid 12088) [2005/08/15 23:31:07, 1] smbd/service.c:make_connection_snum(642) h2s04 (192.168.1.12) connect to service print$ initially as user smythe (uid=637, gid=100) (pid 12088) [2005/08/15 23:31:08, 1] smbd/ipc.c:api_fd_reply(290) api_fd_reply: INVALID PIPE HANDLE: 709a I don't know what the INVALID PIPE HANDLE is all about but notice the immediate connection to the netlogon service. using p-node starting at logon time: [2005/08/15 23:33:49, 1] smbd/service.c:make_connection_snum(642) h2s04 (192.168.1.12) connect to service smythe initially as user smythe (uid=637, gid=100) (pid 12625) [2005/08/15 23:33:50, 1] smbd/service.c:make_connection_snum(642) h2s04 (192.168.1.12) connect to service smythe initially as user smythe (uid=637, gid=100) (pid 12625) [2005/08/15 23:33:50, 1] smbd/service.c:close_cnum(830) h2s04 (192.168.1.12) closed connection to service smythe [2005/08/15 23:33:51, 1] smbd/service.c:make_connection_snum(642) With p-node there is no connection to the netlogon service when logging in. I have reverted any changes, yet the problem persists. WINS appears to be working fine, yet all of a sudden p-node will no longer connect to the netlogon service. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Samba-3.0.10 domain issue
> Are the netbios names the same for all OSes or different? If we have 2 nics A and B, what kind of issue it could have if I start a config with A, then turn to B ? Thanks, Alexandre. --- Alexandre Gonçalves Jacarandá Assessor de Tecnologia de Informação Tel.: 0 ** 21 8131-2313 Alguns caminham pelo arco, eu caminho pela reta. -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] logon scripts no longer run with p-node netbios type 2
On Monday 15 August 2005 04:40 pm, Chris wrote: > There was one change but I can't really test that until tonight: > Samba was rebuilt with the hide-special-files patch - > https://bugzilla.samba.org/show_bug.cgi?id=2514 , which doesn't seem > like it should cause a problem. Rebuilt the previous version of 14a without the above patch. No change (the problem isn't caused by hide-special-files patch). I'm guessing that the netbios name cache gets depleted after a time when using p-node and that exists a timing issue where the WINS server cannot respond on a timely basis. Can anyone verify? What materials can I provide in order to get a fix? Should this be filed with bugzilla? Thank you. Chris -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Windows C# unable to access Samba directories.
On Mon, Aug 15, 2005 at 11:20:56PM -0400, PC wrote: > We have written a program which queries Windows mounted drives (including > Samba mounts) for files and directories. > > > > The program cannot find folders which are not owned by the user who spawned > the application. The user belongs to the group (owner - group - others) > with rw permissions and can locate all files and folders via Windows > Explorer. > > > > It appears that Samba is unable to resolve the group permission for some > windows applications. > > > > A similar problem can also be demonstrated when using Windows Offline files > / folder capability on a Samba mounted drive. Synchronizing offline file > will fail unless all files and folders are owned by the user who spawned > the application. Can you send out the code/binary for the application with help on how to reproduce the problem so we can test this for you ? Thanks, Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Windows C# unable to access Samba directories.
We have written a program which queries Windows mounted drives (including Samba mounts) for files and directories. The program cannot find folders which are not owned by the user who spawned the application. The user belongs to the group (owner - group - others) with rw permissions and can locate all files and folders via Windows Explorer. It appears that Samba is unable to resolve the group permission for some windows applications. A similar problem can also be demonstrated when using Windows Offline files / folder capability on a Samba mounted drive. Synchronizing offline file will fail unless all files and folders are owned by the user who spawned the application. Any clues? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Re: JPG Wallpaper
Liew Toh Seng wrote: I've problem with JPG wallpaper, it never sync to my roaming profile. When logon to the next PC, right click properties on desktop, the setting is there but it never show the wallpaper. Anyone know why it's like that. Non-bmp files get converted to *.bmp format, and stored in %USERPROFILE%/Local Settings/Temp (and Local Settings doesn't roam). If you want your wallpaper to stay between logins, you need to use only bmp files. -- Rex -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] One more samba
Ok, I seem to have everything back to normal, except for one thing that seems strange to me. I have 3 samba servers going for my domain, all using the LDAP database for usernames. I have my logon script that maps drives according to the groups that the users are in. I put the logonscript on each of the servers. I was assuming that whichever server accepted the logon, that would be the computer that creates the logon script. I noticed that two of the computers are actually creating this file. If I do a 'smbstatus -p' on either machine, it shows the user logged into both. Is the what should be happening? the drives look like they map correctly. -- 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
[Samba] Domain Based Logon
Hi, Can I prevent the user only can login to one PC if he/she didn't logout ? Can I store the winxp's system configuration to roaming profile ? Let says I've changed the screen resolution to 800x600, it only effect the pc that I've done the setting on. When I login to the next PC, it never use the setting. Anyway to solve this problem ? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] samba and ip
I have a Samba and LDAP network setup. I needed to change the IP address of my Samba server. I changed the address from 10.0.0.51 to 10.0.0.50. I just edited the /etc/sysconfig/network-scripts/ifcfg_eth0. Now I cannot get any XP machines to join the domain. The machine name is already in the database. I made sure my /etc/hosts file did not correspond to the old ip. I can still logon with machines that had been added previously, just not add a new one. If I change the IP back to 10.0.0.51, then everything functions correctly. Anything else that I should look for? Thanks. -- 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
[Samba] JPG Wallpaper
Hi list, I've problem with JPG wallpaper, it never sync to my roaming profile. When logon to the next PC, right click properties on desktop, the setting is there but it never show the wallpaper. Anyone know why it's like that. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Samba benchmarking tools - was Re: [Samba] Slow sequential write on Samba drive
Hi all, So... I still have this problem with slow write speed to a particular linux samba server from a Win XP box. I have a different linux samba server that this doesn't happen. All details have been posted to this thread but if any helpful souls want me to re-summarize I'll be happy to :) I'd still like to try to attack this problem. I have a particular tool (this www.passmark.com download) that I am using to test the write speed from the Win XP box. What I'd like to know is how do other people out there benchmark their samba systems to verify its working correctly as far as performance goes? Is there any code out there to do this kind of benchmarking, either Linux or Windows? I have several linux boxes and windows boxes that I can use to test. What I'm wondering I'd like to do is narrow down the problem. I.e. discover the performance against servers with different installations and different hardware. It could be the problem I'm running into is a hardware problem, but I'd just like to find some tools that could help me narrow that down. Thanks in advance, Don -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Missing 'HAVE_SYS_ACL_H'
I have the libacl and acl rpms installed, which has been enough for previous installs on Mandrake 9.2... On 16 Aug 2005 at 0:38, Maxim > Second point : > Are acl libs/headers installed on your system ? > > http://acl.bestbits.at/ > > Max > > Shawn Wright a écrit : > > >I'm building 3.0.14a on Mandrake 10.2, trying to use the same > >config as my other servers (3.0.11), but ACLs are not working. > >In checking the outout of smbd -b, I see this line is missing: > > > >System Headers: > >HAVE_SYS_ACL_H > >. > > > >But I am specifying ./configure --with-acl-support ... > > > >Adding an acl using 'setfacl -m 'NTDOMAIN+NTUSER' file > >does successfully add an ACL for the NT domain user at the > >CLI, but Samba won't show it. > > > >Clearly I'm missing a vital piece somewhere, but I'm not sure > >where. This is the first machine with 2.6 kernel (stock kernel so > >far)... could that be the issue? > > > > > > > > > >-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > >Shawn Wright, I.T. Manager > >Shawnigan Lake School > >http://www.sls.bc.ca > >[EMAIL PROTECTED] > > > > > > > > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Shawn Wright, I.T. Manager Shawnigan Lake School http://www.sls.bc.ca [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] Missing 'HAVE_SYS_ACL_H'
I thought of that, but the stock kernel config has this: CONFIG_XFS_FS=m CONFIG_XFS_QUOTA=y CONFIG_XFS_POSIX_ACL=y Just in case, I'm building a new kernel now... On 16 Aug 2005 at 0:34, Maxime Woznicki wrote: > Hello ! > > Check your kernel config : are ext2/ext3 acl/extended attributes checked > in fs options ? > > Max > > Shawn Wright a écrit : > > >I'm building 3.0.14a on Mandrake 10.2, trying to use the same > >config as my other servers (3.0.11), but ACLs are not working. > >In checking the outout of smbd -b, I see this line is missing: > > > >System Headers: > >HAVE_SYS_ACL_H > >. > > > >But I am specifying ./configure --with-acl-support ... > > > >Adding an acl using 'setfacl -m 'NTDOMAIN+NTUSER' file > >does successfully add an ACL for the NT domain user at the > >CLI, but Samba won't show it. > > > >Clearly I'm missing a vital piece somewhere, but I'm not sure > >where. This is the first machine with 2.6 kernel (stock kernel so > >far)... could that be the issue? > > > > > > > > > >-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > >Shawn Wright, I.T. Manager > >Shawnigan Lake School > >http://www.sls.bc.ca > >[EMAIL PROTECTED] > > > > > > > > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Shawn Wright, I.T. Manager Shawnigan Lake School http://www.sls.bc.ca [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] Missing 'HAVE_SYS_ACL_H'
Second point : Are acl libs/headers installed on your system ? http://acl.bestbits.at/ Max Shawn Wright a écrit : I'm building 3.0.14a on Mandrake 10.2, trying to use the same config as my other servers (3.0.11), but ACLs are not working. In checking the outout of smbd -b, I see this line is missing: System Headers: HAVE_SYS_ACL_H . But I am specifying ./configure --with-acl-support ... Adding an acl using 'setfacl -m 'NTDOMAIN+NTUSER' file does successfully add an ACL for the NT domain user at the CLI, but Samba won't show it. Clearly I'm missing a vital piece somewhere, but I'm not sure where. This is the first machine with 2.6 kernel (stock kernel so far)... could that be the issue? -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Shawn Wright, I.T. Manager Shawnigan Lake School http://www.sls.bc.ca [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] Missing 'HAVE_SYS_ACL_H'
Hello ! Check your kernel config : are ext2/ext3 acl/extended attributes checked in fs options ? Max Shawn Wright a écrit : I'm building 3.0.14a on Mandrake 10.2, trying to use the same config as my other servers (3.0.11), but ACLs are not working. In checking the outout of smbd -b, I see this line is missing: System Headers: HAVE_SYS_ACL_H . But I am specifying ./configure --with-acl-support ... Adding an acl using 'setfacl -m 'NTDOMAIN+NTUSER' file does successfully add an ACL for the NT domain user at the CLI, but Samba won't show it. Clearly I'm missing a vital piece somewhere, but I'm not sure where. This is the first machine with 2.6 kernel (stock kernel so far)... could that be the issue? -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Shawn Wright, I.T. Manager Shawnigan Lake School http://www.sls.bc.ca [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Mounting shares across different networks
Newbie alert...I'm not even sure if this is possible, but curious if this can be done. I just bought a Dell (XP home edition) laptop that I use at work and at home; both networks have Samba shares that I access wirelessly. Question: is it possible to script the mounting of shares based on the wireless network? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Missing 'HAVE_SYS_ACL_H'
I'm building 3.0.14a on Mandrake 10.2, trying to use the same config as my other servers (3.0.11), but ACLs are not working. In checking the outout of smbd -b, I see this line is missing: System Headers: HAVE_SYS_ACL_H But I am specifying ./configure --with-acl-support ... Adding an acl using 'setfacl -m 'NTDOMAIN+NTUSER' file does successfully add an ACL for the NT domain user at the CLI, but Samba won't show it. Clearly I'm missing a vital piece somewhere, but I'm not sure where. This is the first machine with 2.6 kernel (stock kernel so far)... could that be the issue? -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Shawn Wright, I.T. Manager Shawnigan Lake School http://www.sls.bc.ca [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] RPM SPEC rebuild errors
Great News Josh, That cleared it right up and it compiled with no problems. Thanks again. I appreciate all of the help Samba group. Thanks, Lonnie Cumberland Josh Kelley wrote: Lonnie wrote: Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/samba-3.0.10-root error: Installed (but unpackaged) file(s) found: /usr/lib/samba/pdb/mysql.so RPM build errors: Installed (but unpackaged) file(s) found: /usr/lib/samba/pdb/mysql.so This /usr/lib/samba/pdb/mysql.so does not exist and if I understnd this error then it is saying that it keeps finding it. Can someone please tell me what is happening here? RPM builds a tree of files that will go in the final package under a temporary directory ($RPM_BUILD_ROOT, identified as /var/tmp/samba-3.0.10-root above). It builds/compiles the package, then "installs" it to this temporary directory, then packages it up according to the instructions in your %files section. The above error means that /usr/lib/samba/pdb/mysql.so was installed to this temporary directory (as /var/tmp/samba-3.0.10-root/usr/lib/samba/pdb/mysql.so), but it's not listed under %files, so RPM doesn't know what to do with it. Since it's a file that you want, the correct solution is to add it to your %files section. Josh Kelley -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Re: [xfs-masters] [-mm PATCH 2/32] fs: fix-up schedule_timeout() usage
On Mon, Aug 15, 2005 at 11:40:13AM -0700, Nishanth Aravamudan wrote: > Hrm, I got dropped from the Cc list...? No worries, I'm subscribed in > two places :) I didn't do that manually, must haven some mail header thing. > I think your reference to "last time" is the KJ patches which probably > used msleep{,_interruptible}() instead of schedule_timeout(). This > patchset, in contrast, should result in *no* functional changes (beyond > some more precisie conversions, where appropriate). > schedule_timeout_interruptible(some_value), for instance is nothing more than: > > set_current_state(TASK_INTERRUPTIBLE); > schedule_timeout(some_value); > > Just in the form of a combine function call. No loops like msleep() & > co. > > Is the patch still a problem? No, it's fine. Sorry for the noise. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Re: [-mm PATCH 2/32] fs: fix-up schedule_timeout() usage
The cifs ones look fine with me. Steve French Senior Software Engineer Linux Technology Center - IBM Austin phone: 512-838-2294 email: sfrench at-sign us dot ibm dot com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] logon scripts no longer run with p-node netbios type 2
For several days (at least 4) after using DHCP to switch the NetBIOS node type from h-node (8) to p-node (2) the systems have worked fine (the lease time is only three hours so everyone was affected reasonably early). This morning, however, the logon scripts would not run until I changed the node-type back to h-node. I have found some information regarding timing issues with VPN's but this is plain old local logins (server has gigbit nics, going through a gigbit switch, clients have 100baseT). There was one change but I can't really test that until tonight: Samba was rebuilt with the hide-special-files patch - https://bugzilla.samba.org/show_bug.cgi?id=2514 , which doesn't seem like it should cause a problem. Any other ideas? Thanks. Chris -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] enforcing password compexity (check password script, cracklib)
Hello, I would like to enforce some level of password complexity when users change their password. I have a Samba PDC running on Debian set to sync Unix passwords. I'm trying to get Samba to work with cracklib, but it isn't going well. Here is what I've tried: Installed libpam-cracklib, compiled examples/auth/crackcheck and copied the binary to /usr/local/sbin. I added the following line to my smb.conf file: check password script = /usr/local/sbin/crackcheck Edited /etc/pam.d/common-password to look like this: password required pam_unix.so nullok obscure min=4 max=8 md5 password required pam_cracklib.so retry=3 minlen=6 difok=3 password required pam_unix.so use_authtok nullok md5 Restarted Samba and tried to change my password from a Windows box and smbpasswd. I get this error when using smbpasswd: machine 127.0.0.1 rejected the (anonymous) password change: Error was : Password restriction. Failed to change password for cmclaugh I picked a rather random and strong password, so I believe there is some misconfiguration. I would appreciate any advice. Thanks, Charles -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Re: [xfs-masters] [-mm PATCH 2/32] fs: fix-up schedule_timeout() usage
On 15.08.2005 [20:17:52 +0200], Christoph Hellwig wrote: > On Mon, Aug 15, 2005 at 11:08:04AM -0700, Nishanth Aravamudan wrote: > > Description: Use schedule_timeout_{,un}interruptible() instead of > > set_current_state()/schedule_timeout() to reduce kernel size. Also use > > helper functions to convert between human time units and jiffies rather > > than constant HZ division to avoid rounding errors. > > The XFS changes are still wrong for the same rason as last time, > we actually do want the daemons to do work if they're woken earlier > using wake_up_process. Hrm, I got dropped from the Cc list...? No worries, I'm subscribed in two places :) I think your reference to "last time" is the KJ patches which probably used msleep{,_interruptible}() instead of schedule_timeout(). This patchset, in contrast, should result in *no* functional changes (beyond some more precisie conversions, where appropriate). schedule_timeout_interruptible(some_value), for instance is nothing more than: set_current_state(TASK_INTERRUPTIBLE); schedule_timeout(some_value); Just in the form of a combine function call. No loops like msleep() & co. Is the patch still a problem? Thanks, Nish -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Re: [-mm PATCH 2/32] fs: fix-up schedule_timeout() usage
Hi, On Mon, 2005-08-15 at 19:08, Nishanth Aravamudan wrote: > Description: Use schedule_timeout_{,un}interruptible() instead of > set_current_state()/schedule_timeout() to reduce kernel size. > +++ 2.6.13-rc5-mm1-dev/fs/jbd/transaction.c 2005-08-10 15:03:33.0 > -0700 > @@ -1340,8 +1340,7 @@ int journal_stop(handle_t *handle) > - set_current_state(TASK_UNINTERRUPTIBLE); > - schedule_timeout(1); > + schedule_timeout_uninterruptible(1); This chunk at least is fine. --Stephen -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] RPM SPEC rebuild errors
Lonnie wrote: Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/samba-3.0.10-root error: Installed (but unpackaged) file(s) found: /usr/lib/samba/pdb/mysql.so RPM build errors: Installed (but unpackaged) file(s) found: /usr/lib/samba/pdb/mysql.so This /usr/lib/samba/pdb/mysql.so does not exist and if I understnd this error then it is saying that it keeps finding it. Can someone please tell me what is happening here? RPM builds a tree of files that will go in the final package under a temporary directory ($RPM_BUILD_ROOT, identified as /var/tmp/samba-3.0.10-root above). It builds/compiles the package, then "installs" it to this temporary directory, then packages it up according to the instructions in your %files section. The above error means that /usr/lib/samba/pdb/mysql.so was installed to this temporary directory (as /var/tmp/samba-3.0.10-root/usr/lib/samba/pdb/mysql.so), but it's not listed under %files, so RPM doesn't know what to do with it. Since it's a file that you want, the correct solution is to add it to your %files section. Josh Kelley -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] [-mm PATCH 2/32] fs: fix-up schedule_timeout() usage
Description: Use schedule_timeout_{,un}interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Also use helper functions to convert between human time units and jiffies rather than constant HZ division to avoid rounding errors. Signed-off-by: Nishanth Aravamudan <[EMAIL PROTECTED]> --- fs/cifs/cifsfs.c |7 ++- fs/cifs/connect.c|6 ++ fs/jbd/transaction.c |3 +-- fs/lockd/clntproc.c |3 +-- fs/nfs/nfs3proc.c|3 +-- fs/nfs/nfs4proc.c| 12 fs/reiserfs/journal.c|3 +-- fs/smbfs/proc.c |3 +-- fs/xfs/linux-2.6/time.h |3 +-- fs/xfs/linux-2.6/xfs_buf.c |6 +++--- fs/xfs/linux-2.6/xfs_super.c | 12 ++-- 11 files changed, 23 insertions(+), 38 deletions(-) diff -urpN 2.6.13-rc5-mm1/fs/cifs/cifsfs.c 2.6.13-rc5-mm1-dev/fs/cifs/cifsfs.c --- 2.6.13-rc5-mm1/fs/cifs/cifsfs.c 2005-08-07 09:57:37.0 -0700 +++ 2.6.13-rc5-mm1-dev/fs/cifs/cifsfs.c 2005-08-10 15:03:11.0 -0700 @@ -781,14 +781,11 @@ static int cifs_oplock_thread(void * dum oplockThread = current; do { - set_current_state(TASK_INTERRUPTIBLE); - - schedule_timeout(1*HZ); + schedule_timeout_interruptible(1*HZ); spin_lock(&GlobalMid_Lock); if(list_empty(&GlobalOplock_Q)) { spin_unlock(&GlobalMid_Lock); - set_current_state(TASK_INTERRUPTIBLE); - schedule_timeout(39*HZ); + schedule_timeout_interruptible(39*HZ); } else { oplock_item = list_entry(GlobalOplock_Q.next, struct oplock_q_entry, qhead); diff -urpN 2.6.13-rc5-mm1/fs/cifs/connect.c 2.6.13-rc5-mm1-dev/fs/cifs/connect.c --- 2.6.13-rc5-mm1/fs/cifs/connect.c2005-08-07 10:05:22.0 -0700 +++ 2.6.13-rc5-mm1-dev/fs/cifs/connect.c2005-08-12 13:42:49.0 -0700 @@ -3215,10 +3215,8 @@ cifs_umount(struct super_block *sb, stru } cifs_sb->tcon = NULL; - if (ses) { - set_current_state(TASK_INTERRUPTIBLE); - schedule_timeout(HZ / 2); - } + if (ses) + schedule_timeout_interruptible(msecs_to_jiffies(500)); if (ses) sesInfoFree(ses); diff -urpN 2.6.13-rc5-mm1/fs/jbd/transaction.c 2.6.13-rc5-mm1-dev/fs/jbd/transaction.c --- 2.6.13-rc5-mm1/fs/jbd/transaction.c 2005-08-07 10:05:22.0 -0700 +++ 2.6.13-rc5-mm1-dev/fs/jbd/transaction.c 2005-08-10 15:03:33.0 -0700 @@ -1340,8 +1340,7 @@ int journal_stop(handle_t *handle) if (handle->h_sync) { do { old_handle_count = transaction->t_handle_count; - set_current_state(TASK_UNINTERRUPTIBLE); - schedule_timeout(1); + schedule_timeout_uninterruptible(1); } while (old_handle_count != transaction->t_handle_count); } diff -urpN 2.6.13-rc5-mm1/fs/lockd/clntproc.c 2.6.13-rc5-mm1-dev/fs/lockd/clntproc.c --- 2.6.13-rc5-mm1/fs/lockd/clntproc.c 2005-08-07 09:58:15.0 -0700 +++ 2.6.13-rc5-mm1-dev/fs/lockd/clntproc.c 2005-08-10 15:03:41.0 -0700 @@ -299,8 +299,7 @@ nlmclnt_alloc_call(void) return call; } printk("nlmclnt_alloc_call: failed, waiting for memory\n"); - current->state = TASK_INTERRUPTIBLE; - schedule_timeout(5*HZ); + schedule_timeout_interruptible(5*HZ); } return NULL; } diff -urpN 2.6.13-rc5-mm1/fs/nfs/nfs3proc.c 2.6.13-rc5-mm1-dev/fs/nfs/nfs3proc.c --- 2.6.13-rc5-mm1/fs/nfs/nfs3proc.c2005-08-07 09:58:15.0 -0700 +++ 2.6.13-rc5-mm1-dev/fs/nfs/nfs3proc.c2005-08-10 15:12:50.0 -0700 @@ -34,8 +34,7 @@ nfs3_rpc_wrapper(struct rpc_clnt *clnt, res = rpc_call_sync(clnt, msg, flags); if (res != -EJUKEBOX) break; - set_current_state(TASK_INTERRUPTIBLE); - schedule_timeout(NFS_JUKEBOX_RETRY_TIME); + schedule_timeout_interruptible(NFS_JUKEBOX_RETRY_TIME); res = -ERESTARTSYS; } while (!signalled()); rpc_clnt_sigunmask(clnt, &oldset); diff -urpN 2.6.13-rc5-mm1/fs/nfs/nfs4proc.c 2.6.13-rc5-mm1-dev/fs/nfs/nfs4proc.c --- 2.6.13-rc5-mm1/fs/nfs/nfs4proc.c2005-08-07 09:58:15.0 -0700 +++ 2.6.13-rc5-mm1-dev/fs/nfs/nfs4proc.c2005-08-10 15:15:04.0 -0700 @@ -2412,14 +2412,11 @@ static int nfs4_delay(struct rpc_clnt *c *timeout = NFS4_POLL_RETRY_MAX; rpc_clnt_sigmask(clnt, &oldset); if (clnt->cl_intr) { - set_current_state(TASK_INTERRUPTIBLE); - schedule_timeout(*ti
[Samba] Re: [xfs-masters] [-mm PATCH 2/32] fs: fix-up schedule_timeout() usage
On Mon, Aug 15, 2005 at 11:08:04AM -0700, Nishanth Aravamudan wrote: > Description: Use schedule_timeout_{,un}interruptible() instead of > set_current_state()/schedule_timeout() to reduce kernel size. Also use > helper functions to convert between human time units and jiffies rather > than constant HZ division to avoid rounding errors. The XFS changes are still wrong for the same rason as last time, we actually do want the daemons to do work if they're woken earlier using wake_up_process. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Error:The semaphore timeout period has expired
> We are experiencing the "semaphore timeout period has expired" error > while attempting to connect to a Samba share on an AIX machine from > W2k desktops. > I saw some other posts in the archives about this error, but I did not > see any about the resolution. Has anyone come up with a resolution > for this? > > What is unusual is that we have 2 AIX servers running the same version > of SAMBA and we can connect to one but not the other. > Both AIX servers are physically identical. > > smb.conf on both systems are nearly identical except for the server > string statement. > > > Ben Burruel > Sr. Systems Manager > Metrics & Mainframe Capacity Planning > San Diego > (858) 886-3363 > > PROPRIETARY INFORMATION > Not for use or disclosure outside the SBC family of companies, except > under written agreement. > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] SIDs and UIDs and RIDs - Oh My!
On Sunday 14 August 2005 18:40, Moondance Foxmarnick wrote: > When you say: " Every instance in SMB world has to have its own SID " > Does that mean that on top of every logon, say- for each folder connection, > a SID is generated? No. A SID represents a security context. For example, every Windows machine has local accounts within the security context of the local machine which has a unique SID. Every domain (NT4, ADS, Samba) contains accounts that exist within the domain security context which is defined by the domain SID. A domain member server will have a SID that differs from the domain SID. The domain member server can be configured to regard all domain users as local users. It can also be configured to recognize domain users and groups as non-local. SIDs are persistent. > And if so, is this a temporary SID like a token for the session, or is it > stored internally to SAMBA? The Samba domain and machine SIDs are stored in /etc/samba/secrets.tdb. You can view the contents of this file using tdbdump. PS: I have updated the PDC Chapter to provide a more detailed explanation of the relationship between the RID and the SID. The on-line version of the HOWTO should reflect this change within 48 hours. - John T. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] RPM SPEC rebuild errors
To answer your "Something completely different" question. It is because I am trying to build a Samba rpm. This list is where "all" members, both newbies like myself and seasoned experts, can come for help and share their ideas and problems associated with Samba. You do not have the market corner on types of Samba related questions that you think should be asked and that you think are important. Thanks, Lonnie Something completely different: Could the answer please go below the question?( Hi JHT ;-) And why are (basic?) RPM building questions posted to the samba mailinglist? Cheers Geert Stappers -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Getting Winbind IDMAP into LDAP?
Hi, I¹ve been trying to populate an LDAP directory with IDMAP information from Winbind using NSS_LDAP without much success over the last week. Can anybody tell me if I¹ve done anything obviously wrong? I¹ve followed the example shown in the Samba ³By Example² doc and am at the stage where the LDAP directory has been created and configured, NSS_LDAP config is amended, smb.conf contains entries to use LDAP as a backend and I have deleted /var/cache/samba/winbindd_cache.tdb and winbindd_idmap.tdb. Now wbinfo u and wbinfo g show users and groups on the domain but getent passwd/groups only displays local users. The winbindd_cache.tdb and winbindd_idmap.tdb files have been recreated but only winbindd_cache.tdb holds any information. When I attempt to access a Samba share I¹m prompted to enter a username and password. As I understand it once the wbinfo commands have been run this process should automatically populate the Idmap ou with the ID mappings is this correct? If so there must be something wrong with my config. Here¹s the current config and relevent info sorry it¹s a bit long: /etc/samba/smb.conf [global] workgroup = UKCORPLAN netbios name = UKFS01 server string = UKFS01 Samba Server winbind separator = / ldap ssl = no idmap uid = 1-1000 idmap gid = 1-1000 ldap admin dn = cn=Manager,dc=uk,dc=corplan,dc=net ldap idmap suffix = ou=Idmap ldap suffix = dc=uk,dc=corplan,dc=net idmap backend = ldap:ldap://10.10.4.111/ winbind enum users = yes winbind enum groups = yes template homedir = /mnt/emcpowerb/user/%D/%U template shell = /bin/bash password server = ukdc01.uk.corplan.net security = ADS #encrypt passwords = yes realm = uk.corplan.net browseable = yes username map = /etc/samba/smbusers log level = 10 ads:10 auth:10 sam:10 rpc:10 idmap:10 syslog = 0 log file = /var/log/samba/%m max log size = 50 # Share Definitions == [homes] comment = Home Directories browseable = no writable = yes [public] comment = Public Stuff path = /home/samba public = yes read only = no [test] comment = test share path = /mnt/emcpowera/shared/test public = yes browseable = yes writeable = yes /etc/nsswitch.conf passwd: files ldap shadow: files ldap group: files ldap #hosts: db files nisplus nis dns hosts: files dns /etc/openldap/slapd.conf # # See slapd.conf(5) for details on configuration options. # This file should NOT be world readable. # ## schema files (core.schema is required by default) include /etc/openldap/schema/core.schema ## needed for sambaSamAccount include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/inetorgperson.schema include /etc/openldap/schema/nis.schema include /etc/openldap/schema/samba.schema # Allow LDAPv2 client connections. This is NOT the default. allow bind_v2 # Do not enable referrals until AFTER you have a working directory # service AND an understanding of referrals. #referral ldap://root.openldap.org pidfile /var/run/slapd.pid argsfile/var/run/slapd.args # Load dynamic backend modules: # modulepath/usr/sbin/openldap # moduleloadback_bdb.la # moduleloadback_ldap.la # moduleloadback_ldbm.la # moduleloadback_passwd.la # moduleloadback_shell.la # Sample access control policy: # Root DSE: allow anyone to read it # Subschema (sub)entry DSE: allow anyone to read it # Other DSEs: # Allow self write access # Allow authenticated users read access # Allow anonymous users to authenticate # Directives needed to implement policy: # access to dn.base="" by * read # access to dn.base="cn=Subschema" by * read #access to * # by self write # by users read # by anonymous auth # # if no access controls are present, the default policy # allows anyone and everyone to read anything but restricts # updates to rootdn. (e.g., "access to * by * read") # # rootdn can always read and write EVERYTHING! ### # ldbm and/or bdb database definitions ### databasebdb suffix "dc=uk,dc=corplan,dc=net" rootdn "cn=Manager,dc=uk,dc=corplan,dc=net" # Cleartext passwords, especially for the rootdn, should # be avoided. See slappasswd(8) and slapd.conf(5) for details. # Use of strong authentication encouraged. rootpw secret # The database directory MUST exist prior to running slapd AND # should only be accessible by the slapd and slap tools. # Mode 700 recommended. directory /var/lib/ldap/samba # Indices to maintain for this database # Required by OpenLDAP index objectClass eq,pres index ou,cn,mail,surname,givenname eq,pres,sub index uidNumber,gidNumber,loginShelleq,pres index uid,memberUid eq,pres,sub index nisMa
[Samba] net rpc testjoin ERROR
I configure samba+ldap. I use smbldap-tools. I use fedora 2.6.12-1.1398_FC4, samba-3.0.14a-2, openldap-2.2.23-5. When I execute the command net rpc testjoin is show me an error. [EMAIL PROTECTED] ~]# net rpc testjoin -S servidor -U root%senha [2005/08/15 12:05:58, 0] utils/net_rpc_join.c:net_rpc_join_ok(66) Join to domain 'CASA' is not valid Marcos -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] MSDFS redirection WinXP SP2
I am currently having problems accesing our samba msdfs shares from Windows XP SP2, Windows 2000 and WinXP SP1 seem unaffected. I have attached the smb.conf and the exports files that define the shares. Running ethereal on the different clients seems to point to the fact that XP SP2 no longer seems to be using the netbios-ssn (139) port. for GET_DFS_REFERRAL instead its using microsoft-ds (445). I have ethereal dumps if required. Any advice would be most welcome. Many thanks Dave smb.conf # Global parameters [global] workgroup = LONDON security = DOMAIN encrypt passwords = Yes password server = bonky passwd program = /usr/bin/passwd %u passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* max log size = 50 log file = /var/log/samba/log.%m os level = 0 local master = No domain master = no NIS homedir = Yes comment = Samba %v + msdfs redirector #print command = /usr/samba/bin/sambalp %p %s %U %m lppause command = lpresume command = wins server = 10.123.10.50 name resolve order = wins host bcast locking = yes socket options = TCP_NODELAY preserve case = yes short preserve case = yes #log level = 4 interfaces = eth0 lo bind interfaces only = Yes host msdfs = yes netbios aliases = cvs hades hosts jobs packages production publicity vdisk # Some virus protection veto files = /*.eml/*.nws/riched20.dll/*.{*}/ exports.hades.conf [2d] msdfs root = yes msdfs proxy = \dualit\data-2d [3d] msdfs root = yes msdfs proxy = \groucho\data-3d [rnd] msdfs root = yes msdfs proxy = \shiva\rnd [dataops] msdfs root = yes msdfs proxy = \shiva\dataops [docs] msdfs root = yes msdfs proxy = \timmy\docs [tutorials] msdfs root = yes msdfs proxy = \timmy\tutorials [snr] msdfs root = yes msdfs proxy = \thoth\snr exports.hosts.conf # # This file is autogenerated, so don't bother editing it. # Last generated by /home/tssrc/scripts/cron_scripts/update_hosts_shares.pl # on Mon Aug 15 14:36:27 2005 [aero2k] path = /etc/samba/msdfs_links/hosts/aero2k msdfs root = yes [aggravator] path = /etc/samba/msdfs_links/hosts/aggravator msdfs root = yes [amiga2k] path = /etc/samba/msdfs_links/hosts/amiga2k msdfs root = yes [anise] path = /etc/samba/msdfs_links/hosts/anise msdfs root = yes [aniseed] path = /etc/samba/msdfs_links/hosts/aniseed msdfs root = yes [anubis] path = /etc/samba/msdfs_links/hosts/anubis msdfs root = yes [apu] path = /etc/samba/msdfs_links/hosts/apu msdfs root = yes [aquaman] path = /etc/samba/msdfs_links/hosts/aquaman msdfs root = yes [archimedes] path = /etc/samba/msdfs_links/hosts/archimedes msdfs root = yes [aristotle] path = /etc/samba/msdfs_links/hosts/aristotle msdfs root = yes [arthur] path = /etc/samba/msdfs_links/hosts/arthur msdfs root = yes [asafoetida2k] path = /etc/samba/msdfs_links/hosts/asafoetida2k msdfs root = yes [aslan] path = /etc/samba/msdfs_links/hosts/aslan msdfs root = yes [avalanche] path = /etc/samba/msdfs_links/hosts/avalanche msdfs root = yes [avarice] path = /etc/samba/msdfs_links/hosts/avarice msdfs root = yes [axe] path = /etc/samba/msdfs_links/hosts/axe msdfs root = yes [babbage] path = /etc/samba/msdfs_links/hosts/babbage msdfs root = yes [baby2k] path = /etc/samba/msdfs_links/hosts/baby2k msdfs root = yes [bago] path = /etc/samba/msdfs_links/hosts/bago msdfs root = yes [bambi] path = /etc/samba/msdfs_links/hosts/bambi msdfs root = yes [barley] path = /etc/samba/msdfs_links/hosts/barley msdfs root = yes [barney] path = /etc/samba/msdfs_links/hosts/barney msdfs root = yes [bart] path = /etc/samba/msdfs_links/hosts/bart msdfs root = yes [bashful] path = /etc/samba/msdfs_links/hosts/bashful msdfs root = yes [basil2k] path = /etc/samba/msdfs_links/hosts/basil2k msdfs root = yes [bay2k] path = /etc/samba/msdfs_links/hosts/bay2k msdfs root = yes [bazooka] path = /etc/samba/msdfs_links/hosts/bazooka msdfs root = yes [bedivere] path = /etc/samba/msdfs_links/hosts/bedivere msdfs root = yes [bhuna] path = /etc/samba/msdfs_links/hosts/bhuna msdfs root = yes [bob2k] path = /etc/samba/msdfs_links/hosts/bob2k msdfs root = yes [bonkers] path = /etc/samba/msdfs_links/hosts/bonkers msdfs root = yes [bonky] path = /etc/samba/msdfs_links/hosts/bonky msdfs root = yes [bors2k] path = /etc/samba/msdfs_links/hosts/bors2k msdfs root = yes [braille] path = /etc/samba/msdfs_links/hosts/braille msdfs root = yes [braun] path = /etc/samba/msdfs_links/hosts/braun msdfs root = yes [britney] path = /etc/samba/msdfs_links/hosts/britney msdfs root = yes [brussel] path = /etc/samba/msdfs_links/hosts/brussel msdfs root = yes [canvas] path = /etc/samba/msdfs_links/hosts/canvas msdfs root = yes [
Re: [Samba] problems with name resolution in a small home network
On Monday 15 August 2005 02:42 am, Claude Jones wrote: > The rndc stuff I referred to has to with > getting named.conf and rndc.conf to refer to a secret key in order to > do dns. Just realized that it's r n d c. With the small font I'm using I thought it was m d c (the r really close to the n looks like an m). A secret key in order to administer bind as it allows for remote administration. I run BIND on my server here (an ancient SuSE 7.3 installation) but have never used the rndc utility. When I rebuild the server I'm switching over to djbdns. Maybe you're just running a DNS proxy and no content server. If you do "dig samba.org" does the line with SERVER have your server's IP address? If you do "dig one.of.your.systems" (an FQDN for one of your systems), do you get an answer (is ANSWER: = 1)? Feel free to reply off list if desired as this is getting less samba related. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] problems with name resolution in a small home network
On Monday 15 August 2005 02:42 am, Claude Jones wrote: > According to several sources I've read, including your citations, if > I'm running wins as part of my Samba server, then netbios mode h is > the proper mode. I've added the line > option netbios-node-type=8 to my dhcpd.conf In general that's fine. If you're running a wins server and a dns server than than you should eliminate the hosts/lmhosts use (outside of the standard localhost line(s) in hosts) - it's a waste of time, redundant, and not flexible. Do you have a dhcp option for wins servers as well? Such as: - option netbios-name-servers 192.168.2.1, 192.168.2.1; - > Let's see. It's very late so I won't do any thorough testing tonight. > Maybe these other changes have fixed it. The rndc stuff I referred to > has to with getting named.conf and rndc.conf to refer to a secret key > in order to do dns. I don't fully understand it, but it is supposedly > working. I can only guess that neither your WINS nor your DNS are working properly, otherwise all of your name resolutions should have worked without hosts/lmhosts entries. > Whats a ".local TLD"? TLD = Top Level Domain A domain name that ends (the top level) in .local. Such as "jones.local", where your the FQDN of your hosts would be something like vproductions2.jones.local, etc. I think Fedora introduced the glibc with mdns support, which from as little as I know about, seems to allow automatic name discovery via broadcasts kind of like what NetBIOS does. It will interfere with otherwise normal name resolution attempts. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] LM and NT password (help)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 good day I am using phpLdapPasswd to modify the password of the users of the Domain. But so that this was possible used one patch, that I found in http://lists.samba.org/archive/samba/2005-January/099108.html. But I am with problems to after enter of the user login in the domain. The problem is the SambaLMPassword and SambaNTPassword. Somebody has some tip so that the process functions correctly? []'s - -- Márcio Luciano Donada T.I. Aurora Alimentos Chapecó(SC) Cooperativa Central Oeste Catarinense mdonada at auroraalimentos dot com dot br -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDAJVwyJq2hZEymxcRAkCzAJ98Ly1XBh9eYpprJCjS0nLnTqTNiQCg00gN TZmp2Pr/KnNNPJBC9/VTfeM= =pDMH -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] windows nt 4.0 workstation can not load server profile fromsamba
Hi, I just found out i have the same problem. i also notised, when you logoff from Workstation A then login on workstation B, the logon takes ages. and the userprofile is not kopies from the server. Greetz Louis my rights on /home/samba/profiles ( 1777 ) Administrator:"Domain Admins" /snap from smb.conf ## MISC FILES/DIRECTORIES nt acl support = yes map acl inherit = yes dos charset = 850 unix charset = ISO8859-1 preserve case = yes short preserve case = yes case sensitive = no directory mask = 0750 hide dot files = yes hide unreadable = yes hide files = /desktop.ini veto files = /*.eml/*.nws/*.{*}/ veto oplock files = /*.doc/*.xls/*.mdb/ dont descend = /proc,/dev,/etc,/lib,/lost+found,/initrd create mask = 0644 ## MISC OTHER mangling method = hash2 deadtime = 10 map to guest = Bad User ## MISC PROFILE logon script = logon.cmd logon home = \\%L\%U logon path = \\%L\profiles\%U logon drive = P: [profiles] path = /home/samba/profiles comment = Profiel omgeving read only = no create mask = 0600 directory mask = 0700 browseable = No guest ok = Yes profile acls = yes csc policy = disable # next line is a great way to secure the profiles force user = %U # next line allows administrator to access all profiles valid users = %U # nt acl support = yes default case = lower short preserve case = no case sensitive = no >-Oorspronkelijk bericht- >Van: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] >Namens Markus Markert >Verzonden: maandag 15 augustus 2005 14:40 >Aan: samba@lists.samba.org >Onderwerp: [Samba] windows nt 4.0 workstation can not load >server profile fromsamba > >hi list, > >i have a strange problem. i use samba as pdc with ldap >authentification. works >nearly perfect. one problem is, that the server profile after >the login on >the nt workstation cannot load from the server, but when i >logout from the >workstation, the profile is written to the server. > >anyone a hint for me? > >greetings > >markus >-- >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] RPM SPEC rebuild errors
On Mon, Aug 15, 2005 at 06:54:30AM -0500, Lonnie wrote: > Ian Clancy wrote: > > >Lonnie, > >Had a similar problem to you. This should help > >http://www.rpm.org/hintskinks/unpackaged-files/ > > > Hello Ian, > > In searching for a solution to this problem, I ran across this link as > well, but am not really clear as to what it is saying for me to do. > > > RPM build errors: > Installed (but unpackaged) file(s) found: > /usr/lib/samba/pdb/mysql.so > > > Do I modify the SPEC file? > > Also, is this saying that "/usr/lib/samba/pdb/mysql.so" is missing as I > think that I need that in order to run the MySQL passwd right? > As I read it, it says: /usr/lib/samba/pdb/mysql.so is allready on the computer available and that RPM will not overwrite it. Something completely different: Could the answer please go below the question?( Hi JHT ;-) And why are (basic?) RPM building questions posted to the samba mailinglist? Cheers Geert Stappers signature.asc Description: Digital signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] windows nt 4.0 workstation can not load server profile from samba
hi list, i have a strange problem. i use samba as pdc with ldap authentification. works nearly perfect. one problem is, that the server profile after the login on the nt workstation cannot load from the server, but when i logout from the workstation, the profile is written to the server. anyone a hint for me? greetings markus -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] RPM SPEC rebuild errors
Hello Ian, In searching for a solution to this problem, I ran across this link as well, but am not really clear as to what it is saying for me to do. Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/samba-3.0.10-root error: Installed (but unpackaged) file(s) found: /usr/lib/samba/pdb/mysql.so RPM build errors: Installed (but unpackaged) file(s) found: /usr/lib/samba/pdb/mysql.so Do I modify the SPEC file? Also, is this saying that "/usr/lib/samba/pdb/mysql.so" is missing as I think that I need that in order to run the MySQL passwd right? Thanks, Lonnie Cumberland Ian Clancy wrote: Lonnie, Had a similar problem to you. This should help http://www.rpm.org/hintskinks/unpackaged-files/ -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Machine name defined on AD Server; unable to join linux machine -- receiving error.
Samba version 3.0.0.14.3E Linux Enterprise version 2.4.21-4 Server Role: ROLE DOMAIN MEMBER Not currently using kerberos. This is part of my smb.conf. [global] workgroup = WKGRP netbios name = NAME server string = Samba Server security = DOMAIN password server = PASS_SERV username map = /etc/samba/smbusers log level = 3 max log size = 50 local master = No wins server = xx.xxx.xxx.xxx On the ADS side, I have the linux machine name, NAME, defined without any other setup. According to the ADS administrators, I do not need a user/password since the machine is defined with the authentication. I am trying to join the linux machine to the ADS. This is what I have tried to no avail: net ads join -s /etc/samba/smb.conf net join -s /etc/samba/smb.conf net join NAME -s /etc/samba/smb.conf net ads join -w WKGRP net ads join -U administrator -s /etc/samba/smb.conf 1) If I have the linux machine name defined on the ADS prior to having joining the domain, is this the proper way? 2) Any suggestions on what I might need to change? Thank you in advance for any help. Magdalene __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] automount problem
hi, I'm not sure if this is the right list. my client is sharing a folder via samba (/export) In that folder there is a automount-entry for my usbstick (/export/usbstick) On another host i can mount the export with mount.smbfs As soon as I access the stick (so automount gets active) i cannot umount the share. Get error: device is busy (automount timeout is set to 2sec.) When i never access the stick (automount is still waiting), a umount is no problem. any suggestions? Jan -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] RPM SPEC rebuild errors
Lonnie, Had a similar problem to you. This should help http://www.rpm.org/hintskinks/unpackaged-files/ -- Ian Clancy IT Systems Engineer Connaught Electronics Ltd. Dunmore Rd, Tuam, Co. Galway, Ireland. P : ++353 93 23151 F : ++353 93 23110 E : mailto:[EMAIL PROTECTED] W : http://www.cel-europe.com Lonnie wrote: Hello All, I have been trying all afternoon to rebuild the Samba RPM for my Fedora 3 with the MySQL passdb support and from what I can see it only needs the inclusion of "--with-expsam=mysql" in the SPEC file in addition to the regular ones. The problem is that no matter what version of Samba I try to rebuild, it always gice an error at the same place: --- Processing files: samba-client-3.0.10-1.fc3 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh /usr/bin/perl libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.2.3) libc.so.6(GLIBC_2.3) libcom_err.so.2 libcrypt.so.1 libdl.so.2 libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libgssapi_krb5.so.2 libk5crypto.so.3 libkrb5.so.3 liblber-2.2.so.7 libldap-2.2.so.7 libncurses.so.5 libnsl.so.1 libnsl.so.1(GLIBC_2.0) libpopt.so.0 libreadline.so.4 libresolv.so.2 samba-common = 0:3.0.10 Obsoletes: smbfs Processing files: samba-common-3.0.10-1.fc3 Provides: CP437.so CP850.so config(samba-common) = 0:3.0.10-1.fc3 libnss_winbind.so libnss_wins.so libsmbclient.so.0 pam_winbind.so Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: /bin/sh config(samba-common) = 0:3.0.10-1.fc3 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.2.3) libc.so.6(GLIBC_2.3) libcom_err.so.2 libcrypt.so.1 libcrypto.so.4 libcups.so.2 libdl.so.2 libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libgssapi_krb5.so.2 libk5crypto.so.3 libkrb5.so.3 liblber-2.2.so.7 libldap-2.2.so.7 libnsl.so.1 libnsl.so.1(GLIBC_2.0) libpam.so.0 libpopt.so.0 libresolv.so.2 libssl.so.4 Processing files: samba-swat-3.0.10-1.fc3 Provides: config(samba-swat) = 0:3.0.10-1.fc3 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: config(samba-swat) = 0:3.0.10-1.fc3 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.2.3) libc.so.6(GLIBC_2.3) libcom_err.so.2 libcrypt.so.1 libcrypto.so.4 libcups.so.2 libdl.so.2 libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libgssapi_krb5.so.2 libk5crypto.so.3 libkrb5.so.3 liblber-2.2.so.7 libldap-2.2.so.7 libnsl.so.1 libnsl.so.1(GLIBC_2.0) libpam.so.0 libpopt.so.0 libresolv.so.2 libssl.so.4 samba = 0:3.0.10 xinetd Processing files: samba-debuginfo-3.0.10-1.fc3 Provides: CP437.so.debug CP850.so.debug audit.so.debug cap.so.debug default_quota.so.debug expand_msdfs.so.debug extd_audit.so.debug fake_perms.so.debug full_audit.so.debug libnss_winbind.so.2.debug libnss_wins.so.2.debug libsmbclient.so.debug mysql.so.debug net.debug netatalk.so.debug nmbd.debug nmblookup.debug ntlm_auth.debug pam_smbpass.so.debug pam_winbind.so.debug pdbedit.debug profiles.debug readonly.so.debug recycle.so.debug rpcclient.debug shadow_copy.so.debug smbcacls.debug smbclient.debug smbcontrol.debug smbcquotas.debug smbd.debug smbmnt.debug smbmount.debug smbpasswd.debug smbspool.debug smbstatus.debug smbtree.debug smbumount.debug swat.debug tdbbackup.debug tdbdump.debug tdbtool.debug testparm.debug testprns.debug wbinfo.debug winbindd.debug Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/samba-3.0.10-root error: Installed (but unpackaged) file(s) found: /usr/lib/samba/pdb/mysql.so RPM build errors: Installed (but unpackaged) file(s) found: /usr/lib/samba/pdb/mysql.so This /usr/lib/samba/pdb/mysql.so does not exist and if I understnd this error then it is saying that it keeps finding it. Can someone please tell me what is happening here? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] wbinfo -t not working on BDC (Attempt to bind using schannel without successful serverauth2)
Hi, Further to this. I'm recieving the following error in the log's of the BDC: Attempt to bind using schannel without successful serverauth2 regards, Ian Ian Clancy wrote: Hi, I just can't seem to get winbind to work on my BDC. I'm using FC3 and samba 3.0.20rc2. My PDC is RHEL4 running Samba 3.0.14a. / Openldap. I can join the BDC to the domain successfully using "net rpc join..." , but when i enter wbinfo -t to check the trust relationship i get checking the trust secret via RPC calls failed error code was (0x0) Could not check secret I placed a packet sniffer on the PDC to see what was happening and captured the folloing RPM_NETLOGON communication between the BDC and the PDC (see attached ethereal dump file). It appears to fail when the BDC looks for an account of the same name as the my domain - CEL. The question is , Do i need to create a trust account for my own domain ?. thanks for reading :) Ian -- Ian Clancy IT Systems Engineer Connaught Electronics Ltd. Dunmore Rd, Tuam, Co. Galway, Ireland. P : ++353 93 23151 F : ++353 93 23110 E : mailto:[EMAIL PROTECTED] W : http://www.cel-europe.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba