Re: [Samba] Linux Active Directory Integration Problem
Jens Heidbüchel schrieb: Brijesh Shukla schrieb: Hi, I am getting the problem to access shared folder when I am using Dual boot operating System. Let say I have two operating system on the same machine. 1) XP and the name of the machine in xp environment is "XYZ" 2)Cent OS (Linux) and the name of the machine in Linux environment is "ABC" both operating system share the same static IP address. the problem appear when I have logged in my domain using XP OS and restart the machine in Linux mode. In Linux mode I can join the domain using "net ads join -U user%password" command, it is working fine and I am getting the message like "Join in Domain" but when I try to access any share folder my domain controller is giving the message " You do not have access right to see the content". But if I reboot my domain controller and Linux PC I am able to see my shared content. Any idea or guess where I am making mistake? Thanks & Regards Brijesh Shukla Hi Brijesh, the machine account, which is created by joining the domain is overwritten by another when joining the domain with samba and the Windows Client "key" does not fit to the machine account anymore. We have several notebooks which had the same problem. We solve it by giving the dual boot system another netbios name, so that smb.conf looks like that: netbios name = machinename_l netbios aliases = machinename By joining the domain the machine account is created for machinename_l and does not touch the "original" Windows machine account. The alias is therefore, that the machine can be accessed with it's original name when booted in Linux. Greets, Jens Upps. I'm sorry. I overread that the two os'es have different names. Ignore me. :) -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Linux Active Directory Integration Problem
Brijesh Shukla schrieb: Hi, I am getting the problem to access shared folder when I am using Dual boot operating System. Let say I have two operating system on the same machine. 1) XP and the name of the machine in xp environment is "XYZ" 2)Cent OS (Linux) and the name of the machine in Linux environment is "ABC" both operating system share the same static IP address. the problem appear when I have logged in my domain using XP OS and restart the machine in Linux mode. In Linux mode I can join the domain using "net ads join -U user%password" command, it is working fine and I am getting the message like "Join in Domain" but when I try to access any share folder my domain controller is giving the message " You do not have access right to see the content". But if I reboot my domain controller and Linux PC I am able to see my shared content. Any idea or guess where I am making mistake? Thanks & Regards Brijesh Shukla Hi Brijesh, the machine account, which is created by joining the domain is overwritten by another when joining the domain with samba and the Windows Client "key" does not fit to the machine account anymore. We have several notebooks which had the same problem. We solve it by giving the dual boot system another netbios name, so that smb.conf looks like that: netbios name = machinename_l netbios aliases = machinename By joining the domain the machine account is created for machinename_l and does not touch the "original" Windows machine account. The alias is therefore, that the machine can be accessed with it's original name when booted in Linux. Greets, Jens -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] How to get mount.cifs to behave like a Windows client?
Hello folks, we have a samba 3.0.22 running and it serves our windows and linux clients with shares for home and group directories. The group share is set up with a preexec script to check the groups of the connecting user and create symlinks to the corresponding directories on the file server. The script looks something like that: #!/bin/bash # some things here # $1 is the connecting user for i in $(groups $1) do ln -s "/data/groups/$i" . done Idea stolen from "Samba 3 für Unix/Linux-Administratoren" by V. Lendecke et al. Now up to my problem: Unix extensions are turned on for our linux clients and I use mount.cifs to get the home directories. That's all ok. To mount the group shares I use mount.smbfs, because mount.cifs only displays the (then dangling) links. So I heard that smbfs is going to vanish from the kernel and my question is, if there is any possibility to get mount.cifs behave like a windows client, which dereferences the links? Any help welcome. :) Greets, Jens. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] differences of links for root and unprivileged users
Hi all, I'm facing problems with my newly set up samba server. I use it to export home directories to linux clients(and also to Windows clients, but that doesn't matter :). Unix Extensions are turned on. Now, when I mount the share as root with no uid= and no gid= option I can create links and they are shown correct whith `ls -l` and on the server's file system. When I unmount and remount it with the option "uid=user", the links look like normal files and I am not able to create links as a user. (Operation not permitted) I want to use smbmount with pam_mount. Therefore (I think) I have to mount the share as root and set uid und gid. Can anyone give me a hint, how to create links as a normal user? I think, most desktop environments won't come up this way. I'm using Ubuntu Dapper Packages of samba and smbfs in version 3.0.22. Greets, Jens. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba