My Problem is: I can't connect with a Win2kmachine to Sambaserver2 witch get the passwords on Sambaserver1. I can create the machine account, but I can't login with a user. Also i have to create a smbpasswd (with the machineaccount only) on Sambaserver2, otherwise the Sambaserver2 isn't able to check the W2kclients machineaccount on sambaserver1 and the message appears "Can't finde the Domain XXX". If I connect with a WinMe- oder a Win9x-client at the Sambaserver2 I don't have any problem and I don't have to create a smbpasswd or eather use the "encrypted password"-parameter on Sambaserver2. All is working just fine! When I connect with the same Win2k,9x,Me-client's to the Sambaserver1 -> I don't have any problem. About my configuration: Sambaserver1 on Subnet 1 (192.168.1.0/24): - security = user - encrypt passwords = yes - smb passwd file = /etc/samba/smbpasswd - remote browse sync = 192.168.4.208 - remote announce = 192.168.4.208 - local master = yes - os level = 65 - domain master = yes - preferred master = yes - domain logons = yes - wins support = yes Sambaserver2 on Subnet2 (192.168.4.0/24): - security = server - password server = Sambaserver1 - remote browse sync = 192.168.1.205 - remote announce = 192.168.1.205 - local master = yes - os level = 65 - domain master = no - preferred master = yes - domain logons = yes - wins server = 192.168.1.205 This two Subnets are connected via a IPSec-Tunnel and all things else works just fine. I tried all kiends of variants in about 3 Days and nothing i did whous making this better. Whe are verry Interested on your answer. kind regards Stefan Demarmels -------------- next part -------------- HTML attachment scrubbed and removed
"Stefan Demarmels @ Digitag AG" <s.demarmels@digitag.ch> schrieb:> My Problem is: > I can't connect with a Win2kmachine to Sambaserver2 witch get the > passwords on Sambaserver1. I can create the machine account, but I > can't login with a user. Also i have to create a smbpasswd (with the > machineaccount only) on Sambaserver2, otherwise the Sambaserver2 isn't > able to check the W2kclients machineaccount on sambaserver1 and the > message appears "Can't finde the Domain XXX". > > If I connect with a WinMe- oder a Win9x-client at the Sambaserver2 I > don't have any problem and I don't have to create a smbpasswd or > eather use the "encrypted password"-parameter on Sambaserver2. All is > working just fine! > When I connect with the same Win2k,9x,Me-client's to the Sambaserver1 > -> I don't have any problem. > > About my configuration: > > Sambaserver1 on Subnet 1 (192.168.1.0/24): > - security = user > - encrypt passwords = yes > - smb passwd file = /etc/samba/smbpasswd[...]> - domain logons = yes > > Sambaserver2 on Subnet2 (192.168.4.0/24): > - security = server[...]> - domain logons = yesIt seems to as what you want to implement is a kind of trust relationship: Sambaserver2 is a domain controller of its own, but trusts users authenticated by Sambaserver1. I'm not sure about this, but as far as I know this is impossible with Samba 2.2.4. What you should do is set up Sambaserver2 as a member server in the domain for which Sambaserver1 is domain controller. Give them identical workgroup names and set domain logons to false for Sambaserver2.> This two Subnets are connected via a IPSec-Tunnel and all things else > works just fine.Perhaps you can synchronize /etc/samba/smbpasswd and /etc/passwd every day or the other, in order to be able to quickly switch Sambaserver2 to an ordinary, standalone PDC in case the tunnel is unusable. Bye, Frank -- Frank F?rst, physikalische Biochemie, Universit?t Potsdam, Germany Tel.: +49-331-977-5244 Fax: +49-331-977-5062
Hi , I installed samba 2.2.4. I downloaded it from samba.org as a binary package. While i am starting it gave me the errors as under. [2002/07/17 09:27:35, 0] smbd/server.c:(793) ERROR: Samba cannot create a SAM SID. [2002/07/17 10:12:30, 0] smbd/server.c:(707) smbd version 2.2.4 started. Copyright Andrew Tridgell and the Samba Team 1992-2002 [2002/07/17 10:12:31, 0] passdb/secrets.c:(43) Failed to open /usr/local/samba/private/secrets.tdb [2002/07/17 10:12:31, 0] passdb/machine_sid.c:(163) pdb_generate_sam_sid: Failed to store generated machine SID. [2002/07/17 10:12:31, 0] smbd/server.c:(793) ERROR: Samba cannot create a SAM SID. did anyone has the idea where the problem and what can be done to fix it. thanks Moe Hans Network Administrator Information & Education Technology Kwantlen University College , BC , Canada Phone 604-599-2115 www.kwantlen.bc.ca |