Re: [samba] Problem with SAMBA+HEARTBEAT
On Tue, 2006-03-21 at 12:17 +0100, Mike wrote: Hi all, I have two servers ZEUS (MASTER - 192.168.2.11) and POSEIDON (SLAVE - 192.168.2.12) with HeartBeat+DRBD+SAMBA installed ; HeartBeat is controlling SAMBA. I have a big partition which are mirrored /share. I moved all important directory on it. For example: # mv /var/lib/samba /share/cluster/varlibsamba # mv /var/cache/samba /share/cluster/varcachesamba and I make a link for each one: # ln -s /share/cluster/varlibsamba /var/lib/samba # ln -s /share/cluster/varcachesamba /var/cache/samba I had to move /var/run/samba as well before samba worked in a cluster. Thanks Nikos This email has been independently scanned for viruses and any virus software has been removed using McAfee anti-virus software -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] domain users appear as local to samba
Hi I know I am being an ass :) but it worked only half-way (the full story is that there are two servers, the other one being 3.0.14, which after rejoining it, worked fine, but the 3.0.21c doesn't). I looked in the logs and I can find this [2006/03/21 10:58:26, 5] lib/username.c:Get_Pwnam_alloc(290) Finding user CEMS\ngadmin [2006/03/21 10:58:26, 5] lib/username.c:Get_Pwnam_internals(234) Trying _Get_Pwnam(), username as lowercase is cems\ngadmin [2006/03/21 10:58:26, 5] lib/username.c:Get_Pwnam_internals(242) Trying _Get_Pwnam(), username as given is CEMS\ngadmin [2006/03/21 10:58:26, 5] lib/username.c:Get_Pwnam_internals(252) Trying _Get_Pwnam(), username as uppercase is CEMS\NGADMIN [2006/03/21 10:58:26, 5] lib/username.c:Get_Pwnam_internals(261) Checking combinations of 0 uppercase letters in cems\ngadmin [2006/03/21 10:58:26, 5] lib/username.c:Get_Pwnam_internals(267) Get_Pwnam_internals didn't find user [CEMS\ngadmin]! [2006/03/21 10:58:26, 5] lib/username.c:Get_Pwnam_alloc(290) Finding user ngadmin [2006/03/21 10:58:26, 5] lib/username.c:Get_Pwnam_internals(234) Trying _Get_Pwnam(), username as lowercase is ngadmin [2006/03/21 10:58:26, 10] lib/util_pw.c:getpwnam_alloc(98) Got ngadmin from pwnam_cache [2006/03/21 10:58:26, 5] lib/username.c:Get_Pwnam_internals(267) Get_Pwnam_internals did find user [ngadmin]! [2006/03/21 10:58:26, 5] auth/auth_util.c:fill_sam_account(1118) fill_sam_account: located username was [ngadmin] [2006/03/21 10:58:26, 10] passdb/pdb_get_set.c:pdb_set_username(617) pdb_set_username: setting username ngadmin, was [2006/03/21 10:58:26, 10] passdb/pdb_get_set.c:pdb_set_fullname(698) pdb_set_full_name: setting full name , was [2006/03/21 10:58:26, 10] passdb/pdb_get_set.c:pdb_set_unix_homedir(833) pdb_set_unix_homedir: setting home dir /home/ngadmin, was NULL [2006/03/21 10:58:26, 10] passdb/pdb_get_set.c:pdb_set_domain(644) pdb_set_domain: setting domain NAS, was [2006/03/21 10:58:26, 10] passdb/pdb_get_set.c:pdb_set_user_sid(544) pdb_set_user_sid: setting user sid S-1-5-21-1102332421-1603003059-3385149876-1000 Now, NAS is the name of the server and CEMS is the domain name. I tried this with winbind use default domain = Yes and No but without any difference. This is the debian binary on samba.org btw. Any ideas? Thanks Nikos On Fri, 2006-03-17 at 09:47 -0600, Gerald (Jerry) Carter wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nikos Gkorogiannis wrote: Simple usage works fine: if I log in on a Win client as DOMAIN\user then I can map a drive on \\samba\user and read/write and so on. However if I look up the security properties of a file in \\samba\user, the owner shows up as local to the samba server, i.e. \\samba\user as opposed to DOMAIN\user. Thanks for your response. I am already running winbindd without idmaps or an ldap backend. Or is the ldap backend compulsory? HmmmCan you send me (off list) level 10 debug logs from smbd and winbindd that illustrate the failure? cheers, jerry -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEGtoHIR7qMdg1EfYRAhGrAKDAzL/Ow+hhaFdOS1wQUQDDtOQheQCg51s6 SAbVdb/dcOjGJAfSf2l/tJI= =OyTR -END PGP SIGNATURE- This incoming email to UWE has been independently scanned for viruses and any virus detected has been removed using McAfee anti-virus software -- Nikos Gkorogiannis [EMAIL PROTECTED] This email has been independently scanned for viruses and any virus software has been removed using McAfee anti-virus software -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [samba] Problem with SAMBA+HEARTBEAT [solved]
On Tue, 2006-03-21 at 13:20 +0100, Mike wrote: OK thanks a lot ; I read that It was not a good thing to set /var/run in the mirooring partition! Do you know why? No, to the contrary, I think it is essential for smooth failover. Where did you read that it's a bad thing? (the pid files in there may be an issue but that's another matter) Thanks Nikos This email has been independently scanned for viruses and any virus software has been removed using McAfee anti-virus software -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] domain users appear as local to samba
On Fri, 2006-03-17 at 09:47 -0600, Gerald (Jerry) Carter wrote: Simple usage works fine: if I log in on a Win client as DOMAIN\user then I can map a drive on \\samba\user and read/write and so on. However if I look up the security properties of a file in \\samba\user, the owner shows up as local to the samba server, i.e. \\samba\user as opposed to DOMAIN\user. Thanks for your response. I am already running winbindd without idmaps or an ldap backend. Or is the ldap backend compulsory? HmmmCan you send me (off list) level 10 debug logs from smbd and winbindd that illustrate the failure? Erm, it went away after I rejoined the machine to the domain... I've no clue why it would work halfway before if the joining wasn't ok, but there you are. Thanks for the help Nikos This email has been independently scanned for viruses and any virus software has been removed using McAfee anti-virus software -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] domain users appear as local to samba
Hello, I have a samba server (3.0.21c) that gets its UNIX user info from nss_ldap. It acts as an ADS member server (the UNIX usernames match the ones in the Windows domain). Simple usage works fine: if I log in on a Win client as DOMAIN\user then I can map a drive on \\samba\user and read/write and so on. However if I look up the security properties of a file in \\samba\user, the owner shows up as local to the samba server, i.e. \\samba\user as opposed to DOMAIN\user. My hunch is that when a Win client is asking about ownership (or security) details, it does so in terms of SIDs, not usernames. And that Samba returns an SID which is arbitrary w.r.t the domain SIDs. How can I fix that? Or have I missed something obvious? Thanks Nikos This email has been independently scanned for viruses and any virus software has been removed using McAfee anti-virus software -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba